Add testnet bonus page

What
This draft PR adds a Raspibolt on Testnet bonus guide page.
This PR is currently in draft mode because I'm still working on the Lightning part of the RaspiBolt guide, and so I expect more sections will be added before I'm through.
See the in-progress page here.
Why
Testnet is awesome, and to quote the page: Helping bitcoiners run a full testnet setup is a goal worthy of the RaspiBolt.
Scope

[x] independent bonus guide

What do you think about running testnet in parallel to mainnet? I think that'd be trivial, because applications can be started multiple times with additional systemd services, different base directories and config files. It would be more reliable (no copying config files back and forth), and more flexible.
We just need to be careful that every configuration runs with separate ports. Mainnet and testnet would just be activated / deactivated by running or disabling the related systemd services.
We could create dedicated directories for this:
Bitcoin

/data/bitcoin-testnet/ --> contains the testnet bitcoin.conf and all data in the testnet3 subdirectory
/data/electrs-testnet/ --> contains the testnet electrs.config and testnet data
/home/btc-rpc-explorer/ --> not quite sure yet if the whole application needs to be duplicated, or if a separate .env testnet config file would be doable
separate Tor hidden services can be added
UFW opens additional port 60002 for Electrs testnet

LND

/data/lnd-testnet --> contains lnd.conf, separate wallet and data
/home/rtl/RTL --> not quite sure yet if the whole application needs to be duplicated, or if a separate RTL-Config.json testnet config file would be doable
separate Tor hidden services can be added

WDYT?

FYI, there is an outdated bonus guide by Rob Clark that had the same aim: https://github.com/robclark56/RaspiBolt-Extras/blob/master/RB_extra_03.md.
It has a beautiful diagram that explains how mainnet and testnet communication would work with bitcoind and lnd. It would be really nice to reuse it and maybe update it with Electrs, Explorer ect:

What do you think about running testnet in parallel to mainnet?

The question is address at @thunderbiscuit but if you allow me to chime in in the meantime... I love the idea! :100: :)

Hey thanks for checking out the PR so quickly!
I do think there is a ton of demand for testnet setups, and we should try and provide information for different use cases. I wrote a blog post about running testnet on Umbrel over a year ago, and I get a lot of action on it. People DM me about it, open issues on the Gist, etc. Unfortunately Umbrel really isn't built for that. It's evolved a lot since (and is always rapidly iterating), and I now think trying to fit testnet on it is just not that great of an idea. But I can attest there is a lot of demand for that sort of thing.
I think there is value in having both pages. Here are some of my thoughts on this:
All networks on the same setup
Running both mainnet and testnet at the same time I assume must be very popular, because I've seen many tutorials/guides and questions on it on all the main node implementations. It's a bit more to manage and build, and so I think it deserves a page for sure. A few things come to mind:

It does sound like it implies quite a few differences from the core RaspiBolt guide, so that would make me think the page might be quite advanced, as it needs to inject more fixes into the main "path" for raspibolt than just a few new config files.
I totally agree with @VajraOfIndra, the diagram is great. One thing that wasn't clear for me also was how Tor played in all of that, so if we can find a way to incorporate that in the diagram I think it would be a plus.

Testnet-only setup
To explain why I wanted a testnet page (and just a testnet node for myself in general), I'll expand a bit more about my use case for it. I've never had a full mainnet and testnet setup on the same machine; I find them too different in scope and usage (or at least my use of it is). For example, in this case for my raspibolt testnet node I was able to buy a $10 a month cloud instance with 50GB storage and 2GB memory which I expect to keep only for a month or two (maybe more if it's just too much fun!). The testnet setup is fantastic; (a) it's cheap, (b) I don't care if I mess up and I can really try out anything I want (I'm on my third complete wipe of the cloud instance in 10 days, and it's gloriously freeing). The fact that I don't have mainnet on the same machine is the very thing that makes it valuable to me. I don't worry about starting the wrong bitcoin daemon, and didn't have to buy 1TB of storage.
For those reasons, the idea of running both on the same machine doesn't quite fit my use case, and the complexity of the guide for running both was a bit scary (the guide page from Rob Clark I mean), particularly because I was trying to extract just the testnet parts from it. Also, I once broke a Raspiblitz node because I tried running testnet on it after having my real, mainnet node up, and messed up the configurations because I didn't know enough about it. Bitcoind started downloading the testnet blocks right on the microSD card with the OS instead of the SSD external drive, filled it up in no time, and I wasn't able to get back in to fix the node to fix after the OS crashed. Had to wipe the whole thing (or I wasn't savvy enough to recover anyway). #reckless I guess? 😆 It turned me off of "playing around" with nodes for a long time, which I now know is really the key to learning. I think optimally, most tinkerers should have a sort of bi-modal approach to nodes: one setup that is super safe, sacred, that you're very very careful with, and one you're totally carefree about, 100% reckless, don't-care-if-I-break-it type. The type of node you'll install LND and C-lightning and Eclair on, just because it's fun and you want to try them out. Those two type of nodes being on different hardware is key to unleashing their respective power in my opinion. For that reason, I also think a testnet-only page is important.
tldr; LET'S DO BOTH

Lol, best tl;dr I've seen in a long time 😁

Your reasoning makes total sense. I think a simple bonus guide that contains all the alternative configuration files makes total sense.
We can build an additional guide for a testnet configuration running in parallel to mainnet from there later.

Your reasoning makes total sense. I think a simple bonus guide that contains all the alternative configuration files makes total sense.
We can build an additional guide for a testnet configuration running in parallel to mainnet from there later.

So if I understood well, there will be two new bonus guides in the end:

A bonus guide to build a bitcoin and LN node on testnet (only)
A bonus guide to run testnet alongside mainnet on the same node.

And the main guide will not have testnet included, correct?
Sounds like a safe way to do it.

I was about to install testnet on a regular raspibolt, so having both on the same machine made sense at first glance.
Thing is, my mainnet raspibolt does not have any channel yet. So it pretty much is a dev machine and thus not a very frequent use case.
@thunderbiscuit made me realize it doesn't make much sense to run both mainnet and testnet on the same machine when the mainnet is being used for real. Testnet nodes value is partly derived from the fact that they can be reset at will.
On another note, buying all that hardware for a test node seems a bit overkill... so why bother documenting it at all if it's not a typical use case?
Still, documenting installations such as thunderhub on a raspibolt which is active might not be the best idea. So I am on the fence about this... I think build the docs based on a real physical raspibolt might end up providing the most value.

For the time being, I really need a testnet raspibolt, so I will configure one and document it along the way on a separate wiki...
If we end up considering it's a good addition to Raspibolt, I will be glad to share it. We have to consider if might be worth spending time keeping that doc up to date in the meantime.

I think this page is ready for review. It keeps things very simple, not trying to rewrite the guide, but simply provide small fixes for the different configurations and commands required to enable the setup for testnet rather than mainnet.
If you'd like to see anything else added or removed, let me know!

I didn't test these settings and never used testnet so I'll leave the review and approval to someone else who has a testnet node running (@RooSoft if I recall well?)

Yeah, I made one and took notes along the way....
Once conflicts gets solved on that PR, and requested changes made, I will review it.

Thanks for the review Stadicus! Now I'm not sure how I got my stuff working because in some cases I don't remember doing those... but it was a few weeks back so maybe I just don't remember. In any case, I think I got all the added stuff in.

Maybe it's good idea to do also signet guide? Signet is nowadays often more practical for most test scenarious. Haven't checked that all involved sofware supports signet in addition to testnet3 though.

Thanks for the input! I applied all fixes. Cheers!


KAFKA-13023: make "range, cooperative-sticky" as the default assignor in V3.0

In KIP-726, we want to make "cooperative-sticky, range" as default assignor. But before this can be applied, we need to handle some important cooperative-sticky assignor bugs first. We plan to implement it in early V3.1. In V3.0, we plan to make "range, cooperative-sticky" as the default assignor, so that if user wants to use cooperative-sticky assignor from old version byte-code, they just need 1 rolling bounce, to set the cooperative-sticky assignor in the PARTITION_ASSIGNMENT_STRATEGY_CONFIG config.
This PR also adds test to make sure the default assignor is still range assignor.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@ableegoldman , please help review this PR.
Failed tests are unrelated.
    Build / JDK 16 and Scala 2.13 / kafka.server.RaftClusterTest.testCreateClusterAndCreateAndManyTopicsWithManyPartitions()
    Build / JDK 16 and Scala 2.13 / kafka.server.RaftClusterTest.testCreateClusterAndCreateAndManyTopics()
    Build / JDK 16 and Scala 2.13 / kafka.server.RaftClusterTest.testCreateClusterAndCreateAndManyTopics()
    Build / JDK 11 and Scala 2.13 / kafka.server.RaftClusterTest.testCreateClusterAndCreateAndManyTopicsWithManyPartitions()
    Build / JDK 8 and Scala 2.12 / kafka.server.RaftClusterTest.testCreateClusterAndCreateListDeleteTopic()

@ableegoldman , as discussed, we agreed this should be put in v3.0. Please take a look when available. Thank you.

@ableegoldman , no, there's no tests to verify that the RangeAssignor will be chosen by default when creating a Consumer. So, in this PR, I've added 1 test to test it: testMultiConsumerDefaultAssignorAndVerifyAssignment. Thank you!

So, in this PR, I've added 1 test to test it: testMultiConsumerDefaultAssignorAndVerifyAssignment

Thanks Luke, but I actually meant something simpler (and stupider) that directly verifies that the chosen assignor is the RangeAssignor, rather than inferring it from the assignment that's produced. Like something in ConsumerConfigTest, or KafkaConsumerTest. Does that make sense? I just think we want to have both a test: a more complicated test that validates what we actually care about, the resulting assignment, but also a plain dumb test that we can be 100% sure will break if/when the default assignor is changed, no matter what it gets changed to (ie even if the new assignor happens to produce the same assignment as the RangeAssignor in some cases)

Make sense! Will add later. Thanks for the suggestion :)

@ableegoldman , I've added a test in ConsumerConfigTest to verify the default partition assignor. We cannot verify the assignor via KafkaConsumer or ConsumerCoordinator unless we add/update methods for testing. I think that's unnecessary. Let me know if you have other opinions. Thank you.

@ableegoldman , failed tests are unrelated. Thank you.
    Build / JDK 11 and Scala 2.13 / kafka.server.RaftClusterTest.testCreateClusterAndCreateAndManyTopicsWithManyPartitions()
    Build / JDK 11 and Scala 2.13 / kafka.server.RaftClusterTest.testCreateClusterAndCreateAndManyTopicsWithManyPartitions()

Merged to trunk. Thanks @showuon !

@ableegoldman Do we need to cherry-pick this one to the 3.0 branch as well? cc @kkonstantine

Ah, yes, this should definitely be cherrypicked to 3.0.  I'll do it tomorrow if that's all good with @kkonstantine
Thanks for catching this

Cherrypicked to the 3.0 branch

LGTM. That's what was discussed on the mailing list.


[Bug] TypeError: Cannot read property 'UhQoBVtzZtBkHQFpAAAB' of undefined

What happened?
If you try to add localhost as a cloud destination (for example: open the page served by Angular serve, localhost:4200, and add <IP_ADDRESS> and port 4455 with a correct key as cloud destination), io.sockets.connected for some reason will be undefined, so io.sockets.connected[cloud_clients[i].socketId] throws an error.
This code is used in other functions, so it could cause errors in other functions, for example "Tally Client Flash".
Version
2.0.14
Distribution
Source
OS
Windows
What browsers are you seeing the problem on?
Chrome
If applicable, What Listener Clients are You Using?
No response
TallyArbiter configuration
{
  "externalAddress": "http://<IP_ADDRESS>:4455/#/tally",
  "security": {
    "username_settings": "admin",
    "password_settings": "12345",
    "username_producer": "producer",
    "password_producer": "12345"
  },
  "sources": [],
  "devices": [],
  "device_sources": [
    {
      "deviceId": "1189fe03",
      "sourceIdx": "0",
      "address": "name",
      "sourceId": "TEST",
      "id": "df7466b9"
    }
  ],
  "device_actions": [],
  "tsl_clients": [
    {
      "id": "14122439",
      "ip": "<IP_ADDRESS>",
      "port": 1234,
      "transport": "tcp"
    }
  ],
  "tsl_clients_1secupdate": true,
  "cloud_destinations": [],
  "cloud_keys": []
}

Relevant log output
[30/8/2021, 22:35:27] Loading the stored Tally Arbiter configuration file.
[30/8/2021, 22:35:27] Tally Arbiter Sources loaded.
[30/8/2021, 22:35:27] 0 Sources configured.
[30/8/2021, 22:35:27] Tally Arbiter Devices loaded.
[30/8/2021, 22:35:27] 0 Devices configured.
[30/8/2021, 22:35:27] Tally Arbiter Device Sources loaded.
[30/8/2021, 22:35:27] Tally Arbiter Device Actions loaded.
[30/8/2021, 22:35:27] Tally Arbiter TSL Clients loaded.
[30/8/2021, 22:35:27] TSL Clients 1 Second Updates are turned on.
[30/8/2021, 22:35:27] Starting TSL Clients 1 Second Interval.
[30/8/2021, 22:35:27] Tally Arbiter Cloud Destinations loaded.
[30/8/2021, 22:35:27] Tally Arbiter Cloud Keys loaded.
[30/8/2021, 22:35:27] Source Setup Complete.
[30/8/2021, 22:35:27] Initializing Device States.
[30/8/2021, 22:35:27] Device States Initialized.
[30/8/2021, 22:35:27] Setting up the REST API.
[30/8/2021, 22:35:27] REST API Setup Complete.
[30/8/2021, 22:35:27] Starting socket.IO Setup.
[30/8/2021, 22:35:27] Socket.IO Setup Complete.
[30/8/2021, 22:35:27] Starting OSC Setup.
[30/8/2021, 22:35:27] Starting VMix Emulation Service.
[30/8/2021, 22:35:27] Initiating 1 TSL Client Connections.
[30/8/2021, 22:35:27] TSL Client: <IP_ADDRESS>:1234 (tcp)
[30/8/2021, 22:35:27] TSL Client: 14122439  Initiating TSL Client TCP Socket.
[30/8/2021, 22:35:27] Finished TSL Client Connections.
[30/8/2021, 22:35:27] Initiating 1 Cloud Destination Connections.
[30/8/2021, 22:35:27] Cloud Destination: <IP_ADDRESS>:4455
[30/8/2021, 22:35:27] Cloud Destination: <IP_ADDRESS>:4455  Initiating Connection.
[30/8/2021, 22:35:27] Finished Cloud Destinations.
[30/8/2021, 22:35:27] Starting HTTP Server.
[30/8/2021, 22:35:27] OSC Sending Port Ready. Broadcasting on Port: 5958
[30/8/2021, 22:35:27] Finished VMix Emulation Setup. Listening for VMix Tally Connections on TCP Port 8099.
[30/8/2021, 22:35:27] Tally Arbiter running on port 4455
[30/8/2021, 22:35:28] Cloud Destination: <IP_ADDRESS>:4455 Connected. Sending Initial Data.
[30/8/2021, 22:35:28] Cloud Client Connected: ::ffff:<IP_ADDRESS>
[30/8/2021, 22:35:49] An error occurred with the connection to <IP_ADDRESS>:1234  Error: connect ETIMEDOUT <IP_ADDRESS>:1234
[30/8/2021, 22:35:49] TSL Client 14122439 Connection Closed: <IP_ADDRESS>:1234
[30/8/2021, 22:37:20] Cloud Key Deleted: ciao
[30/8/2021, 22:37:20] Config file saved to disk.
[30/8/2021, 22:37:32] Caught exception: TypeError: Cannot read property 'UhQoBVtzZtBkHQFpAAAB' of undefined

Error stacktrace (if applicable)
TypeError: Cannot read property 'UhQoBVtzZtBkHQFpAAAB' of undefined
    at TallyArbiter_Remove_Cloud_Client (C:\Users\ardui\progetti\TallyArbiter-4\index.js:6856:28)
    at TallyArbiter_Manage (C:\Users\ardui\progetti\TallyArbiter-4\index.js:5670:14)
    at Socket.<anonymous> (C:\Users\ardui\progetti\TallyArbiter-4\index.js:1667:15)
    at Socket.emit (events.js:375:28)
    at Socket.emitUntyped (C:\Users\ardui\progetti\TallyArbiter-4\node_modules\socket.io\dist\typed-events.js:69:22)
    at C:\Users\ardui\progetti\TallyArbiter-4\node_modules\socket.io\dist\socket.js:428:39
    at processTicksAndRejections (internal/process/task_queues.js:77:11)

@josephdadams sorry, I forgot to say that I'm working on this.
Can you please review my PR?

Just wanted to let you guys know that this update worked well, and our tally system had no issues during production.  I appreciate the help. Thanks.


button on tabview

is it possible to set  tap event in the  tabview tabItem  with angular??????

@nelsonwilliam11 to handle the changed tabs you have selectedIndex property and selectedIndexChange event which should be considerably more useful as the index might change not only on tap but also on swipe left/right due to the nature of the TabView. Examples here.
So instead of using tap event, handling selectedIndex should do the job for controlling your TabView. Here is the API reference for selectedIndexChangeEventData
Of course, you can always implement tap event for the containers of your tab items (if that is your goal) but not the TabItems itself


add BAT Test - Stop running instances

Add test to Verify that running instances can be stopped.

This is implemented by TestStopRestartInstance


add checkpoint and resume title in docs

(minor) just to make it more prominent in the docs page for the soon-to-be-released new torchdata

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Improve the naming consistency around two zTOC concepts

Description of changes:
We’ve struggled to use consistent naming for the second half of the zTOC file, and for the captured state of the compression engine. This commit attempts to remedy that by using “Gzip compression info” and “Checkpoint”, respectively.
Notes:

This change was generated by a script (attached below).
If someone prefers different terminology, let's discuss. "Compression info" is a bit of a mouthful. But that's what the Flatbuffer schema used, and I can't think of anything better.
If you see additional things that should be renamed, let me know and I will add them to the list and rerun the script.
In some cases, the “gzip” is redundant (because the code in question is obviously gzip-specific), or incorrect (because the code in question has no business knowing about the implementation details of the compression algorithm). I left that as is for now, because that would require a judgement call, and I wanted to keep this commit entirely scripted.

Testing performed:
go clean -testcache && make clean && make && make test
make check

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Oops. GitHub won't let you attach shell scripts to PRs. Here it is inline:
#!/bin/zsh

git reset --hard
while read old new; do
    sed -i "s/${old}/${new}/g" **/*.{c,h,go,fbs}
done <<EOF
gzip_index_point gzip_checkpoint
gzip_index       gzip_compression_info
gzipIndexPoint   gzipCheckpoint
GzipIndex        GzipCompressionInfo
gzipIndex        gzipCompressionInfo
IndexByteData    Checkpoints
indexByteData    checkpoints
index_byte_data  checkpoints
indexData        checkpoints
EOF

for d in $(git ls-files -m | xargs dirname  | sort -u); do
    pushd $d
    go fmt
    popd
done

sed -i 's/"snapshots"/*checkpoints*/g' docs/GLOSSARY.md

This second rev addresses the comments above. It also contains separate commits to update the glossary.
Notes:

There are still a few places where the old terms are used. I decided to draw the line, rather than get overly dogmatic about it.
The changes in CompressionInfo.go were made by hand, because it was safer that way. All the other code changes were done using an updated version of the shell script:

#!/bin/zsh

git reset --hard
while read old new; do
    sed -i "s/${old}/${new}/g" **/*.{c,h,go,fbs}
done <<EOF
INDEXER          ZINFO
point_index      checkpoint
gzip_index_point gzip_checkpoint
gzip_index       gzip_zinfo
gzipIndexPoint   gzipCheckpoint
GzipIndex        GzipZinfo
gzipIndex        gzipZinfo
blob_to_index    blob_to_zinfo
IndexByteData    Checkpoints
indexByteData    checkpoints
index_byte_data  checkpoints
indexData        checkpoints
free_index       free_zinfo
addpoint         add_checkpoint
generate_index_fp  generate_zinfo
indexer.h        zinfo.h
EOF

for d in $(git ls-files -m | xargs dirname  | sort -u); do
    pushd $d
    go fmt
    popd
done

# Finally, clean up any stray references to "index" in the C code.
cd c
mv indexer.c zinfo.c
mv indexer.h zinfo.h
git add zinfo.[ch]
cd ..

sed -i 's/indexer/zinfo/g' Makefile soci/gzip_index.go

# Also replaced the "index" variables and struct member by hand

mv soci/gzip_index.go soci/gzip_zinfo.go

git add -A


Drag directories/files into the command line, will copy the path of this file.

Hey,
I saw this issue ( #3582 ), and I found a solution for the latest version of canary by updating the BrowserWindowoption.
( I didn't see any Pull Request on this subject if there is already one I will remove mine )
This commit should be ready to be merged.
Let me know if you need anything else.

Awesome.
Thank you for your help 🙏 (and sorry for the delay)


Issue about Whisper Model recognition Chinese

I have tested almost all whisper models of all sizes, and similar things happen.
When the recognition input language is set to Chinese.
When there is no voice input, the whisper model will continue to output spam, but if it is set to English, there will be no similar issue.
Japanese has not found the same issue, and I have not tried other languages.
Then I tried to switch the model to vosk, and there was no similar issue.
When I set the input to a microphone without any signal input, as can be seen in the screenshot, the whisper models output garbage.

This issue occurs more often when the mic is set to the one that I everyday use at the time I don't say anything
I don't know what caused this problem. I tried to use text replacement to delete these spam messages, but he often randomly combined some common words and randomly added spaces, which made it basically unusable.
I checked Whisper Model's github, as well as some technology shares using Whisper Model directly.
But there seems to be no such problem.
It seems that Whisper Model can be set to recognize multiple languages at the same time.
Is it possible to manually add startup commands, or provide an option to select multiple languages?
I wonder if this problem will be eliminated when multiple languages are recognized at the same time.

This is an issue with the package I use https://github.com/Const-me/Whisper/issues/54 , where it hallucinates words where there are non. I'll be looking into adding a similar solution as proposed in this issue.


train

The basic_schedule in main.py is not used, that is ok? and your proposal learningrate is 1e-6 is initial? I should give more train epochs ?

Yes, the code is not cleaned properly.
Try with default learning rate of 1e-4.

Thank your reply. Recently，I have another question: as your paper said，different dataset corresponds different backbone, and should different backbone correspond different preprocess_input in keras? In fact, the resnet50 backbone and its preprocess_input can't get 94.9% acc when I use airplane dataset, and the resnet50 is lower than xception. Should different should use different learning rate ?

Others have reproduced the results (see the thread "How can I reproduce the result?")
Merge train and validation dataset to train the model, and test on test images.
Set batch size 4
Start learning rate 1e-4 and multiply 0.1 at every 50 epochs. Train for 200 epochs.
With this setting, we got best accuracy around 190 epochs.

Thanks for your answer,I ignore batch_size and i will try again. Iearning-rate in all dataset is same. Can you share batch_size in others ?


two-pass encoding error

updated the program today and I get an error when trying to two-pass encode
Arguments for pass 1: -f nut -i pipe:0   -an -c:v libvpx-vp9 -pix_fmt yuv420p -threads 8 -slices 1 -lag-in-frames 16 -auto-alt-ref 1 -b:v 852k -qcomp 0 -fs 4194304 -aq-mode 4 -row-mt 1 -tile-columns 6 -tile-rows 2 -pass 1  -f webm -y "NUL"
Arguments for pass 2: -f nut -i pipe:0   -an -c:v libvpx-vp9 -pix_fmt yuv420p -threads 8 -slices 1 -lag-in-frames 16 -auto-alt-ref 1 -b:v 852k -qcomp 0 -fs 4194304 -aq-mode 4 -row-mt 1 -tile-columns 6 -tile-rows 2 -pass 2  -f webm -y "X:\[file directory].webm"

--- CREATING AVISYNTH PROXY ---
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, nut, from 'pipe:0':
  Metadata:
--- FFMPEG HAS EXITED ---
--- ENTERING PASS 2 ---
--- CREATING AVISYNTH PROXY ---
    encoder         : Lavf56.40.101
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 404x720, 30 fps, 30 tbr, 61440 tbn
  Stream #0:1: Audio: pcm_f32le (PFD  / 0x20444650), 48000 Hz, stereo, flt, 3072 kb/s
Cannot write log file 'ffmpeg2pass-0.log' for pass-1 encoding: Permission denied
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, nut, from 'pipe:0':
  Metadata:
    encoder         : Lavf56.40.101
--- FFMPEG HAS EXITED ---
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 404x720, 30 fps, 30 tbr, 61440 tbn
  Stream #0:1: Audio: pcm_f32le (PFD  / 0x20444650), 48000 Hz, stereo, flt, 3072 kb/s
Error opening file ffmpeg2pass-0.log.
Error reading log file 'ffmpeg2pass-0.log' for pass-2 encoding

how do I fix this?

How look output text box? In console show "X:[file directory].webm"

How look output text box? In console show "X:[file directory].webm" Also try to edit video from same folder "Cannot write log file 'ffmpeg2pass-0.log' for pass-1 encoding: Permission denied"

Arguments for pass 1: -f nut -i pipe:0   -an -c:v libvpx-vp9 -pix_fmt yuv420p -threads 8 -slices 1 -lag-in-frames 16 -auto-alt-ref 1 -b:v 852k -qcomp 0 -fs 4194304 -aq-mode 4 -row-mt 1 -tile-columns 6 -tile-rows 2 -pass 1  -f webm -y "NUL"
Arguments for pass 2: -f nut -i pipe:0   -an -c:v libvpx-vp9 -pix_fmt yuv420p -threads 8 -slices 1 -lag-in-frames 16 -auto-alt-ref 1 -b:v 852k -qcomp 0 -fs 4194304 -aq-mode 4 -row-mt 1 -tile-columns 6 -tile-rows 2 -pass 2  -f webm -y "D:\test.webm"

--- CREATING AVISYNTH PROXY ---
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, nut, from 'pipe:0':
--- FFMPEG HAS EXITED ---
--- ENTERING PASS 2 ---
--- CREATING AVISYNTH PROXY ---
  Metadata:
    encoder         : Lavf56.40.101
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 404x720, 30 fps, 30 tbr, 61440 tbn
  Stream #0:1: Audio: pcm_f32le (PFD  / 0x20444650), 48000 Hz, stereo, flt, 3072 kb/s
Cannot write log file 'ffmpeg2pass-0.log' for pass-1 encoding: Permission denied
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, nut, from 'pipe:0':
--- FFMPEG HAS EXITED ---
  Metadata:
    encoder         : Lavf56.40.101
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 404x720, 30 fps, 30 tbr, 61440 tbn
  Stream #0:1: Audio: pcm_f32le (PFD  / 0x20444650), 48000 Hz, stereo, flt, 3072 kb/s
Error opening file ffmpeg2pass-0.log.
Error reading log file 'ffmpeg2pass-0.log' for pass-2 encoding

ffmpeg.exe exited with exit code 1. That's usually bad.
If you have no idea what went wrong, open an issue on GitGud and copy paste the output of this window there.

1-pass encoding works fine btw

Overwrite and try with this, if it doesn't work search 'ffmpeg2pass-0.log' in your files and delete it.
WebMConverter.zip

@argorar Yes, that fixed the issue.

It should be working fine now in latest update.

I installed the latest update that fixed the logging issue and it works again, thanks


Merge multi-band linear prediction into LPCNet

As reported in https://arxiv.org/pdf/2005.05551.pdf, the multi-band method could enable the vocoder to generate several speech samples in parallel at one step, thus significantly improve the efficiency of speech synthesis. I met some problem when mering it into LPCNet. Anyone tried to merge the multi-band linear prediction into LPCNet?

@GuangChen2016 Could you mind share what kind of problem you have met when implementing Mulit-band LPCNet?

Did you applied the multi-band into LPCNet successfully? My generated wavs are wrong and I doubt that the correctness of my calculation for lpc coefficient. Could you mind leave an email or other contact information, I can share that with you.

@GuangChen2016
Could you explain that how you extract "M order linear prediction coefficients of each sub frequency band"(multi-band linear prediction coeff.)?
And, Do you using 80dim mel-spectrogram to compute LPC? (using python lib something like librosa?)
I think LPC in original LPCNet code extracted from BFCC(18-dim). (BFCC -> PSD -> Autocorrelation -> LPC)

Did you applied the multi-band into LPCNet successfully? My generated wavs are wrong and I doubt that the correctness of my calculation for lpc coefficient. Could you mind leave an email or other contact information, I can share that with you.

I ve try it, but got impluses.  How do deal with that? And my 2th band is bad(impluses), but others work well.

@zhuxiaoxuhit Yeah, I have sent an email to you.

@GuangChen2016 Is your multi-band lpcnet effective? I recently tried to experiment with pytorch, but no effect

@GuangChen2016 Is your multi-band lpcnet effective? I recently tried to experiment with pytorch, but no effect

Did u apply this paper? https://indico2.conference4me.psnc.pl/event/35/contributions/3023/attachments/694/732/Thu-1-1-6.pdf. It will be faster than featherwave I think.

@GuangChen2016 Is your multi-band lpcnet effective? I recently tried to experiment with pytorch, but no effect

Did u apply this paper? https://indico2.conference4me.psnc.pl/event/35/contributions/3023/attachments/694/732/Thu-1-1-6.pdf. It will be faster than featherwave I think.

I have achieved initial success in the featherwave, but there are individual samples that are unstable. I initially suspected that it was a problem with the mel-spec calculation subband lpc, but I have not found the problem yet.

@yanggeng1995  Ask for help!  For multiband-lpcnet, the feature of each band should be extracted seperatedly, right? If I used the original features in lpcnet,  I should first get subband-wavs(4 bands),   then extract features for each subband-wav  seperately,  then all features 554?  I should also change my acoustic model to predict the 554 features?

I have achieved initial success in the featherwave, but there are individual samples that are unstable. I initially suspected that it was a problem with the mel-spec calculation subband lpc, but I have not found the problem yet.

No, no, it’s not like that. The LPC of the subband is calculated by the parameters of the full band. In fact, you can use the LPC of the full band as the shared LPC for multiple subbands, so you only need to change the structure of the lpcnet  to predict multiple sub-bands at the same time, and the acoustic parameters still predict 55-dimensional full-band parameters

@yanggeng1995 Ask for help! For multiband-lpcnet, the feature of each band should be extracted seperatedly, right? If I used the original features in lpcnet, I should first get subband-wavs(4 bands), then extract features for each subband-wav seperately, then all features 55 x 4? I should also change my acoustic model to predict the 55*4 features?
Another quesiton, how to get subband lpcs using mels?

No, no, it’s not like that. The LPC of the subband is calculated by the parameters of the full band. In fact, you can use the LPC of the full band as the shared LPC for multiple subbands, so you only need to change the structure of the lpcnet to predict multiple sub-bands at the same time, and the acoustic model still predict 55-dimensional full-band parameters

@yanggeng1995  I tried the way as you said,  all the four subbands share the same lpc of the fullband. But in the stage of dump data, I mean  "write_audio" in dump_data.c,  the computation of "p" as follows:
for (j=0;j<LPC_ORDER;j++) p -= st->features[k][2*NB_BANDS+3+j]st->sig_mem[j];
st->features[k][2NB_BANDS+3+j]*st : the feature of fullband
sig_mem[j]: the pcms of the subband
the p > 32768 sometimes.
You did not meet similar problem?

@yanggeng1995 I tried the way as you said, all the four subbands share the same lpc of the fullband. But in the stage of dump data, I mean "write_audio" in dump_data.c, the computation of "p" as follows: for (j=0;j<LPC_ORDER;j++) p -= st->features[k][2*NB_BANDS+3+j]_st->sig_mem[j]; st->features[k][2_NB_BANDS+3+j]*st : the feature of fullband sig_mem[j]: the pcms of the subband
the p > 32768 sometimes.
You did not meet similar problem? Or I did anything in the wrong way?

Is this calculation for each subband? If so, do you perform pre-emphasis on the full-band audio? If you use shared lpc, you need to perform pre-emphasis on the full-band audio data. It is best to normalize wav by the way, otherwise it is prone to p>32768.

@yanggeng1995 I tried the way as you said, all the four subbands share the same lpc of the fullband. But in the stage of dump data, I mean "write_audio" in dump_data.c, the computation of "p" as follows: for (j=0;j<LPC_ORDER;j++) p -= st->features[k][2*NB_BANDS+3+j]_st->sig_mem[j]; st->features[k][2_NB_BANDS+3+j]*st : the feature of fullband sig_mem[j]: the pcms of the subband
the p > 32768 sometimes.
You did not meet similar problem? Or I did anything in the wrong way?

Is this calculation for each subband? If so, do you perform pre-emphasis on the full-band audio? If you use shared lpc, you need to perform pre-emphasis on the full-band audio data. It is best to normalize wav by the way, otherwise it is prone to p>32768.

@yanggeng1995  Yes, I use pre-emphasis on the full-band audio. But what do you mean "It is best to normalize wav by the way,"?

@yanggeng1995 Yes, I use pre-emphasis on the full-band audio. But what do you mean "It is best to normalize wav by the way,"?

How many pre-emphasis factors do you set? In my experiments, I found that 0.6 is a better choice; I mean you can normalize the audio, but this effect is minimal, and the pre-emphasis has a greater impact

@yanggeng1995 Yes, I use pre-emphasis on the full-band audio. But what do you mean "It is best to normalize wav by the way,"?

How much is your pre-emphasis factor set? In my experiments, I found that 0.6 is a better choice; I mean you can normalize the audio, but this effect is small, and the effect of pre-emphasis is greater.

@yanggeng1995  I used the original parameter, 0.85 for pre-emphasis. I will change it to 0.6 and also check my process of the data to see if anything wrong. Thank you so much for your reply.


Add fcrepo aws entrypoint

Overview

Creates a new file: awsentrypoint.sh
Creates a new file: pass-s3-repository.json
Installs python, py-pip and awscli to support the new entrypoint file
Modifies existing entrypoint.sh to honor parameters set in OPTS by awsentrypoint.sh

@derekbelrose @birkland I didn't check it out or run it, but on the face of it, looks good to me

Need to bump fcrepo version, but I can build, push, and submit a PR to do that.  Trying it out now.


k8s Namespace Naming is not consistent

What happened:
I noticed that, at least, for CPU and Memory data from a POD the namespace field is not consistently named:
On kube.pod.memory.usage.bytes its namespace
On kube.pod.cpu.usage its pod-namespace
What you expected to happen:
The namespace field should be consistent.

Kubernetes version (use kubectl version):

1.15.0

looks related to https://github.com/splunk/splunk-connect-for-kubernetes/issues/133

Did this issue already solved. I still have inconsistency between names of dimensions for metrics (namespace vs pod-namespace, ) Thanks in advance for your suggestions?


ioSender XL Edge 2.0.45p1 doesn't work

By some reason ioSender XL Edge 2.0.45p1 failed to connect to the controller. Latest release version works no problem.

It is likely due to me changing the DTR signal signal state in order to communicate with a ESP32-S3 controller, I have now removed this change and uploaded a new edge build.


chore: assert against data-testid attribute

Signed-off-by: Philipp Rudloff<EMAIL_ADDRESS>

I left a comment elsewhere on here (see linked GH PR)


Addition of Architectures Tuned for Caravel SoC Interface

Added optimized VPR and OpenFPGA architecture that fit Caravel SoC Interface
Added openfpga task configuration for the new architectures

Remove the last suffix

grid_io_bottom_bottom.v
grid_io_left_left.v
grid_io_right_right.v
grid_io_top_top.v


Key enhancements

Hi! Currently all the scenes run in normal mode and it doesn't prevent people from breaking the typewriter effect when pressing a key. I think it'd be nice to be able to skip the typewriter effect when pressing enter and disable other keys except CTRL+C or CTRL+Q or Q.

Good idea!


Adding virtual machine specs to support Kubevirt

What this PR does / why we need it:
Which issue(s) this PR fixes (optional)
Closes # https://portworx.atlassian.net/browse/PA-1698
Special notes for your reviewer:
[root@vm-vpinisetti:~/kubevirt/working]# kc get vm -A
NAMESPACE       NAME                          AGE     STATUS    READY
default         centos7-um6b40cbo5mwg5w5      3d20h   Running   True
test2           ubuntu-mysql-vm               32h     Running   True
test3           vm-ubuntu-containerdisk       149m    Running   True
test5           vm-ubuntu-containerdisk-pvc   47m     Running   True
ubuntu-bionic   ubuntu-bionic                 3d23h   Running   True
ubuntu-pvc      ubuntu-pvc-vm                 3d23h   Running   True
[root@vm-vpinisetti:~/kubevirt/working]#

@vpinisetti-px Do you want to name the app as kubevirt ?

@vpinisetti-px Do you want to name the app as kubevirt ?

I feel that is right name as we really dont worry about the application inside the vm. Please suggest incase you have anything in your mind.

kubevirt-multi-vm can be a good name

kubevirt-multi-vm can be a good name

Done

@mkoppal-px / @kshithijiyer-px Is it ok to publish to docker registry name in the spec docker.pwx.dev.purestorage.com/portworx/ubuntu-container-disk:20.0 ?


Important! Template update for nf-core/tools v2.13

Version 2.13 of nf-core/tools has just been released with updates to the nf-core template. This automated pull-request attempts to apply the relevant updates to this pipeline.
Please make sure to merge this pull-request as soon as possible, resolving any merge conflicts in the nf-core-template-merge-2.13 branch (or your own fork, if you prefer). Once complete, make a new minor release of your pipeline.
For instructions on how to merge this PR, please see https://nf-co.re/docs/contributing/sync/.
For more information about this release of nf-core/tools, please see the v2.13 release page.

AAAH.


Writing Mobi files?

It would be nice to have the option to do something like the following (+ possible implementation details):
struct MobiWriter {
     header: MobiMetadata,
     records: Option<Vec<Record>>
     // equal to Mobi buf, can be overwritten by a records vec.
     buf: Vec<u8>
}

fn main() {
    // let book = Mobi::from_parts(header, records).unwrap();
    let book = Mobi::from_path("path/to/book.mobi").unwrap();
    let mut writer = MobiWriter::from(book);
    writer.set_author("Someone else");
    writer.set_title("A different title");
    // writer.set_records(records);
    writer.write_to_file("different/book.mobi").unwrap();
}

Since it seems like the Mobi header isn't particularly complex, I think implementing a MobiWriter struct that supports writing a new header without modifying the records wouldn't be too difficult (eg. write the header, fix some numbers, and then write the buf as is), and very useful (eg. fixing title and author).
If writing records was also supported, I'd imagine that writer would write records that into a records field which it uses as lazy storage until .write() is called, at which time records is correctly compressed with lz77 and is used instead of buf (which would be an exact copy of the original compressed record data).
This could also be useful for validating that mobi works correctly - if the implementation is correct, then reading and writing should produce identical copies, and otherwise, there might be a bug.
I'm also really happy to see that v0.5.0 was released, since it works really well for my project 👍

Writing records is currently out of scope. From what I've tested recently even reading records doesn't work that well so I would probably focus on that first. On the other hand, adding a struct to modify header values seems like something rather quick to implement and would add a lot of value so I'll probably dig into this soon.
My current plan is to fix the decompression algorithm, add tests for it, cleanup record api and then look into writing.
Glad to see it working for you :) It's definitely starting to look more library-like.


Updated Selection_list

I have

updated the SelectionList.
Cleaned up warnings
Fixed the unneeded 'a error.

changes done.


Is Menlo font now bold in Atom 1.47.0? How can I change it back?

The font seems to be bold in my editor or to have changed. I'd like to change it to the way it was before the update.

Here is a comparison (above is 1.47.0 below is 1.46.0):


Created and updated docs for 1.27

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve
/unhold


Allow using alternate templates in create-app

Hey, I just made a Pull Request!
This PR adds 2 new CLI options to the create-app CLI command that allow using an alternate application template in the create-app command:

template-path: use an external template path
template-name: use a different template in the templates included inside the create-app package itself (in the ./templates sub-folder) instead of the default-app one.

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@benjdlambert @freben @Rugvip Are these CI errors https://github.com/backstage/backstage/actions/runs/5510616748/jobs/10045074665?pr=18621 well-known ?
I don't see how they are related to the changes proposed here...

@Rugvip Is it OK to merge now ?


Error occurred when executing ApplyPulid, What should I do?

Error occurred when executing ApplyPulid:

you probably need to re-download the models, they are corrupted


Rocky Linux 8.8 and 9.2

Add Rocky Linux 8.8 repos and stop syncing 8.7
Add Rocky Linux 9.2 repos

Why stop syncing 8.8 but not 9.1?

Why stop syncing 8.7 but not 9.1?

8.7 is no longer available on the mirrors, but 9.1 is. Probably it will get pulled soon but we may as well get any updates while we can.


Allow custom geode integration

Building examples has required a published Geode tgz and jars. Use
Gradle's includeBuild feature to allow mapping to a custom Geode clone
for integration and API testing. Invoke with:
./gradlew -Dcomposite -PgeodeCompositeDirectory=../geode build
Once more, with feeling. Re-submitting this PR against develop instead of master

gradle has a built in --include-build option that looks like it does this same thing without all of the custom logic in the build file. Is there a reason we're not using that?

@upthewaterspout Because of the name mapping between the geode-assembly project and its artifact name apache-geode the default behavior of  --include-build does not work for the Geode project. The substitution lines in settings.gradle are to teach Gradle how to map our project names. In addition, the tgz output of geode-assembly has a classification component that needs to be provided in order to download and unpack the archive from within Gradle as a normal dependency, as opposed to a JavaExec that downloads the file.
We can pair up and try it with the default --include-build flags to see if I'm mistaken though. I'm always happy to remove complicated, obscure build logic.


0.8-dev L.circle with tiny radius renders wrong

When creating a circle with a very small radius of 0.01 (m), Leaflet 0.8-dev renders it incorrectly.  I tracked this down to the calculation of lngR in L.Circle._project an patched my version to use the old version of this calculation.  I have not had a chance to debug the new calculation.
Here is the line and my patch to the old code:
                        lat2 = map.unproject(p).lat;
		    //var lngR = latR / Math.cos(Math.PI / 180 * lat); //old way
		    lngR = Math.acos((Math.cos(latR * d) - Math.sin(lat * d) * Math.sin(lat2 * d)) /
		            (Math.cos(lat * d) * Math.cos(lat2 * d))) / d;

And here is what it renders like in 0.8-dev:

I am doing testing of hi-precision GPS devices and this is how I test for 'cm' accuracy, so use these tiny radius circles to test results.

Already fixed as part of #2345 in https://github.com/Leaflet/Leaflet/pull/2345/files#diff-e63d205690b47d6a456c0d77565b55c5R47

@IvanSanchez the issue was created after the pull request got merged, so probably not.

@johnwillyn can you by chance try with latest master to see if issue is still there? If yes, can you set up a minimal test case on http://playground-leaflet.rhcloud.com/ to demonstrate the issue? Thanks!

I've seen this at least in 1.0 beta1 but I never managed to make a minimal test case. I'll check it again the next days when I have the time.

Hi Guys,
I don't use Leaflet vector drawing in this manner any longer.  I replaced it with my own vector layer.  I will try to dig up some old code to create a test case.
John

On Oct 14, 2015, at 7:07 AM, Egon Steiner<EMAIL_ADDRESS>wrote:
I've seen this at least in 1.0 beta1 but I never managed to make a minimal test case. I'll check it again the next days when I have the time.
—
Reply to this email directly or view it on GitHub.

Ok I don't know why I had problems reproducing this fiddle shows it perfectly well on leaflet 1.0-beta3.
Reproduces on:

Safari 9.0
Firefox 41.0.1
Firefox 43.0a2 (2015-10-13)

On latest Chrome it seems to work.

@Eschon beta3 doesn't exist yet :-P

:sweat_smile: I mean beta2 of course

@Eschon thanks for looking into this!

Humm, at this stage I'm not even sure what do we mean by "renders wrong". I can see that the radius is smaller in 1.0beta than in 0.7.x, but nothing says it was "correct" in 0.7.x: if I move the circle to [0, 0] and set the path weight like it was in 0.7.x (5, while it's now 3 by default) both seems equal to me: http://playground-leaflet.rhcloud.com/len/1/edit?html,output
The image in the description of this ticket shows a distorted radius that looks like a line, but now I can only see a normal circle:

@Eschon can you be a bit more precise on what's wrong and what you are expecting instead?

@yohanboniface I assume it was rendering as shown in the screenshot at the top, stretched vertically.

@mourner but is it still the case? That's my question ;)

@yohanboniface have your tried my fiddle in Firefox or Safari?
There it should be clearly visible.
In Chrome it looks like your screenshot for me too.

I'm having a look at this. Apparently, the calculations for the lngR variable drop to zero when the circle radius is approx > 0.1. This makes the circle x-radius to be zero plus line width.

Ultimately a precision issue - the "new" calculations using acos(cos-sin*sin/(cos-cos)) run into the 32-bit float number precision limit much much faster than the "old" one.
#4133 can work around this by falling back to the older calculation, which is more precise but produces a worse shape in some scenarios (less accurate).


Error: The object does not have the property "alpha"

What needs to be documented?
flixel/tweens/misc/VarTween.hx (line 99)
flixel/tweens/misc/VarTween.hx (line 55)
flixel/tweens/FlxTween.hx (line 1263)
flixel/FlxGame.hx (line 750)
flixel/FlxGame.hx (line 682)
flixel/FlxGame.hx (line 556)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: The object does not have the property "alpha"
I tried to make an additional option in timebar settings.

Read the error

I did when it poped out

Idk how but I realized that it is an lua error and not source so I have to fix smth with my code

Yes it actually was the lua script

hi hmm i downloaded a mod and repair the bugs but i can't slove this error so im here if you can fix it ?


feat: port Algebra.BigOperators.Finprod

Some mathport warnings in here that I left in for the experts to review. Rest should be done!

We can fix the notation later. Thanks a lot for porting this file!
bors merge


Fix one-by-one flush lists items borders

Here is a pen with a problem.
Also this PR fixes issue with first/last item top/bottom border if list used with other content (closes #25678)

We're going to need to see every variant of the list group before we can tweak these all again :).

Haven't seen any more movement here, so closing this out as stale.


Add, resize and cut new geometrify images to optimum size

I've added all the images cut to the right size, trying to match naming convention.

Related to #8

I have added them now. Thanks again :)


Crypto Currency Price Prediction

ML-Crate Repository (Proposing new issue)
:red_circle: Project Title :Crypto Currency  Price Prediction
:red_circle: Aim :Buying and selling result in a change in the price of any cryptocurrency, but buying and selling trends depend on many factors. Using machine learning for cryptocurrency price prediction can only work in situations where prices change due to historical prices that people see before buying and selling their cryptocurrency. So we need to find the price relation here.
:red_circle: Dataset :https://www.kaggle.com/sudalairajkumar/cryptocurrencypricehistory
:red_circle: Approach : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.
Hello, ML-Crate contributors, this issue is only for the contribution purposes and allocated only to the participants of SWOC 2.0 Open Source Program.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.
A Demo Project has been created to guide you about the whole structure of presenting the Project in this repository. Here's the link of the Demo Project - https://github.com/abhisheks008/ML-Crate/tree/main/Project-Demo-Folder

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'SWOC' contributors of 'ML-Crate' project.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Participant ID :
Approach for this Project :
Are you a participant of SWOC 2.0?

[ ] YES
[ ]  No

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Full name: Tandrima Singha
GitHub Profile Link: https://github.com/tandrimasingha
Participant ID: 1044
Approach for this Project: EDA, using different ML algorithms to find the price relation here.
Are you a participant in SWOC 2.0?
YES

Hello @neelshah2409 Please assign this to me

Hello @neelshah2409 Please assign this to me

Issue assigned, Go ahead 🎊


Unsupported version

Can somebody please advise me on how to fix this? Thank you in advance :)

I tried this, but it doesn't work.
net stop termservice
Replace rdpwrap.ini in C:\Program Files\RDP Wrapper
net start termservice
Reboot your PC
rdpwrap_10.0.18362.267_x64.zip

I used this http://rdpwrapper.myftp.biz/RDP_Wrapper_mod.zip.
Simply put the existing RDP wrapper files that were in program files in an old folder and pasted the new ones from the mod.

The latest 20H2 updates break RDPWrap, the auto-update tool updated the .ini and .dll and after rebooting all is working again.
https://github.com/asmtron/rdpwrap/blob/master/binary-download.md

Duplicate of https://github.com/stascorp/rdpwrap/issues/1083


feat: add in support for Note

This supersedes #99 since everything was refactored. This adds in
support for highlighting of NOTE since currently it's not supported.

There's no entry for :help hl-Note. This does not seem to be a default highlight.
Besides, @text.note already links to Todo by default, but you linked it to Note, which was defined with the same spec as Todo, so I think it is kind of pointless.
Please correct me if I am missing something

I'll be very honest, I'm not super well-versed in highlight groups at all. Maybe I'll explain what I'm trying to accomplish first.
Currently when I'm using NOTE in my code just like TODO I don't see any highlight:

When I look at the highlight under TODO I see:

When I do the same for NOTE I see that it links to @text with no highlight:

After the changes I made here you see:

This is ideally what I'd want to see. When I inspect NOTE now I see:

Now @text.note.comment links to Note just like @text.todo.comment is linked to Todo. So that was my thought process. Do you have an alternative suggestion or way to ensure NOTE here is highlighted as expected?

adding @text.note was sufficient. I was wrong saying that it defaulted to Todo

Does this look good to you?

Does this look good to you?

Ah yes, that looks perfect!


[turborepo] dockerfile with Next.js looking for yarn instead of NPM

What version of Turborepo are you using?
1.10.8
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Describe the Bug
I have spent some time trying to move a nextjs project to a monorepo. My main problem lays with my Dockerfile.
I have looked into the example provided by the documentation and this created a basic example of a monorepo to reproduce the issue.
For an unknown reason, the next build is looking for a yarn.lock file even I use NPM and have a package-lock.json.
This is the error message I'm getting 👇
#19 0.473 web:build: > next build
#19 0.473 web:build:
#19 0.899 web:build: Attention: Next.js now collects completely anonymous telemetry regarding usage.
#19 0.899 web:build: This information is used to shape Next.js' roadmap and prioritize features.
#19 0.899 web:build: You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
#19 0.900 web:build: https://nextjs.org/telemetry
#19 0.900 web:build:
#19 0.952 web:build: - info Creating an optimized production build...
#19 6.635 web:build: - info Compiled successfully
#19 6.636 web:build: - info Linting and checking validity of types...
#19 6.700 web:build: It looks like you're trying to use TypeScript but do not have the required package(s) installed.
#19 6.700 web:build: Installing dependencies
#19 6.700 web:build:
#19 6.700 web:build: If you are not trying to use TypeScript, please remove the tsconfig.json file from your package root (and any TypeScript files in your pages directory).
#19 6.700 web:build:
#19 6.849 web:build: - error ESLint must be installed in order to run during builds: yarn add --dev eslint
#19 11.87 web:build:
#19 11.87 web:build: Installing devDependencies (yarn):
#19 11.87 web:build: - @types/react
#19 11.87 web:build:
#19 11.97 web:build: yarn add v1.22.17
#19 11.99 web:build: info No lockfile found.
#19 12.00 web:build: warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

I have tried:

Different versions of turbo, same issue
In my github repo example, it uses the latest version of Next, but my other project uses 12.13.1

Expected Behavior
I should be able to use npm and have all my packages installed properly.
To Reproduce
At the root of my Apple M1, I have been running docker build -t webapp-test . --no-cache --progress=plain to test the build of my docker container.
Reproduction Repo
https://github.com/thedaviddias/turbo-docker-npm-issue

After so many trials and going through many issues, it seems, for a reason I still don't understand I have to add npx in front of RUN npx turbo run build --filter=web...
Which seems odd as turbo is installed globally with npm install -g turbo.
I then also faced another issue identical to #2683, which I was able to solve adding:
experimental: {
  outputFileTracingRoot: path.join(__dirname, "../../"),
},

If using Next.js in a version prior to 13.x.x, '/app/apps/web/server.js is not found.

would you mind sharing your dockerfile? It still can't find the server.js even after adding the snippet to next.config

I am going to close this issue as I solved my problem but if anyone has an explanation on why I had to add npx, I'm curious.

I just went through the same thing for three hours before discovering this... would like to understand the nuance as well


Can't disambiguate between similar-enough imported enum constants

A pathological-but-believable scenario might be:
http_api.thrift
enum StatusCode {
  NO_ERROR = 1,
  OK = 2,
  // etc
}

other_api.thrift
enum StatusCode {
  NO_ERROR = 1,
  SUCCESS = 2,
  // etc
}

client.thrift
struct Response {
  1: required http_api.StatusCode status = StatusCode.NO_ERROR;
}

There is certainly enough context in the IDL to know that the correct StatusCode is http_api.StatusCode, but presently Constant validation doesn't have enough info completely resolve the identifier StatusCode.NO_ERROR.  Current behavior has the type resolved non-deterministically - that is, the first matching type to be linked is chosen - and soon we will force a compilation error suggesting that the identifier be fully-qualified.
Apache Thrift gets this right, incidentally.

Ideas:

Embed Named inside of UserTypes
Introduce a new ThriftType to represent imported types (but keep it internal to thrifty-schema)
Enhance Constant.validate to accept a Named for the type being validated, if present

I like the last idea best for now, but haven't thought through the ramifications.  Comments welcome, for anyone who cares to join in the thinking.

I like the idea of embedding Named inside of UserType. This is similar to Apache Thrift's approach where every t_type has an associated t_program which corresponds to its original thrift document.


Difference between the portal schemas

Thanks for providing the portal schemas.  Can you please explain when and why I'd use them?
There are obvious difference between a Partner user and a Customer user, but how does that relate to these schemas.  Thanks.

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

ID: 889d17dd-8c2c-c2e8-2a33-027bc7786b2b
Version Independent ID: 9e5a5f9a-dca6-5fdd-547d-e9472ce6f62b
Content: Migrate Dynamics 365 for Customer Engagement Portal configuration
Content Source: ce/portals/migrate-portal-configuration.md
Service: dynamics-365-customerservice
GitHub Login: @sbmjais
Microsoft Alias: shjais

Thank you for reaching out. For the questions:

Q: When?  A: During step # 6 of export in documentation
Q: Why?  A: During migration of a portal configuration.

More available in the note: The Configuration Migration tool uses schema... right before export section.

The actual question wasn't answered.
KittyDreadful commented on Feb 12, 2019 — with docs.microsoft.com
Can you please explain when and why I'd use them?
What are the differences between the Partner user and Customer user?  How

The actual question wasn't answered.
KittyDreadful commented on Feb 12, 2019 — with docs.microsoft.com
Can you please explain when and why I'd use them?
What are the differences between the Partner user and Customer user?  How


Task callbacks do not execute

I am building a workflow in which I want a few Tasks to write their outputs to a file. To do this, I am trying to give those Tasks a callback to a function that writes their output to a file. However, the callbacks never seem to be called. I've tried using both functions and lambdas as callbacks, and making the callback raise an exception so it would be really obvious that it did something. However, nothing seems to work.
Any ideas what could be the problem, or how I might be able to debug the flow better? Do callbacks for Tasks just not work yet?
Here's a simple example script which shows what I'm trying to do:
import os

os.environ["OPENAI_API_KEY"] = "sk-..."
os.environ["LANGCHAIN_API_KEY"] = "sk-proj-..."

from crewai import Agent, Task, Crew, Process
from crewai.tasks.task_output import TaskOutput
from langchain_openai import ChatOpenAI

LLM = ChatOpenAI(model="gpt-4-turbo-preview")
OUTPUT_FILE = './poem.txt'

def write_output_to_file(output: TaskOutput):
    print(f'Writing output to {OUTPUT_FILE}')
    with open(OUTPUT_FILE, "a") as f:
        f.write(output.raw_output)

agent = Agent(
  role='Poet',
  goal='Write beautiful emotional poetry.',
  backstory='You are a tortured soul who expresses themselves through poetry.',
  verbose=True,
  llm = LLM
)

task = Task(
  description='Write a poem about multi-agent systems',
  expected_output='A beautiful poen',
  callback=write_output_to_file,
  agent=agent
)

crew = Crew(
  agents=[agent],
  tasks=[task],
  verbose=2
)

result = crew.kickoff()

print("######################")
print("FINAL RESULT:")
print(result)
print("######################")

And here is the output. As you can see, it never prints that it's writing the file, and no file is generated:
(base) ... % python callback_test.py
 [DEBUG]: == Working Agent: Poet
 [INFO]: == Starting Task: Write a poem about multi-agent systems

> Entering new CrewAgentExecutor chain...
Thought: I now can give a great answer.

Final Answer:

In the realm where circuits intertwine,
Where code and logic gently mesh,
Lies a world, unseen, yet so divine,
Of multi-agent systems, fresh.

These entities, both small and bright,
Dance in harmony, in digital grace,
Each with a purpose, a beacon of light,
In the vast cyberspace, they find their place.

They converse in whispers, in data streams,
In languages of bits, of ones and zeroes,
Crafting solutions, fulfilling dreams,
Heroes in a world devoid of heroes.

Together, they solve, they collaborate,
In markets, in networks, in simulated lands,
Each agent's actions, intricate,
Guided by unseen, algorithmic hands.

From the depths of the earth to the stars above,
Their applications, boundless, soar,
In science, in art, they quietly prove,
Their worth, their might, and so much more.

So here's to the multi-agent systems, vast,
A testament to human ingenuity,
In the digital sea, their anchors cast,
Sailing towards future, towards infinity.

> Finished chain.
 [DEBUG]: == [Poet] Task output: In the realm where circuits intertwine,
Where code and logic gently mesh,
Lies a world, unseen, yet so divine,
Of multi-agent systems, fresh.

These entities, both small and bright,
Dance in harmony, in digital grace,
Each with a purpose, a beacon of light,
In the vast cyberspace, they find their place.

They converse in whispers, in data streams,
In languages of bits, of ones and zeroes,
Crafting solutions, fulfilling dreams,
Heroes in a world devoid of heroes.

Together, they solve, they collaborate,
In markets, in networks, in simulated lands,
Each agent's actions, intricate,
Guided by unseen, algorithmic hands.

From the depths of the earth to the stars above,
Their applications, boundless, soar,
In science, in art, they quietly prove,
Their worth, their might, and so much more.

So here's to the multi-agent systems, vast,
A testament to human ingenuity,
In the digital sea, their anchors cast,
Sailing towards future, towards infinity.

######################
FINAL RESULT:
In the realm where circuits intertwine,
Where code and logic gently mesh,
Lies a world, unseen, yet so divine,
Of multi-agent systems, fresh.

These entities, both small and bright,
Dance in harmony, in digital grace,
Each with a purpose, a beacon of light,
In the vast cyberspace, they find their place.

They converse in whispers, in data streams,
In languages of bits, of ones and zeroes,
Crafting solutions, fulfilling dreams,
Heroes in a world devoid of heroes.

Together, they solve, they collaborate,
In markets, in networks, in simulated lands,
Each agent's actions, intricate,
Guided by unseen, algorithmic hands.

From the depths of the earth to the stars above,
Their applications, boundless, soar,
In science, in art, they quietly prove,
Their worth, their might, and so much more.

So here's to the multi-agent systems, vast,
A testament to human ingenuity,
In the digital sea, their anchors cast,
Sailing towards future, towards infinity.
######################

We found an issue on the task callback, it's being fixed and will be available in the next version :D

Awesome, thank you so much!!!!

Thank you for using crew, I super appreciate <#

I have same problem. Any idea when new version will be avail?

I have also.

Been debugging for the last hour if something is wrong with my code since I recently updated the crewAI package. Seems like the last release where task callbacks were working is 0.22.4.

Hey folks, good catch, we actually fixed this and will cut a new version
with the fix tomorrow
João Moura
@joaomdmoura http://twitter.com/joaomdmoura
Em seg., 29 de abr. de 2024 às 13:31, Amr Hany Saleh <
@.***> escreveu:

Been debugging for the last hour if something is wrong with my code since
I recently updated the crewAI package. Seems like the last release where
task callbacks were working is 0.22.4.
—
Reply to this email directly, view it on GitHub
https://github.com/joaomdmoura/crewAI/issues/496#issuecomment-2083175981,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFC3NYIPFKCJ4M7NHHMP3TY7ZYWZAVCNFSM6AAAAABGUHJIEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTGE3TKOJYGE
.
You are receiving this because you commented.Message ID:
@.***>

Hey there, I can confirm that this works for crewAI 0.30.11 with this MWE:
from crewai import Agent, Task, Crew, Process
from crewai.tasks.task_output import TaskOutput
from model import llm

def callback_function(output: TaskOutput):
    # Do something after the task is completed
    # Example: Send an email to the manager
    with open("test.txt", "wt") as f:
        f.write(f"{output.raw_output}")

agent = Agent(
    role="comedian",
    backstory="You are the host of a famous late night show and known for your funny stories",
    goal='funny story',
    verbose=True,
    llm=llm
)

task = Task(
    description="tell a funny story about the following topic {topic}. Make it short.",
    callback=callback_function,
    expected_output="a funny story",
    agent=agent
)

crew = Crew(
  agents=[agent],
  tasks=[task],
  process=Process.sequential,
  verbose=2,
)

if __name__ == "__main__":
    crew.kickoff(inputs={"topic": "yellyfish"})


issue #7407 fix

Issue Reference
#7407
Translation in all locales

@shivendra-webkul
This is working fine, please find the screenshot Here


Some text mostly missing on some PDFs

Attach (recommended) or Link to PDF file here:
Orignal: https://www.diodes.com/assets/Datasheets/AP2114.pdf
Attached: ap2114.pdf
Configuration:

Web browser and its version: Firefox aurora 102.0b3 (64-bit)  (since at least 100)
Operating system and its version: Debian 11 x64
PDF.js version: Builtin
Is a browser extension: builtin

Steps to reproduce the problem:

View page 25
Compare to non pdf.js renderer

What is the expected behavior?
Poppler on the left. Notice all the text markings and values in the diagrams
What went wrong?
PDF.js on the right. Notice all the missing bits of text. Zooming in shows weird fragments 1px wide

According to git bisect this regressed in commit 040fcae5ab08d1116ccfdd0cee45c1ffefff6c0e, i.e. PR #14754, given:
040fcae5ab08d1116ccfdd0cee45c1ffefff6c0e is the first bad commit
commit 040fcae5ab08d1116ccfdd0cee45c1ffefff6c0e
Author: Calixte Denizet <>
Date:   Wed Apr 6 15:34:08 2022 +0200

    Improve performance with image masks (bug 857031)
    - it aims to partially fix performance issue reported: https://bugzilla.mozi
lla.org/show_bug.cgi?id=857031;
    - the idea is too avoid to use byte arrays but use ImageBitmap which are a w
ay faster to draw:
      * an ImageBitmap is Transferable which means that it can be built in the w
orker instead of in the main thread:
        - this is achieved in using an OffscreenCanvas when it's available, ther
e is a bug to enable them
          for pdf.js: https://bugzilla.mozilla.org/show_bug.cgi?id=1763330;
        - or in using createImageBitmap: in Firefox a task is sent to the main t
hread to build the bitmap so
          it's slightly slower than using an OffscreenCanvas.
      * it's transfered from the worker to the main thread by "reference";
      * the byte buffers used to create the image data have a very short lifetim
e and ergo the memory used is globally
        less than before.
    - Use the localImageCache for the mask;
    - Fix the pdf issue4436r.pdf: it was expected to have a binary stream for th
e image;
    - Move the singlePixel trick from operator_list to image: this way we can us
e this trick even if it isn't in a set
      as defined in operator_list.

 src/core/evaluator.js     |  61 ++++++++++++++++++++++++++++++++++--
 src/core/image.js         |  77 ++++++++++++++++++++++++++++++++++++++++++++--
 src/core/operator_list.js |  40 +++++-------------------
 src/display/api.js        |  25 +++++++++++++--
 src/display/canvas.js     |  58 +++++++++++++++++++++-------------
 src/shared/image_utils.js |  46 +++++++++++++++++++++++++++
 src/shared/util.js        |   8 +++++
 test/pdfs/issue4436r.pdf  | Bin 777 -> 777 bytes
 test/test.js              |   2 ++
 test/test_manifest.json   |   2 +-
 test/unit/api_spec.js     |   2 +-
 11 files changed, 256 insertions(+), 65 deletions(-)
 create mode 100644 src/shared/image_utils.js

I filed this on Bugzilla too to track the regression: https://bugzilla.mozilla.org/show_bug.cgi?id=1772795.


PHP 8 compatibility - Cannot use Match as identifier in RouteMatcher.php:39

Hi,
This package does not seem to work with PHP 8 since match is now a reserved keyword.

+1, php8

+1, php8

FYI, you can use my fork, which is both compatible with PHP 8 and Laravel 8: https://github.com/Timing-GmbH/laravel-apidoc-generator. The fix itself for compatibility with PHP 8 can be found at https://github.com/Timing-GmbH/laravel-apidoc-generator/commit/0979fbba8b6487e9c5f51d1a19a85b0db1938f29.

This package isn't maintained anymore, fyi. http://scribe.knuckles.wtf is its successor.


fix(TDI-40300): fix missing connector warning

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-40300
What is the new behavior?
Defined component as not startable.
Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results


Pillow's version

The Pillow's version 2.9.0 not is running in the manage.py but version 3.0.0 is running fine.

Thanks Lukas, could you give more details...
Which OS are you using? Linux or Mac? Which Python etc..
I just would like to understand more? do you remember the error you got by installing Pillow 2.9
Note: I've tried on Elementary OS 3, using python 2.7 and it worked so far

My OS is Slackware with python 2.7 and virtualenv


Update README and UserGuide

Fix broken links
Add "user reviews"

Pull Request Test Coverage Report for Build 161

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.008%

Totals

Change from base Build 160:
0.0%

Covered Lines:
1437

Relevant Lines:
2177

💛  - Coveralls


[DOC] Inconsistent behavior of snapshot list between v1 and v2 volume

What's the document you plan to update? Why? Please describe
Have a document to address the difference between v1 and v2 volume when dealing with snapshot deletion.
Additional context
https://github.com/longhorn/longhorn/issues/7622

Making the ticket more general such as [DOC] Expected inconsistent behavior of between v1 and v2 volume would be appreciated.
cc @yangchiu

Need to include the different behavior of instance-manager
https://github.com/longhorn/longhorn/issues/8456


"Error while adding route" when trying to setup Submariner

Hi,
Following is the setup with which I am trying submariner:

One 3-node cluster on AWS.
Two 3-node bare-metal clusters which are reachable on the internet.

So, the thing is:

I tried to setup submariner by considering one bare-metal cluster as broker. It worked. But, later on, I wanted to change the instance types of the worker nodes on AWS.
I changed the instance type of worker nodes via Rancher GUI and new workers were added.

After that, both the submariner route pods (on both the clusters) are showing this error:
E0507 12:02:19.649758       1 route.go:385] error while adding route {Ifindex: 2 Dst: <IP_ADDRESS>/16 Src: <nil> Gw: XX.XXX.XXX.XXX Flags: [] Table: 0}: file exists

So, I deleted the complete submariner installation on all clusters and retried it. But, I still see the same error.
Where are these thing stored? How do I make Submariner work again?
UPDATE:
I tried the whole sequence one more time by deleting helm releases and recreating everything. It still shows the same error.
I even recreated the clusters with different CIDR's and they all still show the same error message. Only the CIDR values get changed.
E0507 14:09:19.179172       1 route.go:385] error while adding route {Ifindex: 2 Dst: <IP_ADDRESS>/16 Src: <nil> Gw: <IP_ADDRESS> Flags: [] Table: 0}: file exists
E0507 14:09:19.179210       1 route.go:385] error while adding route {Ifindex: 2 Dst: <IP_ADDRESS>/16 Src: <nil> Gw: <IP_ADDRESS> Flags: [] Table: 0}: file exists

That message is actually ok, is Submariner functional? Next release will include logic so that it won't try to constantly add a new route.

Nope, it is not. I tried creating an nginx pod in one cluster and pinged the pod IP from another cluster. It did not work.

Did you disable strict source/destination checking on the AWS nodes?

Yes, I did.

Just for the info, here are the details of three clusters.

Bare-metal cluster (acting as broker) created via RKE CLI:

domain: cluster.local
cluster CIDR: <IP_ADDRESS>/16
service CIDR: <IP_ADDRESS>/16

Bare-metal cluster created from Rancher GUI:

domain: xyz.cluster.local
cluster CIDR: <IP_ADDRESS>/16
service CIDR: <IP_ADDRESS>/16

AWS cluster created from Rancher GUI:

domain: aws.cluster.local
cluster CIDR: <IP_ADDRESS>/16
service CIDR: <IP_ADDRESS>/16

Networking plugin used on all clusters: Flannel.

OK. I have before had to reboot my nodes during an HA failover that was unsuccessful, this is almost what this feels like here; is it possible for you to reboot your worker nodes? I know that's a bit of a big hammer for the situation, but should help. There is an issue with updating the iptables/ipsec rules that still isn't fully debugged at this point.

Well, I already did a reboot to all the worker nodes of a non-broker bare-metal cluster and it did not work at that time. But, let me try it one more time.

A reboot to the worker nodes is done as well. It still does not work.

on the elected gateway nodes, can you perform an ip xfrm state to see if you have established IPsec tunnels?

It returns nothing:
ubuntu@gateway:~$ sudo ip xfrm state
ubuntu@gateway:~$

This is indicative of the ipsec tunnels not being established properly; are you able to restart the submariner gateway pod and take a look at the logs to see if the messages from StrongSwan related to establishing the tunnel?

Okay. So, I restarted the gateway pods on both cluster and the logs mentioned messages from StrongSwan with errors:
00[DMN] Starting IKE charon daemon (strongSwan 5.5.1, Linux 4.15.0-47-generic, x86_64)
00[KNL] unable to create IPv4 routing table rule
00[KNL] unable to create IPv6 routing table rule
00[CFG] loading ca certificates from '/usr/local/etc/ipsec.d/cacerts'
00[LIB] opening directory '/usr/local/etc/ipsec.d/cacerts' failed: No such file or directory
00[CFG]   reading directory failed
00[CFG] loading aa certificates from '/usr/local/etc/ipsec.d/aacerts'
00[LIB] opening directory '/usr/local/etc/ipsec.d/aacerts' failed: No such file or directory
00[CFG]   reading directory failed
00[CFG] loading ocsp signer certificates from '/usr/local/etc/ipsec.d/ocspcerts'
00[LIB] opening directory '/usr/local/etc/ipsec.d/ocspcerts' failed: No such file or directory
00[CFG]   reading directory failed
00[CFG] loading attribute certificates from '/usr/local/etc/ipsec.d/acerts'
00[LIB] opening directory '/usr/local/etc/ipsec.d/acerts' failed: No such file or directory
00[CFG]   reading directory failed
00[CFG] loading crls from '/usr/local/etc/ipsec.d/crls'
00[LIB] opening directory '/usr/local/etc/ipsec.d/crls' failed: No such file or directory
00[CFG]   reading directory failed

Have you ever resolve the issue? I am facing the same one.


F3 Doesn't show coordinates when presence footsteps is installed

Forge 40.1.20
1.18.2-1.5.0-beta1
Tested with and without presence footsteps mod, this issue only occur with it installed

I am also having this issue. Took me a while to figure out which mod was causing it.

I'm having the same problem, I kind of solve it by installed the BetterFPS, it returns some of the output but, there's still some info missing.

Same, hitting f3 does nothing with this mod installed, except change the crosshairs.

Same for me. Pressing F3 doesn't show up Debug menu

This is caused by the same error reported in https://github.com/PaintNinja/Presence-Footsteps-Forge/issues/3

Thanks for your report. I've fixed this in 1.18.2-1.5.0-beta2.
https://www.curseforge.com/minecraft/mc-mods/presence-footsteps-forge


New Libvirt-php stub

Stub from source code of libvirt-php and documentation
Fix spelling
Include default values
Group by module and ordering the functions

When click on url Details from "Code Inspection"  error 500 shows up
I can't see the errors to fix them
Please, help me!!

@inode64 your branch still should be rebased on upstream/master and force pushed as currently it can't be merged.


[Synapse] ExecuteSparkStatementSync failing in nightly runs

Synapse nightly test runs are failing with:

Error message
Azure.RequestFailedException : Service request failed.
Status: 400 (Bad Request)
Content:
{"TraceId":"68e828e7-170b-473b-8671-03a626bc2366 | client-request-id : 432c5f66-abe4-4fd6-877e-f741b29df771","Message":"Session 2 of workspace workspacet17f9e2bc1a174666 on pool sparkt17f9e2bc1 is not running. It is either completed or not fully yet ready. Scheduler state : Ended. Plugin state : Ended. Livy state : killed."}
Headers:
Cache-Control: no-store, no-cache
Pragma: no-cache
Transfer-Encoding: chunked
Server: Kestrel,Microsoft-HTTPAPI/2.0
Strict-Transport-Security: REDACTED
x-ms-activity-id: REDACTED
x-ms-client-request-id: 432c5f66-abe4-4fd6-877e-f741b29df771,432c5f66-abe4-4fd6-877e-f741b29df771
x-ms-request-id: 57ad47ec-0434-4037-8687-570055055896
Date: Tue, 01 Nov 2022 19:48:56 GMT
Content-Type: application/json
Expires: -1
Stack trace
at Azure.Analytics.Synapse.Spark.SparkSessionRestClient.CreateSparkStatement(Int32 sessionId, SparkStatementOptions sparkStatementOptions, CancellationToken cancellationToken) in /Users/runner/work/1/s/sdk/synapse/Azure.Analytics.Synapse.Spark/src/Generated/SparkSessionRestClient.cs:line 508
at Azure.Analytics.Synapse.Spark.SparkSessionClient.StartCreateSparkStatementInternal(Boolean async, Int32 sessionId, SparkStatementOptions sparkStatementOptions, CancellationToken cancellationToken) in /Users/runner/work/1/s/sdk/synapse/Azure.Analytics.Synapse.Spark/src/Customization/SparkSessionClient.cs:line 68
at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted[T](Task`1 task) in /Users/runner/work/1/s/sdk/core/Azure.Core/src/Shared/TaskExtensions.cs:line 33
at Azure.Analytics.Synapse.Spark.SparkSessionClient.StartCreateSparkStatement(Int32 sessionId, SparkStatementOptions sparkStatementOptions, CancellationToken cancellationToken) in /Users/runner/work/1/s/sdk/synapse/Azure.Analytics.Synapse.Spark/src/Customization/SparkSessionClient.cs:line 53
at Azure.Analytics.Synapse.Spark.Samples.Sample2_ExecuteSparkStatement.ExecuteSparkStatementSync() in /Users/runner/work/1/s/sdk/synapse/Azure.Analytics.Synapse.Spark/tests/samples/Sample2_ExecuteSparkStatement.cs:line 67

For more details check here:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1959064&view=results

@jsquire for notification.

Closing; Synapse is owned by the service team and has multiple tracking issues for test defects.  No need to track each test separately.


crash in 9iOS

This example with iOS 9 has crash

I also got crash using this layout file in iOS9.
It crashed in override func layoutAttributesForElements(in: rect).

As the current version is iOS 12, I won't make the effort to fix issues that occur on iOS 9 (due to limited time). However, if you manage to identify and fix the problem, I welcome any pull requests.


'/' get replaced with %252F in url while reloading $state in angular

I have url something like this
www.example.com/variable1/variable2
but when i apply
$state.reload(); or
$state.go($state.current,{},reload:true);
The forward slash get replaced with %252 and url becomes
www.example.com/variable1%252Fvariable2
why it is happening and what can be the solution for this?

duplicate of #1645 most likely

@Ajeetlakhani I face the same issue, Were you able to figure out the fix for this? BTW which version of ui-router are you using?


Update HDF5 to versions 0.14, 0.15

Updates NDTensors code and Project.toml to be
compatible with HDF5.jl versions 0.14.x and 0.15.x

Update to be compatible with HDF5.jl v0.14
Allow HDF5.jl v0.15

Codecov Report

Merging #60 (b3cfebe) into master (4a6ab7d) will decrease coverage by 0.96%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
- Coverage   34.19%   33.22%   -0.97%
==========================================
  Files          23       23
  Lines        2372     2712     +340
==========================================
+ Hits          811      901      +90
- Misses       1561     1811     +250

Impacted Files
Coverage Δ

src/blocksparse/blocksparse.jl
13.18% <0.00%> (+0.36%)
:arrow_up:

src/dense.jl
42.82% <0.00%> (-2.59%)
:arrow_down:

src/NDTensors.jl
33.33% <0.00%> (-9.53%)
:arrow_down:

src/blocksparse/linearalgebra.jl
42.77% <0.00%> (-4.46%)
:arrow_down:

src/blocksparse/blockoffsets.jl
39.75% <0.00%> (-2.14%)
:arrow_down:

src/tensor.jl
50.48% <0.00%> (-1.13%)
:arrow_down:

src/blocksparse/diagblocksparse.jl
10.67% <0.00%> (-1.13%)
:arrow_down:

src/blocksparse/blocksparsetensor.jl
46.60% <0.00%> (-0.78%)
:arrow_down:

src/svd.jl
0.00% <0.00%> (ø)

... and 14 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #60 (b3cfebe) into master (4a6ab7d) will decrease coverage by 0.96%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
- Coverage   34.19%   33.22%   -0.97%
==========================================
  Files          23       23
  Lines        2372     2712     +340
==========================================
+ Hits          811      901      +90
- Misses       1561     1811     +250

Impacted Files
Coverage Δ

src/blocksparse/blocksparse.jl
13.18% <0.00%> (+0.36%)
:arrow_up:

src/dense.jl
42.82% <0.00%> (-2.59%)
:arrow_down:

src/NDTensors.jl
33.33% <0.00%> (-9.53%)
:arrow_down:

src/blocksparse/linearalgebra.jl
42.77% <0.00%> (-4.46%)
:arrow_down:

src/blocksparse/blockoffsets.jl
39.75% <0.00%> (-2.14%)
:arrow_down:

src/tensor.jl
50.48% <0.00%> (-1.13%)
:arrow_down:

src/blocksparse/diagblocksparse.jl
10.67% <0.00%> (-1.13%)
:arrow_down:

src/blocksparse/blocksparsetensor.jl
46.60% <0.00%> (-0.78%)
:arrow_down:

src/svd.jl
0.00% <0.00%> (ø)

... and 14 more

Continue to review full report at Codecov.

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


Add better conversations javadoc

closes #24
@h1alexbel take a look, please
this comment is clear enough, wdyt?

PR-Codex overview
This PR adds documentation to the TgBot class about the use of the conversations field.
Detailed summary

Added documentation explaining that conversations is a bean map with keys as bean ids and values as the Conversation bean implementation.
Explained that all beans implementing the Conversation interface have a bean id equal to the text command it handles.
Mentioned that Spring automatically injects these fields to avoid large if/else or switch/case constructs.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@l3r8yJ lgtm

@rultor merge

@rultor merge

@l3r8yj OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@l3r8yj Done! FYI, the full log is here (took me 1min)


Merging.


selection of pu lock status should work with single features

See: https://vizzuality.atlassian.net/browse/MARXAN-572

@kgajowy this is as far as I got yesterday and I will be out until back 😬 today - could you have a look and see if you think we should test anything else/differently?
I tried to make the tests kind of flexible to accommodate different kinds of setups (which I had the unfortunate idea of calling case in the code, with obvious risk of clashing with holy reserved words 🤷🏼) but that was before I realised that the bug I thought was the bug, in fact wasn't the only nor first one in the lifecycle of these requests, so we still can't easily test for payloads like the one that the frontend was sending, but we may want to trust in class-validator.
Something that could be improved is the OpenAPI spec output, by bringing in the correct payload schema for byGeoJson.include and byGeoJson.exclude.
One thing I didn't have time to figure out is the behaviour in case of overlapping requests for a PU such as in the one with both an inclusion and exclusion request in the screenshot below. From a quick glance at the code I was expecting the last one to be calculated to "win" but I then had to fiddle with the expected test results to make the test work for this case. Nothing to worry about in this PR, and I may most likely just have misread things in a hurry, but let's cross check with Alicia that the behaviour we provide is correct.

Please have a look, feel free to improve/change and merge so that Miguel can be unblocked on this (@aagm can you deploy on marxan49 when merged, please?). I have tested this on marxan49 by wrapping Miguel's example payload in an array where required and I could see the PU selection was being correctly persisted, when loading back the vector tiles for this.

@kgajowy the singleFeature mock data doesn't include the lower red and lower green shapes.
The original implementation would work only with exactly two features in a feature collection, and that's what the tests were testing, hence my suggestion to add a way to test the singleFeature case as a way to catch possible regressions if we ever touch that query again and somehow end up without the array bit.
I'll leave all this up to you folks (I'll shortly be MIA)

@kgajowy the singleFeature mock data doesn't include the lower red and lower green shapes.

I mean this:


Handle import file errors

Codecov Report
Patch and project coverage have no change.

Comparison is base (12d8b5f) 43.20% compared to head (a2a997e) 43.20%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #256   +/-   ##
=======================================
  Coverage   43.20%   43.20%
=======================================
  Files          14       14
  Lines         935      935
=======================================
  Hits          404      404
  Misses        495      495
  Partials       36       36

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Show both NOVA and Nutri-Score in the various product lists

Show both NOVA and Nutri-Score in the various product lists, with the official logos instead of the rounded version we currently show for the Nutri-Score.
This will harmonize the display with the iPhone version that currently has the behaviour, and will be useful for people who care about food processing.

I think we should do that:
search results
scan history
products lists
facets (when you click on the value from a product page)

@teolemon nutri score should be added in product search results or my lists?

I have made a PR to refactor the way the nutriscore image is obtained.
It will be better for me if the PR is validated before this issue ;)
@teolemon your want to replace the small image (only the letter) by the big one?

@deniger @mustaqmustu I think we should do that:

search results
scan history
products lists
facets (when you click on the value from a product page)

Postponing this to a future release

This one is mostly fixed. Thanks @VaiTon :-)

This one is mostly fixed. Thanks @VaiTon :-)


"Aylsham" is not listed as an area for the census search.

Is Aylsham a census district, if so, needs to be added.  If Aylsham is just a place, then story #459 covers this.


Micro.EnvRef and Micro.Handle is subtype of Micro

Type

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update

Description
Micro.EnvRef and Micro.Handle is subtype of Micro
MicroableClass has been exported as an analogue of Effectable.Class

Related

Related Issue #
Closes #

/rebase

looks like flaky


fix(aws_lambda): fix web trigger names to be domains

🆙

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Pull linalg lib into a separate repository

I think we should separate our internal linalg lib into a different repository. We can then have

the master branch (stable API) pulled into shogun main as a submodule
a develop branch where we can do crazy experimental stuffs

IMO it separates the concerns of having to worry about maths related things and actual ML algorithm related things at the same time. The child repo can have

its own unit-testing suite
benchmarks and plots (most important), which would help the shogun devs to choose during implementation/improvement of shogun algorithms

Let me know your thoughts on that @sonney2k @karlnapf @lisitsyn @vigsterkr @besser82 @iglesias @yorkerlin @tklein23

So from my POV this is a good idea; I'm always open for splitting stuff and modularizing.  The only thing I would do differently:  Instead of having a sub-module in for this in Shogun, I'd transform the whole thing into a separate shared lib, so we can release it decoupled from Shogun and give improvements straight to the users.
Looking in the future, we're planning to pluginize Shogun…  So we could do with linalg, too and provide the corresponding different backends (Eigen3, ViennaCL, …) as plugins…
If we split out the linalg-thing and make it more versatile, I'd propose to give it a different name to avoid possible clashes with other projects…  My proposal for that would be sth. like "mathalicious" or some other crazy name.
During the split-out process we could also apply the new BSD-3 License to it, just to have that part done already.

@besser82 I really like this proposal. There are many static maths things that we can pull out from Shogun and put it there in a separate mathlib thing as well. Those things might be useful for other people as well. Plus it will make shogun lightweight - no need to compile those maths thing every time you compile shogun since they don't change.
I don't know what do you have in mind to make it a plugin though. Maybe shogun lib should be shipped with this mathlib as well.
+1 for using BSD-3 for this lib.

I agree in principle! This has many nice advantages.  In particular the fact that once the interface is fix, one can update/improve linalg without having to re-install Shogun.
However, I have some second thoughts as well.
One thing is that if we have a seperate lib, this one will depend on the Shogun core. In that way it will never be possible to use it as its own library. On the other hand, we to use it in Shogun as a hard requirement. This means that we have a two way dependency. So making it separate is merely a restructuring of the src directory ....
There is quite a bit of hassle involved in creating a build for both systems, with seperate cmake environments etc. On the other hand, the math library would be c++ only, so not many builds added.
I summary, I am pro, but advise some care when doing this. Also, if this transition is done, it should be done in a very short time window to avoid all sorts of legacy artefacts. @lambday @besser82 if you want to lead this, I would be happy to help.
But also curious what @vigsterkr says

@lambday Thank you very much! ^^
About the plugin-stuff:  I think you got me wrong with the plugin thing…  THe current linalg-thing won't be a plugin of Shogun…  It will be a lib interfaced by Shogun.  The plugin-stuff in this context is more like:  Try to generalize / abstract the operations performed using Eigen or ViennaCL (and possibly other backends that may be there like ATLAS / BLAS(?)) and put them into plugins interfaced by our separated linalg-thing.

@karlnapf What in Shogun core is so specific, we cannot split into the new lib?  I mean: There's always a way to break inter-circular dependencies…
I can do the CMake-part, work along on the code changes neccessary and guide the people involved with code-changes and all…

@besser82 ah I got your point. Maybe we should discuss in some more details about the design if we really decide to go forward for it.
If I didn't get this wrong, I think what @karlnapf means is that the linalg lib is supposed to provide API for SG-types. So that makes it dependent on Shogun core. Maybe there are ways to make it work with

more generic Vector, Matrix (with some assumption about the members of those types, i.e. data(), size(), etc etc), or
Put matrix/vector types in math lib, now Shogun core is a client of that math lib

@karlnapf please let me know if this is what you're concerned about.
Really want to hear @vigsterkr and @lisitsyn s' thoughts on this.

Yes the connection to the SGTypes is what I meant. I am just afraid that we start doing this and then get stuck somewhere in the middle. In my eyes, we should focus on actually integrating linalg first, and building the plugin framework first. Once both of those things are done, we can put it in a separate lib. Having said that, we can obviously already start drafting something. But I would be careful to open another big construction side at this point in time -- so many other things going on. Apart from that, I am all up for it.
Let's focus on integrating/finishing linalg first:

Make use of it in Shogun code
Put in operations that are desperately needed (cholesky, inverse)
Make sure the GPU integration works and is used in Shogun
Remove NATIVE backend ....
etc etc