Clamp nodes and edges

I drilled down in this PR as to why we see so many orphan authors.  It turns out that in the process of creating edges and inference the total number of authors goes down because some of them didn't write a paper while at one of the 5 institutions.  I think it cleans up the graph a bit, we could try to display a couple of more institutions.  Wdyt @lewlefton ?

Cleaning up the graph makes sense.  It's also good practice to record data manipulation, governing assumptions, and related methodology somewhere. Maybe some sort of explainer box or a simple click through from a "Info on our methodology" link. Not sure how that fits into the UI, but something to consider.  May not be possible for this hackathon, but just putting it out there as a future data transparency move.


Everything is working perfectly except it asks me 3 times for password :)

Hello, thank you very much for sharing this VALUABLE project!!!
I'm using it and it's working perfectly, the only one problem I have is that it ask me 3 times one after another for the password in order to let me login.
It asks 3 times because I executed the install script 3 times actually :)
First after the installation I closed the termux and after the new start I was not asked for pass, because of that I installed it for a second time ... LOL :)
After that I closed and checked if termux have been closed and after that after the start it asked me for the pass ... 2 times :)
hmmm I removed the etc/.login directory and installed again and now I'm asked 3 time to enter the pass in order to login ... :) :) :)
I have checked the install script, the login script and actually can't find where and way all this phenomenon happens :)
Goof Luck! TX!

OK, found the problem! :)
in file
/data/data/com.termux/files/usr/bin/login
I had 2 lines
python3 /data/data/com.termux/files/usr/etc/.login/login
python3 /data/data/com.termux/files/usr/etc/.login/login
because I run the installation few times one after another NOT knowing how cleanly to uninstall
Actually in the Readme.md there is no info about the
tlock --uninstall
:)
My suggestion is to add a check if the line exists before inserting it again.
Bellow is a simple check added (suggested by ChatGPT) :)
def addline(filename, new_line):
# Open the file and read all lines
with open(filename, 'r') as file:
lines = file.readlines()
# Check if the new line already exists in the file
if new_line not in lines:
    # If the line doesn't exist, write it at the beginning of the file
    with open(filename, 'w') as file:
        file.write(lines[0])
        file.write(new_line + '\n')
        for line in lines[1:]:
            file.write(line)
else:
    # If the line exists, just rewrite the file without adding the line
    with open(filename, 'w') as file:
        for line in lines:
            file.write(line)


Update scripts to deploy/release cert manager resources

Fixes #3155

Proposed Changes

Update hack/data-plane.sh to create cert-manager yaml file
Update hack/release.sh to publish the eventing-kafka-tls-networking.yaml file
Update the hack/run.sh deploy to deploy the certificates.

Release Note

TLS Cert-Manger resources are now included in KNative Eventing Releases.

Docs

TODO: Open docs issue

\cc @pierDipi
It seems like the necessary cert-manager resources which we create in eventing core https://github.com/knative/eventing/tree/main/config/tls/issuers are not part of the third_party/eventing-latest files we are currently applying in the hack/run.sh deploy script. I think we can do one of:

Include the issuers in this repo as well
Update the files in third_party/eventing-latest to include the issuers.

I'm leaning towards approach 2, but I'm curious if you have any other ideas/what you would do.

/cc @pierDipi
It seems like the necessary cert-manager resources which we create in eventing core https://github.com/knative/eventing/tree/main/config/tls/issuers are not part of the third_party/eventing-latest files we are currently applying in the hack/run.sh deploy script. I think we can do one of:
Include the issuers in this repo as well
Update the files in third_party/eventing-latest to include the issuers.

I'm leaning towards approach 2, but I'm curious if you have any other ideas/what you would do.

/cc @pierDipi It seems like the necessary cert-manager resources which we create in eventing core https://github.com/knative/eventing/tree/main/config/tls/issuers are not part of the third_party/eventing-latest files we are currently applying in the hack/run.sh deploy script, meaning the deploy script cannot currently successfully create the certificates without an earlier step of applying those files from eventing core. I think we can do one of:

Include the issuers in this repo as well
Update the files in third_party/eventing-latest to include the issuers.

I'm leaning towards approach 2, but I'm curious if you have any other ideas/what you would do.

approach 2 sounds good to me, in order to do that through automation, we can add to:
https://github.com/knative-sandbox/knobots/blob/48f4747512108ff1f51201a6f046b7f51f66a886/.github/workflows/update-nightlies.yaml#L93-L101
the eventing-tls-networking.yaml file to the files list

/hold until https://github.com/knative-sandbox/knobots/pull/311 is merged to make sure things don't break

/unhold

/retest

/test unit-tests

/retest-required

/retest-required


"llegal argument: line must be non-negative" when using flake8 and flake8-isort

Environment data

VS Code version: 1.38.0
Extension version: 2019.9.34911
OS and version: Windows 10 Home
Python version: Python 3.7 (Anaconda Variant)
Type of virtual environment used: conda
Relevant/affected Python packages and their versions: flake8: 3.7.8, flake8_isort: 2.3
Jedi or Language Server?: Language Server

Expected behaviour
VSCode fully lints a file using flake8 and the flake8_isort plugin and highlight errors, warnings and information as appropriate.
Actual behaviour
When using flake8 as a linter in vscode, if flake8 finds a reported error, warning or info that has a location line number of 0, vscode throws the error "llegal argument: line must be non-negative" and does not complete linting.
This happens for example when using when using the flake8-isort extension, as I002 specifies there is no isort configuration found, and the Info location line number is 0.
This is also an issue if using the wemake-python-styleguide as there are several rules which report a line location of 0.
Steps to reproduce:

Install flake8 and the flake8-isort plugin
Set VSCode to use flake8 as the linter
Run flake8 linting on any file through vscode, ensuring there is no isort config file in the same folder that can be detected

Logs
Output for Python in the Output panel
##########Linting Output - flake8##########
0,1,I,I002:no configuration found (.isort.cfg or [isort] in configs)
Output from Console under the Developer Tools panel:
notificationsAlerts.ts:38 Error: Illegal argument: line must be non-negative
at Object.t.illegalArgument (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:13:195)
at new g (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:350:768)
at new g (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:350:44)
at w.createDiagnostics (c:\Users\Arran.vscode\extensions\ms-python.python-2019.9.34911\out\client\extension.js:119:490471)
at w.lintDocument (c:\Users\Arran.vscode\extensions\ms-python.python-2019.9.34911\out\client\extension.js:119:489854)

I just wanted to acknowledge that we received this bug report, @ahobsonsayers .

Prescribed solution:

Add support for negative line numbers and default them to 0.

I also experience this issue. Vs code insiders 1.40.0

Also experiencing this issue, would like to take a crack at submitting a fix.

Validated:


Naturally flowing liquids occasionally include Player in cause chain

A large number of ChangeBlockEvent.Place events are firing when liquids flow naturally (without any player involvement, other than being present) which include a Player in the Cause chain.
While generating new chunks by walking, the events fire with Cause: net.minecraft.entity.player.EntityPlayerMP.
@bloodmc

I'll look into this soon.


TabControl navigation with keyboard doesn't work

I can't navigate through the tabitems with the keyboard.
Expected:
keyboard navigation like the standard wpf tabcontrol

@garnbleiche I can no reproduce this with the latest demo. Can you provide more infos? Maybe create a short app?

okay, I made a simple app with three tabitems. I can't select the tabitems with the keyboard, same with the demo.
mahappsTab.zip

Hello @garnbleiche,
I downloaded your sample and tried to switch the Tabs with Keyboard. You have to make sure that the keyboard focus is within your window. Then you can use [Ctrl] + [Tab] to switch the tabs. Which keyboard shortcut did you use?
Best regards

Hello @timunie ,
switch the tab with [Ctrl] + [Tab] works. I tried the right/left arrow keys which doesn't work!
On the standard wpf tabcontrol i can use the arrow keys. I did not know the [Ctrl] + [Tab] shortcut.


Update TextMate grammar

This change removes some older parts of the grammar used for syntax highlighting Q# source. We had previously removed the old disallowed keywords based on C#/.NET compatibility, and this comes back and removes some keywords that are no longer supported and the outdated list of built-in functions. Rather than fight to keep that list up-to-date and continually have some callables from the stdlib highlighted differently than others or those defined in user code, we should defer callable highlighting until we decide whether we want to do semantic highlighting.
For a quick visual of the differences, here is the before:

and here is the after:

Note that callables like Message and X used be highlighted as built-ins while others like MResetZ were not. Likewise, the deprecated keyword using was still highlighted as a keyword even though it is no longer supported. After the update, callables all are highlighted the same way as other local and global symbols, and using is no longer highlighted as a keyword.
One other note: the syntax highlighting for w/ or copy-update never worked because it seems TextMate grammar does not support highlights that include special characters like that. I tried finding any supporting documentation that would point to a way to do it and only found docs that say "use regular expression syntax." I tried several variations of JavaScript regex syntax including specific unicode identifiers, and nothing worked. Given that, I just removed w/ from the list.

Sadly we have some duplication of our syntax highlighting rules... do you think you could update the Codemirror definitions as well, please?
https://github.com/microsoft/qsharp/blob/main/jupyterlab/src/index.ts#L32
https://github.com/microsoft/qsharp/blob/main/pip/qsharp/.data/qsharp_codemirror.js#L4

Sadly we have some duplication of our syntax highlighting rules... do you think you could update the Codemirror definitions as well, please?
https://github.com/microsoft/qsharp/blob/main/jupyterlab/src/index.ts#L32 https://github.com/microsoft/qsharp/blob/main/pip/qsharp/.data/qsharp_codemirror.js#L4

Good call out, didn't realize we had those too!

@minestarks I made the changes to the other files, but I'm not sure of how to test them. I tried running Jupyter and JupyterLab locally but the language syntax highlighting options were grayed out. It could be that I'm missing something in my setup though.

Last year I have started a project for Q# TM grammar here https://github.com/qsharp-community/qsharp-tmLanguage. It comes with tests and a build process and such.
The latest generated file is here https://github.com/qsharp-community/qsharp-tmLanguage/blob/main/grammars/qsharp.tmLanguage.json
It's still not complete but it offers a lot of improvements over the built-in one. If you are interested we could perhaps include that one instead (my ambition was to actually add it to VS Code too, as it ships a number of prebuilt TM files in the box, as long as they have their own repos and proper build scripts)

by the way, here is your example using the grammar I linked to (in Monokai Theme):

Last year I have started a project for Q# TM grammar here https://github.com/qsharp-community/qsharp-tmLanguage. It comes with tests and a build process and such.
The latest generated file is here https://github.com/qsharp-community/qsharp-tmLanguage/blob/main/grammars/qsharp.tmLanguage.json
It's still not complete but it offers a lot of improvements over the built-in one. If you are interested we could perhaps include that one instead (my ambition was to actually add it to VS Code too, as it ships a number of prebuilt TM files in the box, as long as they have their own repos and proper build scripts)

This sounds great, thanks Filip! I think what I'd like to do is at least get this one cleaned up and merged to start, and then we can coordinate on how to make use of your infrastructure checked into the qsharp-community org. Looks like there is some good work you've done there that the ecosystem could benefit from!

@swernli you'll need to merge from main for this PR to pass checks. I just changed the names of the checks in ci.yml #625 which is causing issues with currently open PRs. Sorry about that!


Create a simple JMH benchmark to measure FST compilation / traversal times

Description
Over in #12543 we are struggling to measure the performance cost of different ways of creating an on-heap reader/writer.  We have been using the "rough" numbers coming out of Test2BFST runs but this is non-ideal -- it is test code, running with assertions, perhaps doing sub-optimal FST usage (not matching what, say, block tree would do to the terms index).
Let's create a simple micro-benchmark to more readily benchmark FST changes?

We can use https://github.com/apache/lucene/pull/12879 as a benchmark candidate to compare against the current baseline.

I can look into this. Is this place https://github.com/apache/lucene/tree/main/lucene/benchmark/src/java/org/apache/lucene/benchmark the correct path to add the benchmark, or is https://github.com/mikemccand/luceneutil a better place?
I think we can try to create a FST with term from some corpus, like wikipedia, then repeatedly call Util.get(), and measure the op/sec, etc. How does that sound?

I can look into this. Is this place https://github.com/apache/lucene/tree/main/lucene/benchmark/src/java/org/apache/lucene/benchmark the correct path to add the benchmark, or is https://github.com/mikemccand/luceneutil a better place?

I think maybe luceneutil?  We would want to feed it a fairly large set of terms, ideally just extracted from a Lucene index using something like what IndexToFST (in luceneutil) does?

I think we can try to create a FST with term from some corpus, like wikipedia, then repeatedly call Util.get(), and measure the op/sec, etc (JMH should give us that). How does that sound?

+1, sounds great!  I can help fold this into the nightly charts...

Thanks @dungba88.


Switch to DeepCopy from conversion package.

See #16

Closing in favor of https://github.com/atlassian/smith/pull/21


Provide WSL example

On Windows 10, one can use the Windows subsystem for Linux to pipe the tcpdump output into Wireshark, instead of using PuTTy / plink.
I'll create a PR to demonstrate this.

Thanks for reporting. I merged to dev branch.


Show admonition label if icon for admonition block fails to embed

If the image-based icon for an admonition block fails to embed, show the label instead, acting as the "alt" text.

Note that if the image is missing, the admonition label is used. The missing use case is when the image is found, but an error occurs while embedding it.

Note that the label will have to be sized to fit because the column width has already been allocated (and cannot be changed).


Exception was unhandled

Hello
Thank you for your work with these drivers.
This is the first project with ESP32, BT. So the chances of me making a mistake are high.
I get the error message "Exeption was unhalded". See log.
Run code on "ESP32 WROOM-32" with I2S, has re-mapped the pins from the default setting (WS and BCK have changed places)
Has reportioned Flash to fit the code.
SW versions
PACKAGES:

framework-arduinoespressif32 3.10006.210326 (1.0.6)
tool-esptoolpy 1.30100.210531 (3.1.0)
tool-openocd-esp32 2.1000.20210721 (10.0)
toolchain-xtensa32 2.50200.97 (5.2.0)

Espressif 32 3.5.0
PlatformIO
Core 5.2.2
Home 3.4.0
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
▒UIzxfc980;3>"#%
Running system on ESP32
CPU revision: 1
No of core: 2
Chip has Bluetooth LE
Chip has Bluetooth Classic
Mount filesystem spiffs
Function file up to date
Ok CompresFunctionFile
Checking function string
Function write file up to date
Default parameters loaded
Scan OneWire for devices...
Unit 1, address: {0x28, 0xFF, 0x86, 0x5C, 0x52, 0x16, 0x03, 0x45} is of type DS18xx family
1 devices found
Init DS18B20 device
SDA pin: 15
SCL pin: 23
Scanning...
I2C device found at address 0x20
Found: 1 unit on bus
[D][BluetoothA2DPSink.cpp:123] start(): start
[I][BluetoothA2DPCommon.cpp:207] log_free_heap(): Available Heap: 201980
[I][BluetoothA2DPSink.cpp:136] start(): Device name will be set to 'MyMusic'
[D][BluetoothA2DPSink.cpp:1006] init_nvs(): init_nvs
[D][BluetoothA2DPCommon.cpp:113] get_last_connection(): get_last_connection
[I][BluetoothA2DPCommon.cpp:127] get_last_connection(): nvs_blob does not exist
[D][BluetoothA2DPCommon.cpp:137] get_last_connection(): => 00:00:00:00:00:00
[I][BluetoothA2DPSink.cpp:184] init_i2s(): init_i2s
[I][BluetoothA2DPSink.cpp:186] init_i2s(): init_i2s is_i2s_output
[D][BluetoothA2DPSink.cpp:266] init_bluetooth(): init_bluetooth
[I][BluetoothA2DPSink.cpp:271] init_bluetooth(): controller initialized
[I][BluetoothA2DPSink.cpp:280] init_bluetooth(): bluedroid initialized
[I][BluetoothA2DPSink.cpp:289] init_bluetooth(): bluedroid enabled
[D][BluetoothA2DPSink.cpp:387] app_task_start_up(): app_task_start_up
[D][BluetoothA2DPSink.cpp:310] app_work_dispatch(): app_work_dispatch event 0x0, param len 0
[D][BluetoothA2DPSink.cpp:342] app_send_msg(): app_send_msg
Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x40092416  PS      : 0x00060b33  A0      : 0x80090d60  A1      : 0x3ffce030
A2      : 0x0000ff4c  A3      : 0x0000abab  A4      : 0xb33fffff  A5      : 0x00000001
A6      : 0x00060b20  A7      : 0x0000cdcd  A8      : 0x0000abab  A9      : 0x3ffce030
A10     : 0x00000003  A11     : 0x00060b23  A12     : 0x00060b20  A13     : 0x00000001
A14     : 0x00060d20  A15     : 0x00000000  SAR     : 0x00000004  EXCCAUSE: 0x0000001d
EXCVADDR: 0x0000ff4c  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xfffffffd
ELF file SHA256:<PHONE_NUMBER>000000
Backtrace: 0x40092416:0x3ffce030 0x40090d5d:0x3ffce060 0x400d7d07:0x3ffce0a0 0x400d6fea:0x3ffce0d0 0x400d6f25:0x3ffce110 0x400dc95d:0x3ffce150 0x400e155d:0x3ffce290 0x400e488e:0x3ffce300 0x400913fa:0x3ffce320
Rebooting...
ets Jun  8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
UIzxfc980;3>"#%
Running system on ESP32
CPU revision: 1
No of core: 2
Chip has Bluetooth LE
Chip has Bluetooth Classic
Reset cause: software reset due to exception/panic, entring fallback mode
Init system fail
Brg
Findus

I was just testing the bt_music_receiver_simple sketch with a Wrover Module myself and could not reproduce your issue.
I used the following platform.ino
[platformio]
description = A2DP Example
default_envs = esp32dev

[env:esp32dev]
platform = espressif32
board = esp-wrover-kit
framework = arduino
lib_deps =  https://github.com/pschatzmann/ESP32-A2DP.git
build_flags = -Wno-deprecated  -DCORE_DEBUG_LEVEL=5
monitor_speed = 115200

I would really need a stacktrace from you to know where you are crashing...

Not sure how to get stack trace.
Have only set the log that comes in case of crash, which was attached.
Core 1 resiter dump and Backtrace.
I will try to run the example as it is, without other applications running.
Brg
Findus

If I run the example "bt_music_receiver_simple.ino" and change pin for I2S, everything seems to work. I can connect to the module, I can stream data.
`"#include <Arduino.h>
/ *
Streaming Music from Bluetooth
Copyright (C) 2020 Phil Schatzmann
This program is free software: you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.

/

// ==> Example A2DP Receiver which uses I2S to an external DAC
#include "BluetoothA2DPSink.h"
BluetoothA2DPSink a2dp_sink;
void setup () {
i2s_pin_config_t my_pin_config = {
.bck_io_num = 25,
.ws_io_num = 26,
.data_out_num = 22,
.data_in_num = I2S_PIN_NO_CHANGE
};
a2dp_sink.set_pin_config (my_pin_config);
a2dp_sink.start ("MyMusic");
}
void loop () {
delay (1000); // do nothing
} "`
But if I run the code in my application
void setup ()
{
const char FailSafeString [] = "UIzxfc980; 3> " #% ";
char RXbuff [16];
Serial.begin (115200); // initialize serial
Serial.flush ();
Serial.write (FailSafeString);
delay (50);
if (Serial.available ()> = 15)
{
Serial.readBytes (RXbuff, 15);
if (memcmp (FailSafeString, RXbuff, 15) == 0)
HaltBoot = true;
}
Serial.println ("");
SystemBusy = false;
Fallback = false;
BluetoothA2DPSink a2dp_sink;
i2s_pin_config_t my_pin_config = {
.bck_io_num = 25,
.ws_io_num = 26,
.data_out_num = 22,
.data_in_num = I2S_PIN_NO_CHANGE
};
a2dp_sink.set_pin_config (my_pin_config);
a2dp_sink.start ("MyMusic");
if (System.Init (& MQTTclient) &&! HaltBoot)
{
if (Function.Init_BeforeWifi (& MQTTclient))
{
Serial.println ("All functions initialized at low level");
}
else
{// else Put the unit in fallback and send alert!
Fallback = true;
HaltBoot = true;
}
}
else
{
HaltBoot = true;
Serial.println ("Init system fail");
}
"
Then I get the result
Rebooting ...
ets Jun 8 2016 00:22:57
rst: 0xc (SW_CPU_RESET), boot: 0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP: 0xee
clk_drv: 0x00, q_drv: 0x00, d_drv: 0x00, cs0_drv: 0x00, hd_drv: 0x00, wp_drv: 0x00
mode: DIO, clock div: 2
load: 0x3fff0018, len: 4
load: 0x3fff001c, len: 1044
load: 0x40078000, len: 10124
load: 0x40080400, len: 5828
entry 0x400806a8
UIzxfc980; 3> "#%
[D] [BluetoothA2DPSink.cpp: 123] start (): start
[I] [BluetoothA2DPCommon.cpp: 207] log_free_heap (): Available Heap: 206688
[I] [BluetoothA2DPSink.cpp: 136] start (): Device name will be set to 'MyMusic'
[D] [BluetoothA2DPSink.cpp: 1006] init_nvs (): init_nvs
[D] [BluetoothA2DPCommon.cpp: 113] get_last_connection (): get_last_connection
[D] [BluetoothA2DPCommon.cpp: 137] get_last_connection (): => 04: b4: 29: 56: c3: 86
[I] [BluetoothA2DPSink.cpp: 184] init_i2s (): init_i2s
[I] [BluetoothA2DPSink.cpp: 186] init_i2s (): init_i2s is_i2s_output
[D] [BluetoothA2DPSink.cpp: 266] init_bluetooth (): init_bluetooth
[I] [BluetoothA2DPSink.cpp: 271] init_bluetooth (): controller initialized
[I] [BluetoothA2DPSink.cpp: 280] init_bluetooth (): bluedroid initialized
[I] [BluetoothA2DPSink.cpp: 289] init_bluetooth (): bluedroid enabled
[D] [BluetoothA2DPSink.cpp: 387] app_task_start_up (): app_task_start_up
[D] [BluetoothA2DPSink.cpp: 310] app_work_dispatch (): app_work_dispatch event 0x0, param len 0
[D] [BluetoothA2DPSink.cpp: 342] app_send_msg (): app_send_msg
Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.
Core 1 register dump:
PC: 0x40092416 PS: 0x00060933 A0: 0x80090d60 A1: 0x3ffce0f0
A2: 0xa5a5a5f1 A3: 0x0000abab A4: 0xb33fffff A5: 0x00000001
A6: 0x00060920 A7: 0x0000cdcd A8: 0x0000abab A9: 0x3ffce0f0
A10: 0x00000003 A11: 0x00060923 A12: 0x00060920 A13: 0x00000001
A14: 0x00060b20 A15: 0x00000000 SAR: 0x00000004 EXCCAUSE: 0x0000001d
EXCVADDR: 0xa5a5a5f1 LBEG: 0x400014fd LEND: 0x4000150d LCOUNT: 0xfffffffd
ELF file SHA256:<PHONE_NUMBER>000000000
Backtrace: 0x40092416: 0x3ffce0f0 0x40090d5d: 0x3ffce120 0x400d7d07: 0x3ffce160 0x400d6fea: 0x3ffce190 0x400d6f25: 0x3ffce1d0 0x400e1371: 0x3ffce990xxxxx3
Rebooting ...
ets Jun 8 2016 00:22:57
What I can see in the log is the same up to "[D] [BluetoothA2DPSink.cpp: 387] app_task_start_up (): app_task_start_up"
Then it is not the same.
Guess it fails to start application "task_start_up"?
Brg
Findus

You really need to decode the stacktrace to analyze the issue. Unfortunately I rarely use PlatformIO, so I can't help you there. In Arduino we have the following tool: https://github.com/me-no-dev/EspExceptionDecoder
Anyhow: what you try to do will not work and I am closing your issue as duplicate to issue 19.
Please feel free to reopen the issue if the stacktrace points to some improper error handling in my code.

@Findus76 I recently had the need to decode a stacktrace with platformio and found out it is pretty simple:
Add "monitor_filters = esp32_exception_decoder" to your platformio.ini environment like this:
[env:esp32]
platform = espressif32
...
monitor_filters = esp32_exception_decoder
...

Then, if you use the platformio device monitor (e.g. in vscode) you get Backtrace lines like this on exceptions:
Guru Meditation Error: Core  1 panic'ed (IntegerDivideByZero). Exception was unhandled.
Core 1 register dump:
PC      : 0x400d2711  PS      : 0x00060030  A0      : 0x800d5367  A1      : 0x3ffc8fa0
A2      : 0x00000002  A3      : 0x00000000  A4      : 0x00000020  A5      : 0x80000020
A6      : 0x00000003  A7      : 0x00060a23  A8      : 0x00000001  A9      : 0xffffffff
A10     : 0x00000000  A11     : 0x00000000  A12     : 0x00000000  A13     : 0x3ffc3cd4
A14     : 0x00000003  A15     : 0x00000000  SAR     : 0x0000001e  EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000  LBEG    : 0x4000c46c  LEND    : 0x4000c477  LCOUNT  : 0x00000000

ELF file SHA256:<PHONE_NUMBER>000000

Backtrace: 0x400d2711:0x3ffc8fa0 0x400d5364:0x3ffc8fc0 0x400901ae:0x3ffc8fe0
  #0  0x400d2711:0x3ffc8fa0 in loop() at .pio/libdeps/esp32-aat/audio-tools/src/AudioTools/AudioStreams.h:62
  #1  0x400d5364:0x3ffc8fc0 in loopTask(void*) at /home/joachim/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:23
  #2  0x400901ae:0x3ffc8fe0 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)

Rebooting...

Pretty neat :)

Thanks!
Case no. 19 was not fun, that it is not possible or very difficult to get WiFi and BT to work at the same time. Debris...
May think of a few different ways around the problem.
Many thanks for the PlatformIO tip!
Not the first time I get an exception ...
Brg Findus


Refactor to support pluggable backend database implementations

Previous iterations of this project were tightly coupled with DynamoDB. This PR allows us to implement this functionality with other database backends and plug them in easily.

it's a major breaking change
the low level API is now implemented by separate classes depending on the backing database

our DynamoDB-based functionality moves to watchbot_progress.backends.dynamodb.DynamoProgress

restructures the WatchbotProgress class to be an abstract base class in watchbot_progress.backends.base.WatchbotProgressBase. The abstract base class ensures that all subclasses conform to a rough spec and implement the same methods.
the high level API now takes a progress argument, making the backend fully pluggable - Users can pass in any instance of WatchbotProgressBase.
the tests needed to be adjusted, mocking different imports

resolves #7

@dnomadb @vincentsarago can you review?


Updated German translation

app.zip
Whoops, hope I did this right. First time I made a PR, actually I just wanted to add the strings.xml

OK sorry, this what not what I intended to do. Created a proper PR now.


confused about the usage of BLOCK_FLAG

I'm trying to read the code. The 'BLOCK_FLAG' really confused me, I think it is used for calculating the length of prompt, but I'm not sure if values in 'BLOCK_FLAG' are right. Take BoolQPVP as example,  I think other than  'passage', 'question', 'self.mask', which are not part of template, the length of rest words in PATTERN should be count. So I think BLOCK_FLAG should be

BLOCK_FLAG = [0, 1, 1, 1, 0, 1, 0 ,1]

insdead of

BLOCK_FLAG = [0, 0, 1, 0, 0, 0, 0, 0]

Is there something I misunderstood?
class BoolQPVP(PVP):

    VERBALIZER = {
        "False": ["No"],
        "True": ["Yes"]
    }
    """
    VERBALIZER_B = {
        "False": ["false"],
        "True": ["true"]
    }
    """

    PATTERN = ['passage', '.', 'the', ' Question: ',
               'question', '? Answer: ', 'self.mask', '.']

    BLOCK_FLAG = [0, 0, 1, 0, 0, 0, 0, 0]

    def get_parts(self, example: InputExample) -> FilledPattern:
        passage = self.shortenable(example.text_a)
        question = self.shortenable(example.text_b)

        # searched patterns in fully-supervised learning
        # string_list_a = [passage, '.', 'the', 'Question:', question, '?', 'the', 'Answer:', self.mask]
        # string_list_a = [passage, '.', 'the', question, '?', 'the', self.mask]
        # string_list_a = [passage, 'the', question, '?', 'the', self.mask]

        # few-shot
        if self.pattern_id == 1:

            string_list_a = [passage, '.', 'the', ' Question: ',
                             question, '? Answer: ', self.mask, '.']
            string_list_b = []
            block_flag_a = self.BLOCK_FLAG
            block_flag_b = []
            assert len(string_list_a) == len(block_flag_a)
            assert len(string_list_b) == len(block_flag_b)
            return string_list_a, string_list_b, block_flag_a, block_flag_b

        else:
            raise ValueError("unknown pattern_id.")

Thanks for your attention! Here the block_flag==1 stands for replaceable tokens and 0 stands for unchanged tokens.
In the method of our paper together with the P-Tuning method integrated in our codes, we replace the '1' tokens with special token representations and keep other parts of the input unchanged.


Developer Guide - Target user profile, value proposition, user stories

Comments have not been addressed in #57.


PEAR-1731: infinite case counts spinning when saving/switching cohorts very slowly

Description
Fixes the issue reported in PEAR-1731.
Checklist

[ ] Added proper unit tests
[ ] Left proper TODO messages for any remaining tasks
[ ] Scanned for web accessibility with aXe, and mitigated or documented
flagged issues

Screenshots/Screen Recordings (if Appropriate)

found an issue


Checkbox bug in the demo

In the demo of px-dropdown at predix-ui.com  you are missing checkbox-mode attribute in px-dropdown-content, without which checkboxes are not displayed. It would be nice if you will fix it, I spent a few moments to catch it :)
Thanks

To clarify, the API/demo page for px-dropdown-content does contain information and a demonstration of checkbox-mode. However, it should not be appearing on the main px-dropdown demo page, as that is a bit misleading.


[VSCode] TypeSpec Extension should leverage each emitter to auto-install or detect the dependency missing and provide suggestion on next step

Clear and concise description of the problem
Here are a couple of actions needed:

Design the format and the contract of env check result should return.
Define the command e.g. 'tsp compile -check' that could be used by the extension.
Integrate the result into the extension and suggest the follow up action for each language.
cc @RodgeFu,  @lmazuel

Checklist

[x] Follow our Code of Conduct
[x] Read the docs.
[x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Do we have more detail about the "tsp compile --check"? like

How would it report the dependency error (i.e. will it be able to report the error through diagnostics with some code like "missing-dependency" and related url/codefix actions so that user can interact with in ide?)?
If "tsp compile" is called without "--check", what kind of error would emitter report? shouldn't it be the same as the one when "--check" is used? thx

Let's try to ensure all dependencies could be auto installed by using npm install for all languages..

We are looking for an experience in vscode that  when a user open a tsp in a clean machine, vscode extension could guide and help the user to get everything configured properly to work on the target machine, including SDK generation.
Considering the external dependencies for each CodeGen, to achieve the above goal, we are thinking of 2 options:

Integrate dependencies installation by using npm install which will be invoked in vscode for client generation,
Each emitter could do pre-check for dependencies before generating the SDK.

@lirenhe:  This is not something that I'm aware of as a feature that has been reviewed and approved to move forward by the C# team.   Has this been brought to Scott and Arthur for discussion?   If so, I would expect that he's handling the design and filing any issues needed to facilitate work.
Please do not move forward with this without discussing with Scott and myself.   The same is true for any features in the C# emitter, generator, or extensions.
//cc: @schaabs, @ArthurMa1978, @lmazuel

Let's try to ensure all dependencies could be auto installed by using npm install for all languages..

@lirenhe what mechanism are you proposing we use for this?  Can you give a sample package.json that would accomplish this with hello world?

@lirenhe: This is not something that I'm aware of as a feature that has been reviewed and approved to move forward by the C# team. Has this been brought to Scott and Arthur for discussion? If so, I would expect that he's handling the design and filing any issues needed to facilitate work.
Please do not move forward with this without discussing with Scott and myself. The same is true for any features in the C# emitter, generator, or extensions. The Shanghai team working on C# should only be taking direction from Arthur and myself.
//cc: @schaabs, @ArthurMa1978, @lmazuel

@jsquire,  this item has the label of 'ide' which means this is a vscode item that defines the vscode extension experience I described above in https://github.com/microsoft/typespec/issues/5166#issuecomment-2514008856.  It is to follow up the suggestion from the previous leadership meeting.
I created separate issue for each language to support this experience in vscode and it is up to each language team to decide how we could support this.
I found you assign @schaabs for this item but I don't think Scott will work on vscode extension, right?
@ArthurMa1978 was involved at the beginning when this item was created, we discussed and proposed a couple of options listed in my above comment. I think this item is still in design phrase so sure, people won't move forward without your decision.

Let's try to ensure all dependencies could be auto installed by using npm install for all languages..

@lirenhe what mechanism are you proposing we use for this? Can you give a sample package.json that would accomplish this with hello world?

@m-nash, could you check this comments:  https://github.com/microsoft/typespec/issues/5166#issuecomment-2514008856
People come up with a couple of proposals to solve the dependency missing problem, so I am asking each language team to discuss and investigate what we could do to achieve this vscode experience.   It is mainly for discussion not the decision.

Let's try to ensure all dependencies could be auto installed by using npm install for all languages..

@lirenhe what mechanism are you proposing we use for this? Can you give a sample package.json that would accomplish this with hello world?

@m-nash, could you check this comments:  https://github.com/microsoft/typespec/issues/5166#issuecomment-2514008856
People come up with a couple of proposals to solve the dependency missing problem, so I am asking each language team to discuss and investigate what we could do to achieve this vscode experience.   It is mainly for discussion not the decision.

I found you assign @schaabs for this item but I don't think Scott will work on vscode extension, right?

@lirenhe :  Anything in the VS Code extension, no.   This item has to do with modifying the C# TypeSpec tooling and is not constrained to the extension itself.   Whether used by this extension or elsewhere, anything related to the generator, emitter, or common TypeSpec tooling must run through the same process.


Project templates grid too narrow for the longest entry

Eventually, this grid should be made colapsible and extensible - (sorry for repeating myself

fixed this as part of #229


Qt bug fix

Removed PyQt from requirements which caused broken visualizations.
Also forced labels for torchmetrics mAP to int()

Could in theory labels be non-int (some other type like string)? If not, I think fine to go ahead.

For now labels are always encoded as ints from LuxonisLoader and the prediction from model is also int so we should be good.


Transition hooks?

At the moment, I'm using Cycle-React with scene-router and while that's introducing a few issues on its own (mainly having to do with passing global state as props to any and all scene-rendered components), this issue is about there not being an ability to add hooks to any transitions.
For example, I wouldn't want a user to go to their profile page if they weren't logged in. Right now, I'm having to write my own wrapper around the getScene function that exposes new goto methods that will intercept those calls and make a decision about where to route based on their authenticated status.
Is there an easier way to do this? Is this what onSceneChange is for?

@sunny-g I have kind of the same issue with previous implementation that's why I redesigned it again. I made it simpler and instead of method's name I'm using props sceneStatus to pass around the lifecycle. it turns out to be a lot better solution. It might help you with Cycle-React thing.

closing this ticket. if you still using this library please try the new version and let me know. with the new release, scene-router becomes independent from any state management. We are using this with both mobx and redux and it turns out to be fully operational with both libraries.


Handle form errors when creating new challenge & taskpair

Coverage decreased (-0.3%) to 77.287% when pulling b5dec9bebba2676524fe124b69cf82da916675d2 on laurpulk:create_errors into b8098645dbf3b9cd004ca2343133f4b06e8fe337 on tdd-pingis:master.

Coverage increased (+1.5%) to 81.192% when pulling df863c19ccbfb45357d618a4ae8e22ad561feb31 on laurpulk:create_errors into 9be9647cd3093bf5078e7f20e1833bdcd4071fd4 on tdd-pingis:master.


Add option relativePath to write chunk paths relative from tracker-file path

Proposal for #25

Thanks for reviewing, you are right about context. I have applied changes from your code

Fix behavior of relative paths like described in #25

Are there any updates on this PR, it would be great to have :)

@owais @melck will it eventually get merged? :)

I have updated my merge request to modify behavior. I have changed this to make it optionnal. I have added doc and a test.
@owais Could you check and merge this ?

Thanks @melck


[SAP Mobile Cards] Updating the starter scenario mission

Incremental Change
Creating a new Pull Request for an existing PR #6205.
Please close the old PR #6205.
Details
The SAP Cloud Platform starter scenario mission needs to be updated to improve the number of people completing our tutorials.
Thus, we have modified the following tutorial:

cp-mobile-cards-welcome

and, have created a new tutorial:

cp-mobile-cards-booster-starter

Both of which are a part of this commit.
Only, these two tutorials should be a part of the mission 9549.
Other tutorials in the mission should be removed from the mission but should remain as individual tutorials.

https://developers.sap.com/tutorials/cp-mobile-cards-setup.html
https://developers.sap.com/tutorials/cp-mobile-cards-automatic-instance-generation.html
https://developers.sap.com/tutorials/cp-mobile-cards-action.html
https://developers.sap.com/tutorials/cp-mobile-cards-content-actions.html

Thank you for your support.

View card on your mobile device

Hi Daniel,
Should the names follow the following case?
The real-world use case
Create contact card using Boosters
Open card In Mobile Services Cockpit
View card on your mobile device

If "SAP Cloud Platform cockpit" does not capitalize "cockpit", then I don't think "Mobile Service cockpit" does.
"Boosters" I defer to you and UA. I'm not sure how it is used, and it seems it should be lower case, but again if you guys capitalize it then fine.


Unsupported private class error doesn't throw on building library for production

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
i'm not sure
Description
when i export a component in the library module but not in the public API
the build command throw errors only in normal mode, but in production mode it completes successfully
🔬 Minimal Reproduction
clone https://github.com/robertIsaac/test-library
and run ng b and ng b --prod
or generate from scratch
ng new test-library --create-application=false
cd test-library
ng generate library test-library
ng g c test-export --export
ng b
ng b --prod

🔥 Exception or Error
both commands should throw the following error

Unsupported private class TestExportComponent. This class is visible to consumers via TestLibraryModule -> TestExportComponent, but is not exported from the top-level library entrypoint.

🌍 Your Environment

$ ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 9.1.1
Node: 12.14.1
OS: win32 x64

Angular: 9.1.2
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.901.1
@angular-devkit/build-angular      0.901.1
@angular-devkit/build-ng-packagr   0.901.1
@angular-devkit/build-optimizer    0.901.1
@angular-devkit/build-webpack      0.901.1
@angular-devkit/core               9.1.1
@angular-devkit/schematics         9.1.1
@angular/cli                       9.1.1
@ngtools/webpack                   9.1.1
@schematics/angular                9.1.1
@schematics/update                 0.901.1
ng-packagr                         9.1.1
rxjs                               6.5.5
typescript                         3.8.3
webpack                            4.42.0

Anything else relevant?
it would be nice if --export command also update the public api file if it's running inside a library

@robertIsaac, the problem here is that the above is only an error when using Ivy rendering engine, with View Engine which is used for production builds, this is valid.
That said, we should add the export to the public api when using the schematics so that we generate valid code for both rendering engines.

Any news?`i sitll have this issue on a new generated project with angular version 13.1.0

Within a widget library
child modules that export modules that declare their widgets
are not being propagated thru to the root library module
the export mechanism does not work
everyones solutions it to specify the component in the public-api which we do and its futile
the export mechanism across modules is broken
cant have a widget lib with its own special flavors modeled with in submodules
THEY WONT EXPORT

So in order for me to even get a clean build
the barrel file "which is god now certified by ng-package and angular team" is responsible for specifying the component export mechanism
all angular module export mechanisms naturally and normally attempted when modeling widget modules are useless and will cause compiler errors.
export within NgModule is now deprecated by public-api barrel files so appease the javascript world and others...
the beautiful designs of angular by the original founder have been desecrated to no end

so Im going to file a new bug
TS2459: Module<EMAIL_ADDRESS>declares 'DirectivesModule' locally, but it is not exported.
a directives module I created (a sub flavor module within my widgets module)
exports all of its directives
its subsequently exported from the parent root library module
and its exported from the public-api index.ts barrel file
but other libraries within my monorepo cannot consume it due to above error
and
   node_modules/@meanstacknh/shared-ui-widget/shared-ui-widget.module.ts:28:9 - error NG3004: Unable to import class DirectivesModule.
     The file<EMAIL_ADDRESS>is outside of the configured 'rootDir'.

   28         DirectivesModule,

if any angular committer who cares about the integrity of angular wants access to my repo inquire within
im going to start filing bugs

@SvenBudak, please refrain from spamming. It appears that you are experience issues unrelated to the original issue reported here. Ie ng generate inside a library project.
I saw two errors in your comments
node_modules/@meanstacknh/shared-ui-widget/shared-ui-widget.module.ts:28:9 - error NG3004: Unable to import class DirectivesModule.
     The file<EMAIL_ADDRESS>is outside of the configured 'rootDir'.

The above indicates that you are trying to access a file outside of the root directory of your library. Start by checking and validating that you are importing the files correctly.
Module<EMAIL_ADDRESS>declares 'DirectivesModule' locally, but it is not exported

This indicates that DirectivesModule is not exported as part of the libraries public api.

If the issue persists please open a new issue and provide a minimal reproduction.
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.

TS2459: Module<EMAIL_ADDRESS>declares 'DirectivesModule' locally, but it is not exported.
a directives module I created (a sub flavor module within my widgets module) exports all of its directives its subsequently exported from the parent root library module and its exported from the public-api index.ts barrel file
but other libraries within my monorepo cannot consume it due to above error
and
   node_modules/@meanstacknh/shared-ui-widget/shared-ui-widget.module.ts:28:9 - error NG3004: Unable to import class DirectivesModule.
     The file<EMAIL_ADDRESS>is outside of the configured 'rootDir'.

   28         DirectivesModule,

if any angular committer who cares about the integrity of angular wants access to my repo, inquire within https://github.com/nhhockeyplayer/meanstacknh
nx report

 >  NX   Report complete - copy this into the issue template

   Node : 16.15.1
   OS   : darwin x64
   yarn : 1.22.18

   nx : 14.4.0
   @nrwl/angular : 14.4.0
   @nrwl/cypress : 14.4.0
   @nrwl/detox : Not Found
   @nrwl/devkit : 14.4.0
   @nrwl/eslint-plugin-nx : 14.4.0
   @nrwl/express : 14.4.0
   @nrwl/jest : 14.4.0
   @nrwl/js : 14.4.0
   @nrwl/linter : 14.4.0
   @nrwl/nest : 14.4.0
   @nrwl/next : Not Found
   @nrwl/node : 14.4.0
   @nrwl/nx-cloud : 14.2.0
   @nrwl/nx-plugin : Not Found
   @nrwl/react : Not Found
   @nrwl/react-native : Not Found
   @nrwl/schematics : 8.12.11
   @nrwl/storybook : 14.4.0
   @nrwl/web : 14.4.0
   @nrwl/workspace : 14.4.0
   typescript : 4.7.4
   ---------------------------------------
   Community plugins:
   	 @fortawesome/angular-fontawesome: 0.11.1
   	 @ionic/angular: 6.1.12
   	 @ngrx/component-store: 14.0.1
   	 @ngrx/effects: 14.0.1
   	 @ngrx/entity: 14.0.1
   	 @ngrx/router-store: 14.0.1
   	 @ngrx/store: 14.0.1
   	 @nxtend/capacitor: 13.0.0
   	 @nxtend/ionic-angular: 13.1.0
   	 @storybook/angular: 6.5.9
   	 angular-builder-custom-terser-options: 1.0.1
   	 @compodoc/compodoc: 1.1.19
   	 @ngrx/schematics: 14.0.1
   	 @ngrx/store-devtools: 14.0.1
   	 @nxpm/stack: 4.21.0
   	 @nxtend/capacitor: 13.0.0
   	 @storybook/angular: 6.5.9

Oh apologies :)

Do we need to add all exports in public.api.ts or any other work around after angular 12.


Move dandi-etag related logic from dand-cli to dandischema

Per @satra 's thinking and my approval nodding -- rationale is

to lighten up dandi-api dependencies (ATM depends on dandi-cli) for PartGenerator .

Not sure if that is the only component which should be moved or entire dandietag -- most likely entire
dandi-api already depends on dandischema

to avoid deadlock of dandi-api wanting a newer dandischema and now needing to wait for newer dandi-cli which would support it
kinda makes sense since dandischema is the one desiring dandi-etag

Functionality should be first copied to dandischema and removed only later, whenever dandi-cli depends on this newer dandischema released version

@yarikoptic Should the functionality be moved to dandschema/core/digests/dandietag.py (as it is in dandi-cli) or something with fewer intermediate directories?

@jwodder - you could drop core if you want in this case.


TextColor and TextAlignment doesn't work

I tried just to dropIn replace UILabel with TTTAttributedLabel, and I have a problem with:

Text color - this doesn't work:  [textlabel setTextColor:[UIColor whiteColor]];
it always display black color
Text alignment - this doesn't work: textlabel.textAlignment = NSTextAlignmentRight;
It's always aligned left.

There is a work around for this two things?

what about alignment TextAlignment? RTL isn't supported.


Better support for the menu bar

Currently this is what happens when the menu bar is shown by pressing alt or ticking the Menu Bar option (in FF 60.0 with CSD enabled):

I'm not saying that it should look perfect since GNOME applications have no menu bar anyway, but perhaps it could look a little less broken? :)
Thank you for your work!

Please, test #40 and let me know.

Tested; LGTM!
Thank you for your work!

Thanks for reporting this bug and thank you @rafaelmardojai for fixing it! I'm surprised you found a way to even add CSD autodetection, are there any known bugs? It looks stable to me, maybe it could even replace all those manual CSD switches completely, or at least land in the new ui/recommended-features.css file when we add it (#36).

@kurogetsusai there's no known bugs and is working on Stable, Beta & Nightly.
Maybe we can wait to one more version, and if Mozilla don't break nothing we can default experimental-auto-csd.css and include it to core when #36 is done.


Monero hard fork

Can you update for the new Monero hard fork please?  2.14.x I believe is the newest release.

Just updated! I just set up a pi CI server so as long as i keep it plugged in, it should automatically build any new release of xmrig and push them here (tagged)

Awesome - thanks!!!


#296

Report final class is renamed to XSLReport.
Report interface is created, in order to make custom metrics without
XSL possible.

Job #363 is now in scope, role is REV

This pull request #363 is assigned to @fabriciofx/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @paulodamaso/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be no monetary reward for this job

@fabriciofx/z this job was assigned to you 17days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@paulodamaso/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@monomonedula ping

Pull request #363 was not merged, no payment for ARC, see §28

Code review was too long (15 days), architects (@paulodamaso) were penalized, see §55

Order was finished: +15 point(s) just awarded to @paulodamaso/z


Plot problems over time

Lots of the problem / risk exposure analytics have been focused on the person experiencing the problems. But now that we have layers showing where problems happen, it's useful to narrow down when. So per lane and intersection, there's a new info panel tab wiring up timeseries plots, with all of the filtering and A/B testing available for throughput and delay.
https://user-images.githubusercontent.com/1664407/167253468-794477c7-1020-4b58-a4f0-35c3c8ec5a9a.mp4
The problems aren't stored in Analytics in a form optimized for this kind of plotting, but as usual, at the scales of simulations we're looking at right now, the brute-force thing works fine to start with. Thanks cache locality!

Very nice! This new functionality will definitely provide results that can feed into the report for simulations based on a case study of Sao Miguel Paulista. I've captured this idea here FYI: https://github.com/spstreets/OD2017/issues/32


"Permission Denied" when trying to get file/dir with other permissions (how to sudo)

is there a way I can "sudo" from otros?
i have a user that does not have permissions to get to the log dir. When I connect through SSH, i login and then "sudo su" so I get permissions. is there a way to "sudo" but via otros?

Hi OhadR. I don't think it is possible. It uses scp protocol to access files.

@OhadR if you have root access, it should be easy to get read permissions for your user/group to those files/dirs!


Erroring out if retry is enabled

Hey
I was wondering whether it would be a good change to refuse scheduling if the retry option of sidekiq is not set to false. Currently, if retry: true is set, you might end up with multiple jobs running at the same time (one scheduled, one or more retried by Sidekiq). This behaviour seems bad, and my guess is that all users of sidekiq-repeat have retry: false on their jobs.
Or at least issue a warning?

We could try to be smart and output a warning if the amount of retries configured would make the job retry longer than the configured recurrence.
In general I agree with @dsander, but the smartest solution would probably be to not only issue a warning, but refuse to retry if the next retry would be after the next scheduled job.
Retries which happen before the next scheduled job, would of course be executed.

@bigzed That would be smart, but I wonder if we can manipulate Sidekiq's retry mechanism at all from within the middleware.

I am not even sure if the calculation would work in all cases. If parse-cron supports crazy cronlines we would need to brute force the shortest possible time-frame between two runs of the passed in cronline 😄


Add edit feature in user guide

Codecov Report

Merging #31 (15cf8d9) into ug (3ded4a1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                 ug      #31   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


Miscellaneous logging and clean up.

Current dependencies on/for this PR:

main

PR #154   👈

PR #155

PR #156

This stack of pull requests is managed by Graphite.

Merge activity

Nov 20, 7:44 AM: @rohinb2 started a stack merge that includes this pull request via Graphite.


Ambiguous associated type panics

Aim
Attempted to compile:
trait MyTrait { type X; }

fn main() {
    // `X` is ambiguous
    let foo: MyTrait::X;
}

Expected Behavior
Expected compilation to fail with a user error
Bug
Compiler panics:
The application panicked (crashed).
Message:  index out of bounds: the len is 0 but the index is<PHONE_NUMBER>3709551615
Location: compiler/noirc_frontend/src/node_interner.rs:1156

To Reproduce

Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
Binary (noirup default)
Nargo Version
No response
NoirJS Version
nargo version = 0.31.0 noirc version = 0.31.0+45e82a672b9ba7f7326e8d9f8800e2489013e2e8 (git version hash: 45e82a672b9ba7f7326e8d9f8800e2489013e2e8, is dirty: false)
Would you like to submit a PR for this Issue?
None
Support Needs
No response

Reopened because the linked issue says "does not fix ..." but I think GitHub just sees the "fix" part.


fix: fix token expire not redirect to login

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

/cherrypick release-1.1

/lgtm
/approve


Respect do-not-disrupt annotation for static pods

Description
What problem are you trying to solve?
Presently, the karpenter.sh/do-not-disrupt: "true" annotation will prevent consolidation when present on K8s resources, with the exception of terminating pods, terminal pods, DaemonSet pods and static pods.
For the use case of Airflow on Kubernetes, jobs are spawned as static pods and consolidation causes them to receive sigterm from being evicted. In this use case, it is desirable to exempt these pods from consolidation-initiated eviction.
To that end, this feature request is to implement support for the annotation karpenter.sh/do-not-disrupt: "true" on static pods.
How important is this feature to you?
Workarounds exist (disabling consolidation, scheduling to a nodegroup without consolidation), however given the transient nature of Airflow workloads, it is desirable to have it execute alongside other workloads, and making full use of consolidation is an enormous boon to efficiency.

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Thank you for cutting this. Since this is applicable for all cloud providers, could you cut the same issue in github.com/kubernetes-sigs/karpenter?

Thank you for cutting this. Since this is applicable for all cloud providers, could you cut the same issue in github.com/kubernetes-sigs/karpenter?

I've opened the following issue in kubernetes-sigs/karpenter: https://github.com/kubernetes-sigs/karpenter/issues/863

Appreciate it! Will close this in favor of that one.


Optimizing the optimization of conditional goal making

Various conditions are actually always or almost always false, and one should just make the goal and skip the checking.

This should be considered done. There must be many places where this kind of optimization can be done, but this issue is too vague.


single script package casts exception upon uninstall

To reproduce:

Setup the simple test package:

mkdir /tmp/scriptpack
cd /tmp/scriptpack

cat <<EOF > setup.py
#!/usr/bin/env python
from setuptools import setup

setup(name='scriptpack',
      version='0.1',
      scripts=['script.py'])

EOF

cat <<EOF > script.py
#!/usr/bin/env python

print "hello world"
EOF

chmod +x script.py

Trigger the error:

python setup.py install &&
pip uninstall -y -v scriptpack

I'm having this exception on the last instruction:
Uninstalling scriptpack-0.1:
  Removing file or directory /usr/local/bin/script.py
  Removing file or directory /usr/local/lib/python2.7/site-packages/scriptpack-0.1-py2.7.egg
  Removing pth entries from /usr/local/lib/python2.7/site-packages/easy-install.pth:
  Removing entry: ./scriptpack-0.1-py2.7.egg
  Successfully uninstalled scriptpack-0.1
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 11, in <module>
    load_entry_point('pip==10.0.0.dev0', 'console_scripts', 'pip')()
  File "/usr/local/lib/python2.7/site-packages/pip/__init__.py", line 232, in main
    return command.main(cmd_args)
  File "/usr/local/lib/python2.7/site-packages/pip/basecommand.py", line 250, in main
    timeout=min(5, options.timeout)) as session:
  File "/usr/local/lib/python2.7/site-packages/pip/basecommand.py", line 72, in _build_session
    insecure_hosts=options.trusted_hosts,
  File "/usr/local/lib/python2.7/site-packages/pip/download.py", line 333, in __init__
    self.headers["User-Agent"] = user_agent()
  File "/usr/local/lib/python2.7/site-packages/pip/download.py", line 123, in user_agent
    setuptools_version = get_installed_version("setuptools")
  File "/usr/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 842, in get_installed_version
    working_set = pkg_resources.WorkingSet()
  File "/usr/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 639, in __init__
    self.add_entry(entry)
  File "/usr/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 695, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1950, in find_eggs_in_zip
    if metadata.has_metadata('PKG-INFO'):
  File "/usr/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1464, in has_metadata
    return self.egg_info and self._has(self._fn(self.egg_info, name))
  File "/usr/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1824, in _has
    return zip_path in self.zipinfo or zip_path in self._index()
  File "/usr/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1704, in zipinfo
    return self._zip_manifests.load(self.loader.archive)
  File "/usr/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1644, in load
    mtime = os.stat(path).st_mtime
OSError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/site-packages/scriptpack-0.1-py2.7.egg'

Note:

The package gets correctly uninstalled (you can see this only with -v)
This behavior is not happening with old setuptools 9.1 and pip.
This doesn't happen if zip_safe is set to False.
Checked failing on master version of pip and current pypi version.
tested on debian docker, python 2.7.13
pip list:

pip list
Package    Version
---------- -----------
appdirs    1.4.3
packaging  16.8
pip        10.0.0.dev0
pyparsing  2.2.0
rwt        2.14
setuptools 34.3.3
six        1.10.0
virtualenv 15.1.0
wheel      0.29.0

Tell me if I'm doing anything wrong, I was expecting this to work. If this should not work I'll be happy to have links to documentation that explain why this output is expected.

The problem exists in part because you're using the old and soft-deprecated easy_install to install the package (implicitly via setup.py install). Better would be to use pip to install the package with pip install .. You probably won't have the issue if you install that way. Can you confirm?

I confirm that it works properly with pip install . ... I though that python setup.py install was still wildly used and the expected default way of installing a package having a setup.py. I also understand that this "deprecation" (what do you mean by "soft-deprecated" ?) probably is aiming for a better future.
Maybe what is missing is to:

just make it work as for the previous version of setuptools... if possible.
or output a warning ("you're package was made by easy_install, and that baaad, don't use it, here's how to do it properly")... notice that previous point and this point are not incompatible.
why is python setup.py install still using easy_install if it is not the right way and the right way is well known ?

Sorry as I'm a probably messed up with setuptools, easy_install, pip and other's python packaging tools.
I still feel this exception could be avoided (or have a better error message) and it would make the python packaging world a better place without impeding with the patient implementation of the big cleaning goals.

I agree it would be nicer if this issue didn't occur. A similar issue was reported in pypa/pip#2545, although that issue seemed to be related primarily to uninstalling setuptools itself.
I've updated your post to use pip uninstall scriptpack instead of pip uninstall install, which I believe was a typo.
I am able to replicate the failure, even stable pip 9.0.1.
It seems that what's happening is that during the version check following an uninstall of an egg, the construction of a working set will crash.
Let's see if we can replicate the failure without pip... Yes:
$ python setup.py install
running install
...
Installed /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scriptpack-0.1-py3.6.egg
Processing dependencies for scriptpack==0.1
Finished processing dependencies for scriptpack==0.1
$ python
Python 3.6.1 (v3.6.1:69c0db5050, Mar 21 2017, 01:21:04)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload', '/Users/jaraco/Library/Python/3.6/lib/python/site-packages', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyObjC', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scriptpack-0.1-py3.6.egg']
>>> import os
>>> os.remove(sys.path[-1])
>>> import pkg_resources
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3036, in <module>
    @_call_aside
...
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1703, in zipinfo
    return self._zip_manifests.load(self.loader.archive)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1643, in load
    mtime = os.stat(path).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scriptpack-0.1-py3.6.egg'

The issue seems to be that pkg_resources will choke when an egg on sys.path is removed before pkg_resources is imported then pkg_resources is imported.


Visual Basic error with europan date format

When I try to use Carelink, I immediately receive an error saying: System.FormatException: String '23/07/2022 11:55:18' in ToSgList line 17 was not recognized as a valid DateTime.
When I click OK, the application vanishes.

@PhilMEFL which version? Can you drop in the CareLink*.json File that causes the issue here? It is a text file you can view, and all person information is stripped out before being saved. It is in your documents folder.
Also, what is the language/culture code your computer is running in. something like "en_US".
My next release 7/28 will package all of the information for you to make it easier to address language issues.

I use the latest version available that I downloaded this morning.  My culture is en-us but the language I use is en-be.  Heere are the json files.
carelinjson.zip
Thanks.

This can probably help you;

@PhilMEFL That is the issue, most data in the file is in en-US but a few pieces are in what your pump things is local culture in your case en-be and the windows program can't figure that out. I can't decide if I should use a drop down where people can pick their own or just try all the variations.
I am open to suguestions.

@PhilMEFL I have put a text version here. It should have fixed issue and if not it produces an error report with dump as a text file in your documents folder that gives me everything to reproject the issue include all local culture information. All personal information is removed.  You can then just do it here. This is a preview of what I plan to release Friday.
CareLinkv<IP_ADDRESS>.zip

Hi Paul, thank you for trying to fix the issue but I have the exact same problem with the new version.

Does it produce a crash report? It would be stored under myDocuments. Name is CareLinkErrorReport.txt

No sorry, there is no crash report.

This is the only recent file in my documents folder.
CareLinkLastDownload(en-US).zip

@PhilMEFL you are correct in the case of this one error program exited without saving error report. I have fixed that
CareLinkv<IP_ADDRESS>x64.zip.

Here is the crash report file
CareLinkErrorReport(en-US).txt
Thank you for your efforts..

@PhilMEFL thank you that helped tremendously, turns out I still had a few CDate conversion what did not understand Cultures. Your pump puts out dates in your countries culture, but your Windows is in English, so the conversion was not happening, and app crashed.
CareLinkv<IP_ADDRESS>x64.zip
I believe this finally fixes your issue.

CareLinkErrorReport(en-US).txt
Sorry to disappoint you but the problem is still not fixed.  However, I succeeded to run the application by changing my location and default language to Belgian French.
Nevertheless, I hope that you will find a solution because although French-speaking, I have trouble communicating in French with my computers, professional deformation no doubt.

@PhilMEFL I have 2 solutions load all 110 unique culture data formats which will slow the program down when pump culture is not your Windows UI culture or I could add a dropdown where you select your pump culture. What would you prefer?

@PhilMEFL
This version supports 110 cultures see if it fixes it otherwise, I am going to have to do a dropdown list.
CareLinkv<IP_ADDRESS>x64.zip

Sorry but the same problem occurs:

There is no error log in my documents.

@PhilMEFL It turns out every time new data was read one culture was being deleted. So eventually all 110 cultures disappear and that doesn't show up using an error file only on a real system.
CareLinkv<IP_ADDRESS>x64.zip
Hopefully this finally fixes the issue. Thanks again for all your help.

CareLinkErrorReport(en-US).txt
Sorry Paul, still the same issue

@PhilMEFL  the only way I know to solve your specific issue is to debug in on your system under Visual Studio and some form of remote desktop or if you are a programmer, you can look at it the project is open source. Sorry.

Hi @paul1956
I was able to reproduce this error, by setting windows language and region to Nederlands (Nederland). I use Nederlands(België) witout errors.
Error report is included:

CareLinkErrorReport(en-BE).txt
.

@Krikke99 I have an experimental version with a complete rewrite of date handling code. I will post here if to you to try.  It is very early. The version has wrong, and ReadMe not updated. Some dates may display in wrong time zone, but nothing should crash.
CareLinkv<IP_ADDRESS>x64.zip
.

@paul1956 i tested your preview version and no crash occurred.

Hi Paul,
This release is working.  Thanks.
Philippe
From: Chris Deprez @.>
Sent: Wednesday, 3 August 2022 08:52
To: paul1956/CareLink @.>
Cc: Philippe Martin @.>; Mention @.>
Subject: Re: [paul1956/CareLink] Visual Basic error with europan date format (Issue #5)
@paul1956https://github.com/paul1956 i tested your preview version and no crash occurred.
—
Reply to this email directly, view it on GitHubhttps://github.com/paul1956/CareLink/issues/5#issuecomment-1203554724, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACBBR5WXLFIMJ7JAK2RKQO3VXIJH5ANCNFSM54PM7EEQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@PhilMEFL Can you check that the dates are correct on your system? It's great that it doesn't crash but are the dates correct? I am still working on showing the date native to your pump and then translated dates relative to the PC. So, if someone in Germany is monitoring someone if US the information is correct and understandable. I will release this version next weekend after more testing.

The date is formatted so: 2022-08-03T11:14:00.000Z but I don’t mind such notation.  However, the status of the battery and the sensor remain unknown as you can see in the screenshot.
@.***
Thanks
From: Paul M Cohen @.>
Sent: Wednesday, 3 August 2022 11:13
To: paul1956/CareLink @.>
Cc: Philippe Martin @.>; Mention @.>
Subject: Re: [paul1956/CareLink] Visual Basic error with europan date format (Issue #5)
@PhilMEFLhttps://github.com/PhilMEFL Can you check that the dates are correct on your system? It's great that it doesn't crash but are the dates correct? I am still working on showing the date native to your pump and then translated dates relative to the PC. So, if someone in Germany is monitoring someone if US the information is correct and understandable. I will release this version next weekend after more testing.
—
Reply to this email directly, view it on GitHubhttps://github.com/paul1956/CareLink/issues/5#issuecomment-1203691745, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACBBR5TNCV4BWTYYXYPYNPLVXIZZJANCNFSM54PM7EEQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Battery issue is fixed is this beta
CareLinkv<IP_ADDRESS>x64.zip
If you are happy with the fixes please close issue.

Hi Paul,
I think the dropdown solution will be the easiest one.  I checked my pump but I don’t find a way to change its culture, only the language can be changed.  I suppose they provide different variant depending on the area where it will be used.
@.***
Philippe Martin - 0495 408 883
rue de la Bruyère d’Huleu, 2 - 1460 Ittre
<EMAIL_ADDRESS>IBAN: BE08 7512 0974 0413 - BIC: AXABBE22 - T.V.A. : BE0721.449.079
From: Paul M Cohen @.>
Sent: Tuesday, 26 July 2022 11:22
To: paul1956/CareLink @.>
Cc: Philippe Martin @.>; Mention @.>
Subject: Re: [paul1956/CareLink] Visual Basic error with europan date format (Issue #5)
@PhilMEFLhttps://github.com/PhilMEFL I have 2 solutions load all 110 unique culture data formats which will slow the program down when pump culture is not your Windows UI culture or I could add a dropdown where you select your pump culture. What would you prefer?
—
Reply to this email directly, view it on GitHubhttps://github.com/paul1956/CareLink/issues/5#issuecomment-1195235698, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACBBR5QXCBGB6SQQFCW4EOLVV6U43ANCNFSM54PM7EEQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@PhilMEFL I think this issue is fixed, this is not a pump issue it's my application. I now can find the pumps Culture and if there is still an issue, I can use it.


[SPARK-46945][K8S] Add spark.kubernetes.legacy.useReadWriteOnceAccessMode for old K8s clusters

What changes were proposed in this pull request?
This PR aims to introduce a legacy configuration for K8s PVC access mode to mitigate migrations issues in old K8s clusters.
Why are the changes needed?

The default value of spark.kubernetes.legacy.useReadWriteOnceAccessMode is false in Apache Spark 4.
To help the users who cannot upgrade their K8s versions.

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manually.
Was this patch authored or co-authored using generative AI tooling?
No.

Hi, @yaooqinn . Could you review this, please?
The recent Apache Spark 3.5.1 release discussion in dev mailing list reminds me your error reporting. I added this legacy configuration with different default values.

false in master
true in branch-3.5 and branch-3.4.

... in old K8s clusters

I suppose the "old" means K8s version < 1.22? would be helpful to mention it in the PR description or configuration docs.

Thanks @dongjoon-hyun @pan3793
Merged to master.

Thank you, @yaooqinn and @pan3793 .

Hi, @pan3793 . Apache Spark 4.0 only supports K8s 1.26+ already via SPARK-44119

#43069

I suppose the "old" means K8s version < 1.22? would be helpful to mention it in the PR description or configuration docs.

I believe the user will know the capability at the first Spark 4.0 run if their cluster is not ready for ReadWriterOncePod~

I believe the user will know the capability at the first Spark 4.0 run if their cluster is not ready for ReadWriterOncePod.

That makes sense, thanks for the explanation.


python-pyqt5: remove broken recipe

The python-pyqt5 recipe is broken with Yocto 2.1 and Yocto 2.2 versions.
The upstream python-pyqt5 recipe can be found in the meta-qt5 layer.
Signed-off-by: Gordan Markuš<EMAIL_ADDRESS>

@zeenix fixed.


Lock colors to 1.4.0

karma and karma-spec-reporter both depend on colors, which is broken after 1.4.1. Until the Karma libraries are fixed this is a workaround to lock the colors version.

Thanks for the pull request @ebogo1!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Thanks @ebogo1! This should be good to go once CI passes.


Label on type box for 0.5.7

Hi,
There are any plans to add box type label for 0.5.7 version?
Or can be done differently?

@florincod no, there aren't. I'd suggest to go to version 2 where it has been implemented. Do you have any issue to go to version 2?

I understand. I think the version 0.5.7 is quite obsoleted and it has some bugs (and missing features) solved (and implemented) starting from version 1, where the plugin has been completely rewritten. I don't see any possibility to release new version 0.

@stockiNail, I found a solution, with some adjustments you can do it with type: line which has label prop

You're right. you can position a line over the box and hide the line (borderWidth: 0 or borderColor: transparent, I guess).


Scripting

This has some promising features already, and seems to be going in an interesting direction. But my main concern pertains to the scripting within the engine. Are there any other languages supported than C++? If not, do you plan to support other languages? Please and thank you for any answers!

Thank you,
The engine doesn't currently support any other scripting language other than the C/C++ like scripting provided by AngelScript. I have been thinking of adding Lua or C# scripting but unfortunately I can't tell you when this will happen as the engine is still in early development, and there are already a lot of things that need to be done.
Let's say though that when the engine reaches a stage where it can be considered "complete/mature", and it becomes apparent that it can be used to make games, I will definitely add support for a high level scripting language.

+1 for C#, it seems to be the goto language for scripting

I would also plus a unity-like API (much like the unity-like editor)

I like it as well, I've just added C# scripting in the roadmap. I'll close this issue now ;-)
Regarding the editor and the API, there are no strict goals (e.g. only do what Unity does), the idea is to let it play out and see what works best.  However, everything will be intuitive and easy to use, I can assure you of that.

I could port over some Angelscript debugging via WebSockets using the asPEEK protocol. It would smooth out the experience of using Angelscript a lot. It's a really great language to use when you can debug.
I think with a few tweaks I could port over an Angelscript IDE of mine  (with intellisense and all) to include support for the Directus API and toss that up ... though being WPF based it's Windows only.


Add tooltips to the large buttons (Reexecute, Save, ...)

Well, it's not completely done...
I really struggled with making tooltips work over <button> elements (over textual they are working fine). In the end I even did not completely solve it - I don't know what exactly, but something distorts the correct positioning of the tooltips above the buttons. For some reason, however, right, where they are most needed - i.e. taskresult, over the 3 buttons you mentioned - reexecute, save and cancel - they are working! So this is the only place where the tooltips are actually added.
For other buttons I do not know any other way than creating a custom tooltip, which is not an easy task at all. A directive was created for the purpose - btnexplain - but that is far from what one would call a 'tooltip' and even that doesn't work all the time (also has some other visually unappealing issues).
Sorry...


Microsoft.DataFactory LinkedService.json RestServiceLinkedServiceTypeProperties.properties.password problem

RestServiceLinkedServiceTypeProperties.properties.password has "$ref": "../datafactory.json#/definitions/SecretBase"
https://github.com/Azure/azure-rest-api-specs/blob/7b8b9ebbf8593580ed710329c61dee1936062cbb/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json#L2809
However, I get an object from the server whose "password" is " string". This is created through the "Azure Portal"
			"id": "/subscriptions/.../resourceGroups/.../providers/Microsoft.DataFactory/factories/.../linkedservices/...",
			"name": "...",
			"type": "Microsoft.DataFactory/factories/linkedservices",
			"properties": {
				"type": "RestService",
				"description": "...",
				"annotations": [],
				"typeProperties": {
					"url": "https:...?instance=@{linkedService().SiteUrl}",
					"enableServerCertificateValidation": false,
					"authenticationType": "Basic",
					"userName": "@{linkedService().User}",
					"password": "@{linkedService().SecretKV}"
				},
				"connectVia": {
					"referenceName": "...",
					"type": "IntegrationRuntimeReference"
				},
				"parameters": {
					"SiteUrl": {
						"type": "String"
					},
					"User": {
						"type": "String"
					},
					"SecretKV": {
						"type": "String"
					}
				}
			},
			"etag": "..."
		},

When deserializing this object in Java, I get an error:
Exception in thread "main" com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `com.gigware.cloudmine.azure.client.datafactory.model.SecretBase` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('@{linkedService().SecretKV}')
 at [Source: (String)"{
			"id": "/subscriptions/.../resourceGroups/.../providers/Microsoft.DataFactory/factories/.../linkedservices/...",
			"name": "...",
			"type": "Microsoft.DataFactory/factories/linkedservices",
			"properties": {
				"type": "RestService",
				"description": "...",
				"annotations": [],
			"[truncated 637 chars]; line: 14, column: 18] (through reference chain: com.gigware.cloudmine.azure.client.datafactory.model.LinkedServiceResource["properties"]->com.gigware.cloudmine.azure.client.datafactory.model.RestServiceLinkedService["typeProperties"]->com.gigware.cloudmine.azure.client.datafactory.model.RestServiceLinkedServiceTypeProperties["password"])

@VyacheslavShilov The latest UX won't create such rest linked service, actually the parameter is not intended to be parameterized. Please correct the problematic linked service to solve the deserialization issue, thanks!

Product issue resolve now, shared solution for customer to fix the existing linked service.


Ignore $  for clipboard copy

🚀 Feature
When a code block has a leading "$ " at beginning of line, using the clipboard copy function copies in the entire text as is.
Ideally, it would ignore the "$ " in each line.
Motivation
This is problematic in almost any developer site. The Dev experience for our users would improve with this feature.
Pitch
This could improve copying from all sorts of code blocks "% ", "$ ", etc.

Also posted to Docusaurus 2 Canny, https://docusaurus-2.netlify.com/feedback/p/ignore-for-clipboard-copy

I personally always recommend avoid writing $ in a codeblock especially if its a bash command.
So
git clone https://www.github.com/facebook/docusaurus.git

instead of
$ git clone https://www.github.com/facebook/docusaurus.git

While in some scenario we might want the user to not copy the $ button, in some scenario we actually might want the user to copy the $ button.
Consider a docs site which want people to copy a dummy markdown text
I have a story about dollar, i have five of them. Lets symbol them with a $.
$ $ $ $ $

This is good

There are also other programming languages out there or some API that might use $ or other symbol mentioned. It can be hard to tell when to remove $ safely
Opinions, anyone ?
Sent with GitHawk

Maybe we could trim a leading $  (dollar AND a space) from code block if it was present. I'm opting for not doing anything and prefer users just omit the $ if they don't want people to be copying it.

With current implementation of v2, user can easily override the CodeBlock source code with one single command (swizzle)
This make it easy for them to create very customized behavior. Example:
https://twitter.com/dai_shi/status/1178673454419103750?s=20 can convert typescript to javascript code
Hence, i feel we should not doing anything in our side and let user customize their own


列描述淡蓝色或者淡灰色看不清

Description
现在列描述变成了淡蓝色（淡灰色），黑色主题，看不清列描述写的什么，为什么要改成这个颜色？原来的挺好的啊
DBeaver Version
<IP_ADDRESS>305071722
Operating System
Ventura 13.2.1 (22D68)
Database and driver
sql server
Steps to reproduce
No response
Additional context

Please translate your ticket into the English language.

You could try Darkest Dark theme extension https://dbeaver.com/docs/wiki/Eclipse-extensions/

请将您的门票翻译成英语。

The macOS system I use, Night Mode, which is the darkest theme, but the column description (column notes) of the new version of dberver can't be seen clearly, and the color is very light. I don't know where to set the column description to be the previous white.

There is no such setting in embedded DBeaver theme settings.
However, you could try Dark theme extension, as I suggested.
Thank you for your issue reporting.

The original screenshot doesn't show the severity of this bug, as we can see the comment anyway. The problem escalates when you highlight a column. Then the nightmare comes. This is what you see when highlighting a column. Even with this level of zoom, you can almost see nothing.


HASPone Overlay Issues

Reference discussion: #20
Including what is mentioned in the above discussion, I have also noticed the page buttons stay white (as if they are active, unlike their normal grey, inactive state). This happens every now and then and required pressing different page buttons a few times until things go back to normal.
Can provide more info if necessary.

Can you explain the sequence of events you see?  The OP in the previous thread was dealing with the activate page blueprint, which you said you aren’t using.  What happens in your case?  What actions are you taking, and what happens in response?

I am actually seeing the exact same issue as the OP on occasion, with the sticking icons, sometimes being the temperature icon. I am not using a activate page blueprint. I simply added the four blueprints you made in order to recreate the status page you had before HASPone, including date, time, temp, and weather condition. Therefore, either those blueprints have this same issue, or the Core Functionality blueprint may also need to be updated.
In addition, and as you mentioned in this first comment, the page buttons sometimes stick in the 'activated' color, but those were only setup by core functionality on my device. I have not customized page buttons; therefore I believe this issue exists in the core functionality as well.

OK trying to get the exact sequence of events straight, so bear with me.

You are starting on a page, I’ll call it page 1
One page 1 is one or more blueprints which make use of the icon overlay
You change pages using the center button of the three buttons on the bottom (b[2]),  which was set to go to page 2.
Page 2 appears, blueprints assigned to this page appear, but with one or more icons from page 1 laid on top.

How am I doing?  Sound about right?

That is correct. That does happen sometimes.
However, more often I am seeing this:

Start on page one
Click to page two
Page one button (b[1]) is still highlighted white as if it is the active page.
Click between pages until only one button is correctly showing highlighted as the active page.

Allright, sounds like two separate issues going on here so I don't want to conflate the two.  I'll start with the icons.  Any chance you can grab a debug log of the problem happening?

Any updates on this issue?  Are you still experiencing the problem?

I've wiped out everything as of now. Sorry for the delayed response. For now, with my better understanding of how this works, I don't believe I am seeing the issue. I will reopen it if it occurs again.


Where to get 'apollo_carla_bridge/docker'

May I ask where you cloned the apollo_carla_bridge/docker for running the 'Run apollo_carla_bridge' step? Did you clone it directly from here? https://github.com/guardstrikelab/carla_apollo_bridge
Actually, I found that the carla docker provided in https://github.com/guardstrikelab/carla_apollo_bridge cannot start and keeps restarting. Could you please provide some explanation or solutions for it? Thank you!

besides, after i  successfully built and run, my carla performs slowly. And my Dreamview don't get any change,

My system is Ubuntu20.04. Using X11&Xmanager mapped to my local Windows11.

please run as follows:
cd apollo_carla_bridge/docker
./build_docker.sh
./run_docker.sh
docker exec -ti carla_cyber_0.9.13 bash
you can build docker. Carla performs slowly? I don't know why, maybe you can look at your GPU performance.


How do we ensure that we have all the available data to solve bugs appearing in the wild

Summary of the new feature/enhancement
Problem
As PowerToys usage increases, there'll likely be more issues appearing in the wild that the team won't have caught - even after extensive tests. How do we ensure that we have all the available data to know when these issues occur without users needing to report them & guide solving them?
Potential Impact

Improved customer satisfaction as the team is now one step ahead of issues, potentially leading to quicker turn to fixing them
Reduced dev hours trying to repro/triage issues raised by users :)
Team can potentially rank issues based on impact on users, criticality of scenarios...

Proposed technical implementation details
I don't have the all the technical technical worked out, but my suggested approach is:
A framework that is able to collect key traces when scenarios don't meet certain defined measures while still ensuring user privacy is upheld. Afterwards, parsing/exploring these traces to highlight & suggest possible root causes, getting rate of occurrence & gauging impact to users etc. This will probably need to be spec'd out based on what telemetry currently exists at the moment, existing work that can be leveraged and what the team's suggested approach is.
What do you think?

Tracked against https://github.com/microsoft/PowerToys/issues/726.  this is in progress


always email for unknown access when using Instaloader

First, I want to say that it's a great and helpful library to have a good overview of followers and followees.
But whenever I run a code with instaloader I get such an email from Instagram that a new accesspoint (Browser, Location, ..) was used. Everytime. When I run 10 codes, I get 10 emails.
I already tried to allow this access point to use my account but it didn't change anything.
Is there any solution for this?
Thank you!

Have you tried importing a session file from firefox cookies?
https://instaloader.github.io/troubleshooting.html#login-error

Have you tried importing a session file from firefox cookies?

Thank you, @chocolatepaper. I didn't know about this cookie management.
I tried around but I always get:
Cookie import failed: database is locked
I am using instaloader under Ubuntu 18.04.
Do you have any additional help for me?

Instagram sends a notification to you whenever someone logs into your account, as a security measure. Thanks to this feature, you will notice immediately if someone else uses your Instagram account and can then manually take appropriate action.
If your code logs in everytime, you will receive this notification everytime you run your code.
Instaloader allows to persist the session cookies in a sessionfile to not have to login each time you're using Instaloader. It is highly recommended to use session files instead of logging in each time. Have a look at the documentation for how to load a session file in your code: https://instaloader.github.io/as-module.html

I tried around but I always get:
Cookie import failed: database is locked

You seem to use an outdated version of the firefox cookie import script.

Thank you, @aandergr!

You seem to use an outdated version of the firefox cookie import script.
I use the script shown in the above link (https://instaloader.github.io/troubleshooting.html#login-error). As I could read in the code it also finds the right cookie folder and file in my Ubuntu system but could not open/read it.
Hm, I will check the link but when you say that the import script should work there's maybe anything wrong in my system?

Now I used the sample script from GitHub and not the one in the DOCs and it worked immediately.
Thanks for the hint that it's a mistaken script.


Version API Method Names

What does this do / why do we need it?
This PR proposes name changes for two gps version interface methods, primarily for the sake of readability (based on my experience working towards #431).

The UnpairedVersion interface method Is:
Old: Is(Revision) PairedVersion
New: Pair(Revision) PairedVersion
The PairedVersion interface method Underlying:
Old: Underlying() Revision
New: Revision() Revision
Jump to interface declarations

What should your reviewer look out for in this PR?
Reasons not to do this, or more idiomatic name alternatives.
Which issue(s) does this PR fix?
Related to #672 and #431

thanks! 🎉

I just stumbled upon this while rebasing a branch. This is a very nice improvement! 👍


Style Vault page

Page for documents, should probably be modeled similarly to the Items page for consistency's sake.

Recommending we style the page similarly to the Photos page, with a few categories for different types of documents that lead to filtered (via tags) item view pages. In fact, I would scrap what currently exists, copy in The Photos page, and change the wording around.


Strict Mode

Issue
It'd be useful to have the cy.vitals() cause the spec to fail when a check for a threshold is skipped.
Details
I've noticed a few scenarios where the threshold checks are skipped:

Tests running in Electron browser
Browser navigates away from the page via the first input clicks

These specs report that they're passing even though the checks are skipped, and without closer inspection it's not discernible that the check didn't pass.
Perhaps a "strict" option that could be passed into the cy.vitals() command to fail when any of the checks are skipped?

Please see the new strict option in the latest version


Fix ItBit withdrawal issue for high precision amounts

ItBit doesn't support more than 4 decimals of precision in crypto amounts. Is rounding up the right answer? It seems so to me.

I think the proper approach would be to use BigDecimal so that the exact amount is recorded.

What I mean is that ItBit only supports 4 decimals of precision in their
API. If you send 5 decimals, they return an error.
On Sat, Sep 12, 2015, 6:34 AM Tim Molter<EMAIL_ADDRESS>wrote:

I think the proper approach would be to use BigDecimal so that the exact
amount is recorded.
—
Reply to this email directly or view it on GitHub
https://github.com/timmolter/XChange/pull/1058#issuecomment-139750509.

Just to verify this for you, in case you are skeptical (I was), I sent them this request which failed...
{"side":"buy","type":"limit","currency":"XBT","amount":"0.01000000","price":"100","instrument":"XBTUSD"}

When I contacted them to find out why it was failing, this is what they said.
I cross tested your post body with our python wrapper, it return the same error.
logs:
{"instrument": "XBTUSD", "price": "100", "currency": "XBT", "amount": "0.01000000", "type": "limit", "side": "buy"}
{u'validationErrors': [{u'field': u'amount', u'code': 51001, u'description': u'Value contains more than 4 decimals of precision.'}], u'code': 10005, u'description': u'Your request could not be processed because one or more parameters were invalid.', u'requestId': u'46d263f7-b8f6-473f-9528-818ccacbb215'}
You will need to adjust your precision to 4 decimal places on the amount field in the post body.
you might want to tweak the core code on the library you are using or contact the core developer on that library to make adjustment.

Thanks! Makes sense.