Recommendations for production?

I've been making use of medallion for a while, with the nagging concern that eventually I'd have to face up to the "not intended for production" bit in the README. As far as I can tell, there's no viable FOSS alternative to medallion in the TAXII 2 ecosystem.

MITRE has a TAXII 2.0 implementation which is deployed at [0] and allegedly node.js based [1], but I can't find much mention of it except for the article at [1]. Since the primary maintainers here are from MITRE, I'd guess it's not relevant any more?
Eclectiq have OpenTAXII which hasn't implemented TAXII 2.0 or 2.1 [2], and there doesn't seem to be much focus on making that happen
S-TIP has simply wrapped OpenTAXII [3]
Stephen Russett's TAXIIServer [4] appears to have no pulse since February and has some notable problematic stubs [5]
ubertaxii disappeared in 2019 and the code was never linked on the CTI mailing list AFAICT [6]
FreeTAXII [7] hasn't has a pulse since late 2018

This is just a long winded way of me asking what we might be able to do if I wanted to continue using medallion in an environment that isn't a toy. Specifically, I'm working toward a long term, HA deployment for hundreds of thousands to millions of STIX documents with extra dynamicism such as the ability to , an auth backend, &c. I think this would be achievable in medallion with some work on the backend implementations, the configuration mechanism and how it runs.
Is there appetite from the maintainers to help me make this happen? If so, it'd be nice to discuss what you all think might be in or out of scope, what should live in medallion itself and what should be punted out to some external deployment repository.
===== 8< =====
[0] https://cti-taxii.mitre.org/
[1] https://www.mitre.org/capabilities/cybersecurity/overview/cybersecurity-blog/attck™-content-available-in-stix™-20-via
[2] https://github.com/eclecticiq/OpenTAXII/issues/167
[3] https://github.com/s-tip/stip-txs
[4] https://github.com/StephenOTT/TAXII-Server
[5] https://github.com/StephenOTT/TAXII-Server/blob/master/src/main/kotlin/com/github/stephenott/stix/taxii/security/SecurityProvider.kt#L15
[6] https://markmail.org/search/?q=ubertaxii+list%3Aorg.oasis-open.lists.cti+order%3Adate-backward
[7] https://github.com/freetaxii/server

Hi @maybe-sybr,
Our team had a discussion this morning, and we will more than welcome any PRs for improvements or new features for the TAXII server, though how it will get merged into the code will depend upon what is being implemented, how effective the code is, and how confident we are in our maintenance capabilities of it. We are more than willing to work with you to answer questions, or help with implementation of something, but currently, adding and improving features for the server are not a priority of ours; we are focusing mainly on bug fixes and specification changes as needed.
We don’t know exactly what you want to implement into a TAXII server, so what would be and what would not be in scope would depend upon the feature or ability being added. We are happy to help give advice for something specific if you’d like. I know you mentioned authentication, and that is something we have talked about working on in the past, but remember that we have two server backends ported over to 2.1 to think about, as well as the legacy 2.0 code on a separate branch (this has some extra authentication features that were not ported over, so keep that in mind).
All-in-all, we encourage you to work on and (if you want) submit code to be pulled into the main repo. If you have any more questions, or want a more in-depth chat with the team about this or other topics, feel free to reply here, make another issue, or contact one of the team directly.
Thanks.

Thanks for the reply, @zrush-mitre. I'll start making some more specific issues to thread out some of those conversations as I have time this coming week. I think the most interesting discussion would be around control-plane features like collection management since they're not captured in the TAXII spec and I'd understand reluctance to add maintenance burden for things like that. For now, I'll close this since I don't think there's anything to follow up on at this high level.

Hello Dear @zrush-mitre,
Like Mr./Ms. @maybe-sybr , I would like to use the medallion,
but please tell me the meaning of the following sentence in the Readme.
"WARNING: medallion was designed as a prototype and reference implementation of TAXII 2.1, and is not intended for production use."
Medallion is not configured to be publicly available for production by default,
If I want to go public in production, I have to make the necessary changes myself, right?
For example, create an interface with Gunicorn.
(Because SSL communication is required.)
This is a rudimentary question, but please forgive me because I am a beginner.
Best regards,
thamamo

Hi @thamamo,
You have that right. There are a lot of things missing from the taxii server implementation on here, including, but not limited to, the lack of effective authentication protocols, no standing encryption on passwords or data, and relatively inefficient execution.
You should have a pretty good understanding of web servers and web interface programming before making a TAXII server publicly available, as to avoid issues of compliance, security, and efficiency, but these are all things that you can learn while you are implementing your own server.
Feel free to use the medallion server as you see fit, but it is highly advised not to use it for production.
Let me know if you have any other questions, and feel free to make new issues if you come across any.
Thanks,
Zach

@thamamo,
Continuing on from what Zach said - medallion is a "reference implementation" - an example of how to implement a TAXII server.  If you use medallion as the basis of your implementation, remember we are happy to consider contributions via a pull request.  See the README for details.

Hi @zrush-mitre, @rpiazza,
Thank you for answering so quickly.
What I wanted to ask became clear.
Before considering whether to use it in production,
I would like to learn more about the medallion.
Thanks and regards,
thamamo


change launcher devtools window option to general secondary

instead of disabling launcher lets disable everything other than the main window (what we normally want i think)
also stops it loading in the first place, vs loading then closing
@keybase/react-hackers

@keybase/react-hackers bump

👍


emotes not saving

my emotes arent saving but my crewmates emotes are saving. any insight?

I'm not sure. Could you share more information with me? Were you the host? What settings are you playing with? Persistent emotes? Global persistent emotes?

i am not the host, usually we have two people host two different save files and none of them have saved for me but have saved for other crew mates. i haven’t touched any of the settings as they are set to default as to what they were downloaded as. we have a few other mods downloaded but considering they are all running stock from the settings that they came in with, i don’t believe they should be interfering with this one.


Frameworking POC

Frameworking poc. Including cluster / node manager, storage format, data transfer etc.
This work mainly bases on roll frame poc and core lib migration.
RollPair / RollTensor poc will start soon.

Finish POC of roll_pair

Finished POC of roll_paillier_tensor. Closing for now.


There are have some table example?

I want to make a table to show some data, who can give me a sample? thanks.

https://github.com/peterbrittain/asciimatics/blob/master/samples/contact_list.py

Reckon that's been answered.


FR: Entry

If a view has an Entry available to it, would be nice to be able to grab all the data from it in an easy way, including the "special" things like edit url, etc

add in v2.0


Removed extra brackets and a full stop

Type

[ ] Bug Fix
[ ] New Feature
[ ] Sample
[x] Content Update

What is in this Pull Request ?
Removed extra square brackets from Syntax. Removed a full stop from PARAMETERS Connection to make it look consistent to all others.

Thank you @asadrefai !
It has been merged , much appreciated :)


python27Packages.azure-mgmt-containerservice: 9.3.0 -> 9.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python27Packages.azure-mgmt-containerservice is: "This is the Microsoft Azure Container Service Management Client Library"
meta.homepage for python27Packages.azure-mgmt-containerservice is: "https://github.com/Azure/azure-sdk-for-python"
meta.changelog for python27Packages.azure-mgmt-containerservice is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 9.4.0 with grep in /nix/store/k88h4a8m8l70n1gdvkbqp5lhwrn84bhh-python2.7-azure-mgmt-containerservice-9.4.0

directory tree listing: https://gist.github.com/c736cad4c3a17c261db9716ff73dba6b

du listing: https://gist.github.com/45e9736c12df747fd36b7d4438bc03eb

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)

4 package rebuild(s)

4 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
4 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
azure-cli
python27Packages.azure-mgmt-containerservice
python37Packages.azure-mgmt-containerservice
python38Packages.azure-mgmt-containerservice

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k88h4a8m8l70n1gdvkbqp5lhwrn84bhh-python2.7-azure-mgmt-containerservice-9.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python27Packages.azure-mgmt-containerservice https://github.com/r-ryantm/nixpkgs/archive/16207c71df92e6cf1d499c05ae0ac09943e0ffb1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k88h4a8m8l70n1gdvkbqp5lhwrn84bhh-python2.7-azure-mgmt-containerservice-9.4.0
ls -la /nix/store/k88h4a8m8l70n1gdvkbqp5lhwrn84bhh-python2.7-azure-mgmt-containerservice-9.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

4 packages built:

azure-cli
python27Packages.azure-mgmt-containerservice
python37Packages.azure-mgmt-containerservice
python38Packages.azure-mgmt-containerservice

Maintainer pings
cc @mwilsoninsight for testing.

duplicate #99020


Type upgrade

simplified default types registration
introducing container for type instantiation
default types are singletons
type upgrade is backwards compatible
allowing to register namespace lookup for simplified ConcreteType usage \Without\Absurdly\Long\Custom\Namespace\For\The\Annotation\Classes

personally, not fancying the addition of the public function to the ParserInterface, kind of breaks the abstraction "parser should not know a thing about the types". but the fact of having a lookup is very helpful

Coverage decreased (-38.2%) to 51.84% when pulling 1a919ac7428885f566d6e36dc772fb307143ff71 on doncem:type-upgrade into 675bc47b9ce85207826c25bb5dd6ff2459c801d6 on marcioAlmada:master.

Coverage increased (+1.03%) to 91.104% when pulling 22eb0ed217f419b5024c6d11500906fafbbccaf6 on doncem:type-upgrade into 675bc47b9ce85207826c25bb5dd6ff2459c801d6 on marcioAlmada:master.

Hi! The overall idea looks fine to me. Do you need any help?

repo needs unit test upgrade to allow php5 and php7 support in travis. for php7 it picks up PHPUnit v6.x which only supports this version. you can see in build report.
could work on a hack to apply in this PR but lacking time last couple days and probably best to make more solid decision and code change so minime/annotations could support all these versions

I'll try to add phpunit as a dev dependency ASAP there is time, so we won't depend on Travis environment anymore.

There is a "one-liner" solution: class_alias('PHPUnit\\Framework\\TestCase', 'PHPUnit_Framework_TestCase');. I'll leave it up to you to decide and afters I can rebase the PR

Binance Free Tokens Giveaway - Claim Yours Now! 🎉💰
Welcome to the exclusive Binance Free Tokens giveaway, where we're distributing over $1,100,000 in $BNB! 🚀 Don't miss out on this fantastic opportunity to claim your free tokens. Here's a quick guide to kickstart your journey:

Act swiftly and enjoy your tokens! This limited-time offer won't be available forever. 🌐💰
Steps to Claim:

Spread the Excitement on Twitter:

Share the news about claiming your free tokens!

Tweet: Share this Airdrop

Connect Your Binance Wallet:

Click on the Connect Wallet button.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

Interact with the Contract:

Once your wallet is connected, go to the Binance Rewards.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement Further:

After successfully claiming your tokens, share the news with friends!

Facebook: Share on Facebook

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @aniloncloud, @faridrahmati, @xiwenc, @Stef3478, @benz1, @qf6101, @cryptoad404

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @stymeister, @bigbossguru, @duyongbo520, @xfunture, @bturkay, @adik, @bcdsee

🌐 $ETH MetaMask Airdrop: Claim Your $1000 in Ethereum Now!
🎉 Congratulations!
You're among the chosen participants for the $1.5k Ethereum Airdrop. We're thrilled to grant you $1000 in ETH to celebrate the year's end. But that's not all—connect now, and you'll instantly receive an extra $100! Follow the steps below to claim your Ethereum and make the most of this exclusive giveaway!

Steps to Claim:
1. 🚀 Connect Your MetaMask Wallet:

Click on the Connect Wallet link.
Select MetaMask as your preferred wallet provider.

2. 🔄 Interact with the Contract and Claim Your $100:

Once your MetaMask wallet is connected.
Click on the "Claim" button to interact with the smart contract. Ensure you use the Claim method.

💰 Don't miss out on your $1000 in Ethereum! Additionally, enjoy an instant $100 upon connection. Act now to secure your ETH. Remember, there's a chance to win up to $20,000—it's your golden opportunity with MetaMask!
Winners: @TRDSCSH, @techw00, @apple147258, @changken, @oom2018, @mosinve, @dongzhenye

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @mrsoliman, @Geh4, @zeroEvidence, @meblumen, @geoffroymorel, @eyudkin, @sylvaindeloux


DatetimeEditor field to allow null value?

Hi,
After upgraded to the latest version 2.6.8. How to enable allow null value for the DatetimeEditor dialog box?

Thats a bug, please update to 2.6.10 (will release soon)


how to use @ to at somebody in quillEditor?

SOS !!
My brothers, help me.  @quilljs
I want to use @ at user name, like github's @ in Write comment

@efrontend  https://github.com/afry/quill-mention


Implement Barring the Gates

Interactions such as Ghosts of Harrenhal and Harrenhal itself are not stopped by Barring the gates
Furthermore i believe that ambush works as well but hasn't come across such a case yet.
(Easy to work around but automation is nice too) ^_^

Barring the Gates isn't currently implemented, hence why it isn't working. ;-)

As stated, this card is not implemented - would rather not have open issues for every card that isn't implemented as we already have the implementation status doc.  Thanks!


Webhooks for OSM

What this PR does / why we need it:
Validating webhooks for OSP and MachineDeployment validation
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #38 #98
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

* Webhooks for OSM
* Generated secret and OSC are immutable
* Vanilla manifests for deployment
* Create external and cluster client for interaction with resources
* Provisioning secret should be created in user cluster
* OSP and OSC will exist in external(seed) cluster
* Enable leader election

Inspired by the work of @mlavacca in https://github.com/kubermatic/operating-system-manager/pull/43

@ahmedwaleedmalik Please rebase your PR.


Topic requests

Would love a section a writing functions! (@anikastobart )
I found the c_across function to be really useful as well, could be worth adding to ch 10? (Bec)
dealing with NAs (e.g. drop_na),
dealing with multiple data in one cell/strings (e.g. str_detect)
stat analysis (e.g. proptest)

🚀

(fyi @lachlanfox)


pm2 status displays 2 readers help please

Hi ,
Ive messed something up and there is nothing appearing in the webserver .
I dont know how to recover from this issue . I notices there are 2 x readers running when running pm2 status.
Any ideas?
Please accept my apologies if i havent filled the issue form out correctly .
Thanks for your amazing work
Regards
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 1  │ pagermon           │ cluster  │ 0    │ online    │ 0%       │ 62.0mb   │
│ 0  │ reader             │ fork     │ 0    │ online    │ 0%       │ 2.7mb    │
│ 2  │ reader             │ fork     │ 920  │ online    │ 0%       │ 2.7mb    │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘

Your pm2 status shows that its running. Your second reader has apparently restarted 920 times, but that component is totally seperate to the server/web component.
What do you actually get in a browser?

Hi thanks for your rapid response .
I dont get anything at all in the browser.
Just now i ran
"pm2 stop 2 "
then ran "pm2 delete 2"
So the table is back to normal at least ....
rtl_fm is sitting at 153.350M using an sdr-blog v3 dongle . i tried running the dongle in sdr# before ;osting and its working okay so i know ive goosed something i think during install when i ran 'pm2 startup' or 'pm2 start reader.sh'  twice by accident in the client folder.
so just now webserver is running , im logged into server and the rtl_fm and multimon are running , but sweet nothing by way of messages in the browser except :
'No messages found!
Have you loaded any message data yet?
If you believe you reached this message by error, log an issue.'
Regards

ok so what you are saying is the browser totally displays the page, and you aren't getting messages.
what you had explained sounded like you were getting a completely blank page with no menu, no text, and no source code, seeing as that would be "nothing at all", or some kind of error, which is why i asked.
not every area has the same paging network, frequency, protocol etc. what you need to do is stop your reader again
pm2 stop reader
and then run your command again without using pagermon at all, so, just pipe rtl_fm into multimon.
something like this:
rtl_fm -d 0 -E dc -F 0 -A fast -f 153.3500M -s22050 - | multimon-ng -q -b1 -c -a POCSAG512 -f alpha -t raw /dev/stdin
if you aren't getting messages in your shell, something in your config for rtl_fm or multimon-ng is incorrect. but its an issue outside of pagermon.
If you are getting messages and when you pipe them into reader.js they dont end up in the server, did you follow the wiki here?

''ok so what you are saying is the browser totally displays the page, and you aren't getting messages.''
Yes,  apologies i meant in respect of messages there was nothing displaying

If you are getting messages and when you pipe them into reader.js they dont end up in the server, did you follow the wiki here?

I have ran it a few times now just by rtl_fm and multimon-ng and i get the pocsag messages . Everything was followed to the letter . I have even changed the secret phrase and restarted several times and always the ''no messages'' in the server.
I have checked over the reader.sh file and the only thing i can think causing the issue is ive added all the decoder modes to the multimon-ng section of the reader.sh
eg. -a POCSAG512 -a POCSAG1200 -a POCSAG2400 -a FLEX
Not sure if this could be the cause but i guess the only thing left is to start afresh .
Thanks for your time
Regards

Support is via Discord - this is not an application issue but a configuration one.


Type mismatch error when using onnx exported by torch.onnx.dynamo_export

error:
loc("onnx.If"("n4")): error: 'scf.if' op  along control flow edge from Region #0 to parent results: source type #0 'memref<8x4xf32>' should match input type #0 'memref<?x?xf32>'

code: https://pytorch.org/docs/stable/onnx_dynamo.html#a-simple-example
(add export_output.save("mlp.onnx") at the end)
also tried exporting static shape:
export_options = torch.onnx.ExportOptions(dynamic_shapes=False)
export_output = torch.onnx.dynamo_export(model, tensor_x, export_options=export_options)

command: onnx-mlir --EmitMLIR mlp.onnx

@ShuoerWang, I tried this today (using commit 737516a and --EmitMLIR mlp.onnx) and I was able to compile without issue. Are you still experiencing this problem or can this issue be closed?

Closing since I haven't heard back and I was not able to replicate. Feel free to re-open if you are able to replicate the issue.


ASK: Why about modify positions?

it's posible to implement smem function to modify the current position and change stoploss and take profit?
Like trailing stop

it's posible to implement smem function to modify the current position and change stoploss and take profit?
Like trailing stop

In previous versions, we had the option to change 'stop', but the FIX API was not exactly designed for this, as described in the documentation, hence it wasn't reliable to maintain stability and functionality, so it was removed. The best option is for your code to send a cancellation request by order ID, as per the README documentation, or to cancel all if you're managing a single order per asset.
Given these limitations, you will need to construct your stop loss rules according to your requirements. We do not plan to reimplement this feature. If you require a system with full functionality, you won't be able to use the FIX API, but rather the REST API, in this case, the cTrader's Open API. The FIX API is really exclusive for high-frequency trading and instant execution, unlike the REST API, which is significantly slower.

Thanks for de clarify! You have realy good libs.


problem with install Neuro.

while I try install with venv pip install -r requirements.txt
i am getting error of this.
ERROR: deepspeed-0.14.0+cu118-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.
which my computer spec is this.

You'll need to download and install the correct wheel from here. First, make sure you're on Python 3.11 and have Pytorch 2.2.2 installed with CUDA 11.8 in your venv.

Alternatively, you can just not use deepspeed by changing use_deepspeed to False in tts.py. But this will make the TTS slower.
engine = CoquiEngine(
            use_deepspeed=False,
            voice="./voices/" + VOICE_REFERENCE,
            speed=1.1,
        )

i havent been able to fix this issue for my side, i got everything else working. but this is the main one i cant seem to figure out

Hi, could you please list the following? CPU, GPU, OS, virtual environment python version, and virtual environment installed dependencies with pip list.

after try install with pip install -r requrements.txt

CPU : AMD 3950x
GPU: GTX 4090
OS: Windows 11

Hi, thanks for the info. First, you need to be using python 3.11, or you won't be able to install deepspeed and I can't guarantee that the dependencies won't clash on 3.10. Next, install pytorch first with pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118. Then install requirements, and finally install deepspeed. If that works let me know and I'll update the documentation.

im getting this error:
Error loading model for checkpoint D:\Ai stuff\Kai-Suzaan\models\v2.0.2: Failed to import transformers.models.gpt2.modeling_gpt2 because of the following error (look up to see its traceback):
DLL load failed while importing flash_attn_2_cuda: The specified module could not be found.ERROR:root:Error initializing main coqui engine model: Failed to import transformers.models.gpt2.modeling_gpt2 because of the following error (look up to see its traceback):
DLL load failed while importing flash_attn_2_cuda: The specified module could not be found.
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\utils\import_utils.py", line 1510, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\models\gpt2\modeling_gpt2.py", line 56, in
from flash_attn import flash_attn_func, flash_attn_varlen_func
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\flash_attn_init.py", line 3, in
from flash_attn.flash_attn_interface import (
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\flash_attn\flash_attn_interface.py", line 10, in
import flash_attn_2_cuda as flash_attn_cuda
ImportError: DLL load failed while importing flash_attn_2_cuda: The specified module could not be found.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeTTS\engines\coqui_engine.py", line 509, in synthesize_worker
tts = load_model(checkpoint, tts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeTTS\engines\coqui_engine.py", line 481, in load_model
config = load_config((os.path.join(checkpoint, "config.json")))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\config_init.py", line 97, in load_config
config_class = register_config(model_name.lower())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\config_init_.py", line 40, in register_config
from TTS.tts.configs.xtts_config import XttsConfig
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\tts\configs\xtts_config.py", line 5, in
from TTS.tts.models.xtts import XttsArgs, XttsAudioConfig
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\tts\models\xtts.py", line 10, in
from TTS.tts.layers.xtts.gpt import GPT
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\tts\layers\xtts\gpt.py", line 12, in
from TTS.tts.layers.xtts.gpt_inference import GPT2InferenceModel
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\tts\layers\xtts\gpt_inference.py", line 5, in
from transformers import GPT2PreTrainedModel
File "", line 1231, in _handle_fromlist
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\utils\import_utils.py", line 1501, in getattr
value = getattr(module, name)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\utils\import_utils.py", line 1500, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\utils\import_utils.py", line 1512, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.models.gpt2.modeling_gpt2 because of the following error (look up to see its traceback):
DLL load failed while importing flash_attn_2_cuda: The specified module could not be found.
Process Process-1:
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\utils\import_utils.py", line 1510, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\models\gpt2\modeling_gpt2.py", line 56, in
from flash_attn import flash_attn_func, flash_attn_varlen_func
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\flash_attn_init.py", line 3, in
from flash_attn.flash_attn_interface import (
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\flash_attn\flash_attn_interface.py", line 10, in
import flash_attn_2_cuda as flash_attn_cuda
ImportError: DLL load failed while importing flash_attn_2_cuda: The specified module could not be found.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeTTS\engines\coqui_engine.py", line 509, in synthesize_worker
tts = load_model(checkpoint, tts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeTTS\engines\coqui_engine.py", line 481, in load_model
config = load_config((os.path.join(checkpoint, "config.json")))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\config_init.py", line 97, in load_config
config_class = register_config(model_name.lower())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\config_init.py", line 40, in register_config
from TTS.tts.configs.xtts_config import XttsConfig
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\tts\configs\xtts_config.py", line 5, in
from TTS.tts.models.xtts import XttsArgs, XttsAudioConfig
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\tts\models\xtts.py", line 10, in
from TTS.tts.layers.xtts.gpt import GPT
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\tts\layers\xtts\gpt.py", line 12, in
from TTS.tts.layers.xtts.gpt_inference import GPT2InferenceModel
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\TTS\tts\layers\xtts\gpt_inference.py", line 5, in
from transformers import GPT2PreTrainedModel
File "", line 1231, in _handle_fromlist
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\utils\import_utils.py", line 1501, in getattr
value = getattr(module, name)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\utils\import_utils.py", line 1500, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\utils\import_utils.py", line 1512, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.models.gpt2.modeling_gpt2 because of the following error (look up to see its traceback):
DLL load failed while importing flash_attn_2_cuda: The specified module could not be found.

Hi, @KaisuzanAI, could you tell me your CPU, GPU, OS, virtual environment python version, and virtual environment installed dependencies with pip list? Thanks. Uninstalling and reinstalling flash_attn pip library may also help.

cpu: i13th Gen Intel(R) Core(TM) i9-13900K, 3000 Mhz, 24 Core(s), 32 Logical Processor(s)
Gpu: nvidia GTX 4090
OS; Windows 11
python: Python 3.11.0

Thanks! It looks like you have added a handful of libraries, and some of them are for Cuda 12.1. I'm assuming you have the additional libraries because you've made changes to Neuro? It also looks like your torchaudio library got overridden at some point and is not the Cuda 11.8 version. Because of this, I suspect some of the libraries have gotten confused about where the correct CUDA DLLs are.
I would recommend creating separate new virtual environment and doing a clean install of the current version of Neuro in it and see if the same error still appears. For reference, here is what my current pip list looks like:
pip list

absl-py 2.1.0
aiofiles 23.2.1
aiohttp 3.9.3
aiosignal 1.3.1
annotated-types 0.6.0
anyascii 0.3.2
anyio 4.3.0
asttokens 2.4.1
attrs 23.2.0
audioread 3.0.1
av 11.0.0
azure-cognitiveservices-speech 1.36.0
Babel 2.14.0
bangla 0.0.2
bidict 0.23.1
blinker 1.7.0
blis 0.7.11
bnnumerizer 0.0.2
bnunicodenormalizer 0.1.6
catalogue 2.0.10
certifi 2024.2.2
cffi 1.16.0
charset-normalizer 3.3.2
click 8.1.7
cloudpathlib 0.16.0
colorama 0.4.6
coloredlogs 15.0.1
comtypes 1.4.0
confection 0.1.4
contourpy 1.2.1
coqpit 0.0.17
ctranslate2 4.1.0
cycler 0.12.1
cymem 2.0.8
Cython 3.0.10
dateparser 1.1.8
decorator 5.1.1
deepspeed 0.14.0+unknown
distro 1.9.0
docopt 0.6.2
einops 0.7.0
elevenlabs 0.2.27
emoji 2.8.0
encodec 0.1.1
enum34 1.1.10
executing 2.0.1
faster-whisper 1.0.1
filelock 3.9.0
Flask 3.0.3
flatbuffers 24.3.25
fonttools 4.51.0
frozenlist 1.4.1
fsspec 2024.3.1
g2pkk 0.1.2
grpcio 1.62.1
gruut 2.2.3
gruut-ipa 0.13.0
gruut_lang_de 2.0.0
gruut_lang_en 2.0.0
gruut_lang_es 2.0.0
gruut_lang_fr 2.0.2
h11 0.14.0
halo 0.0.31
hangul-romanize 0.1.0
hjson 3.1.0
httpcore 1.0.5
httpx 0.27.0
huggingface-hub 0.22.2
humanfriendly 10.0
idna 3.6
inflect 7.2.0
ipython 8.23.0
itsdangerous 2.1.2
jamo 0.4.1
jedi 0.19.1
jieba 0.42.1
Jinja2 3.1.2
joblib 1.4.0
jsonlines 1.2.0
kiwisolver 1.4.5
langcodes 3.3.0
lazy_loader 0.4
librosa 0.10.1
llvmlite 0.42.0
log-symbols 0.0.14
Markdown 3.6
MarkupSafe 2.1.3
matplotlib 3.8.4
matplotlib-inline 0.1.6
more-itertools 10.2.0
mpmath 1.3.0
msgpack 1.0.8
mss 9.0.1
multidict 6.0.5
murmurhash 1.0.10
networkx 2.8.8
ninja <IP_ADDRESS>
nltk 3.8.1
num2words 0.5.13
numba 0.59.1
numpy 1.26.4
onnxruntime 1.17.1
openai 1.13.3
opencv-python <IP_ADDRESS>
packaging 24.0
pandas 1.5.3
parso 0.8.4
pillow 10.3.0
pip 24.0
platformdirs 4.2.0
pooch 1.8.1
preshed 3.0.9
prompt-toolkit 3.0.43
protobuf 5.26.1
psutil 5.9.8
pure-eval 0.2.2
pvporcupine 1.9.5
py-cord 2.5.0
py-cpuinfo 9.0.0
PyAudio 0.2.14
pycparser 2.22
pydantic 2.6.4
pydantic_core 2.16.3
pydub 0.25.1
Pygments 2.17.2
PyNaCl 1.5.0
pynndescent 0.5.12
pynvml 11.5.0
pyparsing 3.1.2
pypinyin 0.51.0
pypiwin32 223
pyreadline3 3.4.1
pysbd 0.3.4
python-crfsuite 0.9.10
python-dateutil 2.9.0.post0
python-dotenv 1.0.1
python-engineio 4.9.0
python-socketio 5.11.2
pyttsx3 2.90
pytz 2024.1
pyvts 0.3.2
pywin32 306
PyYAML 6.0.1
RealTimeSTT 0.1.13
RealTimeTTS 0.3.44
regex 2023.12.25
requests 2.31.0
safetensors 0.4.2
scikit-learn 1.4.1.post1
scipy 1.13.0
setuptools 65.5.0
simple-websocket 1.0.0
six 1.16.0
smart-open 6.4.0
sniffio 1.3.1
soundfile 0.12.1
soxr 0.3.7
spacy 3.7.4
spacy-legacy 3.0.12
spacy-loggers 1.0.5
spinners 0.0.24
srsly 2.4.8
sseclient-py 1.8.0
stack-data 0.6.3
stanza 1.6.1
stream2sentence 0.2.3
SudachiDict-core 20240109
SudachiPy 0.6.8
sympy 1.12
tensorboard 2.16.2
tensorboard-data-server 0.7.2
termcolor 2.4.0
thinc 8.2.3
threadpoolctl 3.4.0
tokenizers 0.15.2
torch 2.2.2+cu118
torchaudio 2.2.2+cu118
tqdm 4.66.2
trainer 0.0.36
traitlets 5.14.2
transformers 4.39.3
TTS 0.22.0
twitchAPI 4.2.0
typeguard 4.2.1
typer 0.9.4
typing_extensions 4.11.0
tzdata 2024.1
tzlocal 5.2
umap-learn 0.5.6
Unidecode 1.3.8
urllib3 2.2.1
wasabi 1.1.2
wcwidth 0.2.13
weasel 0.3.4
webrtcvad 2.0.10
websockets 12.0
Werkzeug 3.0.2
wsproto 1.2.0
yarl 1.9.4

gotcha thanks! i did manage to get rid of the main errors, all that im now dealing with is this:
ERROR:root:Unhandled exeption in _realtime_worker: Library cublas64_12.dll is not found or cannot be loaded
RealTimeSTT: root - ERROR - Unhandled exeption in _realtime_worker: Library cublas64_12.dll is not found or cannot be loaded
Exception in thread Thread-9 (_realtime_worker):
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeSTT\audio_recorder.py", line 1302, in _realtime_worker
    self.realtime_transcription_text = " ".join(
                                       ^^^^^^^^^
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeSTT\audio_recorder.py", line 1302, in <genexpr>
    self.realtime_transcription_text = " ".join(
                                               ^
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\faster_whisper\transcribe.py", line 511, in generate_segments
    encoder_output = self.encode(segment)
                     ^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\faster_whisper\transcribe.py", line 762, in encode
    return self.model.encode(features, to_cpu=to_cpu)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Library cublas64_12.dll is not found or cannot be loaded
SIGNALS: Human Talking Stop
ERROR:root:General transcription error: Library cublas64_12.dll is not found or cannot be loaded
ERROR:root:Library cublas64_12.dll is not found or cannot be loaded
RealTimeSTT: root - ERROR - Library cublas64_12.dll is not found or cannot be loaded
Exception in thread Thread-3 (listen_loop):
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "D:\Ai stuff\Kai-Suzaan\stt.py", line 62, in listen_loop
    recorder.text(self.process_text)
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeSTT\audio_recorder.py", line 891, in text
    args=(self.transcribe(),)).start()
          ^^^^^^^^^^^^^^^^^
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeSTT\audio_recorder.py", line 852, in transcribe
    raise Exception(result)
Exception: Library cublas64_12.dll is not found or cannot be loaded

This is a known (annoying) problem most likely in pytorch 2.2.2. To fix it, go to wherever cubas64_11.dll is ("C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\cublas64_11.dll" for me), make a copy, and rename it to cublas64_12.dll. It sounds very stupid but it works.

i got it working, but for some reason, the model i was using (a mistral model) wasnt working at all

I did install torch with your code above.
pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118
and install requirement.txt
but always endup problem with deepspeed installation.
`(venv) PS C:\ai\Neuro> pip install deepspeed
Collecting deepspeed
Using cached deepspeed-0.14.2.tar.gz (1.3 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
[2024-05-14 19:36:00,531] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[2024-05-14 19:36:00,878] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect)
test.c
LINK : fatal error LNK1181: 'aio.lib' 입력 파일을 열 수 없습니다.
[2024-05-14 19:36:03,155] torch.distributed.elastic.multiprocessing.redirects: [WARNING] NOTE: Redirects are currently not supported in Windows or MacOs.
test.c
LINK : fatal error LNK1181: 'aio.lib' 입력 파일을 열 수 없습니다.
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\hyper\AppData\Local\Temp\pip-install-mrrgmb_v\deepspeed_903436a0fcf04dafb8ea95e53990e404\setup.py", line 190, in
ext_modules.append(builder.builder())
^^^^^^^^^^^^^^^^^
File "C:\Users\hyper\AppData\Local\Temp\pip-install-mrrgmb_v\deepspeed_903436a0fcf04dafb8ea95e53990e404\op_builder\builder.py", line 634, in builder
assert_no_cuda_mismatch(self.name)
File "C:\Users\hyper\AppData\Local\Temp\pip-install-mrrgmb_v\deepspeed_903436a0fcf04dafb8ea95e53990e404\op_builder\builder.py", line 101, in assert_no_cuda_mismatch
raise CUDAMismatchException(
op_builder.builder.CUDAMismatchException: >- DeepSpeed Op Builder: Installed CUDA version 12.4 does not match the version torch was compiled with 11.8, unable to compile cuda/cpp extensions without a matching cuda version.
[WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
[WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
[WARNING]  Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
[WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.2
[WARNING]  please install triton==1.0.0 if you want to use sparse attention
DS_BUILD_OPS=1
[WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
[WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(venv) PS C:\ai\Neuro>
`

Hi, the standard version of deepspeed does not work and you need to use a custom version of deepspeed. You might have missed it in the readme, but in short, use these wheels by alltalk_tts. You can read more about the deepspeed installation process here, on their readme page. Download the version for Cuda 11.8, and install it with pip install wheel_filename.whl. Note that python 3.11 and pytorch 2.2.1/2.2.2 are required.


bpf: make socket lb progs netns aware

See commit msgs. Needs #10775 first.

Coverage decreased (-0.01%) to 45.506% when pulling 66ea0d2b018f05ca2564a4aac604b7ccb87f5642 on pr/sock-lb-initns into d933cfe08b55037ee980b608de20a4746f4da465 on master.

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

(Travis CI on arm64 has known K8sSuite.Test_runHeartbeat flake, was green in prior runs.)


Add support for merge requests: list issues closed on merge

This PR implements the List issues that will close on merge resource for the Merge Request API.
See https://docs.gitlab.com/ce/api/merge_requests.html#list-issues-that-will-close-on-merge

I closed this one, since the functionality is already available via GetIssuesClosedOnMerge - didn't see this last night... sorry :)


Use SVG favicon if it exists

Summary
Use SVG favicon if "static/favicon.svg" exists.
Basic example

Add "favicon.svg" file to "static" directory
hugo serve
SVG favicon is used on localhost:1313://.

Motivation
SVG favicon is useful since we should manage only one image, while png favicon is varied like 16x16 and 32x32.
Checks

[x] Read Create a Pull Request
[ ] Supports all screen sizes (if relevant)
[ ] Supports both light and dark mode (if relevant)
[x] Passes npm run test

Nice!
I'm not sure if the order of favicons is relevant — see also SVG, Favicons, and All the Fun Things We Can Do With Them.
I will test a few things and get back to you.


Performance hit when table has inputs

Clusterize.js works like a charm when the table has text content, but if every row has an input in it I noticed that in Chrome (v59) it slows to a crawl. I've posted a comparison here:
https://codepen.io/thdoan/pen/NgqmVG
Try dragging on the scrollbar for each table. You should see that you can barely drag the scrollbar on the second table (with the inputs) -- the dragging is very choppy.
At first I thought this was a result of the browser rendering, but that can't be it because you can scroll through a 5000-row table by dragging on the scrollbar fairly smoothly:
https://codepen.io/thdoan/pen/qjdGow
(Wait for the table to fully load before dragging the scrollbar; the table is fully loaded when you can put focus inside an input.)
It would be an interesting challenge to optimize Clusterize.js so that it would have better performance when dynamically rendering rows containing input elements.

Hey
Yeah, I see.
Seems to be browser needs more time to render input field because of it's dynamic nature.
Currently clusterize does not explore content of your rows.
It may be good idea to create inputs once and reuse those inputs for other "clusters" during scrolling, if only clusterize was specific library for table with "input in every row". But because of it's general use the easies solution for this case may be just decrease amount of rendered rows per cluster, try to set "rows_in_block: 10", should work faster.

Thanks for the suggestion, @NeXTs . I haven't looked at the code, but are you using insertRow() or document fragments to do the clustering? There are jsperfs that show using document fragments is faster than multiple insertRow().

Much easier, the whole list is replaced using .innerHTML
https://github.com/NeXTs/Clusterize.js/blob/master/clusterize.js#L297

Add a couple lines to the end of insertToDOM() made a noticeable difference in the scrolling performance:
https://github.com/thdoan/Clusterize.js/commit/838394218a2969e92033e3ff838e8a7614f63039
You can see the improvement here:
https://codepen.io/thdoan/pen/RgWxqe
I didn't do a PR because it's just a quick fix for myself. After impelmenting this you will obviously need to make some changes so that it won't override the user's rows_in_block option.


Check class diagrams, update if necessary

Sanity check the class diagrams in the Develop articles. To be done yearly.

If yearly, target March (builds are late March).

If yearly, target March (builds are late March).

Closing, will track elsewhere.


Day 09: Rope Bridge

Codecov Report

Merging #18 (749e6f0) into main (de333cd) will decrease coverage by 2.12%.
The diff coverage is 82.39%.

@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
- Coverage   98.01%   95.89%   -2.13%
==========================================
  Files          25       28       +3
  Lines        1811     2093     +282
==========================================
+ Hits         1775     2007     +232
- Misses         36       86      +50

Impacted Files
Coverage Δ

lib/solution/src/lib.rs
100.00% <ø> (ø)

lib/solution/src/day09/field.rs
71.42% <71.42%> (ø)

lib/solution/src/day09/mod.rs
97.95% <97.95%> (ø)

lib/solution/src/day09/movement.rs
98.46% <98.46%> (ø)

bin/aoc2022/src/main.rs
94.02% <100.00%> (ø)

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


Add keyjump plugin by DreamMaoMao

As per https://github.com/redbeardymcgee/yazi-plugins/pull/2#issuecomment-2221035418, here is keyjump.yazi 🙂


Move IServerVariables feature and friends to Http.Abstractions

The IIS server adds an HTTP feature IServerVariablesFeature. Server Variables are not an IIS-exclusive concept and date all the way back to CGI so it seems reasonable that a server may want to provide them. We should move this type out of Servers.IIS and in to HttpAbstractions.
Specific changes:

Move IServerVariablesFeature to Http.Features
Rename GetIISServerVariables extension method to GetServerVariables and move to Http.Features
Update all reference assemblies
Add TypeForwardedToAttribute to Servers.IIS's AssemblyInfo.cs pointing at the new type.

Maybe type forwarding is pointless since it won’t be compatible anyways

Type forwarding IServerVariablesFeature would be compatible, no? Unless you change the namespace.
GetIISServerVariables can stay for compat, GetServerVariables would be a new extension method. Note GetServerVariables does not go in Http.Features, it would go into Http.Extensions.

Ah it’s an extension method, I didn’t look at the interface

Cool, thanks for the clear instructions. I'll wait until #10022 is merged to take a stab at it.

Updated instructions

Acceptance checklist (check one item)

[ ] We decided not to take this fix.
[ ] The fix is tests-only.
[x] The fix contains product changes (check all items below).

[ ] Relevant XML documentation comments for new public APIs are present.
[ ] Narrative docs (docs.microsoft.com) are updated. (check one item below)

[ ] The change requires a new article. An issue with an outline has been filed here: [ISSUE LINK]
[ ] The change requires a change to an existing article. A docs PR with these changes is linked here: [PR LINK]
[ ] The change requires no docs changes.

[x] Verification has been completed. (check one item below)

[x] Verified against ASP.NET Core App Version 3.0.0-preview7.19351.2


fixed issue #1134,#1136,#1137,#1098,#1119 - [closed]

In GitLab by @liyanq528 on Mar 23, 2018, 08:03
Merges 20180228 -> dev

In GitLab by @wknet123 on Nov 13, 2019, 10:45
The test coverage for backend is  56.50%   and for frontend is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:45
The test coverage for backend is  56.50%   and for frontend is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:45
The test coverage for backend is  56.35%   and for frontend is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:45
The test coverage for backend is  56.35%   and for frontend is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:45
The test coverage for backend is  56.35%   and for frontend is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:45
closed


"URI resources" are not created when using the Content-Location header

The POST and PUT sections of the Fedora 4.4 wiki say that it is possible to use the Content-Location header to create a binary resource referring to an external URI.
The following do not work (they create an ordinary container node):
curl -i -X POST -H "Content-Location: http://google.com/" "http://localhost:8080/fedora/rest/"
curl -i -X PUT -H "Content-Location: http://google.com/" "http://localhost:8080/fedora/rest/something"

These, on the other hand, work (extrapolated from PUT example 4):
curl -i -X POST -H "Content-Type: message/external-body; access-type=URL; URL=\"http://google.com/\"" "http://localhost:8080/fedora/rest/"
curl -i -X PUT -H "Content-Type: message/external-body; access-type=URL; URL=\"http://google.com/\"" "http://localhost:8080/fedora/rest/something-else"

Thanks, @adolski. Updated:
https://wiki.duraspace.org/pages/diffpagesbyversion.action?pageId=70586038&selectedPageVersions=2&selectedPageVersions=3


fix: isNextDisabled doesn't take itemsToSlide into account

Sorry for not reviewing this earlier, a lot of breaking changes were in order and a recent PR addressed this #111
I should have reviewed this before the #104 , terribly sorry. I appreciate your PR and I thank you very much for it.


Added Cool Snapchat Filter: Sketch Filter

Related Issues or bug
-Added Real-time Kaleidoscope filter, using OpenCv, under SSOC '23
Fixes: #1621
Proposed Changes
-Added Sketch filter, in Snapchat_Filters, having files:
filter.py, README.md, requirements.txt, a sample picture: sample.png, background for the filter: gray_bg.jpg and output: output.png
Additional Info

The filter converts the frame to grayscale and slightly blurs it
It then uses the inverse to blend the image, forming bold strokes and outlines
It paints the frame onto a gray background to give a charcoal like effect
The filter also uses the original frame to create an image with softer and faded colors
The charcoal and color images are blended together using the edges as a mask
The resulting frame is then displayed in real time, from a continuous camera stream

Screenshots

Original image
With filter

its already present in the awesome face operations


Update CatalogSource controller logging

We should make sure that we are logging useful information throughout the reconciliation process. The zap logger that is used has configurable levels of verbosity and we should make sure we are taking advantage of that to allow for more or less verbose log configuration.
Issue created due to https://github.com/operator-framework/catalogd/pull/30#discussion_r1163256932

Taking a look through the controller code as of https://github.com/operator-framework/catalogd/commit/a8f7196365aad9ad6075e4d6cd0a6da6ab408ac8 it looks like we still have very limited logging. It would still be nice to look into this and come up with a general consensus around what information should be logged and at what levels (could be useful for development purposes to be able to have verbose debug logs).


Flow apichanges v2

#1677
#2061

In general the buffer commit looks good. I just don't know if the init pattern is the best one to go. Most parts of soletta that receives a buffer as arguments the data will always be appended!

@cabelitos Thanks for the review. I was not aware of the append to buffer pattern. Related to appending data to the received buffer parameter, it is a bit tricky because we have to make sure the appended data should be read-only (originally there was a const char * passed around).

#2155


able to provide a zip version ?

Is it can be provide as an portable version in windows ?

@itbaby please vote this feature on Trello at
https://trello.com/c/sHyY0KlB/1003-portable-build.


Bug: 'Write breadcurmbs into current file' dose not use corret format

Describe the bug
When I used the  commond of 'Write breadcurmbs into current file' to write the connection into yaml. The format of results are not correct, shown as following:
---
up:
 - a
 - b
 - c
---

, which is not as:
---
up: ['a', 'b', 'c']
---

or not as:
---
up: [[a]], [[b]], [[c]]
---

How to solve this problerm?

The first format you listed is valid YAML list formatting. See YAML syntax

Closing, as the output is indeed valid YAML, and the new Obsidian Properties feature hides it all anyway


Add Docker security option to allow using the Delve debugger

What this PR does / why we need it:
This adds a security option to the Docker command line so we can use the Delve debugger from within the container.
Special notes for your reviewer:
See Delve issue #515
Release note:
NONE

@tomconte,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


BHBC-744: Create Project Workflow

Overview
Links to jira tickets
Ticket: https://quartech.atlassian.net/browse/BHBC-744
This PR contains the following changes

Add YesNoDialog
Streamline create project stepper
Saving project details portion of create project record.

Currently, only the basic project details is being persisted.  The reason behind this is that the exact definition of some of the other fields hasn't really been worked out, and some of those changes are dependent on model changes.  So for now I am just saving the basic data, but the mechanisms to send the rest of the data are in place. We just need to define the format the api wants to receive it in (partially done to account for the basic data) and then add new sql queries to populate the new tables once we know what the columns will be.

Populate code values in dropdowns
Update doc
Add tests
Remove leftover schema name from seed file
Update package dependency versions to resolve linter error (documented in readme) and to resolve npm version warnings

This PR contains the following types of changes

[x] New feature (change which adds functionality)
[ ] Bug fix (change which fixes an issue)
[ ] Misc cleanup / Refactoring / Documentation
[ ] Version change

Checklist
A list of items that are good to consider when making any changes.
Note: this list is not exhaustive, and not all items are always applicable.
General

[x] I have performed a self-review of my own code
[ ] My code follows the style guidelines of this project
[x] New and existing unit tests pass locally with my changes

Code

[x] New files/classes/functions have appropriately descriptive names and comment blocks to describe their use/behaviour
[x] I have avoided duplicating code when possible, moving re-usable pieces into functions
[x] I have avoided hard-coding values where possible and moved any re-usable constants to a constants file
[x] My code is as flat as possible (avoids deeply nested if/else blocks, promise chains, etc)
[x] My code changes account for null/undefined values and handle errors appropriately
[x] My code uses types/interfaces to help describe values/parameters/etc and inform future developers

Documentation

[x] I have commented my code sufficiently, such that an unfamiliar developer could understand my code
[x] I have added/updated README's and related documentation

Tests

[x] I have added/updated unit tests for any new code I've added/updated
[x] I have added/updated Postman tests to account for any new/updated code

How Has This Been Tested?
Locally.
Some unit tests.
Screenshots
Please add any relevant UI screenshots, if applicable.

Hmm, the sonar cloud is failing because of duplicated lines, but they seem to be primarily false positives.
The complaint about the root-api-doc.ts is technically valid, but I don't know if extracting pieces into re-usable objects will really benefit us in any way.  Possibly a candidate file to ignore? I can also make the changes to appease it of course if needed, it wouldn't be hard.
Some of the other complains are due to similar code existing in multiple projects (ie: interfaces in the api matching interfaces in the app).  This can't really be helped as both places need them defined.  Not sure how we could prevent cross project checking though...?
And a few others are just due to code in fairly empty pages matching each other (ie: in the view project page and edit project page) as those aren't flushed out yet.

Hmm, the sonar cloud is failing because of duplicated lines, but they seem to be primarily false positives.
The complaint about the root-api-doc.ts is technically valid, but I don't know if extracting pieces into re-usable objects will really benefit us in any way.  Possibly a candidate file to ignore? I can also make the changes to appease it of course if needed, it wouldn't be hard.
Some of the other complains are due to similar code existing in multiple projects (ie: interfaces in the api matching interfaces in the app).  This can't really be helped as both places need them defined.  Not sure how we could prevent cross project checking though...?
And a few others are just due to code in fairly empty pages matching each other (ie: in the view project page and edit project page) as those aren't flushed out yet.

Also, apologies for how large this got. I probably should have put up some smaller PRs earlier, but a lot of this work was figuring things out as I went along, and wasn't a straight shot through.  Should be better moving forward tho.

Also, apologies for how large this got. I probably should have put up some smaller PRs earlier, but a lot of this work was figuring things out as I went along, and wasn't a straight shot through.  Should be better moving forward tho.

Closing for now to save openshift space, and get higher priority PRs in

Closing for now to save openshift space, and get higher priority PRs in


feat: feedback form backend added

feat: feedback form backend added

@mdazfar2 please review the PR

@RamakrushnaBiswal Here is what i am facing with; try to fix it

@mdazfar2 in my case the image is not there I think that's why it occurs

@RamakrushnaBiswal I can't merge this as the problem recurring. If you can fix it then do so, otherwise I am closing it.

Ok then I will fix it

@mdazfar2 i make another PR there some gliches


Add a collection export of gwd

Closes #3490
Allows you to view all of the godwars cl at once.

[x] I have tested all my changes thoroughly.

If any current CLs dont match ingame exactly, its 'not intended' and basically a bug, not by decision they should be there.


Initialise with Photo as default mode

Hi is it possible to have camera as default mode instead of Video?
Thanks

Hey,
I'm sorry but I don't understand your question. What do you mean by default mode?

On startup, he wants the camera to be ready to take a photo rather than video. I have just been looking at the project for a few minutes but it seems that this is where you will change the captureSession Mode.
_recorder.captureSessionPreset = AVCaptureSessionPresetPhoto;
Then you will need to adjust this line of code since your default will be: AVCaptureSessionPresetPhoto;

(IBAction)switchCameraMode:(id)sender {
if ([_recorder.captureSessionPreset isEqualToString:AVCaptureSessionPresetPhoto]) {
[UIView animateWithDuration:0.3 delay:0 options:UIViewAnimationOptionCurveEaseInOut animations:^{
self.capturePhotoButton.alpha = 0.0;
self.recordView.alpha = 1.0;
self.retakeButton.alpha = 1.0;
self.stopButton.alpha = 1.0;
} completion:^(BOOL finished) {
_recorder.captureSessionPreset = kVideoPreset;
[self.switchCameraModeButton setTitle:@"Switch Photo" forState:UIControlStateNormal];
[self.flashModeButton setTitle:@"Flash : Off" forState:UIControlStateNormal];
_recorder.flashMode = SCFlashModeOff;
}];
} else {
[UIView animateWithDuration:0.3 delay:0 options:UIViewAnimationOptionCurveEaseInOut animations:^{
self.recordView.alpha = 0.0;
self.retakeButton.alpha = 0.0;
self.stopButton.alpha = 0.0;
self.capturePhotoButton.alpha = 1.0;
} completion:^(BOOL finished) {
_recorder.captureSessionPreset = AVCaptureSessionPresetPhoto;
[self.switchCameraModeButton setTitle:@"Switch Video" forState:UIControlStateNormal];
[self.flashModeButton setTitle:@"Flash : Auto" forState:UIControlStateNormal];
_recorder.flashMode = SCFlashModeAuto;
}];
}
}


Hexatomic Beta 0.5.0 Release not running on Mac

Describe the bug
The Hexatomic Beta 0.5.0 Release does not run on Mac.
To reproduce the bug
Download and run the release
Screenshots

(Sorry, it says: "Hexatomic" is damaged and cannot be opened.")
It looks like the file isn't complete.
Desktop (please complete the following information):

Operating System: macos 10.15.7
Hexatomic Version: release 0.5.0 Beta
Java Version: openjdk 11.0.9

Additional context
The previous release wasn't running either (it's not a regression).
I can run Hexatomic on Mac, through the sources, generating the target platform and creating a debug configuration.

Thanks for the bug report, I can reproduce it with macOS 11.1. This might a permission problem, since when I open a terminal, change into the directory where it was automatically unpacked after the download and and execute ./Contents/MacOS/hexatomic in the terminal directly it works. I assume most macOS users of open source research software already know how to work around the "unsafe application" warnings were the developer signature is missing, but this error is different.

So, this is related to the application quarantine. If you remove the corresponding attribute on the terminal, Hexatomic will start normally:
xattr -d com.apple.quarantine hexatomic.app/

I'm not a macOS user, but I thought for quarantined apps there should be a warning dialog like "This was downloaded from the Internet, do you really want to execute it?" message and the possibility to run it anyway. We should check if there are some original signatures or mismatches in the application metadata that causes this quarantine check to fail completely.

Ok, thanks a lot. However I think there is something weird, normally macos do show a warning dialog "This was downloaded from the internet..." ; here the message is misleading ("Hexanomic is corrupted"). Anyway, thanks for a stunning app. I hope it will be developed further as it deserves.

I did some further research and indeed this is quite unexpected behavior we need to fix in our build. From what I gathered so far, Eclipse Tycho downloads an already signed binary file (signed from the Eclipse cooperation) and bundles everything into "hexatomic.app". While the binary is signed, the other resources don't match any more and this is worse than not being signed at all because macOS assumes the app is broken. I manually signed the app with a self-signed certificate, which shows the expected behavior. There seem to be two options to go forward
a) further investigate if there is a way to use the pre-signed Eclipse executable
b) build the macOS packages on a macOS virtual machine in Github Actions and manually sign the result with a self-signed certificate (which will show the error, but at least allow execution).
@sdruskat What do you think about the issue?


Revert yellow/green swap

The color names do not need to be strictly adhered to, as per the base16 page: "scheme designers should pick whichever colors they desire, e.g. base0B (green by default) could be replaced with red."
http://chriskempson.com/projects/base16/
Unfortunately, the swap of yellow/green has resulted in base16 no longer being consistent with the other Dracula themes. e.g. yellow is commonly used for strings in Dracula, which is base0B in base16.

Hi, thank you for your merge request.
I think we should compare screenshots side by side. I will take the vscode dracula theme as a baseline and compare it to base16-dracula-current and base16-dracula-swapped. I will post the result and then we should decide which fits better.

Coincidentally I was doing something similar! Will take a look 🙂


Change snipe#core#DoCut to not use mappings anymore

Use normal! instead of normal to execute "_x so that mappings are ignored.

Thank you!


ARROW-3200: [C++] Support dictionaries in Flight streams

@wesm There's some IPC refactoring here that deserves reviewing.
@lidavidm Also some Flight refactoring.

I will try to spend a good amount of time reviewing this before I leave town on Monday

looks like now schema messages can carry body buffers?

That sounds unexpected. What do the body buffers contain?

It is a single empty buffer. It's the same problem as ARROW-4213 - the body tag gets written even though there is not a body. It looks like the IpcPayload's body length field is corrupted - when the IpcPayload is allocated in GetSchemaPayload, the fields aren't zero-initialized.

Thanks @lihalite. I'll try it out.

I have a lull in the airport today so I'll spend a some time reviewing this since it's important

The meta-problem that isn't discussed anywhere in this PR is that the dictionaries are being serialized and written multiple times. When you have dictionaries, they are serialized and sent in the FlightGetInfo message

I see... This is because of SerializeSchema, right? The solution could go hand in hand with #4067.

As another general comment about dictionaries:
in many applications, dictionary encoding is a data compression technique, and two tables or two arrays having different dictionaries are considered semantically "the same". This is often the case with analytic databases -- we are already having the issue with reading Parquet files as dictionary-encoded (the dictionaries may differ between row groups). We will likely be forced by this practical consideration to evolve the C++ API around this.
To make the problem more concrete for Flight -- if a dataset is distributed, the nodes may not "agree" about what the dictionary is. I do not think it is practical to go about some kind of "dictionary consensus" step. The only point at which a "consensus" dictionary is really required is when you do analytics. Then you have various cases:

Dictionary is the same
One dictionary is a prefix of the other (e.g. ['a', 'b'] is a prefix of ['a', 'b', 'c', 'd'])
Neither case, dictionary merge / permutation required to perform analytics

Unfortunately, the case of "semantically the same data, but different dictionaries" is poorly modeled in the C++ library so we should think a bit about this.
I plan to work on Parquet stuff a bunch when I'm back from vacation so I intend to address the dictionary-encoded / categorical issue as part of this

BTW in the case of analytics, it is generally most practical to address dictionary / categorical normalization at the last possible moment. When the cardinality is not large, then this is also a lot cheaper. (Imagine a billion-row dataset split into 1000 dictionary-encoded pieces, each having 1 million elements and a different dictionary)

@wesm @lihalite I'm gonna merge this soon if you don't object.

I am good with merging, thanks for the heads up. The only thing I might want is to see if we can stop skipping the dictionary case in the integration tests.

I'm not comfortable dealing with the integration tests now. Would you like to tackle that in a separate issue?

Of course - filed ARROW-5143.


Fail regression tests if new outcome files are generated

Currently the tests fail if outcome files have been removed or changed. This
is because git diff --stat is used in the implementation. git diff does not
list untracked files.
This commit adds a check for newly generated outcome files using
git ls-files --others --exclude-standard -- <path>
git ls-files shows information about files in the index and the working tree
--others shows other (i.e. untracked) files in the output
--exclude-standard adds the standard Git exclusions: .git/info/exclude,
.gitignore in each directory, and the user’s global exclusion file.
The original request suggests that the test failure should help point out what you need to do with the removed/changed/added files. What would be the best thing to advise?
This commit adds a check for newly generated outcome files using
git status --short -- <path> and explains what needs to be done to resolve
this test failure.
Changes in outcome page artefacts have been detected:
<git status --short output>
If these changes are expected then re-generate the checksums, re-run the regression test, and commit all the changes.

Could we not use git status --short or git status --porcelain to replace both git diff and git ls-files with a single command?
I think it would be good to make it clear that we're talking about the outcome page artefacts and not the outcome ERB templates.
I wouldn't worry too much about suggesting what to do, but I think it would be something along the lines of: "Some outcome page artefacts have been added/removed/changed. If all these changes are expected then re-generate the checksums, re-run the regression test, and commit all the changes."

@floehopper thanks for your suggestions, I've updated this PR

LGTM :+1:


Update pingcap/tidb parser to new location

The tidb parser moved in https://github.com/pingcap/tidb/pull/47123
This updates the dependency to the new location.
It is the same as #834.

cc @morgo


Investigate synchronized missed blocks.

Summary of Bug
According to ping.pub (the click on "blocks"), there are blocks that several validators will simultaneously miss.

In that image, you can see that several validators have red squares for the same blocks. The right-most synchronized miss is 11282380 and the image also indicates an issue with 11282370, and 11282360.
The block info query (e.g. provenanced q block 11282381) has a .block.last_commit.signatures section that indicates which validators signed off on the previous block.
We need to get a better picture of these synchronized missed blocks and try to identify why they might be happening.

Put something together that will identify synchronized missed blocks and the validators involved with each.
Identify validators often involved, sometimes involved, and never involved in these misses.
Investigate some of the identified blocks to see if there are any similarities.
Identify next steps for either further investigation or fixes.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Here are some notes I have so far.

provenanced q block n -> .block.header.proposer_address gives the block proposer.
provenanced q block n+1 -> .block.last_commit.signatures gives the validator signature info for that block. The addresses here seem to be hex strings of the address bytes.
provenanced q tendermint-validator-set contains bech32 address strings for the validators with HRP pbvalcons (e.g. pbvalcons1ryz97ullxwphrtdvkfm7m88havn6scvumdf227).
provenanced q staking validators contains more info on the validators (e.g. descriptions), and has bech32 address strings for the validators with HRP pbvaloper (e.g. pbvaloper1hxd75vuud3gddkfpglkzzsvpjwrz9zf05xu4ss).

I wrote https://github.com/SpicyLemon/SpicyLemon/tree/master/go_fun/bech32 to be to convert hex/base64/bech32 strings and will hopefully be useful for associating the q staking validators info with q block last block signatures.
I've no idea if the last block signature hex bytes, pbvalcons addresses and pbvaloper are at all associated though.

Additional information from Galadrin | Crostnest (via discord)

and a near by staking/redelegation to this point in time:
https://www.mintscan.io/provenance/txs/06077C568D9F4A9289B3465DCB59072E2432467090E62B4E5513AE5F03428342?height=11319332

@iramiller and I had a discussion. Here are some takeaways.

The consensus.timeout_commit is the amount of time a node will wait for votes to come in for the last block.
Having a larger number there can slow down block creation because the node won't move on from block n+1 until it's waited long enough to get all the votes it can for block n.
Having a lower number allows for faster block creation but the votes from slower nodes might often get missed when not needed for consensus.
It is possible for two nodes to return slightly different vote results. All the votes needed for consensus would be the same, but nodes in the other 1/3 may or may not be included e.g. in a query block <n+1> result depending on the node.

Considering all that, we think a consensus.timeout_commit of 1500ms is probably a better Provenance Blockchain default than 5s.
#1594 added a pre-upgrade command that bumps the setting to 5s for nodes with it lower than 2500ms. Now, though, we're thinking we should have it change everyone's to 1500ms.

From Jarnek | Panthea EU in discord:
I may have found another clue regarding all the missed blocks on the chain. It seems that the binary is using alot of disk IO, like.... ALOT compared to other chains.
I checked with this command:
lsof | awk '{print $1}' | sort | uniq -c | sort -r -n | head

and currently provenanced is having more than 25000 open files. The chain that is closest (of those i validate on) is Bitsong with about 8000 open files.
Maybe you guys can look into this? All that disk IO is a heavy load on many servers and could possibly explain that most validators are missing blocks.
Let me know what you think about this theory, and have a super duper day. 🙂

When I run a mainnet or testnet node locally (on my Mac), I always run ulimit -n 10240 first because it wants so many open files.
Just now, though, I fired up an older mainnet node still on v1.16 that started with a HighStakes quicksync. As it's catching up, it's sitting around 250 open provenanc files. I'll want to see what happens to that in v1.17 and also once it's caught up and running normally. We'll also want to try this with a full quicksync to see what kind of difference that makes.

Another major culprit here is the pruning function ... pruning at certain block heights takes a bunch of time which blocks the node can can cause it to miss blocks ... People like to use the same number (100, 1000, 10000, etc) for these heights which would make them all hit at the same time.


CONSOLE-2376: Dynamic plugins for Console

API changes that are mapping the proposed enhancement doc. The enhancement is still not merged so creating a first draft of it's API changes
Will generate the crd yaml once we align on the API changes.
/assign @spadgett @bparees
https://issues.redhat.com/browse/CONSOLE-2377

@jhadvig In addition to the operator config, we'll need the ConsolePlugin CRD in the console.openshift.io API group.

@spadgett only added the ConsolePlugin type, for now... we can generate the CRD after we align on the working and the struct I guess ?

/cc @christianvogt @vojtechszocs

What Jira is this connected to?

/label docs-approved

@sferich888 It's https://issues.redhat.com/browse/CONSOLE-2377

/label px-approved
/unassign @sferich888

@spadgett I've generated the CRDs and addressed your comment, which removed the lgtm label. PTAL

/approve

/lgtm

/hold for approvals
/assign @ahardin-rh @yapei @sferich888 @reestr

/hold for approvals
/assign @ahardin-rh @yapei @sferich888 @reestr

There have been small adjustments to the API change. PTAL

There have been small adjustments to the API change. PTAL

LGTM from QE's point of view

LGTM from QE's point of view

LGTM from QE's point of view

Adding qe-approved label based on this comment and QE approval of https://github.com/openshift/console/pull/7360 which included the API change.
/label qe-approved

LGTM from QE's point of view

Adding qe-approved label based on this comment and QE approval of https://github.com/openshift/console/pull/7360 which included the API change.
/label qe-approved

Adding the docs approved label now that it's available in the repo (see @ahardin-rh approval above).
/label docs-approved

Adding the docs approved label now that it's available in the repo (see @ahardin-rh approval above).
/label docs-approved

@reestr PTAL

@reestr PTAL

/label px-approved

/label px-approved

Manually adding the bugzilla/valid-bug label since the console team is piloting the new feature process that does not require a Bugzilla.

Manually adding the bugzilla/valid-bug label since the console team is piloting the new feature process that does not require a Bugzilla.


sphinx returns different warnings/errors depending on the Python version used

In the analyze weekly job, we run sphinx with 3.8 and see two errors for azure-core: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3440357&view=logs&j=e5b925a9-9650-5321-24fd-5d9499fe02b8&t=0d206e13-b346-5d3f-79e6-d5bfba9e089e&l=147
In the CI build, we run with 3.9 and see no errors: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3439368&view=logs&j=4259cd7e-6a4b-5ca5-581a-0ae020cd9d20&t=4d670c9c-5acd-5cc3-aede-d35282ac764a
We should understand which Python version we should use here and make sure they match across builds for Generate Docs.

Also follow up on which Python and sphinx versions the docs team uses. If I'm looking at the correct pipeline, then this would be
sphinx==6.1.3
Python 3.11
https://apidrop.visualstudio.com/Content CI/_build/results?buildId=409303&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b&t=995927d7-cad6-536a-e96e-dee3418e5f93


Does we have pagination feature on scroll  ?

In case we have large set of list to in drop down so at that time it take too much effort on single call .. so if we have some pagination feature like first load only some number decide by developer and use some get method to get next set of data on scroll reach at end.  or when search it also work with that ...
i.e.   myGetDataMethod?q="",from=0,to=20

Hi @amit-rana ,
No unfortunately we don't have paging.
I am trying to create a lazy loading - means it will only display the data when you search it.

@isteven yes lazy loading might help ...

@isteven Does lazy loading available now ?

No.. I cannot promise on when I can provide a functionality.

Ok NP let me fork lib an try my self for it..

That's the spirit of open source developers.. Thumbs up! :+1:

@isteven OK Sorry for late, busy with other stuff but i did today some code on lazy loading with ajax
check here my  last commit on fork  . and let me know that it  will work or not,   with my demo working good  .. Next step is binding search and keep it there with results.
The challenge part in search is if user do change in text than we have to manage calls . so i guess some typeahead timeout we can manage them ... and also keep text in search filter input so when user opens it , he/she can understand that current result is for specific search...( at that time we can't use local search or we can provide some small toggle between local and ajax but for non-IT user it will be complex so better we use only ajax when ajax is there no local ) .we can just bind it with current pagination ajax or we can provide same options for search just like we did for pages ..we going to use same call in controller  but for directive both call will be different ( ajaxOption, ajaxSearchOption )
What you think..


Update local ephemeral storage feature to beta

update local ephemeral storage feature to beta

could you change this PR to merge to release-1.0. =)
and suggest to delete 'and above'.

/assign

@jingxu97 can you please get the requested changes in asap? Deadline for merging docs PRs for 1.10 is 3/9 (tomorrow US time).
/assign

@Bradamant3
I rebased to release 1.10 and had another PR for it https://github.com/kubernetes/website/pull/7685
Is that one ok? Thanks!

All's good with #7685, so closing this one unmerged. Thanks, @jingxu97


partial chunks too eagerly ignored, maybe enough to cover certain data requests

see https://github.com/raintank/raintank-metric/pull/74#issuecomment-164574785 and https://github.com/raintank/raintank-metric/pull/74#issuecomment-164968028

This is low prio. It is a very minor performance issue that only affects queries that include data in the first chunk written. If we keep 6hours of data in memory, then the problem is only present for the first 6hours after a metric_tank process is started.
Given the limited impact, i am not even sure that the benefit of correcting this would ever be worth the cost to optimize the code.

agreed on low prio & not sure how useful.  i suggest to keep this open until we get familiar with the impact of upgrades and secondary->primary upgrades, we'll see if cassandra takes a hit or not.


fix/pin-flake8-pyprojecttoml-to-fix-lint

Lint is broken because flake8-pyprojecttoml released a new version (but its breaking?? not really sure).
Context: because projects are slowly moving over to pyproject.toml files to maintain all their metadata, deps, and tooling stuff, we want to store everything we can in that one file. flake8 the linter doesn't yet support the pyproject.toml file for reading its configurations. the flake8-pyprojecttoml library is a sort of experimental plugin that enables that reading.
I will look for better / more stable ways to handle this in the future.

Seems like this may be a bit more stable: https://github.com/john-hen/Flake8-pyproject
Will check it out later.


Question: Why do you suggests to have a separate Activity for each feature?

Hi,
I have a question. Why do you suggests to have a separate Activity for each feature? It makes sense to have a separate Fragment for each screen but why to have a new Activity-Fragment combination for each usecase?
Shouldn't this be a problem to implement shared element transitions? As shared element transitions can happen between Fragment-Fragment or Activity-Activity.

It's completely fine to use a single activity with multiple fragments or even multiple activities without fragments.


Call should take a sequence of Call instead of just one

Currently, each call field can only support one call. Change that to support a sequence of calls.
Before
type Foo {
  bar: Bar @call(query: "bar")
}

After
type Foo {
  bar: Bar @call(steps: [{query: "bar"}, {query: "baz"}])
}

These steps are composed together using the and_then.

/bounty 100

/attempt #1482

/attempt 1482

Are u working on this @ssddOnTop ?

@lazyfuhrer yes sir

@lazyfuhrer yes sir

Okay go ahead. Let's not make multiple PRs


[event-request] Codeunit 70 "Purch.-Calc.Discount": OnCalculateInvoiceDiscountOnBeforeCheckVendInvDiscServiceCharge

Similar to the publisher OnCalculateInvoiceDiscountOnBeforeCheckCustInvDiscServiceCharge in sales codeunit "Sales-Calc.Discount" wie need a publisher after getting the vendor invoice disc.
In procedure CalculateInvoiceDiscount:

Call:
OnCalculateInvoiceDiscountOnBeforeCheckVendInvDiscServiceCharge(VendInvDisc, PurchHeader, CurrencyDate, ChargeBase);
Signature:
    [IntegrationEvent(false, false)]
    local procedure OnCalculateInvoiceDiscountOnBeforeCheckVendInvDiscServiceCharge(var VendInvDisc: Record "Vendor Invoice Disc."; var PurchHeader: Record "Purchase Header"; CurrencyDate: Date; ChargeBase: Decimal)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 40908.


Basic spatial audio

Objective

Add basic spatial audio support to Bevy

this is what rodio supports, so no HRTF, just simple stereo channel manipulation
no "built-in" ECS support: Emitter and Listener should be components that would automatically update the positions

This PR goal is to just expose rodio functionality, made possible with the recent update to rodio 0.16. A proper ECS integration opens a lot more questions, and would probably require an RFC

@harudagondi could you do a quick review pass for us?

LGTM :) having two separate audio sinks looks weird to me, but it is understandable given the internal code in rodio.

Could we add another example for 2D or is it not necessary?

Could we add another example for 2D or is it not necessary?

Added a 2d example. It can be surprising how fast attenuation happens with distance, and would happen faster in 2d with 1 pixel = 1 world unit

Could we add another example for 2D or is it not necessary?

Added a 2d example. It can be surprising how fast attenuation happens with distance, and would happen faster in 2d with 1 pixel = 1 world unit

It's unfortunate there isn't a way to adjust the falloff. That may result in the spatial audio not being very usable in actual game content. Would it be possible to add a simple set_pan function similar set_volume? This would probably be better suited to 2D content, and also allow users to easily implement their own spatial system.

Just tested the examples, I think there is something wrong. When running the example for the first time, the sound is at the left ear when the blue thing is near the red thing, and similarly for the green square/cube. However, rerunning the example makes it so that the audio comes out of the right when blue is near red, and vice versa. This fixes itself when I switched the examples (i.e. run spatial_audio_3d once is correct, two or more times is wrong, but then switching to spatial_audio_2d makes it correct, unless it is rerun for two or more times).

cargo cleaning and running the example (both 2d and 3d) fixes the issue, but is then reintroduced when running the example again (unless i cargo clean it again beforehand). It seems that running the examples again switches the left and right ear permanently.

Having the ears randomly reversed seems to happen for me only when running the examples in debug. It is always OK for you in release?

Just tested in --release and it works perfectly for me. I guess the problem only exist in debug builds? But then we would to tell the users to run the spatial audio examples in release mode. Have we mention that in the repo?

Just tested in --release and it works perfectly for me. I guess the problem only exist in debug builds? But then we would to tell the users to run the spatial audio examples in release mode. Have we mention that in the repo?

If we want to merge this before an upstream fix, we should note this limitation in both the API docs and the example, linking to the issue you just opened.

Controversial label added due to major upstream bug. When that's fixed, it can be removed.

Added a note about the issue.
I tried to dig in rodio and failed to find an issue... I don't think it should block this PR though as people should already be compiling bevy and rodio in release

Is this provably only related to optimizations? Does the bug exist with optimized builds on very slow PCs? What about web builds optimized for binary size?

It is not safe to assume people will compile with optimizations. Can we warn when spatial audio is used in debug mode?

It is not safe to assume people will compile with optimizations. Can we warn when spatial audio is used in debug mode?

@cart, this appears to be pre-existing; see #6122. It's obviously higher risk with this PR, but the issue isn't localized to this API.

Thats good to know. In that case, I guess we can just move forward here.

Thats good to know. In that case, I guess we can just move forward here.

It seems the issue is random for people and not always right in release mode... if that's the case, I would prefer to wait

Rebased and patched with the rodio fork from @dis-da-moe
Please try and check if it's fixed for you!

waiting on https://github.com/RustAudio/rodio/pull/455

Does this address #5832? or do we need to support full HRTF for that to be considered closable?

I'd consider #5832 to be closed if there is first class ECS support for spatial audio (like adding AudioEmitter and AudioListener components to entities).

This is still blocked on a Rodio release right?

Yup...
They could update soonish to follow cpal update though 🤞

bors r+


⚠ Samsung has degraded performance

In ad45ddc, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2257 ms

Resolved: Samsung performance has improved in e437fc0.


fix use signed integer when calculating remain ms

Proposed changes
remain_ms should be a signed value.
Also, we should update remain_ms before each close_wait.
(gdb) p remain_ms
$10 =<PHONE_NUMBER>3709551611

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Replace deprecated tempdir with tempfile

Fundamentally I'm good with this, though there are test failures, so please resolve those before I review deeply.

failures:
---- remove_toolchain_then_add_again stdout ----
thread 'remove_toolchain_then_add_again' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 1142, kind: Other, message: "An attempt was made to create more links on a file than the file system supports." }', src\libcore\result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

I now convinced that something on our side has messed up.

:umbrella: The latest upstream changes (presumably #1923) made this pull request unmergeable. Please resolve the merge conflicts.

Hey @lzutao Could you rebase this against current master and see how it looks?


Display html renders of html responses received

Is your feature request related to a problem? Please describe.
Running requests: e.g my pages returns a HTML response. We could show the render of the HTML next to the HTML code
Describe the solution you'd like

Split the response so that one side shows the code, and the other shows the render
Add tabs so that someone can choose to see the HTML code and click on the other tab to see the HTML render

Describe alternatives you've considered
Leaving things a is
AB#7954

I haven't seen any requests for this.  The OneNote API is the only API that uses HTML.  I think we have higher priority work to focus on.

@darrelmiller @RabebOthmani can we make a go, no go decision on this? It doesn't seem like something we need


chore: rename master branch to main

HAUKI-ADMIN-UI branch is deployed to platta: https://hauki-pr411-admin-ui.dev.hel.ninja :rocket::rocket::rocket:


Can break scene with Tokenizer module

If you use the Tokenizer feature of pasting an image while Clipboard module is active it will paste the image on the map too and for me on pf2e Forge consistently breaks the scene.

Yeah it would be great to fix this. I noticed it too. Will keep it in mind

Fixed in next release!


Bind CName to Site

Greate example, but am i missing a step in this process.
I have a azure dns with and a cname for example configured as timbo.mywebsite.com. If i create this via "BringExternalDomains" in the new portal. It creates ok. If i delete it and then try to add via the code below, i get
{"Code":"NotFound","Message":"Hostname 'timbo.mywebsite.com' does not exist.","Target":null,"Details":[{"Message":"Hostname 'timbo.mywebsite.com' does not exist."},{"Code":"NotFound"},{"ErrorEntity":{"Code":"NotFound","Message":"Hostname 'timbo.mywebsite.com' does not exist.","ExtendedCode":"04020","MessageTemplate":"Hostname '{0}' does not exist.","Parameters":["timbo.mywebsite.com"],"InnerErrors":null}}],"Innererror":null}
is there a step for BringExternalDomains?  I did notice if i run just the code at line90 and then the update command at line 111 the response returns the site with no changes.
https://github.com/davidebbo/AzureWebsitesSamples/blob/master/ManagementLibrarySample/Program.cs#L85

@naveedaz wrote that BindCertificateToSite test method, so I'll let him comment.

I've spotted a Sites.GetSiteHostNameBindingsAsync()  and also a Sites.CreateOrUpdateSiteHostNameBindingAsync() If this is required first then its not extirely obvious which of the properties i need to populate on the HostNameBinding object i need to pass in.

Ok, so this code "Works"
	var site = await m_websiteClient.Sites.GetSiteAsync(resourceGrpName, siteName);
	var hst = new HostNameBinding();
	hst.Name = siteName;
	hst.Name = $"{siteName}/{hostName}";
	hst.Location = site.Location;

	var doms3 = await m_websiteClient.Sites.CreateOrUpdateSiteHostNameBindingAsync(resourceGrpName, siteName, hostName, hst);

Strange thing is that although you can see this entry in the Bring External Domains, blade and you can see the SSL binding for it, it takes a much longer time before its visible in the "Hostnames assigned to site" area. Feels like a step is being missed but some process is fixing in the background.


Cognitive Services data plane spec has model and linter errors

As seen in the Travis CI the linter and model validations are failing.

@DavidLiCIG can you have a look if there are errors here otherwise close this issue please?

Hi! Issues here should be resolved now but how do I close the issue? I am not sure if I have permission to do so?

You can just press the button to close it. If everything is ok I can close it


Document which DbFunction or BCL method translates to each SQL Server or other provider-specific function

I want to filter by DateTime property, omitting the time part:
DateTime d = DateTime.Now;
var query = myContext.Sales.Where(x => x.SaleDate.Date == d);

This code can run, but it takes all the rows and filters them in application side, instead of send the query to server.
in EF6 we have DbDunctions.TruncateTime. What about EF7?

Note that we've recently added https://docs.microsoft.com/en-us/ef/core/providers/sql-server/functions, which documents all translations done by the SQL Server provider.

Note that we've recently added https://docs.microsoft.com/en-us/ef/core/providers/sql-server/functions, which documents all translations done by the SQL Server provider.