OPENSSL build failure

C:\Users\PLANKTON>vcpkg\vcpkg install libiconv:x64-windows zlib:x64-windows openssl:x64-windows dirent:x64-windows getopt:x64-windows curl:x64-windows libzip:x64-windows libxml2:x64-windows libusb:x64-windows libusb-win32:x64-windows pthreads:x64-windows readline:x64-windows pcre:x64-windows dirent
Computing installation plan...
The following packages are already installed:
curl[core,non-http,schannel,ssl,sspi]:x64-windows -> 7.86.0#1
dirent[core]:x64-windows -> 1.23.2#1
dirent[core]:x86-windows -> 1.23.2#1
getopt[core]:x64-windows -> 0#2
libiconv[core]:x64-windows -> 1.17
libusb[core]:x64-windows -> 1.0.26#2
libusb-win32[core]:x64-windows -> <IP_ADDRESS>#8
libxml2[core]:x64-windows -> 2.9.14#1
libzip[bzip2,core,default-aes,wincrypto]:x64-windows -> 1.9.2
zlib[core]:x64-windows -> 1.2.13
The following packages will be built and installed:
openssl[core]:x64-windows -> 3.0.7#1
pcre[core]:x64-windows -> 8.45#5
pthreads[core]:x64-windows -> 3.0.0#12
readline[core]:x64-windows -> 0#3

readline-win32[core]:x64-windows -> 5.0#5
Additional packages (*) will be modified to complete this operation.
curl:x64-windows is already installed
dirent:x64-windows is already installed
dirent:x86-windows is already installed
getopt:x64-windows is already installed
libiconv:x64-windows is already installed
libusb:x64-windows is already installed
libusb-win32:x64-windows is already installed
libxml2:x64-windows is already installed
libzip:x64-windows is already installed
zlib:x64-windows is already installed
Detecting compiler hash for triplet x64-windows...
Restored 0 package(s) from C:\Users\PLANKTON\AppData\Local\vcpkg\archives in 265.1 us. Use --debug to see more details.
Installing 1/5 openssl:x64-windows...
Building openssl[core]:x64-windows...
-- Using cached openssl-openssl-openssl-3.0.7.tar.gz.
-- Cleaning sources at C:/Users/PLANKTON/vcpkg/buildtrees/openssl/src/nssl-3.0.7-96d825e305.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/PLANKTON/vcpkg/downloads/openssl-openssl-openssl-3.0.7.tar.gz
-- Applying patch windows/install-layout.patch
-- Applying patch windows/install-pdbs.patch
-- Using source at C:/Users/PLANKTON/vcpkg/buildtrees/openssl/src/nssl-3.0.7-96d825e305.clean
-- Downloading https://strawberryperl.com/download/<IP_ADDRESS>/strawberry-perl-<IP_ADDRESS>-32bit.zip -> strawberry-perl-<IP_ADDRESS>-32bit.zip...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
Downloading https://strawberryperl.com/download/<IP_ADDRESS>/strawberry-perl-<IP_ADDRESS>-32bit.zip
Download failed -- retrying after 1000ms.Download failed -- retrying after 2000ms.Download failed -- retrying after 4000ms.error: Failed to download from mirror set
error: https://strawberryperl.com/download/<IP_ADDRESS>/strawberry-perl-<IP_ADDRESS>-32bit.zip: WinHttpSendRequest() failed: 12007
https://strawberryperl.com/download/<IP_ADDRESS>/strawberry-perl-<IP_ADDRESS>-32bit.zip: WinHttpSendRequest() failed: 12007
https://strawberryperl.com/download/<IP_ADDRESS>/strawberry-perl-<IP_ADDRESS>-32bit.zip: WinHttpSendRequest() failed: 12007
File does not have the expected hash:
url : [ https://strawberryperl.com/download/<IP_ADDRESS>/strawberry-perl-<IP_ADDRESS>-32bit.zip ]
File path : [ C:\Users\PLANKTON\vcpkg\downloads\strawberry-perl-<IP_ADDRESS>-32bit.zip.17900.part ]
Expected hash : [ 936381254fea2e596db6a16c23b08ced25c4081fda484e1b8c4356755016e4b956bd00f3d2ee651d5f41a7695e9998f6c1ac3f4a237212b9c55aca8c5fea14e9 ]
Actual hash : [ 0cde74707304c5bf150dd9a501c71e1c035f56d29e90bc42aefa7f0f8302483a739e512ec2123b89e86052fa0c0f64cbc755af9ebe4e768ab1b3c49143a602df ]

[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(774):
[DEBUG] Time in subprocesses: 0 us
[DEBUG] Time in parsing JSON: 3 us
[DEBUG] Time in JSON reader: 0 us
[DEBUG] Time in filesystem: 1036 us
[DEBUG] Time in loading ports: 0 us
[DEBUG] Exiting after 14.62 min (877078294 us)
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
  Failed to download file with error: 1
  If you use a proxy, please check your proxy setting. Possible causes are:

  1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
     to `https://address:port`. This is not correct, because `https://` prefix
     claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
     , etc..) is an HTTP proxy. Try setting `http://address:port` to both
     HTTP_PROXY and HTTPS_PROXY instead.

  2. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
     will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
     Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
     Change `http=address:port;https=address:port` to `address`, and fill the port number.

  3. Your proxy's remote server is out of service.

  In future vcpkg releases, if you are using Windows, you no longer need to set
  HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
  Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
  and (https://github.com/microsoft/vcpkg-tool/pull/77)

  Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
scripts/cmake/vcpkg_download_distfile.cmake:273 (z_vcpkg_download_distfile_show_proxy_and_fail)
scripts/cmake/vcpkg_find_acquire_program.cmake:628 (vcpkg_download_distfile)
ports/openssl/portfile.cmake:25 (vcpkg_find_acquire_program)
scripts/ports.cmake:147 (include)
error: building openssl:x64-windows failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+openssl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[openssl]+Build+error
Include '[openssl] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-11-10-5fdee72bc1fceca198fb1ab7589837206a8b81ba
vcpkg-scripts version: 5402d24c7 2022-12-08 (7 hours ago)

I can't reproduce this issue in my side, the hash of the strawberry-perl-<IP_ADDRESS>-32bit.zip file I downloaded is consistent with that set in the current vcpkg.
I suspect that your local software may have touched that file after it was downloaded, causing the file hash to change.
Please check your firewall and try to download strawberry-perl-<IP_ADDRESS>-32bit.zip when it is closed

I observed very similar perl download failures twice or thrice on our (dockerized) CI servers two days ago. Those corrupted downloads were also agonizingly slow (like 40min for that ~100MiB file).
I think its more likely a server reliability issue.

Could you please download the https://strawberryperl.com/download/<IP_ADDRESS>/strawberry-perl-<IP_ADDRESS>-32bit.zip manually and run below command in CMD to see the hash of that file?
certutil -hashfile strawberry-perl-<IP_ADDRESS>-32bit.zip SHA512
Below is my result:
C:\xxxx\xxxx\Downloads>certutil -hashfile strawberry-perl-<IP_ADDRESS>-32bit.zip SHA512
SHA512 hash of strawberry-perl-<IP_ADDRESS>-32bit.zip:
936381254fea2e596db6a16c23b08ced25c4081fda484e1b8c4356755016e4b956bd00f3d2ee651d5f41a7695e9998f6c1ac3f4a237212b9c55aca8c5fea14e9
CertUtil: -hashfile command completed successfully.

Yes, the issue only manifested temporarily. So in combination with the slow download speed, it seems that the hoster isn't capable of handling download peaks. I'm concerned that this might get worse in the future, have other distributions/download sources been evaluated?

I took a look at their website issue tracker and it seems that similar issues have been reported there a few times within the last month:

https://github.com/StrawberryPerl/strawberryperl.com/issues/30
https://github.com/StrawberryPerl/strawberryperl.com/issues/29
https://github.com/StrawberryPerl/strawberryperl.com/issues/23

@BillyONeal given you investigated this last time, would it be possible to reconsider the mirror decision or switch to a different perl distribution?

Strawberry comes with a bunch of cocktail of licenses and stuff that make rehosting by us difficult. It would be neat if someone can get openssl to build with the perl that comes with git?

It would be neat if someone can get openssl to build with the perl which comes with git?

For a general replacement, the one which comes with msys2 would be nice, to avoid mixing msys2 runtimes in other ports. But IIRC openssl didn't behave well with msys2 perl when I tried to use it for mingw.
From other issues we also know that openssl needs one particular Perl module, IPC/Cmd.pm.

FIXED !
i try today, strawberry pearl server up


Add Community Onboarding documents in Spanish and English

This issue tracks the creation of a blog post to publicize the Community Onboarding Documents
It is done when the blog post is published in English and Spanish
Link to Google doc for drafting: XX
Checklist

[ ] Draft post @jnywong
[ ] Review post @elletjies
[ ] Hand off to Katie for final review @katiepratt
[ ] Hand off to MD for translation @SLLDeC
[ ] Hand off to Jenny to draft website previews - 2 separate posts @jnywong
[ ] Final approval of English post by Katie @katiepratt
[ ] Final approval of Spanish post by Sabrina @SLLDeC

I've added links to the documents on the website: https://catalystproject.cloud/faqs.html#where-can-i-find-the-onboarding-document

This looks great @jnywong!


No host format

adds a formatter that doesn't include a host

Coverage increased (+0.05%) to 97.7% when pulling cb6b8e526f0d57be6fc15df580e5ebdd7215a52e on guyisra:no_host_format into 8691b181a8f187fcddf97d40876e688fd15d1b69 on jondot:master.

Great! Very much needed :)


backup capability

hi,
thanks for the script, it is very handy.
I add backup capability to android-ImageSweep, if you interested I will submit pull request.
thanks

Closing issues in preparation to archive this project.


Update eslint config to the published package on npm

Description

Update eslint config to use the recently published package

Other changes

Fix a bad rebase on package-lock.json that removed idb-readable-stream

New dev dependencies:

@orbitdb/eslint-config-orbitdb

Paging @RichardLitt, can we merge this quickfix? :)


Accept encoded url character

Hi there,
I recently faced a use case where the url parameters contained non traditional parameters like % @ and so forth. This makes sure that the templatetag doesn't return false negative in such a case.
Please review ;)

Closing because - well - ~ 5 year later and I'd like to cleanup my "open PR" page 😉


Add ready-for-use example manifest

there's a example manifest in docs/ but it's not ready for use (takes
time to modify)
followed name convention established by https://github.com/cloudfoundry/cf-deployment
followed location convention established by https://github.com/cloudfoundry/cf-deployment
most BOSH and CF variables use now the default variable names created during the BOSH Lite deployment process, which makes it easier to deploy by interpolating against BOSH Lite and CF var files

Hi El!
Thanks for the PR!
We are not merging this one.
As we ship an example base manifest + opsfiles to deploy a redis broker with ODB, we decided to update https://github.com/pivotal-cf/on-demand-service-broker-release/pull/29 to use those instead of adding another example manifest.
with @kirederik


Chore: updated chown command in docker.md

Fix for the following issue: https://github.com/verdaccio/website/issues/132

:) read the alert 🚨 part https://github.com/verdaccio/website/blob/master/CONTRIBUTING.md

My bad! I overlooked that part. I think it's correct now? Let me know if you need any other changes :)

Oh wait. I just noticed it didn't completely revert some of the other files. I'll fix that asap to be correct.

Closing to start over. Git skills are not good enough to know how to undo changes 😅

ok no problemo :-)


Cache transformed dynamo graph to speedup warmup

As reported in https://github.com/ELS-RD/kernl/issues/224 for instance, warmup can take lots of time, in particular for generative models where we need a warmup per token to be generated. On Whisper medium for 50 tokens, it 30 minutes, and for large flavor, it's 45 mn.
It appeared that Triton is not the main culprit, most of the time is spent in layer replacement in torch dynamo!
By profiling the warmup it appeared that the time taken for this task is longer and longer per token, which is totally unexpected.

above it is represented by the red lines
The thing is that it is unexpected that this part takes time, and even less it takes more and more time.
We have found a simple way to make this part not increase in times, reducing Whisper warmup by 3.
It required to move replacement_graph_module: GraphModule = symbolic_trace(replacement) out of its for loop and make deep copy of a single object.
After this modification, 20% of the e2e warmup time for Whisper medium is spent on it.
We may do better by just caching the whole transformed graph and reuse it for each token, it would save us most of the remaining 20%.
Simple fix which copy graph module instead of creating a fresh new at each round.
    # As we progressively replace nodes, we'll need to keep track of how the match results should change
    match_changed_node: Dict[Node, Node] = {}

    replacement_graph_module: GraphModule = symbolic_trace(replacement)
    for match in _matches:
        replacement_graph = copy.deepcopy(replacement_graph_module).graph
        replacement_placeholders = [n for n in replacement_graph.nodes if n.op == "placeholder"]

        # CHANGE HERE

graph of each step is slightly different, below for whisper there is one difference related to the position embeddings.

Therefore we can't recycle the whole graph.


Styling fixed due material update

table header color
table sort arrow
mat table color
table cell color
mat spinner color
caret color

Also merged into branch 16.0.x


Upload component can't use error component

Upload component doesn't call onsField or onsFieldset so in turn, doesn't call onsError, so the validation pattern can't be used with it.
Originally posted by @jrbarnes9 in https://github.com/ONSdigital/design-system/discussions/97#discussioncomment-898172

Fixed in #1552


Enhancement request : Create a connect/disconnect event so Zwave-JS-UI can log the connect/disconnect to consol on and show on consol

I am converting some old Z-Net devices into Zwave-JS-UI embeded devices and I need a way to know if HomeAssistant is connected to the Z-WAVE-SERVER so I can change the status of the LED light on the Z-Net device depending on this connection.
I actually have two state, red ==> Controler not ready, yellow ==> Driver ready and would like to have a green ligth when HA is connected to the Z-WAVE-SERVER.
That could be used for any other zwave board with an RGB LED
Proposed solution: Create a connect/disconnect event so Zwave-JS-UI so ZWAVE-JS-UI is aware of the connect/disconnetc state
The actual alternative involves MQTT, Node-RED and a python script to grab the zwave device stats in HA, Quite a burden for just knowing a state of connection

you can accomplish this using the HA websocket API which you should be able to access from Node-RED. I don't know enough about Node-RED to know if it handles websocket subscriptions, but if it does, the 	config_entries/subscribe API might help you. The APIs you would need are registered here: https://github.com/home-assistant/core/blob/dev/homeassistant/components/config/config_entries.py
Your problem is outside the scope of the server so you won't be able to get any support for this problem here


[ cgal ] build failure

Host Environment

OS: Ubuntu
Compiler: g++ (Ubuntu 9.3.0-18ubuntu1) 9.3.0

To Reproduce
Steps to reproduce the behavior:
./vcpkg install cgal:x64-linux
Failure logs
Computing installation plan...
The following packages will be built and installed:
    cgal[core]:x64-linux -> 5.3
  * mpfr[core]:x64-linux -> 4.1.0#1
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-linux...
Restored 0 packages from /root/.cache/vcpkg/archives in 29.82 us. Use --debug to see more details.
Starting package 1/2: mpfr:x64-linux
Building package mpfr[core]:x64-linux...
-- Using cached mpfr-4.1.0.tar.xz.
-- Cleaning sources at /opt/vcpkg/buildtrees/mpfr/src/mpfr-4-8955d4bc66.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /opt/vcpkg/downloads/mpfr-4.1.0.tar.xz
-- Applying patch gmpd.patch
-- Applying patch dll.patch
-- Using source at /opt/vcpkg/buildtrees/mpfr/src/mpfr-4-8955d4bc66.clean
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Generating configure for x64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /usr/bin/autoreconf -vfi
    Working Directory: /opt/vcpkg/buildtrees/mpfr/src/mpfr-4-8955d4bc66.clean/
    Error code: 1
    See logs for more information:
      /opt/vcpkg/buildtrees/mpfr/autoconf-x64-linux-out.log
      /opt/vcpkg/buildtrees/mpfr/autoconf-x64-linux-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:610 (vcpkg_execute_required_process)
  ports/mpfr/portfile.cmake:17 (vcpkg_configure_make)
  scripts/ports.cmake:142 (include)

mpfr err file logs
#  /opt/vcpkg/buildtrees/mpfr/autoconf-x64-linux-out.log
error: possibly undefined macro: AX_PTHREAD。
      If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.

Additional context
Run vcpkg install mpfr:x64-linux and get the error same.

Oh!!I figured it out.
Go to the document and download the latest ax_pthread,m4 to path /usr/share/aclocal/.


Fix for #474 - Use spider.txt if no paths defined in the config yaml.

In gallery.rb, the spider file was flat out being ignored.
In folder.rb, the local property was not being used in the traversal.
Also added debugging to tell when the spider file is being read (which is every time, unfortunately).

Thanks for your PR. However, it should no longer be required since the release of Wraith v4.


Can't open dev menu after going to the Recent Apps (on a physical device)

Description
Title basically says it all.
Reproduction

Start your app. Dev menu opens just fine using all of the methods listed below;
Open Recent Apps menu;
Return to the app;
Dev menu doesn't open.

What I have tried to open the dev menu:

Menu button;
Shaking device;
Adb console command.

Temporary Solution
Restarting the app allows you to open the dev menu once again, but going to the recent apps breaks things again, of course.
Additional Information

React Native version: 0.38.0, 0.40.0
Platform: Android 6.0
Operating System: Windows 10

Couldn't reproduce it later on two different apps.


[9.3] prepare for next development iteration

https://github.com/infinispan/infinispan/commit/dd064bd60fed40483a23b1b2fe00e5bfb5703a77

alright, whatever seems easier than pressing the green button above^ :-D


"results_in_new_tab": true not working

The "results_in_new_tab": true setting isn't working. I can see the setting is applied by running Settings().get('results_in_new_tab') in the Console but it's not opening in a new tab. The following is being output into the Console when I run a gulp command:
Traceback (most recent call last):
File "C:\Users\Rick Lannan\AppData\Roaming\Sublime Text 3\Packages\Gulp\gulp.py", line 204, in task_list_callback
self.run_gulp_task()
File "C:\Users\Rick Lannan\AppData\Roaming\Sublime Text 3\Packages\Gulp\gulp.py", line 207, in run_gulp_task
task = self.construct_gulp_task()
File "C:\Users\Rick Lannan\AppData\Roaming\Sublime Text 3\Packages\Gulp\gulp.py", line 211, in construct_gulp_task
self.show_running_status_in_output_panel()
File "C:\Users\Rick Lannan\AppData\Roaming\Sublime Text 3\Packages\Gulp\gulp.py", line 234, in show_running_status_in_output_panel
self.show_output_panel("Running '%s'%s...\n" % (self.task_name, with_flag_text))
File "C:\Users\Rick Lannan\AppData\Roaming\Sublime Text 3\Packages\Gulp\base_command.py", line 78, in show_output_panel
new_tab_path = os.path.join(self.gulp_results_path(), "Gulp Results")
File "C:\Users\Rick Lannan\AppData\Roaming\Sublime Text 3\Packages\Gulp\base_command.py", line 90, in gulp_results_path
return next(folder_path for folder_path in self.searcheable_folders if self.working_dir.find(folder_path) != -1) if self.working_dir else ""

I'm on a windows machine and I was able to temporarily workaround the issue by replacing line 78 with:
new_tab_path = os.path.join(os.environ['USERPROFILE'], "Gulp Results")
Seems the error was coming was from the gulp_results_path function

Hello, thanks for the report!
gulp_results_path can definitely throw, but it really shouldn't in that scenario so, can I ask you for a favor?  What's the value of self.sercheable_folders (typo fixed no master 😅 ) and working_dir here:
def gulp_results_path(self):
    print(self.searcheable_folders) # <--- here
    print(self.working_dir) # <--- here
    return next(folder_path for folder_path in self.searcheable_folders if self.working_dir.find(folder_path) != -1) if self.working_dir else ""

I don't have a Windows box handy and that would really help debugging, so I don't just add a try:except blind
Thanks!


Update ScriptErrorEvaluationFailed with DebugPlutusFailure

Improved plutus script error debugging output.
Before:
The Plutus script evaluation failed: An error has occurred:
The machine terminated because of an error, either from a built-in function or from an explicit use of 'error'.
Script debugging logs: PT5

After:
Command failed: transaction build  Error: The following scripts have execution failures:
the script for transaction input 0 (in ascending order of the TxIds) failed with:
Script hash: 581cc61bfa1c138524b69f378bc69504322f39289ce554d549db4d1e2b50
Script language: PlutusV3
Protocol version: Version 10
Script arguments:
   ScriptInfo: SpendingScript (TxOutRef {txOutRefId = cb2c9611ad51f6e37c529f7a3cb8dde4eaeaf97e5a47ba03a8c0026fe7a94bc5, txOutRefIdx = 0}) (Just (Datum {getDatum = I 0}))
   TxInfo:
     TxId: a95d7c79d606c74cde9aad2dae26db6ececa3915a6fc3075bea15ae8a8c69c86
     Inputs: [ cb2c9611ad51f6e37c529f7a3cb8dde4eaeaf97e5a47ba03a8c0026fe7a94bc5!0 -> - Value {getValue = Map {unMap = [(,Map {unMap = [("",5000000)]})]}} addressed to
                                                                                ScriptCredential: c61bfa1c138524b69f378bc69504322f39289ce554d549db4d1e2b50 (no staking credential)
                                                                                with datum
                                                                                datum hash:  03170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c111314
                                                                                with referenceScript
                                                                                ]
     Reference inputs: []
     Outputs: [ - Value {getValue = Map {unMap = [(,Map {unMap = [("",2000000)]}),(c61bfa1c138524b69f378bc69504322f39289ce554d549db4d1e2b50,Map {unMap = [("MillarCoin",5)]})]}} addressed to
                  PubKeyCredential: e0d8d2f61fbf9c6b1a2db4b7073c50e6013e3374661a2403d0826920 (no staking credential)
                  with datum
                  no datum
                  with referenceScript

              , - Value {getValue = Map {unMap = [(,Map {unMap = [("",1000000)]})]}} addressed to
                  PubKeyCredential: e0d8d2f61fbf9c6b1a2db4b7073c50e6013e3374661a2403d0826920 (no staking credential)
                  with datum
                  datum hash:  ee155ace9c40292074cb6aff8c9ccdd273c81648ff1149ef36bcea6ebb8a3e25
                  with referenceScript

              , - Value {getValue = Map {unMap = [(,Map {unMap = [("",15000005000000)]})]}} addressed to
                  PubKeyCredential: 5b438ecb59a1fdd3b8ece9cf076821d827eb121460d027e7a9fdc351 (no staking credential)
                  with datum
                  no datum
                  with referenceScript
                   ]
     Fee: 0
     Value minted: Value {getValue = Map {unMap = [(c61bfa1c138524b69f378bc69504322f39289ce554d549db4d1e2b50,Map {unMap = [("MillarCoin",5)]})]}}
     TxCerts: [ TxCertRegStaking (ScriptCredential c61bfa1c138524b69f378bc69504322f39289ce554d549db4d1e2b50) (Just 400000) ]
     Wdrl: []
     Valid range: (-∞ , +∞)
     Signatories: []
     Redeemers: [ ( Spending (TxOutRef {txOutRefId = cb2c9611ad51f6e37c529f7a3cb8dde4eaeaf97e5a47ba03a8c0026fe7a94bc5, txOutRefIdx = 0})
                , 0 )
                , ( Minting c61bfa1c138524b69f378bc69504322f39289ce554d549db4d1e2b50
                , 0 )
                , ( Certifying 0 (TxCertRegStaking (ScriptCredential c61bfa1c138524b69f378bc69504322f39289ce554d549db4d1e2b50) (Just 400000))
                , 0 ) ]
     Datums: [ ( 03170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c111314
             , 0 )
             , ( ee155ace9c40292074cb6aff8c9ccdd273c81648ff1149ef36bcea6ebb8a3e25
             , 1 ) ]
     Votes: []
     Proposal Procedures: []
     Current Treasury Amount:
     Treasury Donation:
   Redeemer:
     0
Script evaluation error: An error has occurred:
The machine terminated because of an error, either from a built-in function or from an explicit use of 'error'.
Script execution logs:  PT5

Script base64 encoded arguments: 2Hmf2Hmfn9h5n9h5.....
Script base64 encoded bytes: WQ5wAQAAMjIzIjMiMyIyMjIyMjIyMjIyMjIy.....

Changelog
- description: |
   Improve plutus script failure error
# uncomment types applicable to the change:
  type:
  - feature        # introduces a new feature

Context
Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.
How to trust this PR
Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.
Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated. See Running tests for more details
[ ] Self-reviewed the diff

https://github.com/IntersectMBO/cardano-api/pull/672 was accidentally merged to master


Fix build error in vite when connecting safe

Issue
When connecting to safe, we get this error in Vite

Quick solution is to convert the dynamic import to static import. Since the connector itself is dynamically imported - this should have no effect on initial bundle size

/release-pr

@MananTank does this mean we have to have safe dependencies as dependencies instead of peerDependencies

@jnsdls
Right now, they are in dependencies but I don't think this code change forces us to add them to dependencies - since these imports are in the connectors/safe/index.ts and that is dynamically imported in wallet. So we should still be able to move them to peerDependencies
But I'm still not sure if it should be moved to peerDependencies. the benefit of doing that is quite small - "installing node modules is faster", but the downside is quite frustrating: if the developer decides to use safe wallet they will get an error and will need install it.
I know we are doing it with aws-kms - which I think should be moved to a separate package altogether wallets/node and have environment/platform specific packages like:

wallets - wallets for web
wallets/react-native - wallets for react-native
wallets/node - wallets for backend

@jnsdls After doing this code change, I'm getting the "global is not defined" error
but instead of adding the global => globalThis replacement, can we do it like this instead:
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
import { nodePolyfills } from 'vite-plugin-node-polyfills';

export default defineConfig({
	plugins: [
		react(),
		nodePolyfills({
			global: true,
		}),
	],
	define: {
		'process.env': {},
	},
});

/release-pr

@jnsdls After making this code change, I'm getting the "global is not defined" error. Instead of adding the global to globalThis replacement. Can we do this instead?
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
import { nodePolyfills } from 'vite-plugin-node-polyfills';

export default defineConfig({
	plugins: [
		react(),
		nodePolyfills({
			global: true,
		}),
	],
	define: {
		'process.env': {},
	},
});

and add this in vite templates and mention this in docs

@jnsdls After making this code change, I'm getting the "global is not defined" error. Instead of adding the global to globalThis replacement. Can we do this instead?
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
import { nodePolyfills } from 'vite-plugin-node-polyfills';

export default defineConfig({
	plugins: [
		react(),
		nodePolyfills({
			global: true,
		}),
	],
	define: {
		'process.env': {},
	},
});

and add this in vite templates and mention this in docs

semes reasonable to me, let's just make sure we do this around / near the same time we release this

@jnsdls we can push the vite.config change right now in the Vite templates before we release this

okay let's do it. but to be clear that's not a blocker for this PR right?

@jnsdls Not a blocker as long as it's not released.
Let me update all the vite examples/templates right now - just to be safe


Fix message layer logging

This refreshes a number of key message layer log lines by doing the following:

Adding in missing bits like transmitter NodeID in the received message print and compressed fabric ID. This is needed to build better log analysis tooling that can aid with debugging of difficult issues.
Re-structures the critical TX/RX prints to better organize and visualize exchange and message ID distinctly so that correlating logs between client/server is a lot easier.
Removes a number of duplicated prints that are now not necessary.
Adds in human-readable names for the various messages so that you don't have to always lookup the protocol headers/spec to figure out what messages are flowing.

Rationale for 1.0: This is a byproduct of the difficulty debugging issues encountered recently, especially when trying to correlate messages across logs on client/server. This also unblocks a message visualization tool that has been useful in debugging message layer issues.
Old TX:
Prepared unauthenticated message 0x7b08000190e8 to 0x0000000000000000 (0)  of type 0x21 and protocolId (0, 0) on exchange 54243r with MessageCounter:125706119.
Sending unauthenticated msg 0x7b08000190e8 with MessageCounter:125706119 to 0x0000000000000000 at monotonic time: 000000003C2C971D msec

New TX:
<<< [E:45410r M:139311687 (Ack:202441089)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
(S) Sending msg 139311687 on secure session with LSID: 48180

Old RX:
Received message of type 0x22 with protocolId (0, 0) and MessageCounter:105912638 on exchange 54243r

New RX:
>>> [E:45410i M:202441089] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)

marking as ok for 1.0 if it makes it in time: this should significantly improve any debugging of IM interactions.


Backoff logic and init results.json + requirements.txt init

Thank you @Crosswind for writing this code. I cloned your repo and ran into some issues that I resolved.

For alliances > 30 players, the API would be exhausted. Added retry and backoff logic to the code.
Continue gracefully if a player id is faulty, but do report it as an error.
results.json is in .gitignore, if no results.json file is found
Initialized requirements.txt as it was empty and it needed requests

@ranieuwe I was pleasantly surprised to receive a PR on this utility. Thank you!
I like the proposed changes and - from my point of view - completed them by removing the sleep logic which was my way of dealing with rate limits. I would sleep the entire thread on a more or less random basis and got away with it. I tested your approach a bit and it is definitely faster to not default wait but run into the rate limit and then just retry.
Again, thank you for you contribution and I am merging this now.
I presume we are or used to be in the same alliance? If so, feel free to reach out in-game. I am thinking about writing a Discord bot which handles code redemption. If you are interested in collaborating on this, let me know.

I don't think we are, but perhaps we are. I am in state 1353 in the WinterHunters alliance. Definitely keen to support you on a Discord bot. It'll make scaling this functionality to more alliances in the state easier. My Discord handle is Heersbeest.

@ranieuwe Awesome! I have sent you a friend request. My handle is crosswind96.


[MISCOMPILATION] file not found for module utilis in cilly

Describe the bug
cilly does not have utilis crate.
When compiling the package, rustc says:
error[E0583]: file not found for module `utilis`
  --> cilly/src/lib.rs:29:1
   |
29 | pub mod utilis;
   | ^^^^^^^^^^^^^^^
   |
   = help: to create the module `utilis`, create file "cilly/src/utilis.rs" or "cilly/src/utilis/mod.rs"
   = note: if there is a `mod utilis` elsewhere in the crate already, import it with `use crate::...` instead

Example of miscompiled code
In rustc_codegen_clr/cilly/src/lib.rs:29 :
...
pub mod static_field_desc;
pub mod type_def;
pub mod utilis;
#[must_use]
...

Expected behavior
Compiling should passed without any problem following the guide.
Info about your system (please complete the following information):

OS: Linux 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux

Additional context
None

Sounds more like a bug rather than a miscompilation if cilly declares a module but is missing the corresponding file with the module contents.

This should be fixed now.


feat(AlgebraicTopology): StrictSegal simplicial sets are quasicategories

We prove that any simplicial set satisfying the StrictSegal condition introduced in #18499 is a quasicategory. This implies that the nerve of a category is a quasicategory.
Following the suggestion of @emilyriehl, we construct a solution to the lifting problem against hornInclusion n i as a spineToSimplex of the path in the image of the spine of the standard simplex.
To prove that this extension restricts to the appropriate map on the horn, we apply spineInjective, reducing the question of equality between two n-simplices in X to that of equality between the paths along their spines. The remainder of the proof is a straightforward application of basic properties relating spines of simplices to the faces of the simplices.
Co-Authored-By: Johan Commelin

Apart from some suggestions about name changes, the code looks very good to me. I shall have a look at the main part of the proof somewhat later.

This approach is a lot cleaner than my original wombat approach. Excellent!

Thanks :tada:
If CI passes, please remove the label awaiting-CI and merge this yourself, by adding a comment bors r+.
bors d+

Thank you for the careful review @joelriou @jcommelin.
bors merge


[INFRA] Update the script to manage pre-release

Tested on Ubuntu 18.04 with the following examples versions back and forth
0.12.1
0.12.1-1
0.12.1-alpha-1

Thanks @csouchet for the macOS tests.


Kavi frontend changes: Login page and Landing page

Basic frontend done for login page and landing page.
Added:

UniversalStyle.tsx in components for exportable styles in use throughout the app
design changes to login page (app/index.tsx) as well as landing page (app/auth/index.tsx)
2 images to assets/images for background rendering on login page

LGTM!

LGTM!


Dockerfile: permit to use as baseimage

Since commit c9c931f096fa73f8062d4513e9dc44a1c50f4837 it is not possible to use cptactionhank/bamboo as a baseimage: to fix the issue we reinclude apt-transport-https.

@cptactionhank any news on this pull-request?

Thank you


Zoom always max

For me, the zoom level does not do anything and no matter what number I set it zooms all the way out.
I've tried reinstalling and resetting default settings with no luck

I investigated this over the weekend. I couldn't replicate what you experienced.
The zoom level ranges from -272 (zoomed all the way out) to 1300 (zoomed all the way in).
Try a value of 1300 and see if it zooms in.
Let me know if you still have an issue.

Oh there's my issue. I was thinking it was 0-10 so it wasn't moving much. Hope I didn't waste too much time sorry, thank you!

Good to hear. Yeah the numbers are kinda odd because they are the exact numbers used by the game back end.


Urban Management Research Application

Hello! I need to write a paper about LULC and Urban Management and I would like to know if there is some kind of free account in sentinel hub? If not maybe another way to integrate eo-learn with sentinel-2 data.

You can create a free 30 days trial account with just your e-mail:
http://www.sentinel-hub.com/create_account
If you require something more extensive, please check this FAQ:
https://www.sentinel-hub.com/faq/it-possible-get-free-account-research-purposes


Multiple Views Sample With Blades

Blades are not working properly with the multiple views sample.
If an open blade is in the view that is opened it will work fine until all of that view is closed and then a new one is created.
Similarly if a closed blade is opened in a view in the same way above it will crash.
To replicate I've included a modified version of the sample. Perform the following steps:

Create a new view
Show the view
Close the view
Create a new view

Exception:
System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
at Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize)
MultipleViews Blade Bug.zip

This is not a problem with the sample. This is a problem with your modification to the sample. You can open a support case with our Developer Support team who can further help with the specific problem you are experiencing. Please use these steps below for further help:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.


Raise max value size in Durable Objects from 32 KiB to 128 KiB

Expected/Actual Behavior/Section that requires update
https://developers.cloudflare.com/workers/platform/limits#durable-objects - Indicates limit of 32 KiB even though release notes indicate higher limit of 128 KiB
Release notes: https://community.cloudflare.com/t/2021-12-10-workers-runtime-release-notes/334982

https://github.com/cloudflare/cloudflare-docs/pull/3048


Feature/dfget down

Description
fix client dfget bug and support digest

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[ ] Code compiles correctly.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #432 (e968969) into main (0907648) will decrease coverage by 0.05%.
The diff coverage is 23.52%.

@@            Coverage Diff             @@
##             main     #432      +/-   ##
==========================================
- Coverage   38.08%   38.03%   -0.06%
==========================================
  Files          80       80
  Lines        6278     6289      +11
==========================================
+ Hits         2391     2392       +1
- Misses       3550     3558       +8
- Partials      337      339       +2

Flag
Coverage Δ

unittests
38.03% <23.52%> (-0.06%)
:arrow_down:

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

Impacted Files
Coverage Δ

client/config/dfget.go
23.52% <0.00%> (-1.09%)
:arrow_down:

client/daemon/upload/upload_manager.go
57.14% <0.00%> (ø)

pkg/util/digestutils/digest.go
47.05% <36.36%> (-6.79%)
:arrow_down:

client/daemon/peer/peertask_base.go
32.76% <0.00%> (-0.73%)
:arrow_down:

client/daemon/peer/peertask_stream.go
56.82% <0.00%> (+0.73%)
:arrow_up:


Building on Debian 10

Hello,
First of all, thanks for the amazing book and tools in here.
When building the tools on Debian 10, I ran across a few issues:
I needed libbsd-dev as well as the other listed requirements.
I had to remove and regenerate makefile.dep as it contained references to bmscan.h that does not exist as far as I can tell.
I had to change -lglfw3 to -lglfw in the Makefile.linux, but I think this can be different per distro.
I hope this feedback is useful :)
Regards, Rik

libbsd-dev is now listed as a requirement.
makefile.dep is fixed in commit 9990b9aeca093839b915cdf92efd150188f7d361.
I also changed Makefile.linx so that the library name for GLFW may be set in makefile.cfg. The default is still "glfw3".
Thank you for your comments.


PMM-8162  Check postgres dashboard

Tested here: https://pmm.cd.percona.com/blue/organizations/jenkins/pmm2-ui-tests/detail/pmm2-ui-tests/8714/tests

https://pmm.cd.percona.com/blue/organizations/jenkins/pmm2-ui-tests/detail/pmm2-ui-tests/8723/tests


Customer billing cycle: POST request cause "Unsupported operand type" error

Describe the bug
Whenever the user tries to save a new customer billing cycle, the (POST request), an error page is displayed (see attachment)
To Reproduce

Go to the dashboard and click on "Customer bulling cycles" (Zahlungsbedingungen)
Click "Add customer billing cycle"
Fill in the form (Name: Test, Days To Payment Date: 30, Payment Reminder Days... : 5)
Click one of the save buttons
See the error page

Expected behavior
I expect, that the new billing cycle is created, the creation page is closed and the list of existing billing cycles (table view) is opened and includes the newly created billing cycle object.
Screenshots
If applicable, add screenshots to help explain your problem.

Thanks a lot for the good issue report!!
An other user reported the same issue. The issue seems to be fixed within the pull request #210.
However i will keep this issue here to remind me to create a selenium testcase for each admin view

#222 created


[Feature Request] option to set name as Unknown

I love this module!!!   Thank you so much for your work on creating it.
This may already exist and I just can't figure out how to do it.   But would be great to have the name showing up conditional on the PCs normally being able to see the token name.  So if it is a token for a creature or NPC that has it's name hidden to them it doesn't show in the conversation HUD and could even be blank or replaced with ???/unknown (perhaps this could be customizable).
Thanks,
Shane

First of all, I'm glad that this module has been of use to you and thanks for the kind words! :D
As to the request, at the moment there isn't really a way to hide the names other than manually setting it to Unknown or leaving the name field blank at which point the module will automatically set it as Anonymous. I will look into a way to automatically hide the names based on whether or not the NPC's name is hidden.

+1 to this request.  However, most of my conversations are with theater of the mind NPCs, so they do not usually have tokens.  It would be nice if a "Hide names on conversation start" checkbox was available in the conversation journal with a toggle name visibility button available on the portrait.  Perhaps a sub-choice checkbox to include banners if the "Hide" option is checked.

With release 5.4.0 I have added an option to hide the name of a participant, in which case Unknown will be displayed. Down the line, I will probably add the option to customize what is showcased when the participant name is hidden.
@DiceKnights, since the option to hide the name is a setting tied to participants, in order to hide the name of the token that is being added to a conversation you will need to set the displayName field to false. If you are using macros, this is a slight alteration of the macro provided by the module that only shows the token name when the display name dropdown is either Hovered by Anyone or Always for Everyone.
const controlledTokens = canvas.tokens.controlled;

const conversationParticipants = controlledTokens.map((token) => {
  const participant = game.ConversationHud.tokenToParticipant(token);

  if (token.document.displayName !== 30 && token.document.displayName !== 50) {
    participant.displayName = false;
  }

  return participant;
});

if (conversationParticipants.length === 0) {
  ui.notifications.error(game.i18n.localize("CHUD.errors.noSelectedTokens"));
} else {
  if (game.ConversationHud.conversationIsActive) {
    game.ConversationHud.toggleTokenParticipantsConversationStatus(conversationParticipants);
  } else {
    game.ConversationHud.startConversationFromData(conversationParticipants);
  }
}

In the future, I might also add a checkbox in the participant list in order to easily toggle the know/unknown feature, as suggested by @ronin-seven. For now however, I think this implementation suffices.
That said, if there are any questions or issues, feel free to reach out!


On cold boots, don't call webView.reload() if the webView has no current URL

The functionality added in https://github.com/hotwired/turbo-android/pull/138 (as well as my workaround in https://github.com/hotwired/turbo-android/issues/137) had a bug: if the webView has no URL loaded, calling refresh will result in a spinner appearing forever, and no requests being made to the server. The fix is to not call webView.reload() if webView.url is null. Instead just load the URL as normal.
To replicate:

Add a call to delegate.refresh() in onResume
Force close the app
Open the app

Our real life example was that we had a call to refresh() in onResume that ran if the app had not been open for a while, to ensure fresh content. In some cases this would result in the app never launching, just showing a spinner forever. My hypothesis is this happens if the OS kills the app in the background. I have included a simplified example of our code in the demo, but don't mind if it gets removed before merging.
(Is there a better approach to this? How does Basecamp/Hey ensure fresh content on app load - either because the app was in memory in the background for a while or because Turbo/the Webview has cached the last screen?)

@ghiculescu Thanks for outlining the issue you ran into. I've fixed this bug in a different way in #179. Calls to refresh() will now be ignored if the WebView is not initialized, since it leads to unintended behavior.

Is there a better approach to this? How does Basecamp/Hey ensure fresh content on app load - either because the app was in memory in the background for a while or because Turbo/the Webview has cached the last screen

We typically don't always ensure fresh content for the current screen when resuming the app. However, on screens where the content changes frequently, such as comment threads or Campfire chats, the WebView page uses a websocket connection through Hotwire/ActionCable to load the latest changes.
Since the heuristics for ensuring fresh content are going to vary so widely between apps, I doubt we'll add specific behavior directly in the turbo-android library.


Fix createTopics admin method

Admin client method createTopics always sets req.ValidateOnly as true which causes Topics never created.
This PR fixes the issue by using already existing dry parameter.

Great fix, thank you! Also, I thought I'd be the only one using this new package for a bit, very happy to have some external use as well :)

We wanted to use the package in the Crossplane Kafka provider. I liked this library supporting full feature set of Kafka and preferred to use this instead of more, popular, options, out, there :) Great job 👍
A comparison with other libraries in Readme would really be helpful.

Also if you have any API suggestions on that package, I very much welcome it. I'm somewhat thinking to return named types for any slices at the moment, so that the types can add helper functions in the future. Not 100% sure yet.

One minor difficulty I had was, in the case of being interested in a single topic, I needed to first check if returned response array has something inside and check the first one with the assumption of I will find what I am looking for, as the first element of the array. This assumption bothers me a bit and some sort of helper function that could simply return the response for a specific topic that I am interested in would be helpful. Other than that, looking good so far.

Cool, sounds good. I'll make that change and push it (will be a breaking change, but kadm is a separate module for a bit specifically for this reason :) )

Although the error message might need improving (currently if the name does not exist, that'd return missing "yourname", no further details). Open to a PR for that.


[Server] Application Import: Improve UX for unsupported Docker Compose format

Current Behavior
In Meshery UI, when importing a Docker Compose application like this one that doesn't include the compose version number, the following notifications are displayed to the user.

Desired Behavior
Display helpful information to the user like a MeshKit Error reference that will have suggestion remediations that the user can perform.

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hi @leecalcote Assign it to me I would like to work on this issue

HI @leecalcote can you guide me in the right direction or  to some documentation on how can I set up this issue on my local host?

@AakashRaj20, see the contributing to Meshery UI docs - https://docs.meshery.io/project/contributing/contributing-ui

@leecalcote is the issue solved ??

@leecalcote hey i would like to work on this issue

for this issue
I found this documentation: https://docs.meshery.io/extensions/importing-an-application
but the extensions page(the image) is different from the one in the documentation so is this issue outdated?


[BUG] Can't compile DeepSpeed version 0.8.1 with Cuda 11.7

Describe the bug
When I try to compile DeepSpeed from the 0.8.1 tag using docker and Cuda 11.7, the compilation fails.  The docker image tries to compile DeepSpeed with the following command that has worked in the past:
DS_BUILD_OPS=1 pip install<EMAIL_ADDRESS>
To Reproduce
Steps to reproduce the behavior:

Use a Linux machine
Use the Dockerfile here
Change line 30 of the file to be tag 0.8.1 rather than 0.8.0
Try building the docker image.

Expected behavior
Though compilation takes over 10 minutes, it still has always worked in the past with previous tags.  I expect that compilation finishes successfully rather than fail.
ds_report output
Due to the compilation failing, I can not do this
Screenshots

After this, I get terminal output that suggests its still trying to build but then I get another error and the image fails to build

System info (please complete the following information):

Ubuntu 20.04
Two RTX 3090s
Using a docker image linked elsewhere in the issue

Docker context
Shared Dockerfile elsewhere
Additional context
I have seen similar issues with regard to Windows.

Hi @mallorbc
Thanks for reporting this issue. I will try to see if I can repro this on my end.
Thanks,
Reza

Also, can I ask which PyTorch version are you using here?

@RezaYazdaniAminabadi Thanks for looking into this.  Whatever the issue is, I have seen many reports of issues so there seems to be a new requirement to successfully install or an issue with 0.8.1 itself.
You can see what my setup is in the Dockerfile I link in the issue.  To install Pytorch, I am running the following command:
pip install torch torchvision torchaudio

From the Pytorch getting started page, this will install 1.13.1 with Cuda 11.7.  Looking at my installed packages with 0.8.0 I can confirm the version installed is indeed that.
See below for my pip list and ds_report(for 0.8.0 though)

DeepSpeed C++/CUDA extension op report
NOTE: Ops not installed will be just-in-time (JIT) compiled at
runtime if needed. Op compatibility means that your system
meet the required dependencies to JIT install the op.
JIT compiled ops requires ninja
ninja .................. [OKAY]
op name ................ installed .. compatible
async_io ............... [YES] ...... [OKAY]
cpu_adagrad ............ [YES] ...... [OKAY]
cpu_adam ............... [YES] ...... [OKAY]
fused_adam ............. [YES] ...... [OKAY]
fused_lamb ............. [YES] ...... [OKAY]
quantizer .............. [YES] ...... [OKAY]
random_ltd ............. [YES] ...... [OKAY]
sparse_attn ............ [YES] ...... [OKAY]
spatial_inference ...... [YES] ...... [OKAY]
transformer ............ [YES] ...... [OKAY]
stochastic_transformer . [YES] ...... [OKAY]
transformer_inference .. [YES] ...... [OKAY]
utils .................. [YES] ...... [OKAY]
DeepSpeed general environment info:
torch install path ............... ['/usr/local/lib/python3.8/dist-packages/torch']
torch version .................... 1.13.1+cu117
deepspeed install path ........... ['/usr/local/lib/python3.8/dist-packages/deepspeed']
deepspeed info ................... 0.8.0+bf6b9802, bf6b9802, HEAD
torch cuda version ............... 11.7
torch hip version ................ None
nvcc version ..................... 11.7
deepspeed wheel compiled w. ...... torch 1.13, cuda 11.7
Package                  Version

accelerate               0.15.0
aiohttp                  3.8.3
aiosignal                1.3.1
appdirs                  1.4.4
async-timeout            4.0.2
asyncio                  3.4.3
attrs                    22.2.0
certifi                  2022.12.7
charset-normalizer       2.1.1
click                    8.1.3
datasets                 2.8.0
deepspeed                0.8.0+bf6b9802
deepspeed-mii            0.0.5+6116e98
dill                     0.3.6
docker-pycreds           0.4.0
filelock                 3.9.0
frozenlist               1.3.3
fsspec                   2022.11.0
gitdb                    4.0.10
GitPython                3.1.31
grpcio                   1.51.3
grpcio-tools             1.51.3
hjson                    3.1.0
huggingface-hub          0.11.1
idna                     3.4
multidict                6.0.4
multiprocess             0.70.14
ninja                    1.11.1
numpy                    1.24.1
nvidia-cublas-cu11       <IP_ADDRESS>
nvidia-cuda-nvrtc-cu11   11.7.99
nvidia-cuda-runtime-cu11 11.7.99
nvidia-cudnn-cu11        <IP_ADDRESS>
packaging                23.0
pandas                   1.5.2
pathtools                0.1.2
Pillow                   9.4.0
pip                      20.0.2
protobuf                 4.22.0
psutil                   5.9.4
py-cpuinfo               9.0.0
pyarrow                  10.0.1
pydantic                 1.10.5
python-dateutil          2.8.2
pytz                     2022.7
PyYAML                   6.0
regex                    2022.10.31
requests                 2.28.1
responses                0.18.0
sentry-sdk               1.16.0
setproctitle             1.3.2
setuptools               45.2.0
six                      1.16.0
smmap                    5.0.0
tokenizers               0.13.2
torch                    1.13.1
torchaudio               0.13.1
torchvision              0.14.1
tqdm                     4.64.1
transformers             4.25.1
triton                   1.0.0
typing-extensions        4.4.0
urllib3                  1.26.14
wandb                    0.13.10
wheel                    0.34.2
xxhash                   3.2.0
yarl                     1.8.2

Tried it compile with version 0.8.2 and it still does not work.

Read into this more.  I guess I don't have to compile it this way and can just use JIT compilation.  Still an odd issue.

@mallorbc - Do things work fine with JIT compilation? You're just not able to build the ops? Especially since you can build the ops on 0.8.0 but not 0.8.1 or 0.8.2?

I use DeepSpeed for finetuning large language models and for inference.  I can confirm that finetuning works using JIT fo r 0.8.2.  I will be testing inference soon.  I will let you know if the inference works.

Inference seems to work as well at least for fp16.  Int8 does not work, but that has been an issue for a while.  When I try to use int8 I get the following error:
Setting pad_token_id to eos_token_id:50256 for open-end generation.
!!!! kernel execution error. (m: 16384, n: 4, k: 4096, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 12288, error: 13)
!!!! kernel execution error. (m: 4, n: 4, k: 85, error: 13)
!!!! kernel execution error. (m: 85, n: 4, k: 4, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 4096, error: 13)
Free memory : 5.544067 (GigaBytes)
Total memory: 23.691101 (GigaBytes)
Requested memory: 1.375000 (GigaBytes)
Setting maximum total tokens (input + output) to 2048
!!!! kernel execution error. (m: 4096, n: 4, k: 16384, error: 13)
!!!! kernel execution error. (m: 16384, n: 4, k: 4096, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 12288, error: 13)
!!!! kernel execution error. (m: 4, n: 4, k: 85, error: 13)
!!!! kernel execution error. (m: 85, n: 4, k: 4, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 4096, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 16384, error: 13)
!!!! kernel execution error. (m: 16384, n: 4, k: 4096, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 12288, error: 13)
!!!! kernel execution error. (m: 4, n: 4, k: 85, error: 13)
!!!! kernel execution error. (m: 85, n: 4, k: 4, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 4096, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 16384, error: 13)
!!!! kernel execution error. (m: 16384, n: 4, k: 4096, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 12288, error: 13)
!!!! kernel execution error. (m: 4, n: 4, k: 85, error: 13)
!!!! kernel execution error. (m: 85, n: 4, k: 4, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 4096, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 16384, error: 13)
!!!! kernel execution error. (m: 16384, n: 4, k: 4096, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 12288, error: 13)
!!!! kernel execution error. (m: 4, n: 4, k: 85, error: 13)
!!!! kernel execution error. (m: 85, n: 4, k: 4, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 4096, error: 13)
!!!! kernel execution error. (m: 4096, n: 4, k: 16384, error: 13)
!!!! kernel execution error. (m: 16384, n: 4, k: 4096, error: 13)
File "/app/server.py", line 249, in generate
gen_text = gpt_model(prompt, do_sample=do_sample, max_length=total_max_length,min_length=total_min_length,temperature=temp_input,top_k=top_k_input,top_p=top_p_input,early_stopping=early_stopping_input,bad_words_ids=bad_word_ids,batch_size=len(prompt),num_beams=num_beams,penalty_alpha=penalty_alpha)
File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/text_generation.py", line 210, in call
return super().call(text_inputs, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/base.py", line 1065, in call
outputs = [output for output in final_iterator]
File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/base.py", line 1065, in
outputs = [output for output in final_iterator]
File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/pt_utils.py", line 124, in next
item = next(self.iterator)
File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/pt_utils.py", line 125, in next
processed = self.infer(item, **self.params)
File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/base.py", line 992, in forward
model_outputs = self._forward(model_inputs, **forward_params)
File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/text_generation.py", line 252, in _forward
generated_sequence = self.model.generate(input_ids=input_ids, attention_mask=attention_mask, **generate_kwargs)
File "/usr/local/lib/python3.8/dist-packages/deepspeed/inference/engine.py", line 588, in _generate
return self.module.generate(*inputs, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/transformers/generation/utils.py", line 1391, in generate
return self.greedy_search(
File "/usr/local/lib/python3.8/dist-packages/transformers/generation/utils.py", line 2179, in greedy_search
outputs = self(
File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/transformers/models/gptj/modeling_gptj.py", line 836, in forward
lm_logits = self.lm_head(hidden_states).to(torch.float32)
File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/linear.py", line 114, in forward
return F.linear(input, self.weight, self.bias)
RuntimeError: CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling cublasCreate(handle)

@loadams Thanks for looking into this issue, I am guessing you built single ops at a time?
Is there a downside to using JIT?  Perhaps it is slower than precompiling the ops?
I have an issue for int8 inference already open that one can see here #2956
I admit I may be mistaken that it is supposed to be a drop-in solution.  If that is the case, clarity would be great.
Thanks!

@loadams makes sense why that may cause issues.  I will try that PR of the fix when I get a chance and let you know what I find. Thanks!


Re-export jsonrpsee and serde_json in sov-modules-macros

Issue
Currently if user wants to generate RPC endpoints using sov-modules-macro they need to expcitly add jsonrpsee dependency of correct version. Which is adds unnecessart friction
Suggested solution
sov-modules-macro re-exports jsonrpsee and in generated code references sov_modules_marco::jsonrpsee and not jsonrpsee directly.

schemars too, and generally all dependencies used by the macros.

Another one:
101 |     sov_modules_api::macros::CliWalletArg,
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `clap` in the list of imported crates
    ```


chore: add supported targets to deny

Problem
many duplicate windows crates pollute the cargo deny output
Summary of changes
we don't build those crates, so remove those targets from being checked
Checklist before requesting a review

[X] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

@conradludgate I think you will have to rebase this PR otherwise it will be affected by the same CI issue (we don't have bors style auto-merges before CI runs)


chore(release): prepare for 2.4.1 development

Welcome to Cryostat! 👋
Before contributing, make sure you have:

[x] Read the contributing guidelines
[x] Linked a relevant issue which this PR resolves
[x] Linked any other relevant issues, PR's, or documentation, if any
[x] Resolved all conflicts, if any
[x] Rebased your branch PR on top of the latest upstream main branch
[x] Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
[x] Signed all commits: git commit -S -m "YOUR_COMMIT_MESSAGE"

Related to cryostatio/cryostat#1695

https://github.com/cryostatio/cryostat-operator/actions/runs/7146681832

/build_test


Create a set of git repos/submodules for the Main project.

We should probably look into creating submodules/repos for each of the sensor+micro-controller modules that we plan to use in the main project.

In progress, have created two separate repos for two possible micro-controllers

Done, Have created at least one of every needed type of sub-module repo.


Countersong

Working on countersong. Pretty sure it didn't actually do anything before. The OnCountersongSaveThrow handler checks an argument for the replacement saving throw, but it was always set to 0.
There are other issues as well, but without fixing that part first, nothing else can work.
One question I have is: the way Countersong is described is that you can use the bard's Perform check instead of a saving throw. The way the code is written is to use the perform check to construct a bonus to the save, and still fail on a 1. Skill checks don't automatically fail on a 1, though. So, should I leave it as-is; a variable save bonus? Or should I modify it to act like it's actually the bard countering with a skill roll?
I don't think preserving vanilla behavior is really a factor, because the 0 argument thing means that it would never have done anything anyway (no DC 0 checks), so the existing behavior is hypothetical only.

So, here's a conundrum.
Countersong should presumably have a possibility of ending captivation from harpies. I can extend the Captivating Song condition to end via countersong like a normal spell. However, it looks like that condition just adds a second condition Captivated, which does not reference the original spell. So e.g. there's no good way to look up the DC of the effect.
Should I just assume that all Captivated conditions come from harpies? Or are there other monsters that use it?

Oh man, it looks like I wrote that before I knew what I was doing. Why write the singer ID if you take it from the spell caster anyway??
Anyway it's safe to assume it's the harpy song, yes. Though it looks like you could add the spell id to the args, they seem unused.

When I look in the DM tool, it seems like all the arguments to Captivated get populated. It's not obvious how from the C++, though. Anyhow, I wasn't sure it was wise to mess with them.

Oh right, args 2-7 are taken by the singer object ID.
Arg1 is the particle system ID.
Arg0 is duration.
It could use a rewrite, all this data (except duration) should be stored inside the spell.
I had also meant for the singer ID to be used to compel the Captivated character to approach, but never got around to it (I guess I postponed it until I figured out the AI system).

I think this might be ready to go.
I was trying to figure out if I needed to do something with Suggestion. I see that there are files for it, but I can't actually get it as a spell. Is that the effect that works nothing like the P&P spell, and is more like Dominate Monster?

Are you talking about the spell or bard ability?
The latter is an ability I added, which I interpreted as Cause Fear rather than Dominate/Charm :)

No, there's files for a Suggestion spell in the Co8 mod, I think. I'm not clear if it was in the original game or if the condition was discovered and someone wrote the spell to use it, but if it's the one I'm thinking of, it's way too powerful for the level 3 spell that it is.
I guess I'll look at the bard suggestion, too. They're a little tricky to remove after the fact, though.

Ah yes, the original Suggestion was was basically Dominate Monster and was converted by Co8 to just that.

Okay, bardic suggestion can now be removed by countersong appropriately. I also took the liberty of adjusting the caster level on fascinate, because it was pulling in practiced spellcaster, which gives you extra targets.


Add _.isNumeric

Added isNumeric function, to verify whether a variable is a number or a numeric string:
_.isNumeric('12'); // true
_.isNumeric(12); // true
_.isNumeric('foo'); // false

Coverage increased (+0.01%) to 96.774% when pulling 6203ed951246f60629f193d058aef61ac893e257 on GaryPEGEOT:feature/is-numeric into 65e18d477caacaff9826dbe6c0247478577567fe on jashkenas:master.

Coverage increased (+0.01%) to 96.774% when pulling 6203ed951246f60629f193d058aef61ac893e257 on GaryPEGEOT:feature/is-numeric into 65e18d477caacaff9826dbe6c0247478577567fe on jashkenas:master.

Coverage increased (+0.01%) to 96.774% when pulling 6203ed951246f60629f193d058aef61ac893e257 on GaryPEGEOT:feature/is-numeric into 65e18d477caacaff9826dbe6c0247478577567fe on jashkenas:master.

It's a fine function, but not, I think, something that we want for core Underscore...


Pick up the first section if given section(domain) doesn't match anything

As some clinents (AFAIK Windows 10) always send domain name, the backend
module is not selected properly. This causes the default usage with
Windows 10 fails with 'xrdp_wm_log_msg: Section "XXX" not configured'.

@jsorg71 Is there any reason to fail if the domain name given by client doesn't match any xrdp's session type?  I think fallback is more user friendly. Do you mind if I change the behaviour?

On Mon, May 29, 2017 at 4:27 AM metalefty<EMAIL_ADDRESS>wrote:

@jsorg71 https://github.com/jsorg71 Is there any reason to fail if the
domain name given by client doesn't match any xrdp's session type? I think
fallback is more user friendly. Do you mind if I change the behaviour?
I like that.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neutrinolabs/xrdp/pull/758#issuecomment-304554164,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTH1DC4cMGqlC2SVKZqFukwZgqzIy_Iks5r-h7_gaJpZM4Njc8S
.

--
Idan Freiberg Mobile: +972-52-2925213

Thanks, speidy. If no problem with quality of  my code, let's merge.

If no objections, I'll merge this within 24 hours.


fix(app): Fix TypeError for empty folders #1

Hi,
i fixed the issue with empty folders mentioned in #1 by simply checking if a list is available.
Thank you for the great tool!
Kind regards
Johannes

Thanks for providing a fix, I already fixed the issue before noticing the pull request.
Closed by f00a4a4


Download offline pdf of git with docs of git Command Line

When downloading git documentation from https://docs.microsoft.com/en-us/vsts/git/tutorial/cherry-pick?tabs=command-line, I cannot see documentation for command line options on the PDF. Is it possible to include docs from both tab i.e. 'Visual Studio' and 'Command Line' on the pdf one after another. That would be great.

⚠ Idea migrated from UserVoice
Created By: Suraj Kumar Shrestha
Created On: 2017/11/14 17:52:06 +0000
Votes at Migration: 2
Supporters at Migration: 2

The PDF is generated from a single documentation set, therefore if the command line content is not in the table of contents, it will not be presented.
@dastaffo and @erickson-doug as FYI on this.


Error from enableHostPolicy

OS: ubuntu 18.04
Kernel: 4.15
when kubearmor is deployed with enableHostPolicy=true, the below errors pop up and it is not working properly.
2021-07-08 06:09:40.191482	INFO	Started to serve gRPC-based log feeds
2021-07-08 06:09:40.501405	INFO	Initializing an eBPF program
2021-07-08 06:10:17.475671	INFO	Initialized the eBPF program
cannot attach kprobe, Resource busy
2021-07-08 06:10:17.866656	ERROR	Failed to initialize the system monitor
github.com/kubearmor/KubeArmor/KubeArmor/log.Err
	/usr/src/KubeArmor/KubeArmor/log/logger.go:99
github.com/kubearmor/KubeArmor/KubeArmor/feeder.(*Feeder).Err
	/usr/src/KubeArmor/KubeArmor/feeder/feeder.go:423
github.com/kubearmor/KubeArmor/KubeArmor/core.KubeArmor
	/usr/src/KubeArmor/KubeArmor/core/kubeArmor.go:354
main.main
	/usr/src/KubeArmor/KubeArmor/main.go:60
runtime.main
	/usr/local/go/src/runtime/proc.go:204

Tested on NETNEXT=1 and went ok.

NETNEXT=1

vagrant@kubearmor-dev-next:~/KubeArmor/KubeArmor$ git log -n 1
commit f4fba7cf59b62145fffeff5c63d74bd89fbd96b2 (HEAD -> master, upstream/master)
Merge: 323d1eb a5dcd54
Author: Jaehyun Nam<EMAIL_ADDRESS>Date:   Thu Jul 8 00:31:29 2021 +0900

    Merge pull request #192 from geyslan/feat/makefile/vagrant

    makefile: add vagrant rules (status, halt)

vagrant@kubearmor-dev-next:~/KubeArmor/KubeArmor$ uname -a
Linux kubearmor-dev-next 5.13.0-051300rc3-generic #202105232230 SMP Tue Jun 15 12:37:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

vagrant@kubearmor-dev-next:~/KubeArmor/KubeArmor$ kubectl proxy &
[1] 8381

vagrant@kubearmor-dev-next:~/KubeArmor/KubeArmor$ Starting to serve on <IP_ADDRESS>:8001

vagrant@kubearmor-dev-next:~/KubeArmor/KubeArmor$ sudo ./kubearmor -enableHostPolicy=true
2021-07-08 11:56:56.068485	INFO	Started to serve gRPC-based log feeds
2021-07-08 11:56:56.069887	INFO	Initializing an eBPF program
2021-07-08 11:57:00.009998	INFO	Initialized the eBPF program
2021-07-08 11:57:00.519473	INFO	Started to monitor system events
2021-07-08 11:57:00.539830	INFO	Registered an AppArmor host profile in kubearmor-dev-next
2021-07-08 11:57:00.539900	INFO	Initialized AppArmor Enforcer
2021-07-08 11:57:00.539909	INFO	Started to protect a host and containers
2021-07-08 11:57:01.541825	INFO	Initialized the Kubernetes client
2021-07-08 11:57:01.541881	INFO	Started to monitor Pod events
2021-07-08 11:57:01.541916	INFO	Started to monitor security policies
2021-07-08 11:57:01.541925	INFO	Started to monitor host security policies
2021-07-08 11:57:01.554233	INFO	Detected a Pod (added/kube-system/kube-scheduler-kubearmor-dev-next)
2021-07-08 11:57:01.554774	INFO	Detected a Pod (added/kube-system/kube-controller-manager-kubearmor-dev-next)
2021-07-08 11:57:01.555170	INFO	Detected a Pod (added/kube-system/kube-proxy-6qr4p)
2021-07-08 11:57:01.555950	INFO	Detected a Pod (added/kube-system/cilium-s5rxl)
2021-07-08 11:57:01.556797	INFO	Container Runtime: docker://18.3.1
2021-07-08 11:57:01.563333	INFO	Detected a container (added/0a30d84cdc5f)
2021-07-08 11:57:01.564072	INFO	Detected a container (added/0106252b6423)
2021-07-08 11:57:01.564587	INFO	Detected a container (added/39cce734e605)
2021-07-08 11:57:01.565194	INFO	Detected a container (added/e816ca1b6cc3)
2021-07-08 11:57:01.566098	INFO	Detected a container (added/603b7bd229cb)
2021-07-08 11:57:01.566757	INFO	Detected a container (added/14d3c50c609e)
2021-07-08 11:57:01.567389	INFO	Detected a container (added/c34a6d21bd7c)
2021-07-08 11:57:01.567764	INFO	Detected a container (added/b3bafafc26cc)
2021-07-08 11:57:01.568673	INFO	Detected a container (added/360351a90c5a)
2021-07-08 11:57:01.569243	INFO	Detected a container (added/23db888cdcf5)
2021-07-08 11:57:01.570157	INFO	Detected a container (added/7068438af404)
2021-07-08 11:57:01.570996	INFO	Detected a container (added/41c725d9d621)
2021-07-08 11:57:01.571741	INFO	Detected a container (added/6473c837a214)
2021-07-08 11:57:01.572533	INFO	Detected a container (added/159ebb345fcb)
2021-07-08 11:57:01.571414	INFO	Detected a Pod (added/kube-system/cilium-operator-86bcb89dc8-fshf6)
2021-07-08 11:57:01.573158	INFO	Detected a container (added/2afe5af5437b)
2021-07-08 11:57:01.574976	INFO	Detected a container (added/0cb1bfdb2b23)
2021-07-08 11:57:01.575628	INFO	Detected a container (added/bb4253c3cc7c)
2021-07-08 11:57:01.576298	INFO	Detected a container (added/2143cc57610b)
2021-07-08 11:57:01.576510	INFO	Started to monitor Docker events
2021-07-08 11:57:01.578553	INFO	Detected a Pod (added/kube-system/coredns-558bd4d5db-jsrmh)
2021-07-08 11:57:01.579072	INFO	Detected a Pod (added/kube-system/etcd-kubearmor-dev-next)
2021-07-08 11:57:01.579607	INFO	Detected a Pod (added/kube-system/kube-apiserver-kubearmor-dev-next)
2021-07-08 11:57:01.581649	INFO	Detected a Pod (added/kube-system/coredns-558bd4d5db-z4m89)
2021-07-08 11:57:02.576779	INFO	Initialized KubeArmor
^C2021-07-08 11:57:24.305783	INFO	Got a signal to terminate the KubeArmor
2021-07-08 11:57:24.337800	INFO	Unegistered an AppArmor host profile in kubearmor-dev-next
2021-07-08 11:57:24.337894	INFO	Destroyed AppArmor Enforcer
2021-07-08 11:57:24.337921	INFO	Stopped the runtime enforcer
2021-07-08 11:57:26.281760	INFO	Stopped the system monitor
2021-07-08 11:57:26.281798	INFO	Terminated the KubeArmor
2021-07-08 11:57:28.283236	INFO	Stopped the log feeder
2021-07-08 11:57:28.283300	INFO	Waiting for remaining routine terminations

Reproducible on NETNEXT=0.

NETNEXT=0
vagrant@kubearmor-dev:~/KubeArmor/KubeArmor$ kubectl proxy &
[1] 20331
vagrant@kubearmor-dev:~/KubeArmor/KubeArmor$ Starting to serve on <IP_ADDRESS>:8001

vagrant@kubearmor-dev:~/KubeArmor/KubeArmor$ enableHostPolicy=true
vagrant@kubearmor-dev:~/KubeArmor/KubeArmor$ sudo ./kubearmor -enableHostPolicy=true
2021-07-08 12:37:58.783449	INFO	Started to serve gRPC-based log feeds
2021-07-08 12:37:58.785550	INFO	Initializing an eBPF program
2021-07-08 12:38:02.250337	INFO	Initialized the eBPF program
cannot attach kprobe, Device or resource busy
2021-07-08 12:38:02.491209	ERROR	Failed to initialize the system monitor
github.com/kubearmor/KubeArmor/KubeArmor/log.Err
	/home/vagrant/KubeArmor/KubeArmor/log/logger.go:99
github.com/kubearmor/KubeArmor/KubeArmor/feeder.(*Feeder).Err
	/home/vagrant/KubeArmor/KubeArmor/feeder/feeder.go:423
github.com/kubearmor/KubeArmor/KubeArmor/core.KubeArmor
	/home/vagrant/KubeArmor/KubeArmor/core/kubeArmor.go:354
main.main
	/home/vagrant/KubeArmor/KubeArmor/main.go:60
runtime.main
	/usr/local/go/src/runtime/proc.go:225

It seems that it happens in older Kernels.
I could see the same error on Ubuntu 18.04, but there was no error on Ubuntu 20.04 and Fedora 30.

@nam-jaehyun I did some research and it seems that it's a bcc issue which isn't resolved. This comment here talks about it. Basically for kernel versions <= 4.17 we use debugfs to attach kprobes. For the newer versions we use perf_event_open API instead. In case of perf_event_open there is no issue when we attach multiple kprobes(or kretprobes) from the same program as that is handled in Kernel. In case of legacy debugfs based kprobe_attach bcc needs to be modified a little bit. In the comment that I have referenced that point was stated but the changes were never done and so the problem is still there for older kernels(which includes v4.15) in bcc. This issue needs a patch in bcc. Some modifications here might fix it.


Bugfix in p4pf pybind

Previous update to p4pf was not reflected in the pybind.

yes, good idea. How would you set the PYTHON_PACKAGE properly, do you have an example? Let's do it in this PR so we can already test it. The main.yml file have to be modified only. Please check here:
https://github.com/PoseLib/PoseLib/blob/master/.github/workflows/main.yml#L34
...
      run: |
        cmake \
          -B ${{github.workspace}}/${{env.BUILD_DIR}} \
          -DWITH_BENCHMARK=ON \
          -DCMAKE_BUILD_TYPE=${{env.BUILD_CONFIGURATION}} \
          -DBUILD_SHARED_LIBS=${{env.LIBRARY_TYPE}} \
          -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/${{env.INSTALL_DIR}}
...

How would you set the PYTHON_PACKAGE properly, do you have an example?

Just using -DPYTHON_PACKAGE=ON, right?

Now I am thinking better, after we have this PR https://github.com/PoseLib/PoseLib/pull/73 in place, this won't be needed. It would be like a temporal change.

@vlarsson. I made some changes, now it compiles also pyposelib.cc.

I think I could not approve it as I was co-authoring the PR.

ok, let's check in a new PR to see how it goes, and adjust accordantly. I wanted to give more options for approval, rather than being more restrictive.


remove some unneeded AsPyPointer implementations

This PR removes some AsPyPointer implementations for types like PyAny, PyDict etc.
These implementations were part of the gil-refs functionality and are now both meaningless and have no functional use.

After removing the implementations, this also removed impl IntoPy<PyObject> for &'_ PyAny and for &T where T: AsRef<PyAny>. I think this is fine, given that &PyAny is no longer used to represent a Python object.


Mysql: SQL_NO_CACHE directive doesn't work

The problem happens in MySQL 5.7. When I execute a query with SQL_NO_CACHE directive the directive has no effect. For example:
SELECT SQL_NO_CACHE DISTINCT shipping FROM orders;
The table is quite large and query normally executes in about 300ms but on subsequent runs it executes very fast - a few ms. The problem is it should always run 300ms because SQL_NO_CACHE should disable the cache. It seems I can't turn off the query cache when I run queries from DBeaver.
I tested the same in other database tools on the same server and the SQL_NO_CACHE directive is respected.

is it still actual?

I've just checked with the latest version and it still is. But I remember that on many occasions SQL_NO_CACHE worked so after doing a few tests it looks like queries with DISTINCT are problematic:
SELECT SQL_NO_CACHE DISTINCT shipping FROM orders;
in the above query SQL_NO_CACHE has no effect. But in this query:
SELECT SQL_NO_CACHE SUM(shipping_cost) FROM orders;
it works.

It seems issue is obsolete for now


Are there any plans to move to gulp?

Do you have any plans to replace grunt with gulp as the default task runner. I would love to see that.

Duplicate of . . . most of these https://github.com/balderdashy/sails/search?q=gulp&type=Issues&utf8=✓


Options for adding and choosing Custom Categories

Resolved in: https://github.com/Surya-06/XpensAuditor---Group-11/pull/3


Don't re-join when consumption has stopped

We're seeing an issue where consumers are erroneously rebalancing even after we try to shut them down during deploys. Below are some debug logs. I've tested this branch with my consumers and verified that they no longer try to participate in the re-balance (instead correctly leaving the group) if they detect a rebalance while shutting down so that the deploy can continue.
2023/05/08 09:22:24 [consumer-2] info: stop consumer group {"name":"analytics-kafka-consumer","className":"KafkaClient","methodName":"Runner","data":{"clientId":"8b8882b7-b751-4e95-8bd6-1be20a397171","label":"DEBUG","timestamp":"2023-05-08T16:22:24.532Z","logger":"kafkajs","message":"stop consumer group","groupId":"analytics-kafka-consumer","memberId":"8b8882b7-b751-4e95-8bd6-1be20a397171-ccecf5e6-7899-461f-b476-7d90f4c2779d"},"timestamp":"2023-05-08T16:22:24.532Z"}

# some time passes, they finish processing their batch

2023/05/08 09:22:41 [consumer-2] info: Request Heartbeat(key: 12, version: 3) {"name":"analytics-kafka-consumer","className":"KafkaClient","methodName":"Connection","data":{"clientId":"8b8882b7-b751-4e95-8bd6-1be20a397171","label":"DEBUG","timestamp":"2023-05-08T16:22:41.628Z","logger":"kafkajs","message":"Request Heartbeat(key: 12, version: 3)","broker":"localhost:9092","correlationId":12,"expectResponse":true,"size":157},"timestamp":"2023-05-08T16:22:41.628Z"}
2023/05/08 09:22:41 [consumer-2] warn: Response Heartbeat(key: 12, version: 3) {"name":"analytics-kafka-consumer","className":"KafkaClient","methodName":"Connection","data":{"clientId":"8b8882b7-b751-4e95-8bd6-1be20a397171","label":"ERROR","timestamp":"2023-05-08T16:22:41.631Z","logger":"kafkajs","message":"Response Heartbeat(key: 12, version: 3)","broker":"localhost:9092","error":"The group is rebalancing, so a rejoin is needed","correlationId":12,"size":10},"timestamp":"2023-05-08T16:22:41.631Z"}
2023/05/08 09:22:41 [consumer-2] info: Response Heartbeat(key: 12, version: 3) {"name":"analytics-kafka-consumer","className":"KafkaClient","methodName":"Connection","data":{"clientId":"8b8882b7-b751-4e95-8bd6-1be20a397171","label":"DEBUG","timestamp":"2023-05-08T16:22:41.631Z","logger":"kafkajs","message":"Response Heartbeat(key: 12, version: 3)","broker":"localhost:9092","error":"The group is rebalancing, so a rejoin is needed","correlationId":12,"payload":{"type":"Buffer","data":"[filtered]"}},"timestamp":"2023-05-08T16:22:41.631Z"}
2023/05/08 09:22:41 [consumer-2] info: Stopping fetchers... {"name":"analytics-kafka-consumer","className":"KafkaClient","methodName":"FetchManager","data":{"clientId":"8b8882b7-b751-4e95-8bd6-1be20a397171","label":"DEBUG","timestamp":"2023-05-08T16:22:41.632Z","logger":"kafkajs","message":"Stopping fetchers..."},"timestamp":"2023-05-08T16:22:41.632Z"}
2023/05/08 09:22:41 [consumer-2] info: Stopped fetchers {"name":"analytics-kafka-consumer","className":"KafkaClient","methodName":"FetchManager","data":{"clientId":"8b8882b7-b751-4e95-8bd6-1be20a397171","label":"DEBUG","timestamp":"2023-05-08T16:22:41.632Z","logger":"kafkajs","message":"Stopped fetchers"},"timestamp":"2023-05-08T16:22:41.632Z"}
2023/05/08 09:22:41 [consumer-2] info: waiting for consumer to finish... {"name":"analytics-kafka-consumer","className":"KafkaClient","methodName":"Runner","data":{"clientId":"8b8882b7-b751-4e95-8bd6-1be20a397171","label":"DEBUG","timestamp":"2023-05-08T16:22:41.632Z","logger":"kafkajs","message":"waiting for consumer to finish...","groupId":"analytics-kafka-consumer","memberId":"8b8882b7-b751-4e95-8bd6-1be20a397171-ccecf5e6-7899-461f-b476-7d90f4c2779d"},"timestamp":"2023-05-08T16:22:41.632Z"}
2023/05/08 09:22:41 [consumer-2] info: Stopped fetchers {"name":"analytics-kafka-consumer","className":"KafkaClient","methodName":"FetchManager","data":{"clientId":"8b8882b7-b751-4e95-8bd6-1be20a397171","label":"DEBUG","timestamp":"2023-05-08T16:22:41.632Z","logger":"kafkajs","message":"Stopped fetchers"},"timestamp":"2023-05-08T16:22:41.632Z"}
2023/05/08 09:22:41 [consumer-2] warn: The group is rebalancing, re-joining {"name":"analytics-kafka-consumer","className":"KafkaClient","methodName":"Runner","data":{"clientId":"8b8882b7-b751-4e95-8bd6-1be20a397171","label":"WARN","timestamp":"2023-05-08T16:22:41.632Z","logger":"kafkajs","message":"The group is rebalancing, re-joining","groupId":"analytics-kafka-consumer","memberId":"8b8882b7-b751-4e95-8bd6-1be20a397171-ccecf5e6-7899-461f-b476-7d90f4c2779d","error":"The group is rebalancing, so a rejoin is needed"},"timestamp":"2023-05-08T16:22:41.632Z"}
2023/05/08 09:22:41 [consumer-2] info: consumer.rebalancing {"name":"analytics-kafka-consumer","className":"Kafka","methodName":"logEvent","data":{"groupId":"analytics-kafka-consumer","memberId":"8b8882b7-b751-4e95-8bd6-1be20a397171-ccecf5e6-7899-461f-b476-7d90f4c2779d","eventId":10},"timestamp":"2023-05-08T16:22:41.632Z"}

I'm not sure if this should be a flag that consumers can specify, but I don't know why you'd want your consumers to re-join a group if they're in the process of exiting.

would love to see this functionality in mainline branch!


When editing an "Admin" card, the webinterface shows "Disabled" in the dialog.

Steps to reproduce:

Add a card with access type "Admin"
reload the browser (User Table display of newly added cards is broken as well)
edit the "Admin" card -> Modal Dialog shows "Disabled" in field Access Type.

Thank you for the heads up and generous donation. User types will be completely refactored to adapt more use case scenarious.


Possible bug in IM2COL kernel

https://github.com/ehw-fit/tf-approximate/blob/6a726b95a1f040230692228ec33e393668084676/tf2/src/cuda/approx_nn_conv_kernels.cu#L602
The following two lines should be signed, right?

You are right, that is indeed a bug. I think, it shouldn't be catastrophic as underflow in "inH" and "inW" should be caught by upper bound check. Either way, we will fix it with next update.


Initial version of tbb env in build

Description
In this change we enable initial version of windows ci
Changes proposed in this pull request:

Fix download scripts on windows
Enable NuGet package download for tbb
Add windows CI
Cleanup makes from 32 bit targets
Update install instructions

/azp run

/azp run

/intelci: run


SP63AE not detected despite being supported on 2.1.0-beta.2

Version of the custom_component

2.1.0-beta.2
Configuration
default
Describe the bug
SP63AE not detected despite being supported per readme in dev_v2 branch.
Using https://pl.aliexpress.com/item/1005006048326863.html?spm=a2g0o.order_list.order_list_main.5.c27e1c24kmYcFS&gatewayAdapt=glo2pol
Debug log

2024-01-05 12:08:29.118 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] Checking support for: '32:00:00:00:1A:A6' (SP63AE)... AdvertisementData(local_name='SP63AE', manufacturer_data={20563: b')\x102\x00\x00\x00\x1a\xa6'}, service_uuids=['0000e0ff-0000-1000-8000-00805f9b34fb'], rssi=-127)
2024-01-05 12:08:29.118 DEBUG (MainThread) [custom_components.uniled.lib.ble.device] Device '32:00:00:00:1A:A6' (SP63AE) not supported!

Fixed problem with controller not being recognized in https://github.com/monty68/uniled/pull/46 . After being able to control LED strip seems like GREEN and RED are swapped on FW1906 LED strip - is there some kind of configuration for that?

Fixed problem with controller not being recognized in #46 . After being able to control LED strip seems like GREEN and RED are swapped on FW1906 LED strip - is there some kind of configuration for that?

Hi, the pull request to fix SP63AE was against the wrong repo (dev_v2), where as the current latest dev repo is dev_zng, but no worries, I have replicated the change and will be merging all the dev repos very shortly and pushing the changes out as final.
On the color ordering issue, you can of course use the banlanx app itself, but in HA, once you have detected and installed a device, you can use the device "CONFIGURE" feature in HA which will allow you to change the color ordering.


Invalid Link

For versions VS 2017, 2019 and 2022 the link points to the same page:
https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.VisualStudio2017ColorThemeEditor
Must be:
Color Theme Editor for Visual Studio 2017
https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.VisualStudio2017ColorThemeEditor
Color Theme Editor for Visual Studio 2019
https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.VisualStudio2019ColorThemeEditor
Visual Studio Color Theme Designer
https://marketplace.visualstudio.com/items?itemName=ms-madsk.ColorThemeDesigner

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

ID: 1b9f7bdc-2be2-9733-db40-4153a7463910
Version Independent ID: 8aa09492-2143-3861-d51f-5e2961e1793f
Content: General, Environment, Options Dialog Box - Visual Studio (Windows)
Content Source: docs/ide/reference/general-environment-options-dialog-box.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@CuriousMax69 Thanks for letting us know. We'll get that page updated later today. Meanwhile, here are the links you're looking for:

Color Theme Designer for Visual Studio 2022
Color Theme Designer for Visual Studio 2019
Color Theme Editor for Visual Studio 2017


How to detect when openDevTools is ready?

I use openDevTools and need an event when the devtools are ready to use. Does there exist a way to determine this?

See devtools-opened event on BrowserWindow:
https://github.com/atom/electron/blob/master/docs/api/browser-window.md#event-devtools-opened

I have tried this but this event does not trigger for me.
require('remote').getCurrentWindow().on("devtools-opened", function(){
	debugger;
});

Anyway I fear that this will not work if the tools are already open and I press ctrl+r to reload. So what I need is an event when the debugger is ready to work. Does there exist a way? So far I am working with an ugly timeout waiting a second until debugger has loaded :/

@s-a You might put your code in the main process and use executeJavaScript to execute debugger .


validator - detect clear sky periods

@cwhanse I'm assuming we're going to use the pvlib implementation of Reno & Hansen for this feature. Do you have any thoughts on how it should work for different combinations of interval length (1 minute to 60 minutes) and interval label (beginning/ending vs. instantaneous)? Perhaps we could update the pvlib detect_clearsky function documentation with a table of recommended kwargs.
For 1.0 alpha, I'd like to see at least a basic implementation of this feature that covers ~1 minute frequency irradiance data. ~Hourly and/or power data could come later.
Do you want to take this on or should I put it on my to do list?

I thought we'd use Reno.  We can implement for GHI and use the default parameters for 1-3 minute intervals, 10 samples per interval.  I think we could extend the parameter sets to longer time averages (15m would be nice).  For 60min data, I don't think Reno will work, if this is important I'd look at Bennet's quantile regression method.
For POA irradiance and power, we'd need to recode the Reno algorithm to work with a clearsky POA / power model.  In these cases maybe Bennet would work, worth looking at.
If the few-minute GHI function is waiting on me, it won't get done until week after next.
Two papers recently of relevance:

Ellis et al 2018: https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8547877&tag=1 (there's also a journal article in preparation, I understand): essentially a validation of the original Reno algorithm. They provide parameters for longer time intervals, but in their work the data are subsampled on the longer time steps, not averaged over the intervals.  I'd guess the subsample case is not common.  For this reason I am hesitant to use their parameter values.

Gueymard et al 2019: https://www.researchgate.net/publication/332565089_A_posteriori_clear-sky_identification_methods_in_solar_irradiance_time_series_Review_and_preliminary_validation_using_sky_imagers  A rather thorough comparison of methods to determine clear-sky conditions and cloudless sky conditions from ground data.  They consider methods which require more than GHI, and not surprisingly, if DNI or DHI are available the methods are better.  Still have this set aside for a careful read, but first glance through, Reno is as good as any of the GHI-only methods.


New push notification overrides older ones in Android.

Expected Behaviour
When sending multiple push notifications, all the previous ones should also be preserved in the notification tray.
Actual Behaviour
Only the last notification shows up in the notification tray.
Steps to Reproduce
Send multiple notifications on android and I only see the last one.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 5.0
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Motorola Moto G2
Cordova CLI version and cordova platform version
cordova --version                                   - 6.2.0
cordova platform version android          - android 5.1.1

Plugin version
cordova plugin version | grep phonegap-plugin-push   - 1.7.4

@GauravButola did you read this part of the docs? https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#stacking

Thanks a lot for the reply @macdonst. That's exactly what I needed, but somehow none of my searches could land me on that doc page or any similar issues. Sorry about that.
I've followed your other answers as well and they've been very helpful. Thanks for all the help :)


Amend SecurityGroupRule late init fix

Description of your changes

Extend LateInit field list following the tf documentation https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule#self
Group examples with the special annotation

Signed-off-by: Yury Tsarev<EMAIL_ADDRESS>Follow up to #229
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
make run
k apply -f examples/ec2/securitygrouprule-self-true.yaml`
k get -f examples/ec2/securitygrouprule-self-true.yaml
NAME                                READY   SYNCED   EXTERNAL-NAME           AGE
vpc.ec2.aws.upbound.io/sample-vpc   True    True     vpc-0e32df8eeb7da09f8   9m39s

NAME                                        READY   SYNCED   EXTERNAL-NAME          AGE
securitygroup.ec2.aws.upbound.io/test-vpc   True    True     sg-0d07d08552c9afea9   9m39s

NAME                                                          READY   SYNCED   EXTERNAL-NAME       AGE
securitygrouprule.ec2.aws.upbound.io/test-vpc-securitygroup   True    True     sgrule-3476840432   9m39s

/test-examples="examples/ec2/securitygrouprule-self-true.yaml"

@ulucinar thanks, already amended :) the test is still valid, i just missed git add


Remove Subscription v1alpha1 version

Description
Delete the v1alpha1 version of Subscription API
Acceptance Criteria

[ ] Delete v1alpha1  Subscription CRD
[ ] Delete v1alpha1 code
[ ] Delete v1alpha1 webhooks
[ ] Verify that the upgrade to this version has no issue
[ ] Delete v1alpha1 E2E tests
[ ] Verify the load tester that is not using v1alpha1
[ ] Check if any other components not using v1alpha1 related packages, for example EPP is using it here.
[x] Delete internal and external documentations of v1alpha1

Checklist for Delete internal and external documentations of v1alpha1:

[ ] On-call guides
[ ] websites
[ ] SAP help
[ ] docs

Checklist for Verify the load tester that is not using v1alpha1:

For v1alpha1 we have a legacy branch.


Support deriving Encoder / Decoder for NamedTuples ?

Here's the (trivial) example...
  val nt: (name: String, age: Int) = (name = "Simon", age = 40)

  given fooDecoder1: Decoder[Foo] =
    deriveDecoder[(name: String, age: Int)]

and it's error
[{
	"resource": "/Users/simon/Code/namedTupleTest/nt.scala",
	"owner": "_generated_diagnostic_collection_name_#3",
	"code": "172",
	"severity": 8,
	"message": "No given instance of type scala.deriving.Mirror.Of[(name : String, age : Int)] was found for parameter A of method deriveDecoder in object semiauto. Failed to synthesize an instance of type scala.deriving.Mirror.Of[(name : String, age : Int)]:\n\t* class Any is not a generic product because it is not a case class\n\t* class Any is not a generic sum because it is not a sealed class",
	"source": "bloop",
	"startLineNumber": 31,
	"startColumn": 44,
	"endLineNumber": 31,
	"endColumn": 44
}]

With I guess the (slightly tedious?) workaround;
  given fooDecoder1: Decoder[(name: String, age: Int)] =
    new Decoder[(name: String, age: Int)] {
      def apply(c: HCursor): Decoder.Result[(name: String, age: Int)] =
        for {
          name <- c.downField("name").as[String]
          age <- c.downField("age").as[Int]
        } yield (name, age)
    }

  given fooEncoder1: Encoder[(name: String, age: Int)] =
    new Encoder[(name: String, age: Int)] {
      def apply(a: (name: String, age: Int)): Json =
        Json.obj(
          "name" -> Json.fromString(a.name),
          "age" -> Json.fromInt(a.age)
        )
    }

There is grayscale
https://scastie.scala-lang.org/JLAz8i1CTaqtvyblPvlOEA