 Can expand on it at a later date if we deem it necessary.
closes #5

Preemptively requesting we add @kalisjoshua to packages/geo 😆

I was waiting on his PR to be merged I was absolutely going to add him as the owner to it. 🤣


node_type is incorrect

In model_GVCRN.py, L.263-264,
node_type[:,0,0] = 1 # ego: [1 0] OK
node_type[:,0:,1] = 1 # non-ego: [0 1] OK
This assigns [1 1] for ego and [0 1] for non-ego. Is it OK?
I think these are intended according to the comment.
node_type[:,0,0] = 1 # ego: [1 0] OK
node_type[:,1:,1] = 1 # non-ego: [0 1] OK

This did not degrade the performance

Thanks, it is correct. I will fix it.


Az network vnet list produces error

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az network vnet list
Errors:
cannot import name 'BatchManagementClient' from 'azure.mgmt.batch' (/usr/lib/python3/dist-packages/azure/mgmt/batch/__init__.py)
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 233, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 558, in execute
    self.commands_loader.load_arguments(command)
...
network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py, ln 6, in <module>
    from azure.mgmt.batch import BatchManagementClient
ImportError: cannot import name 'BatchManagementClient' from 'azure.mgmt.batch' (/usr/lib/python3/dist-packages/azure/mgmt/batch/__init__.py)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

sudo apt-get install azure-cli
az login
az network vnet list

Expected Behavior
Get list of vnets
Environment Summary
Linux-5.11.0-18-generic-x86_64-with-glibc2.33
Python 3.9.5
Installer: DEB

azure-cli 2.18.0 *

Extensions:
azure-devops 0.19.0

Additional Context

network

Could update your cli version to the latest and try again. You can update cli by following command
az upgrade

tadek@tadek:~$ sudo az upgrade
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Your current Azure CLI version is 2.18.0. Latest version available is 2.24.2.
Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli
Do you want to continue? (Y/n): y
Hit:1 http://pl.archive.ubuntu.com/ubuntu hirsute InRelease
Hit:2 http://pl.archive.ubuntu.com/ubuntu hirsute-updates InRelease
Hit:3 http://pl.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu hirsute-security InRelease [101 kB]
Hit:5 https://apt.releases.hashicorp.com hirsute InRelease
Fetched 101 kB in 1s (80,9 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
azure-cli is already the newest version (2.18.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
CLI upgrade failed or aborted.

OK, I've reinstalled azure cli, upgraded to 2.24 and works fine :) Thanks :)

Similar: https://github.com/Azure/azure-cli/issues/19313


Example in readme has missing commas

Example code doesn't compile in browser.
``

Fix in 6eff0de926b2ccb8e9b218feae5d5c1adb0320fd


typescript(vx-voronoi): re-write package in TypeScript

:rocket: Enhancements
This PR builds off #488 which introduces Typescript build config, and re-writes the @vx/voronoi package in TypeScript.
It also removes an unneeded @vx/group dependency. Closes #511.
:boom: Breaking Changes

This PR introduces React.Fragments, which requires bumping the peerDep for react to ^16.3.0-0

Tests

[x] CI
[x] functional /voronoi demo

@hshoff @schillerk @milesj @kristw @rudeg

Hrmm, not really sure how to fix this one. I think this error is coming from the @types/d3-voronoi types, and still throws even tho I ignore the call in the code 🤔

Looks like the tests are failing on packages/vx-voronoi/test/voronoi.test.ts(24,11).
const [, [x1, y1]] = v.extent();

Might try changing this to:
const [[x0,y1], [x1, y1]] = v.extent();

old school syntax worked :neckbeard:  🎉


Support for CloudFlares new SQLite database D1

Cloudflare have just announced their first relational DB D1 which is based on SQLite.
https://blog.cloudflare.com/introducing-d1/
Would be awesome if Prisma could support it one day..

That would be a really great feature to have

Just came here for this. This will be epic!

D1 is based on SQLite so it may work by default?

Can we expect to see a first iteration in the near future, or should we not hold our breath? I am planning to port a few projects to run fully on Cloudflare D1 in the coming months, and no support from Prisma would mean that I have to start using other ORMs.

Can we expect to see a first iteration in the near future, or should we not hold our breath? I am planning to port a few projects to run fully on Cloudflare D1 in the coming months, and no support from Prisma would mean that I have to start using other ORMs.

As far as im aware D1 still isnt GA

Can we expect to see a first iteration in the near future, or should we not hold our breath? I am planning to port a few projects to run fully on Cloudflare D1 in the coming months, and no support from Prisma would mean that I have to start using other ORMs.

As far as im aware D1 still isnt GA

It's still closed beta.

D1 is based on SQLite so it may work by default?
Edit: nevermind (see this HN comment)

As per the new blog post from cloudflare at https://blog.cloudflare.com/whats-new-with-d1/

When running wrangler dev -–local -–persist, an SQLite file will be created inside .wrangler/state. You can then use a local GUI program for managing it, like SQLiteFlow (https://www.sqliteflow.com/) or Beekeeper (https://www.beekeeperstudio.io/).

So, we can get the sqlite db locally & using that, we should be able to use prisma without any additional setup only on development. Just need to implement a connection for production

Any guidance on how to create a connection for production?

Any guidance on how to create a connection for production?

I could imagine creating a separate worker to act as a network adapter between Prisma and D1. Other option, if possible at all, is to pass the instance of D1 (provided via binding) directly to the prisma client.
Notice, the first approach would allow to use D1 outside workers as well, so probably a more scalable option) At the same time, because the solution would involve workers, I could imagine Cloudflare recognising the need for network connections to the D1 and rolling out a more optimised solution. So, let’s wait a bit and watch where things move.
Right now there is not much on guidance, because D1 is still in closed beta.

+1 for D1 support from Prisma.

I think uceumice's comment is practical and interesting way how to integrate prisma-client to D1. Prisma-internal has DataProxyEngine and recommends it for serverless environments like Cloudflare Workers  and Deno Deploy. maybe if it can self-host Data Proxy API and develop a module to access own database, it might be the first way to integrate with D1.

D1 is now available as an open alpha, i'll be looking into possible ways to use Prisma without the production driver - like extracting the underlying query from the prisma client using the approach from https://github.com/prisma/prisma/issues/5026#issuecomment-1235067013

@DaniAkash keep us posted!
Also keen to hear official word from either Cloudflare or Prisma... I imagine, as Cloudflare offers a first-class S3 interface for R2, they would offer a first-class Prisma interface for Prisma.
Relevant reading:

https://www.prisma.io/docs/data-platform/data-proxy
https://www.prisma.io/docs/reference/database-reference/connection-urls
https://www.prisma.io/docs/reference/database-reference/supported-databases

@laiso I agree that sounds like a good approach. I’m going to play around with it next week.

I would also love to have Prisma support in d1, it would let me move my entire stack into cloudflare

@balupton update on my personal project,
I couldn't get the underlying Prisma queries effectively without sacrificing good DX. Ended up refactoring most of my code to kysely along with their D1 dialect
Looking forward to see how Prisma will support Cloudflare D1 in the future

+1

+1

desperately looking for it

We need Prisma for Cloudflare D1
@miguelff

i will die waiting for prisma

Can someone explain, why some comments are being marked as abuse? Is it a mistake, or should it instead be marked as off topic? Does someone know?

Just thought everyone coming to this thread to know that until we get D1 support, there is a decent alternative I've found that is also completely free.
Prisma's data proxy has a guide to deploy prisma serverlessly on cloudflare pages, which is a bit finicky to set up but you can redirect to mongodb atlas (free) or another provider of your choosing and the latency isn't too bad. I made a test site with this stack here.

@uceumice Comments that add nothing to the documentation but ping all people that replied before or are subscribed to the issue are abusive. +1 is one of those types of comments. If you want to express support for a feature request leave a 👍 on the original comment or leave a comment with your actual use case. We have to handle dozens to hundreds of these per day, and it does nothing else but waste our time and effort.

Comments that add nothing to the documentation but ping all people that replied before or are subscribed to the issue are abusive. +1 is one of those types of comments.

Thank-you for remindering people how wasteful these comments are. It's an honest mistake and easy to leave a comment without understanding how many people you disrupt doing that, so a friendly reminder once in a while is apprecaited.
Thanks for your hard work @janpio, and don't take it too hard @uceumice. "+1" comments can seem harmless and GitHub doesn't do a good job of warning you how many people you're actually spamming, but they really do send me many notifications a day on high traffic issues like this, so I apprecaite the pain they cause for open source maintainers who have to deal with many more.

Can someone explain, why some comments are being marked as abuse? Is it a mistake, or should it instead be marked as off topic? Does someone know?

Because people are, frankly, not using the system correctly. They commented something to the effective of "+1", like, "I support this". That doesn't really do anything for anyone. In fact, it's frankly just frustrating to the people subscribed to the thread for actual updates.

There is any news about this ?

No, not yet.

When you announced you would be partnering with Cloudflare and called "Data DX" I was hoping this would be included

+1

+1

Not to be that grumpy old person, but can I point out that commenting "+1" generates a lot of spam for those of us following many issues like this. To show your support, can you please react to the original issue with the 👍🏼  emoji?
If you're just looking to get updates, you can do so without leaving a comment by using the "Subscribe" button near the top of this issue.
Thanks for your understanding! ❤

Hey, we at Prisma have been working on the foundations for Edge Functions support for the past few weeks - the foundation that will be required for supporting Cloudflare D1. Soon, we'll have something to share and test! If you are interested in helping us, please respond to this super short survey and leave your email address so we can get in touch with instructions: https://pris.ly/survey/driver-adapter-d1 Thanks.

Just subscribed to that survey. Hope that we'll get something soon.
In this prisma docs  it says that workers can't use TCP and that's why we need a data-proxy. That was true, but this isn't the case anymore (I guess you aware of this already, though).
Which means the thing that's just missing is that we can connect to an internet URL instead of a file: URL, because sqlite driver on its own is already working for prisma.

I love Cloudflare eco system and Prisma.
I am also porting CRM HRM ERP Nodejs/Express/Prisma backends to CFWorkers/Hono/Prisma and D1/serverless-Postgresql.
However, D1 is still in Alpha quite long and with limited things, Cloudflare should change to serverless Postgresql like Vercel/Neon/Supabase or PlanetScale/TiDB MySql and NoSQL space which lead the production and business trends better.

is there any news about this ?

Just subscribed to that survey. Hope that we'll get something soon.
In this prisma docs  it says that workers can't use TCP and that's why we need a data-proxy. That was true, but this isn't the case anymore (I guess you aware of this already, though).
Which means the thing that's just missing is that we can connect to an internet URL instead of a file: URL, because sqlite driver on its own is already working for prisma.

For everyone reading this at a later point in time, I haven't received any answer from the survey after 2 months yet and we haven't heard back from the prisma team about if my assumptions about what's needed are correct.
I'd appreciate it a lot if a prisma staff member would update issues like this from time to time.
I know that we are in no way entitled to that, I just think I speak for so many developers when I say that a little transparency about the status would be really appreciated. If not, we'll have to deal with that as well of course it's your product, not ours.
Side note: I'd even be willing to put money where my mouth is if there was a possibility to support/donate to very specific work (for example making prisma compatible with d1 and ready to be used by cf workers).

I think I can't wait for it.
Just switch to https://orm.drizzle.team/docs/quick-sqlite/d1

I understand that Cloudflare D1 is currently in beta, but it was generous usage limits. While notifications about this issue can be somewhat repetitive, it's crucial to keep the community informed about such developments, any news?. The support for Cloudflare D1 would indeed be a significant step forward for Prisma and its users.

I asked this question on the prisma discord, they said no estimate date will have to wait for it but they are working on it.

I've tried building a D1 adapter, however, there are some pieces missing which I cannot figure out how to do (like infering types and transactions in general). If one of you knows D1 / Sqlite / Prisma Adapters better than me (which shouldn't be too hard 😅), feel free to check out the fork. I've enabled issues on that repository so we can keep the noise in this thread to a minimum 👍
You don't need a cloudflare account since it is using miniflare for testing.

Quick update: We are currently testing the D1 adapter with a selected number of users via an Early Access. If you want to participate, just go by https://pris.ly/survey/driver-adapter-d1 again and leave a response where you only select D1 as the database you are interested in an I can prioritize inviting you for this as well. Thanks!

Hey, last week we released Prisma ORM version 5.12.x which includes support for Cloudflare D1, behind the preview feature flag driverAdapters.

Here are our release notes: https://github.com/prisma/prisma/releases/tag/5.12.0
Here is our launch blog post: https://www.prisma.io/blog/build-applications-at-the-edge-with-prisma-orm-and-cloudflare-d1-preview
And here is our documentation: https://www.prisma.io/docs/orm/overview/databases/cloudflare-d1

Please give it a try, and leave your feedback in our Cloudflare D1 feedback discussion. 🚀


Configure user.

When user not set explicitly it led to error that stated
executor killed due to memory limit, however it
has no relation to memory, actually it was cause by
inability to chown work dir for executor.
NOTE: specify user explicitly, for instance --user root
Fixed together with @serejja

Thanks!


feat: Add support for sign_up read & update operations

Add support for:

Reading a sign-up by ID
Updating a sign-up by ID (supported params: custom_action & external_id)

what is the status of this PR?

@yourtallness What is the status of this PR? Do we still support this endpoint or should we close the PR?
Does the endpoint to read sign_up using id exists? I see that there is only an update functionality in the sign_ups endpoint of our backend-api reference docs: https://clerk.com/docs/reference/backend-api/tag/Sign-ups#operation/UpdateSignUp.

Closing since there is no request to support it and it's outdated. We will support those endpoints in the future if we need to.


Experiment: Editor smooth scroll

This was an experiment I had for recording some gifs - using our spring hook to implement a smooth scroll on the editor surface (like we have for our file explorer). This is gated by an experimental.editor.smoothScroll configuration flag.
With experimental.editor.smoothScroll set to true in this PR:

@glennsl , I'm happy to wait to merge this until after your EditorSurface work is done - I don't want you to have to keep dealing with merge conflicts. Let me know what you'd prefer!

Tested it out, and paging up and down, jumping to line and such is very nice, but scrolling with the mousewheel is really jerky. And when the spring is running the cursor is kind of "stuck", not scrolling with the content.

Good points! The cursor being 'stuck' is fixed now. There's still the problem with the mousewheel and mouse scrolling - I think the best bet would be to disable this when the scroll gesture came from the mouse.
I'll bring it in gated by the 'experimental' configuration setting - before we make it first-class we'll need to address these mouse issues 👍


Netlify deploy

Perhaps this is not the issue related to the chart but I kinda failed to deploy it to netlify. Apparently, the chart is not showing .
Am I not sure what I'm missing but a tip or two is much appreciated.
Thank you.

have you checked console in your browser to see if any error happened ?

Loading module from “https://ethchart.netlify.app/src/main.jsx” was blocked because of a disallowed MIME type (“application/octet-stream”)
Am I missing something here?

I investigated your HTML source and found that you included the main.jsx directly. It should be built to .js bundle by using vite as in my tutorial.


TEST - add rabbit requeue logic

Test ticket from https://github.com/Project-MONAI/monai-deploy-workflow-manager/issues/93

Tests for the Rabbit connections were added as part of this PR: https://github.com/Project-MONAI/monai-deploy-messaging/pull/141


Disable metadata server on OS X

There is a metadata service on OS X that indexes files which was thrashing the disks of our OS X builders. We've disabled it for now by hand, but this should get added to Salt to prevent it from reoccuring and to handle this on new builders.
IRC conversation: http://logs.glob.uno/?c=mozilla%23servo&s=20+Jul+2016&e=20+Jul+2016#c484938
Files:

osx/init.sls: Add a new Salt state to disable the /System/Library/LaunchEaemons/com.apple.metadata.mds.plist service.
In the short term, this can be a cmd.run state that invokes launchctl.
In the long term (after #350), we can use a more native service.dead state.
No test necessary for this one.

@aneeshusa can I have a go at this?

@vigneshsarma It's yours!
Note that #350 has merged, so you should be able to use service.dead directly. Let me know if you have any questions.


Job list

https://www.facebook.com/careers/jobs/?offices[0]=London%2C United Kingdom

Full Stack Software Engineering Manager
https://www.facebook.com/careers/jobs/2610480139072156/

Lead Technical Program Manager, Workplace
https://www.facebook.com/careers/jobs/182948132763562/

Director, Product Marketing, Workplace
https://www.facebook.com/careers/jobs/295726081470260/

Software Engineering Manager - Mobile
https://www.facebook.com/careers/jobs/850252232095802/

Technical Program Manager - WhatsApp Platform
https://www.facebook.com/careers/jobs/474368306585591/

Technical Program Manager - WhatsApp Platform
https://www.facebook.com/careers/jobs/474368306585591/

Technical Program Manager
https://www.facebook.com/careers/jobs/2619787491641629/


fix broken blockexplorer address page

Context :
This was introduced in #688 which we recently merged. We removed "use client" from components like AddressInput, EtherInput etc in #688 because there was lint warning in them as mentioned in #686.
Reason why #698 happened :

If you look at the error it occurred at blockexplorer/address/[address]/page.tsx and the cause of the error is AddressInput, but we are not using AddressInput anywhere instead we are using Address component which comes from ~~/components/scaffold-eth/index.ts barrel file and since this barrel file also exports inputs barrel we are indirectly importing AddressInput in address page (although we are not using it).
Solution :
I would suggest going through this comment discussion https://github.com/vercel/next.js/discussions/46795#discussioncomment-5248407 once its really nice.
For now, I added a quick fix which is completely fine. An alternate solution is we can add "use client" to ~~/components/scaffold-eth/index.ts since all the SE-2 components are reactive and expected to be used on the client.
But yeah I think a future-proof solution might be removing barrel files at least from the components  folder

Thanks for this Shiv! Loved the discussion over the Vercel repo.
Let's merge this for now and we can think about a more «clean» solution at some point.


Test for querystring with multiple parameters fails

A created a test for an issue a have with multiple parameters on a querystring.
The ampersand that separates the parameters does not get properly encoded.
public void QueryStringMultipleParameters()
{
    // Arrange
    DefaultHtmlSanitizer target = new DefaultHtmlSanitizer();
    Dictionary<string, string[]> elementWhiteList = CreateElementWhiteList();

    // Act
    string htmlFragment = "";
    string actual = target.GetSafeHtmlFragment(htmlFragment, elementWhiteList);

    // Assert
    string expected = "";
    StringAssert.AreEqualIgnoringCase(expected, actual);
}

Hi @Edminsson ,
This is expected result. Let's see what happens inside the DefaultSanitizer.
The sample text you provided can be simplified to "".
The Sanitizer cleans an attribute value with the CleanAttributeValue method.
There are 2 encoding actions at the end of the method:

attribute.Value = HttpUtility.HtmlEncode(attribute.Value); that encodes the whole value of the attribute
call for EncodeCharacterToHtmlEntityEscape(c) that encodes HTML Entities inside a previously HTML encoded string

The first encode action converts "&" into the "&" string.
The second action encodes the first and the last characters, which are both HTML Entities.
So, "&" turns into "&" + "amp" + "&#x3B" (I've split up the string for easy reading).

Hi @MikhailTymchukDX
If I take the result from GetSafeHtmlFragment and put it directly on a page and then click on this link then it makes a request to http://www.codeplex.com/?a=1&b=2 which does not work as intended.


Duration operator == doc isn't quite right

The doc for  Duration's operator == overload says:
Returns true if this Duration is the same object as other.

Which sounds like an  identical comparison.  It should say something like "Returns true if the Durations represent the same time values".

CC @lrhn @natebosch – folks who like to fix such things 😄


Correct JSON MIME Type detection

New Pull Request Checklist

[x] I have read the Documentation
[x] I have searched for a similar pull request in the project and found none
[x] I have updated this branch with the latest develop to avoid conflicts (via merge from master or rebase)
[x] I have added the required tests to prove the fix/feature I am adding
[x] I have updated the documentation (if necessary)
[x] I have run the tests and they pass

This merge request fixes / refers to the following issues: ...
Pull Request Description
The current JSON MIME Type check doesn't include the "+json" subtype specification.
The implementation provided in this PR follows this specification.

need this feature urgent!!!!

Need this implementation!


pallet-ethereum: kill Pending storage when finalizing block

Signed-off-by: koushiro<EMAIL_ADDRESS>The current implementation will store the Pending on-chain, but I don't think it's necessary

/cc @tgmichel

cc @sorpaas This PR introduces a bug in pallet-ethereum storage on runtime upgrade.
Block #1 - Runtime version 1
- on_initialize kill Pending -> Storage Pending []
- User sends transaction A
- Storage Pending[A]

Block #2 - Runtime version 1
- on_initialize kill Pending -> Storage Pending []
- User sends transaction B
- Storage Pending[B]

---- Runtime Upgrade version 1 -> version 2 -----

Block #3 - Runtime version 2
- (on_initialize kill Pending WAS REMOVED)
- User sends transaction C
- Storage Pending[B, C]
- on_finalize kill Pending -> Storage Pending []

Results in transaction B to exist in runtime storage for two different blocks (and mapped in the offchain db also).

So a migration is needed.


[build] Don't apply '-mcx16' to cross-compiled stdlibs based on the host arch

Also, remove now redundant block applying that flag only for Android x86_64.
@rjmccall and @compnerd, this fixes a bug in #34958. I just noticed this because it was wrongly applying this flag when cross-compiling the stdlib for Android AArch64 too, and clang put out a bunch of warnings about it.

@drexin, would you run the CI on this?

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 7630e5a2180b1dcab13262f1dd65ad7fee0b8933

Build failed
Swift Test OS X Platform
Git Sha - 7630e5a2180b1dcab13262f1dd65ad7fee0b8933

Linux CI failure is spurious, Mac failure is unrelated.

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 7630e5a2180b1dcab13262f1dd65ad7fee0b8933

Build failed
Swift Test OS X Platform
Git Sha - 7630e5a2180b1dcab13262f1dd65ad7fee0b8933

Linux and Mac CI are both broken right now: all Linux builds are failing with a lldb template build error and all Mac runs put out an error about a "database is locked" when stress testing.

Ping, can someone run the CI again?

@swift-ci please smoke test

@swift-ci please smoke test Linux

@swift-ci please smoke test Linux

@swift-ci please smoke test Linux


feat: add pause_on_start readside setting

Enable Paused On Start feature for read Side
Enhance the config doc

Codecov Report

Merging #42 (aaea14b) into master (9e6dbe2) will decrease coverage by 0.03%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage   74.63%   74.60%   -0.04%
==========================================
  Files          32       32
  Lines         623      630       +7
  Branches       13       16       +3
==========================================
+ Hits          465      470       +5
- Misses        158      160       +2

Impacted Files
Coverage Δ

.../scala/com/github/chiefofstate/AggregateRoot.scala
95.31% <ø> (ø)

...om/github/chiefofstate/config/ReadSideConfig.scala
100.00% <ø> (ø)

...thub/chiefofstate/readside/ReadSideBootstrap.scala
64.86% <0.00%> (-10.14%)
:arrow_down:

...hub/chiefofstate/config/ReadSideConfigReader.scala
100.00% <100.00%> (ø)

...github/chiefofstate/readside/ReadSideManager.scala
4.41% <0.00%> (+4.41%)
:arrow_up:

Continue to review full report at Codecov.

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


I want to reduce the size of it

Links

🙋♂

Assigned🙏🙏🙏


[WIP][AC + SMP] redirect AC endpoint requests to shared mempool

Summary
Currently AC endpoint txn submission requests are directed to upstream_proxy. This PR redirects AC endpoint txn submission requests to SMP instead.
Test Plan
Existing tests
Related PRs
This PR depends on https://github.com/libra/libra/pull/1925

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


error while installing through pip

i am facing an error while installing endesive through pip. the error follows down below, please help as i am very new to all this.
Installing collected packages: pykcs11, endesive
Running setup.py install for pykcs11 ... error
ERROR: Command errored out with exit status 1:
command: /Users/rishavsharma/PycharmProjects/signpdf/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/fj/1p_6x9n93j541nl1_ny6rkyh0000gp/T/pip-install-jmwleh31/pykcs11/setup.py'"'"'; file='"'"'/private/var/folders/fj/1p_6x9n93j541nl1_ny6rkyh0000gp/T/pip-install-jmwleh31/pykcs11/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/fj/1p_6x9n93j541nl1_ny6rkyh0000gp/T/pip-record-5gh_4ps5/install-record.txt --single-version-externally-managed --compile --install-headers /Users/rishavsharma/PycharmProjects/signpdf/venv/include/site/python3.8/pykcs11
cwd: /private/var/folders/fj/1p_6x9n93j541nl1_ny6rkyh0000gp/T/pip-install-jmwleh31/pykcs11/
Complete output (8 lines):
running install
running build
running build_ext
building 'PyKCS11._LowLevel' extension
swigging src/pykcs11.i to src/pykcs11_wrap.cpp
swig -python -c++ -o src/pykcs11_wrap.cpp src/pykcs11.i
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/rishavsharma/PycharmProjects/signpdf/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/fj/1p_6x9n93j541nl1_ny6rkyh0000gp/T/pip-install-jmwleh31/pykcs11/setup.py'"'"'; file='"'"'/private/var/folders/fj/1p_6x9n93j541nl1_ny6rkyh0000gp/T/pip-install-jmwleh31/pykcs11/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/fj/1p_6x9n93j541nl1_ny6rkyh0000gp/T/pip-record-5gh_4ps5/install-record.txt --single-version-externally-managed --compile --install-headers /Users/rishavsharma/PycharmProjects/signpdf/venv/include/site/python3.8/pykcs11 Check the logs for full command output.

pykcs11 ... error
unable to execute 'swig': No such file or directory
install required package, on debian/ubuntu just execute:
apt install swig

hey i tried to install this on my mac on ide pycharm but the following error was shown please help
(venv) rishavsharma@rishavs-MacBook-Air signpdf % apt install swig
Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home/bin/apt" (-1)

apt is a debian (linux) command, there is some other command to install packages on macbook. Unfortunately, I don't have such a computer and I can't help

but there must be a common command to install through pip on my ide. i for example use pycharm as my ide so can you help me in installing it successfully on that.
thankyou

The environment in which you write does not matter (pycharm), in this case the system (MAC) and its way of installing packages are important. As I wrote, I don't have this system and I don't know how to install packages in it, ask for some mackintosh groups

ok thanks i will ask for that to someone who a mac user, meanwhile if you get some solution to this then please inform me.
thankyou


interactive plots

Currently we display a static image of a plot, but this needs to be interactive.

See dev guide page on plot view nodes
Might take only the plot widget and stick it in the right place.


feature - processing server

Github Issue URL/Tags (required)
What's this PR do? Please give a technical summary (required)

[x] fix conflict

Any references (stackoverflow …) (optional)

Total linter violations in pull request: 1
Serious: 0
Warnings: 1

:+1: There are no linter violations.


Tensorflow Version

We need to specify the exact TensorFlow version in our code as using pip install tensorflow installs the latest version of TensorFlow which is 2.0 but with that our code gives error for
 self.data = tf.placeholder(tf.float32, shape=[None, None, None, 3])
AttributeError: 'module' object has no attribute 'placeholder'

as placeholder is deprecated, code works well for tensorflow==1.14

Yes, thank you for pointing that out! I have added version restrictions on the READ.ME now.

@ritwik12 Your welcome


Support for Mistral-7b

Do you all support this? https://mistral.ai/news/announcing-mistral-7b/

https://github.com/huggingface/candle/pull/983

Apologies for the late reply on this. I've tested two Mistral 7B-derived models (https://huggingface.co/TheBloke/Mistral-7B-Claude-Chat-GGUF and https://huggingface.co/TheBloke/zephyr-7B-beta-GGUF) with #412, and all seems to work. I'll keep this issue open until that PR lands.

Ok I sort of figured it out. For others looking into this:

Use the GGUF branch
Run it like this: cargo run --release -- infer -m ~/llms/mistral-7b-instruct-v0.1.Q4_K_S.gguf -p "Write a long story" -n 5000 -r mistralai/Mistral-7B-v0.1
The important bit is to tell it to use the tokenizer at the end.

Yup - the gguf branch's embedded tokenizer support doesn't quite work, so I've disabled it for now. I'm rebuilding the library in develop to target the latest llama.cpp, but that's going to take some time.


Creating a model with no additional fields fails

In version 2.1.20, creating a model like so does not function:
var orm = require('orm');

orm.connect({protocol: 'sqlite', database: 'test.sqlite'}, function(err, db) {
  if (err) throw err;

  var User = db.define('users', {}, {});
  User.create({}, function(err, result) {
    if (err) throw err;
    assert(result);
  });
});

(I mean to say an object with no columns beyond the autogenerated id column)
Specifically, it fails with a SQL syntax error (Error: SQLITE_ERROR: near ")": syntax error) when you attempt to create an instance of the object. (as indicated on line 8 of the above)

+1

+1

++

+1


Should move all instances of CastingEnvironment.caster.sendMessage() to CastingEnvironment.printMessage() for compatibility

the implementation of PlayerBasedCastingEnvironment is caster.sendMessage so that wont change much
the Circle based one just prints to it's impetus

the biggest offender of this iirc (from my scan through while making #590 ) was the mishaps

@walksanatora can you expand a bit more on why this is necessary / a good idea?

In terms of how good it would be. It would be nice to standardize the sending if feedback. This also means that non-player casting events that log stuff (eg: mishaps/other spells/actions that have chat output/warnings) all can be handled by the environment


sc.pl.violin ylabel and title

I think it would be usedul to allow for manual setting of ylabel and title through the parameter list of sc.pl.violin()

Quick workaround:
ax = sc.pl.violin(adata, show=False)
ax.set_title(..)
ax.set_ylabel(...)
pl.show()

Thanks!
and workaround for multipanel lists with some list of ids (called hgnc) and the corresponding ids used in adata.var_names (called ens here)
axs = sc.pl.violin(adata, keys=ensg, show=False)
for i,ax in enumerate(axs):
ax.set_ylabel(hgnc[i])
plt.show()


Fix docstring: s/util/leakcheck/

Presumably a minor hangover from when leakcheck was a util package.

Looks like the current travis config is wonky, I'll fix it up and let you know when it's clear to rebase

FYI, I fixed it over in https://github.com/fortytw2/leaktest/pull/23.

Merged #23, go ahead and rebase <3

Rebased - by the way you could do that via the merge button on github, FWIW (and you also had edit capability on my branch, too).


[ERROR] Fourth Order Nullspace Errors

Hello,
I was using the extract_forceconstants command to find 2nd 3rd and 4th order force constants. This command works fine for me to calculate 2nd and 3rd order; however, when I tried adding 4th order things crashed and I am unsure why. This is not the easiest thing to debug for me since it took 5 days before the error was thrown. Specifically the errors come when trying to find the null-space of the fourth order LSQ problem. I might not have enough samples to be over-determined at 4th order but I didn't get any useful errors and its hard to re-run and check so any help would be appreciated.
Simulation Params:
FCC LJ, 256 Atoms, 200 configurations sampled from MD 5 ps apart.
Command:
mpirun -np 40 extract_forceconstants -rc2 8.5 -rc3 8.5 -rc4 8.5 --potential_energy_differences
The last correct output from TDEP:
     ... and 123 more shells
 ... determined singlet nullspace
 ... determined pair nullspace
 ... determined triplet nullspace

The error messages are:

ERROR
exit code 4: symmetry error
Not as invariant as it should be.
occurs in file: lo_symmetry_of_interactions_nullspace.f90
occurs on line: 477
active rank: 8 out of 40

Error termination. Backtrace:
Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG IEEE_DIVIDE_BY_ZERO IEEE_UNDERFLOW_FLAG IEEE_DENORMAL
ERROR STOP 4

Input Files:
TDEP_Input.zip

Hi @ejmeitz , can you add the full log of extract_forceconstants?

The program did not make a log file. What would it be called? I'm using a version of TDEP from before it was public.

Hi, please follow the basic tdep tutorials to learn what to look for:
https://github.com/tdep-developers/tdep-tutorials/tree/main/01_basics
as a general hint: your force constant cutoffs are likely way too big
there are convergence tutorials as well:
https://github.com/tdep-developers/tdep-tutorials/tree/main/02_sampling/convergence

Using nearest neighbor for fourth order got past the error. Would you consider adding an error message that just stops the program if your system is way underdetermined?

All parameters need to be explicitly converged, as documented. Giving general rules of thumb is unfortunately not possible.


[Feature] Allow tooltips text to be customised

With all the charts in sqlpage, the tooltips seem to be only auto-generated.
It would be nice if the tooltips can be customized, allowing users to add extra data / context to the tooltip, (using data from columns or other static text) that are not necessarily required for the chart, but is extra info that can be passed on to a user via tooltips.

Hi, it's possible to add some informations like this :
select
    SUBSTR(aesh.aesh_firstname, 1, 1) ||'. '|| aesh_name as label,
    SUBSTR(eleve.prenom, 1, 1) ||'. '||eleve.nom||' ('||eleve.classe||')' as series,
    sum(suivi.temps/mut)        as value
        FROM suivi JOIN...

Hi @DSMejantel , thanks for your response.
In this example is the x-axis the same as the label ?
According to the docs, looks like label is just an alias for x.
So when I tried to add a  .... as label to a chart that already had a timeseries for x, it broke the chart.
Pls let me know if I am missing something.

You're right. If we have 'something as x', we can't ask for 'anotherthing as label'.
What I propose with my example, you can concate differents rows in the label with || in relation with the context of the data
like here with firstname and name :
SUBSTR(aesh.aesh_firstname, 1, 1) ||'. '|| aesh_name as label

Thanks for the reply @DSMejantel. I am on the same page with you about this now.
The feature request is to allow for values that are not the same as the x or y to be passed to the tooltip.
For example x is a time series, y is a dollar amount. Tooltip can provide other extra info (other than the dollar amount / predefined x-axis).


Merging of Affix text-reading breaking filters

My friend and I are both getting errors like these, where it is erroring out because it is reading 2 affixes as 1 - it does not happen every time.
Log Files and example item
2024-08-17 | 07:34:39.679 | MainThread | INFO | src.logger:102 | Running version v5.7.5
2024-08-17 | 07:34:39.679 | MainThread | INFO | main:31 | Adapt your configs via gui.bat or directly in: C:\Users\Pwnjo.d4lf
2024-08-17 | 07:34:39.680 | MainThread | ERROR | src.item.filter:285 | Could not load profile edited_e_end. Checked: C:\Users\Pwnjo.d4lf\profiles\edited_e_end.yaml
2024-08-17 | 07:34:39.690 | MainThread | INFO | src.item.filter:319 | Loading profile sigils: Sigils
2024-08-17 | 07:34:39.704 | MainThread | INFO | src.item.filter:319 | Loading profile c_end: Affixes Uniques
2024-08-17 | 07:34:39.714 | MainThread | INFO | src.item.filter:319 | Loading profile e_end: Affixes Uniques
2024-08-17 | 07:34:39.723 | MainThread | INFO | src.item.filter:319 | Loading profile c_spec: Affixes Uniques
2024-08-17 | 07:34:39.731 | MainThread | INFO | src.item.filter:319 | Loading profile e_spec: Affixes Uniques
2024-08-17 | 07:34:39.734 | MainThread | INFO | src.utils.window:73 | Using WinAPI to search for window: Diablo IV.exe
2024-08-17 | 07:55:23.068 | Thread-4 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:149 | Run Loot filter
2024-08-17 | 07:55:23.471 | Thread-4 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:36 | Items: 1 (favorite: 0, junk: 0) in Char_Inventory
2024-08-17 | 07:55:25.380 | Thread-4 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:168 | Loot Filter done
2024-08-17 | 07:59:30.017 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:149 | Run Loot filter
2024-08-17 | 07:59:30.381 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:36 | Items: 1 (favorite: 0, junk: 0) in Char_Inventory
2024-08-17 | 07:59:31.757 | ThreadPoolExecutor-0_2 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='lucky hit chance damaging an elite enemy grants you a barrier absorbing up to damage for seconds. this effect can only happen once every seconds. »' ||| combined_lines='+4.0% lucky hit chance [4.0 - 5.0]% ( +4,0%) damaging an elite enemy grants you a barrier absorbing up to 1,333 [909 - 1,514] damage for 10 seconds. this effect can only happen once every 20 seconds. » empty socket operties lost when equipped:'
2024-08-17 | 07:59:32.127 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:168 | Loot Filter done
2024-08-17 | 08:00:49.714 | Thread-6 (vision_mode) | INFO | src.scripts.vision_mode:133 | Starting Vision Filter
2024-08-17 | 08:00:52.364 | ThreadPoolExecutor-0_0 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='lucky hit chance damaging an elite enemy grants you a barrier absorbing up to damage for seconds. this effect can only happen once every seconds. »' ||| combined_lines='+4.0% lucky hit chance [4.0 - 5.0]% ( +4,0%) damaging an elite enemy grants you a barrier absorbing up to 1,333 [909 - 1,514] damage for 10 seconds. this effect can only happen once every 20 seconds. » empty socket operties lost when equipped:'
2024-08-17 | 08:01:02.838 | ThreadPoolExecutor-0_4 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='lucky hit chance damaging an elite enemy grants you a barrier absorbing up to damage for seconds. this effect can only happen once every seconds. »' ||| combined_lines='+4.0% lucky hit chance [4.0 - 5.0]% ( +4,0%) damaging an elite enemy grants you a barrier absorbing up to 1,333 [909 - 1,514] damage for 10 seconds. this effect can only happen once every 20 seconds. » empty socket operties lost when equipped:'

2024-08-17 | 09:10:42.608 | MainThread | INFO | src.logger:102 | Running version v5.7.5
2024-08-17 | 09:10:42.609 | MainThread | INFO | main:31 | Adapt your configs via gui.bat or directly in: C:\Users\Jacob.d4lf
2024-08-17 | 09:10:42.635 | MainThread | INFO | src.item.filter:319 | Loading profile sigils: Sigils
2024-08-17 | 09:10:42.654 | MainThread | INFO | src.item.filter:319 | Loading profile c_end: Affixes Uniques
2024-08-17 | 09:10:42.673 | MainThread | INFO | src.item.filter:319 | Loading profile e_end: Affixes Uniques
2024-08-17 | 09:10:42.688 | MainThread | INFO | src.item.filter:319 | Loading profile c_spec: Affixes Uniques
2024-08-17 | 09:10:42.701 | MainThread | INFO | src.item.filter:319 | Loading profile e_spec: Affixes Uniques
2024-08-17 | 09:10:42.704 | MainThread | INFO | src.utils.window:73 | Using WinAPI to search for window: Diablo IV.exe
2024-08-17 | 09:10:56.756 | Thread-4 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:149 | Run Loot filter
2024-08-17 | 09:10:59.159 | Thread-4 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:36 | Items: 22 (favorite: 8, junk: 0) in Char_Inventory
2024-08-17 | 09:11:01.496 | ThreadPoolExecutor-0_1 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='lucky hit chance damaging an elite enemy grants you a barrier absorbing up to damage for seconds. this effect can only happen once every seconds.' ||| combined_lines='+4.0% lucky hit chance [4.0 - 5.0]% ( +4.0%) damaging an elite enemy grants you a barrier absorbing up to 1,333 [909 - 1,514] damage for 10 seconds. this effect can only happen once every 20 seconds. operties lost when equipped:'
2024-08-17 | 09:11:21.783 | Thread-4 (_wrapper_run_loot_interaction_method) | INFO | src.item.filter:111 | Matched e_end.Affixes.Boots: ['maximum_life', 'movement_speed', 'attacks_reduce_evades_cooldown_by_seconds']
2024-08-17 | 09:11:21.785 | Thread-4 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:125 | Mark as favorite
2024-08-17 | 09:11:26.079 | ThreadPoolExecutor-0_2 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='mana per second while below life, evade freezes close enemies, deals cold damage to them, and makes them vulnerable for seconds.' ||| combined_lines='+2 mana per second +[2 - 3] (+2) while below 45% [45 - 52]% life, evade freezes close enemies, deals 6,015 cold damage to them, and makes them vulnerable for 3 seconds. operties lost when equipped:'
2024-08-17 | 09:11:30.320 | ThreadPoolExecutor-0_0 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='poison resistance when cast below maximum resource, basic skills generate of your primary resource, once per cast. when cast at or above maximum resource, basic skills deal increased damage. ,' ||| combined_lines='+24.0% poison resistance [24.0 - 32.0]% (+24.0%) when cast below 50% maximum resource, basic skills generate 3 of your primary resource, once per cast. when cast at or above 50% maximum resource, basic skills deal 40%[x] [20 - 68]% increased damage. , operties lost when equipped:'
2024-08-17 | 09:11:30.969 | Thread-4 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:168 | Loot Filter done
2024-08-17 | 09:48:59.343 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:149 | Run Loot filter
2024-08-17 | 09:49:00.068 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:36 | Items: 22 (favorite: 0, junk: 0) in Char_Inventory
2024-08-17 | 09:49:02.039 | ThreadPoolExecutor-0_0 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='lucky hit chance damaging an elite enemy grants you a barrier absorbing up to damage for seconds. this effect can only happen once every seconds.' ||| combined_lines='+4.0% lucky hit chance [4.0 - 5.0]% ( +4.0%) damaging an elite enemy grants you a barrier absorbing up to 1,333 [909 - 1,514] damage for 10 seconds. this effect can only happen once every 20 seconds. operties lost when equipped:'
2024-08-17 | 09:49:02.045 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.item.filter:319 | Loading profile sigils: Sigils
2024-08-17 | 09:49:02.054 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.item.filter:319 | Loading profile c_end: Affixes Uniques
2024-08-17 | 09:49:02.061 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.item.filter:319 | Loading profile e_end: Affixes Uniques
2024-08-17 | 09:49:02.066 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.item.filter:319 | Loading profile c_spec: Affixes Uniques
2024-08-17 | 09:49:02.072 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.item.filter:319 | Loading profile e_spec: Affixes Uniques
2024-08-17 | 09:49:03.981 | ThreadPoolExecutor-0_1 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='to shocking impact after using teleport, close enemies are pulled to you and stunned for seconds, but teleports cooldown is increased by . ai al' ||| combined_lines="+1 to shocking impact [1 - 2] (+1) (sorcerer only) after using teleport, close enemies are pulled to you and stunned for 2.8 [2.0 - 3.0] seconds, but teleport's cooldown is increased by 20%[x]. (sorcerer only) ai al operties lost when equipped:"
2024-08-17 | 09:49:11.490 | ThreadPoolExecutor-0_5 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='staff @f endless cr q' ||| combined_lines=' staff @f endless cr q'
2024-08-17 | 09:49:11.496 | ThreadPoolExecutor-0_5 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='rage * ancestral unique staff' ||| combined_lines='rage * ancestral unique staff'
2024-08-17 | 09:49:11.506 | ThreadPoolExecutor-0_5 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='' ||| combined_lines='(sorcerer only)'
2024-08-17 | 09:49:11.512 | ThreadPoolExecutor-0_5 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='* to fireball * every rd cast of fireball launches additional projectiles and deals |x| increased damage. cn \ pr' ||| combined_lines='* +8 to fireball (+8) (sorcerer only) * every 3rd cast of fireball launches 2 additional projectiles and deals 86%|x| [50 - 90]% increased damage. (sorcerer only) cn \7 properties lost when equipped: ° ° ° chain lightning'
2024-08-17 | 09:49:11.514 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.item.filter:191 | Matched e_end.Uniques: staff_of_endless_rage
2024-08-17 | 09:49:11.516 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:125 | Mark as favorite
2024-08-17 | 09:49:17.324 | ThreadPoolExecutor-0_3 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='d@o@mibringer i , ancestral mythic unique sword' ||| combined_lines=' d@o@mibringer i) , ancestral mythic unique sword'
2024-08-17 | 09:49:17.328 | ThreadPoolExecutor-0_3 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='item power' ||| combined_lines='925 item power'
2024-08-17 | 09:49:20.936 | ThreadPoolExecutor-0_5 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='damage over time distant enemies have a chance to be stunned for seconds when they hit you. you deal increased damage to stunned or knocked down enemies.' ||| combined_lines='+50.0% damage over time [50.0 - 60.0]% ( ) distant enemies have a 10% chance to be stunned for 2 seconds when they hit you. you deal 18%[x] [15 - 30]% increased damage to stunned or knocked down enemies. operties lost when equipped:'
2024-08-17 | 09:49:32.392 | ThreadPoolExecutor-0_5 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='mana per second while below life, evade freezes close enemies, deals cold damage to them, and makes them vulnerable for seconds.' ||| combined_lines='+2 mana per second +[2 - 3] (+2) while below 45% [45 - 52]% life, evade freezes close enemies, deals 6,015 cold damage to them, and makes them vulnerable for 3 seconds. operties lost when equipped:'
2024-08-17 | 09:49:37.789 | ThreadPoolExecutor-0_2 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='to potent warding for each type of elemental damage you deal, gain | increased damage for seconds, up to | . dealing elemental damage refreshes all bonuses.' ||| combined_lines='+3 to potent warding [2 - 3] (+1) (sorcerer only) for each type of elemental damage you deal, gain 10.5%|[x] [10.0 - 20.0]% increased damage for 4 seconds, up to 42.0%|[x] [40.0 - 80.0]% . dealing elemental damage refreshes all bonuses. (sorcerer only) operties lost when equipped:'
2024-08-17 | 09:49:41.632 | ThreadPoolExecutor-0_0 | WARNING | src.item.descr.find_affixes:124 | Affix does not exist: cleaned_str='poison resistance when cast below maximum resource, basic skills generate of your primary resource, once per cast. when cast at or above maximum resource, basic skills deal increased damage. ,' ||| combined_lines='+24.0% poison resistance [24.0 - 32.0]% (+24.0%) when cast below 50% maximum resource, basic skills generate 3 of your primary resource, once per cast. when cast at or above 50% maximum resource, basic skills deal 40%[x] [20 - 68]% increased damage. , operties lost when equipped:'
2024-08-17 | 09:49:42.283 | Thread-5 (_wrapper_run_loot_interaction_method) | INFO | src.loot_filter:168 | Loot Filter done

Resolution? Font size? HDR? Upscaling?

3840 x 2160 and 3440 x 1440
Both Small font
Both HDR disabled
I have Nv DLSS > Quality, unsure about them

What resolution is the screenshot based on?

3440 x 1440

While I do know that we have some problems on multi line which I'll fix, I ran your image offline and it worked without any issues in 5.7.5.

I'll see if I can get some other screenshots that cause issues later today.

multi lines should be fixed with 5.7.6


Lock and Load (SoD)

Request to track the Lock and Load rune for Season of Discovery. Requires to track the Lock and Load buff.
The effect is supported in Wrath. The same visuals should be re-used for spell alerts. However, in Season of Discovery, all shots are affected. Adding glowing buttons for all of them could be problematic. May need to probe the community beforehand.

Implemented in #237 but without Glowing Buttons, because there are way too many buttons to suggest.
Wrath only had 2 spells to glow, it was reasonable to make options for both. SoD has about 10, this would be a mess.
Maybe this can change in the future if we rework the glowing button option UI, but there's no plan for this in the near future.


add bursting to simulation module

More fully addresses issue #46
Addition to the last PR #53 that adding simulating oscillators with noise. Now the module can simulate bursting oscillations in addition to stationary ones.

pep8speaks never yelled at me, so I guess there are no pep8 issues? or it's broken.


remove sim machine layer

@matthiasdiener I accidentally merged this first... can you recreate the PR?

@matthiasdiener I accidentally merged this first... can you recreate the PR?

No problem, done. Today I learned that it is not possible to reopen PRs...


Fixes #21

Thanks for the PR!
Just removing the ?s won't work, since they're indicating an error condition. I think you should be able to keep them when you use try_for_each instead of for_each. (I didn't think of this before, sorry!)

This was implemented in #24. Thanks for the suggestion and starting an initial implementation!


Various fixes to the rules and data collectors generation for PaaS scenarios.

This PR apply various fixes to the generation of monitoring information for SeaClouds applications, in particular for PaaS deployments.

Fixed a bug which was preventing the generation of monitoring rules for PaaS modules.
The javaAppDc node template is not generated anymore since it is within the application and just need to be configured through the export of few environmental variables. These are now added under the "env" field of the node template representing the module which contains the javaAppDc.
The seacloudsDc node template is not generated anymore since it is part of the SeaClouds platform and just need to be configured (not actually deployed). This configuration task is now missing and will rely on the SeaCloudsManagementPolicy in an upcoming PR.

@kiuby88 can you have a look at this?

Current coverage is 41.02%

Merging #296 into master will decrease coverage by -7.12% as of 13b8622

@@            master    #296   diff @@
======================================
  Files          219     365    +146
  Stmts         9045   13210   +4165
  Branches      1322    1672    +350
  Methods          0       0
======================================
+ Hit           4355    5419   +1064
- Partial        355     432     +77
- Missed        4335    7359   +3024

Review entire Coverage Diff as of 13b8622

Powered by Codecov. Updated on successful CI builds.

Thanks a lot @MicheleGuerriero
+1


Writing Multiple field values

Hi there,
I'm new to influxdb and I'm trying to write multiple fields into influxdb, but it's not working. Kindly support in solving the issue
-InfluxDB version:1.7.7
-Python version:3.7.4

Operating system version:**  Windows 10

the following is my code:
`from influxdb import InfluxDBClient
host = 'localhost'
port = 8086
user = 'root'
password = 'root'
dbname = 'writetest'
myclient = InfluxDBClient(host, port, user, password, dbname)
dat = {"ab": round(raw.decode_32bit_float(),2),
"bc": round(raw.decode_32bit_float(),2),
"cd": round(raw.decode_32bit_float(),2)
}
print(type(dat))
print(dat)
val = {}
val['measurement']= 'check2'
val['location'] = 'DEL'
val['device'] = 'SAT'
val['fields'] = dat
print(val)
myclient.write_points(val)`
the output & error is as follows:
<class 'dict'>
{'pac': 10.1, 'faq': 11.1, 'pdc': 12.1}
{'measurement': 'check2', 'location': 'DEL', 'device': 'SAT', 'fields': {'pac': 10.1, 'faq': 11.1, 'pdc': 12.1}}
File "C:\Users\Python\Python37-32\lib\site-packages\influxdb\line_protocol.py", line 132, in make_lines    point.get('measurement', data.get('measurement'))))
AttributeError: 'str' object has no attribute 'get'
I also tried val = [{"measurement" : "check1", "tags": {"location": "DEL"},"field":{dat}}]
but got the following error :
File "C:\Users\Python\Python37-32\lib\site-packages\influxdb\client.py", line 508, in _batches
yield iterable[i:i + size] TypeError: unhashable type: 'slice'
Kindly support me in solving this issue

Place the location and device in to a key called tags:
from influxdb import InfluxDBClient

host = 'localhost'
port = 8086
user = 'root'
password = 'root'
dbname = 'writetest'
myclient = InfluxDBClient(host, port, user, password, dbname)

dat = {"ab": round(raw.decode_32bit_float(),2),
"bc": round(raw.decode_32bit_float(),2),
"cd": round(raw.decode_32bit_float(),2)
}
print(type(dat))
print(dat)
val = {}
val['measurement']= 'check2'
val['tags']['location'] = 'DEL'
val['tags']['device'] = 'SAT'
val['fields'] = dat
print(val)
myclient.write_points(val)

This should work.

Hi,
Thank you for your support.  I tried the following but getting an error
val = {}
val['measurement']= 'check2'
val['tags']['location'] = 'DEL'
val['tags']['device'] = 'SAT'
val['fields'] = dat
print(val)

error:
<class 'dict'>
{'pac': 10.1, 'faq': 11.1, 'pdc': 12.1}
Traceback (most recent call last):
File "C:\Users\Python\Python37-32\mod2.py", line 34, in     val['tags']['device'] = 'SAT'
KeyError: 'tags'
Kindly support.

@krishnacy sorry a mistake from my side.
It should have the following:
val = {'measurement': '', 'tags':{}, 'fields':{}}

You should always define the dict structure initially. This way you cannot go wrong.
Then go add the your values:
val['measurement']= 'check2'
val['tags']['location'] = 'DEL'
val['tags']['device'] = 'SAT'
val['fields'] = dat

@shantanoo-desai : Thank you for your quick support. I'm sorry for the trouble.
Got the same error as before
"File "C:\Users\Python\Python37-32\lib\site-packages\influxdb\line_protocol.py", line 132, in make_lines point.get('measurement', data.get('measurement'))))
AttributeError: 'str' object has no attribute 'get'"
Kindly support in solving this issue

you have to send the val as an array within write_points. Please read the documentation correctly.
client.write_points([val])

Thank you. it worked.


[hotfix] Fix regression preventing subfolder expansion in citationgrids.

Regression was introduced in 7d8e492c4838daca0e15ef082678ea62c407607f.
The assumption was made that all items in the returned dataset would
have an item[data][csl] value - but folders do not. To resolve, I've
added a conditional that first checks for the existence of the key, and
falls back to the previous method of action.

Ping @ticklemepierce:
You changed the key in your PR from data-clipboard-text to data-clipboard-target. I retained the latter, but don't understand the purpose of the change. Everything seems to work fine, but if you could help me understand why the key was changed and make sure my fix makes sense, I'd very much appreciate it.

data-clipboard-text: takes a string to be copied to the clipboard
data-clipboard-target:  takes ID and returns the text from inside of that HTML and formats according to tags such as .


cli: endless loop when parsing malformed connect command

Upon entering a command connect --host XX --port 830 --user root --ssh, I get an endless loop of repeated help text telling me how to connect. I would like to see that just once, and then be able to proceed with a fixed command.

Hi,
should work now in devel-server. Cool bug though.
Regards,
Michal


[gh-457] abstract signatures and add Schnorr support.

This PR resolves #457

I would like to remove traits imported from fastcrypto and generalize trait RoochSignatureInner and use it for SchnorrRoochSignature, Ed25519RoochSignature and ECDSARoochSignature.
But I encountered some difficult issues:

To satisfy AsRef<[u8]> of RoochAddress:

error[E0277]: the trait bound `secp256k1::XOnlyPublicKey: AsRef<[u8]>` is not satisfied
   --> crates/rooch-types/src/crypto.rs:812:48
    |
812 |         let received_addr = RoochAddress::from(&pk);
    |                             ------------------ ^^^ the trait `AsRef<[u8]>` is not implemented for `secp256k1::XOnlyPublicKey`
    |                             |
    |                             required by a bound introduced by this call
    |
    = help: the following other types implement trait `From<T>`:
              <address::RoochAddress as From<&T>>
              <address::RoochAddress as From<&crypto::PublicKey>>
              <address::RoochAddress as From<move_core_types::account_address::AccountAddress>>
note: required for `address::RoochAddress` to implement `From<&secp256k1::XOnlyPublicKey>`

Duplicate implementation of Secp256k1KeyPair

// TODO generalize Secp256k1KeyPair
// impl Signer<Signature> for Secp256k1KeyPair {
//     fn sign(&self, msg: &[u8]) -> Signature {
//         ECDSARoochSignature::new(self, msg).into()
//     }
// }

impl Signer<Signature> for Secp256k1KeyPair {
    fn sign(&self, msg: &[u8]) -> Signature {
        SchnorrRoochSignature::new(self, msg).into()
    }
}

They are using same key pair base for ECDSA and Schnorr signatures.
Other wreaked issues:
error[E0277]: the trait bound `OsRng: rand_core::CryptoRng` is not satisfied
   --> crates/rooch-types/src/transaction/authenticator.rs:60:50
    |
60  |         let keypair: Keypair = Keypair::generate(&mut csprng);
    |                                ----------------- ^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `OsRng`
    |                                |
    |                                required by a bound introduced by this call
    |
    = help: the following other types implement trait `rand_core::CryptoRng`:
              &'a mut R
              Box<R>
              rand::rngs::adapter::reseeding::ReseedingRng<R, Rsdr>
              rand::rngs::entropy::EntropyRng
              rand::rngs::std::StdRng
              rand::rngs::thread::ThreadRng
              rand_chacha::chacha::ChaCha12Core
              rand_chacha::chacha::ChaCha12Rng
            and 6 others
note: required by a bound in `ed25519_dalek::Keypair::generate`
    |
129 |         R: CryptoRng + RngCore,
    |            ^^^^^^^^^ required by this bound in `Keypair::generate`

error[E0277]: the trait bound `StdRng: crypto::AllowedRng` is not satisfied
    --> crates/rooch-types/src/crypto.rs:1045:27
     |
1045 |     let kp = KP::generate(&mut StdRng::from_rng(csprng).unwrap());
     |              ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `crypto::AllowedRng` is not implemented for `StdRng`
     |              |
     |              required by a bound introduced by this call
     |
note: required by a bound in `KeypairTraits::generate`
    --> crates/rooch-types/src/crypto.rs:440:20
     |
440  |     fn generate<R: AllowedRng>(rng: &mut R) -> Self;
     |                    ^^^^^^^^^^ required by this bound in `KeypairTraits::generate`

I'm still solving the above problems, but I might need some reviews and hints. @jolestar @wow-sven
There're conflicts between #466 and #461, mainly for renaming spec256k1 to ECDSA in crates/rooch-types/src/transaction/authenticator.rs.

I would like to remove traits imported from fastcrypto and generalize trait RoochSignatureInner and use it for SchnorrRoochSignature, Ed25519RoochSignature and ECDSARoochSignature.
But I encountered some difficult issues:

To satisfy AsRef<[u8]> of RoochAddress:

error[E0277]: the trait bound `secp256k1::XOnlyPublicKey: AsRef<[u8]>` is not satisfied
   --> crates/rooch-types/src/crypto.rs:812:48
    |
812 |         let received_addr = RoochAddress::from(&pk);
    |                             ------------------ ^^^ the trait `AsRef<[u8]>` is not implemented for `secp256k1::XOnlyPublicKey`
    |                             |
    |                             required by a bound introduced by this call
    |
    = help: the following other types implement trait `From<T>`:
              <address::RoochAddress as From<&T>>
              <address::RoochAddress as From<&crypto::PublicKey>>
              <address::RoochAddress as From<move_core_types::account_address::AccountAddress>>
note: required for `address::RoochAddress` to implement `From<&secp256k1::XOnlyPublicKey>`

Duplicate implementation of Secp256k1KeyPair

// TODO generalize Secp256k1KeyPair
// impl Signer<Signature> for Secp256k1KeyPair {
//     fn sign(&self, msg: &[u8]) -> Signature {
//         ECDSARoochSignature::new(self, msg).into()
//     }
// }

impl Signer<Signature> for Secp256k1KeyPair {
   fn sign(&self, msg: &[u8]) -> Signature {
       SchnorrRoochSignature::new(self, msg).into()
   }
}

They are using same key pair base for ECDSA and Schnorr signatures.
Other wreaked issues:
error[E0277]: the trait bound `OsRng: rand_core::CryptoRng` is not satisfied
   --> crates/rooch-types/src/transaction/authenticator.rs:60:50
    |
60  |         let keypair: Keypair = Keypair::generate(&mut csprng);
    |                                ----------------- ^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `OsRng`
    |                                |
    |                                required by a bound introduced by this call
    |
    = help: the following other types implement trait `rand_core::CryptoRng`:
              &'a mut R
              Box<R>
              rand::rngs::adapter::reseeding::ReseedingRng<R, Rsdr>
              rand::rngs::entropy::EntropyRng
              rand::rngs::std::StdRng
              rand::rngs::thread::ThreadRng
              rand_chacha::chacha::ChaCha12Core
              rand_chacha::chacha::ChaCha12Rng
            and 6 others
note: required by a bound in `ed25519_dalek::Keypair::generate`
    |
129 |         R: CryptoRng + RngCore,
    |            ^^^^^^^^^ required by this bound in `Keypair::generate`

error[E0277]: the trait bound `StdRng: crypto::AllowedRng` is not satisfied
   --> crates/rooch-types/src/crypto.rs:1045:27
    |
1045 |     let kp = KP::generate(&mut StdRng::from_rng(csprng).unwrap());
    |              ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `crypto::AllowedRng` is not implemented for `StdRng`
    |              |
    |              required by a bound introduced by this call
    |
note: required by a bound in `KeypairTraits::generate`
   --> crates/rooch-types/src/crypto.rs:440:20
    |
440  |     fn generate<R: AllowedRng>(rng: &mut R) -> Self;
    |                    ^^^^^^^^^^ required by this bound in `KeypairTraits::generate`

I'm still solving the above problems, but I might need some reviews and hints. @jolestar @wow-sven
There're conflicts between #466 and #461, mainly for renaming spec256k1 to ECDSA in crates/rooch-types/src/transaction/authenticator.rs.

Option1:
Keep making changes based on this commit （865e9dce759a71a729f5e0f527e19e7dbc209a5e） without breaking the current Fastcrypto, can be pushed to Fastcrypto
Fork fastcrypto

Implements the Authenticator trait for SchnorrSignature
Implements the VerifyingKey trait for XOnlyPublicKey
Implements the fastcrypto::KeyPair trait for KeyPair

ref：https://github.com/MystenLabs/fastcrypto/issues/51
Option2:
Remove fastcrypto completely and reorganize instead of keeping parts. Avoid further incompatibilities later on

I would like to remove traits imported from fastcrypto and generalize trait RoochSignatureInner and use it for SchnorrRoochSignature, Ed25519RoochSignature and ECDSARoochSignature.
But I encountered some difficult issues:

To satisfy AsRef<[u8]> of RoochAddress:

error[E0277]: the trait bound `secp256k1::XOnlyPublicKey: AsRef<[u8]>` is not satisfied
   --> crates/rooch-types/src/crypto.rs:812:48
    |
812 |         let received_addr = RoochAddress::from(&pk);
    |                             ------------------ ^^^ the trait `AsRef<[u8]>` is not implemented for `secp256k1::XOnlyPublicKey`
    |                             |
    |                             required by a bound introduced by this call
    |
    = help: the following other types implement trait `From<T>`:
              <address::RoochAddress as From<&T>>
              <address::RoochAddress as From<&crypto::PublicKey>>
              <address::RoochAddress as From<move_core_types::account_address::AccountAddress>>
note: required for `address::RoochAddress` to implement `From<&secp256k1::XOnlyPublicKey>`

Duplicate implementation of Secp256k1KeyPair

// TODO generalize Secp256k1KeyPair
// impl Signer<Signature> for Secp256k1KeyPair {
//     fn sign(&self, msg: &[u8]) -> Signature {
//         ECDSARoochSignature::new(self, msg).into()
//     }
// }

impl Signer<Signature> for Secp256k1KeyPair {
   fn sign(&self, msg: &[u8]) -> Signature {
       SchnorrRoochSignature::new(self, msg).into()
   }
}

They are using same key pair base for ECDSA and Schnorr signatures.
Other wreaked issues:
error[E0277]: the trait bound `OsRng: rand_core::CryptoRng` is not satisfied
   --> crates/rooch-types/src/transaction/authenticator.rs:60:50
    |
60  |         let keypair: Keypair = Keypair::generate(&mut csprng);
    |                                ----------------- ^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `OsRng`
    |                                |
    |                                required by a bound introduced by this call
    |
    = help: the following other types implement trait `rand_core::CryptoRng`:
              &'a mut R
              Box<R>
              rand::rngs::adapter::reseeding::ReseedingRng<R, Rsdr>
              rand::rngs::entropy::EntropyRng
              rand::rngs::std::StdRng
              rand::rngs::thread::ThreadRng
              rand_chacha::chacha::ChaCha12Core
              rand_chacha::chacha::ChaCha12Rng
            and 6 others
note: required by a bound in `ed25519_dalek::Keypair::generate`
    |
129 |         R: CryptoRng + RngCore,
    |            ^^^^^^^^^ required by this bound in `Keypair::generate`

error[E0277]: the trait bound `StdRng: crypto::AllowedRng` is not satisfied
   --> crates/rooch-types/src/crypto.rs:1045:27
    |
1045 |     let kp = KP::generate(&mut StdRng::from_rng(csprng).unwrap());
    |              ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `crypto::AllowedRng` is not implemented for `StdRng`
    |              |
    |              required by a bound introduced by this call
    |
note: required by a bound in `KeypairTraits::generate`
   --> crates/rooch-types/src/crypto.rs:440:20
    |
440  |     fn generate<R: AllowedRng>(rng: &mut R) -> Self;
    |                    ^^^^^^^^^^ required by this bound in `KeypairTraits::generate`

I'm still solving the above problems, but I might need some reviews and hints. @jolestar @wow-sven
There're conflicts between #466 and #461, mainly for renaming spec256k1 to ECDSA in crates/rooch-types/src/transaction/authenticator.rs.

Duplicate implementation of Secp256k1KeyPair
Option1: Keep making changes based on this commit （865e9dce759a71a729f5e0f527e19e7dbc209a5e） without breaking the current Fastcrypto, can be pushed to Fastcrypto
Fork fastcrypto, Add schnorr to it.

Implements the Authenticator trait for SchnorrSignature
Implements the VerifyingKey trait for XOnlyPublicKey
Implements the fastcrypto::KeyPair trait for KeyPair

ref：MystenLabs/fastcrypto#51
Option2: Remove fastcrypto completely and reorganize instead of keeping parts. Avoid further incompatibilities later on

Thanks. 🙂 I'll do Option 2 to decouple it from fastcrypto. I don't think it's a good idea to keep dependencies on commercial libraries.

fastcrypto is in Apache2/MIT license. I think Option 1 is better.

fastcrypto is in Apache2/MIT license. I think Option 1 is better.

I can add Option 1 temporarily, but in the long term view, it may needs to decouple from fastcrypto if that repo isn't being maintained.

fastcrypto is in Apache2/MIT license. I think Option 1 is better.

Can you @wow-sven @jolestar make a fork the repo fastcrypto? I do not have access to the team account rooch-network on GitHub.

fastcrypto is in Apache2/MIT license. I think Option 1 is better.

Can you @wow-sven @jolestar make a fork the repo fastcrypto? I do not have access to the team account rooch-network on GitHub. Or I can fork to my own and submit it later to the team repo.

https://github.com/rooch-network/fastcrypto

@wow-sven @jolestar I can almost finish it, but, there's another duplicate implementation. Do you have any idea to resolve it?
Code:
#[derive(Debug, Clone, PartialEq, Eq, JsonSchema)]
// TODO From here
// #[derive(Debug, Clone, PartialEq, Eq, From, JsonSchema)]
pub enum PublicKey {
    Ed25519(Ed25519PublicKeyAsBytes),
    Ecdsa(Secp256k1PublicKeyAsBytes),
    Schnorr(SchnorrPublicKeyAsBytes),
}

// TODO resolve From conflicts
impl From<BytesRepresentation<32>> for PublicKey {
    fn from(pk: BytesRepresentation<32>) -> Self {
        PublicKey::Ed25519(pk)
    }
}

impl AsRef<[u8]> for PublicKey {
    fn as_ref(&self) -> &[u8] {
        match self {
            PublicKey::Ed25519(pk: &BytesRepresentation<32>) => &pk.0,
            PublicKey::Ecdsa(pk: &BytesRepresentation<33>) => &pk.0,
            PublicKey::Schnorr(pk: &BytesRepresentation<32>) => &pk.0,
        }
    }
}

There're two hidden implementation of &BytesRepresentation<32> here.

It's ready for review now.


[gdapi-python] Does the latest version support python3

The script runs fine with python2 but gives the following error with python3 when we try to call service upgrade -
File "/usr/local/lib/python3.6/site-packages/gdapi.py", line 235, in
*args, **kw)
File "/usr/local/lib/python3.6/site-packages/gdapi.py", line 401, in action
return self._post(url, data=self._to_dict(*args, **kw))
File "/usr/local/lib/python3.6/site-packages/gdapi.py", line 454, in _to_dict
ret[k] = self._to_value(v)
File "/usr/local/lib/python3.6/site-packages/gdapi.py", line 428, in _to_value
for k, v in vars(value).iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

@kritimeh was this intended for another project?

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


cupy.nonzero doesn't work with an large array

I found cupy.nonzero doesn't work with the array whose size is larger than 128 * 65536.
The following code causes an invalid value without any warnings.

code

import cupy
import numpy

array = numpy.zeros(128 * 65536 + 1)
array[-1] = 1
array[-2] = 1

index = numpy.nonzero(array)

cuarray = cupy.asarray(array)
# the following code causes invalid values
cuindex = cupy.nonzero(cuarray)

print(index)
print(cuindex)

output

(array([8388607, 8388608]),)
(array([8388607,       0]),)

It is because _nonzero_1d_kernel and _nonzero_kernel are defined by calling compile_with_cache function directly, and cupy.cuda.Function.linear_launch restricts the maximum x-dimension of a grid size to 65536.
https://github.com/cupy/cupy/blob/master/cupy/core/core.pyx#L4091-L4110
https://github.com/cupy/cupy/blob/master/cupy/cuda/function.pyx#L149-L153

It seems this has been solved by #616.


Isolate finatra-jackson module

Since finatra-jackson has awesome features, I think i'd be nice to use finatra-jackson outside finatra/finagle. I'm not sure how hard it'd be to separate the modules, but, I'm wondering if it can be done and if you guys think it is a good idea. If it is, I could help you with this task. ;)
My question is because I don't use Finatra in all my projects, but, I really would appreciate to use finatra-jackson in order to keep using Jackson within my projects, and, since only jackson-scala-module lacks of basic features, I mainly Circe, but, I'm not 100% happy with it.

Hi @gabfssilva.
One of the goals of the finatra-jackson module is that it be usable outside of Finatra. So, it is currently usable without other dependencies on Finatra, and quite a few teams at Twitter use it in this fashion. However, it does still require a dependency on finagle-http, because finatra-jackson knows how to parse Finagle Request and Response bodies.
We have improvements for finatra-jackson planned for a future quarter (sometime next year). During this time I would expect that improvements will be made to make the base library entirely independent of Finagle and Finatra. We don't generally recommend folks try to make large scale changes to the structure of our libraries through GitHub, since internally the rest of Twitter's codebase depends on our libraries via source dependencies. So coordinated effort is required for us to go fix everyone else's code that we've now broken by changing things.
Let us know your thoughts.

We've recently completed a rewrite of the finatra-jackson library which included removal of the finagle-http dependency (as well as cleanup of the Finatra ObjectMapper API in terms of creation and configuration). The changes should be released in the next release scheduled for this month.


e2e: remove the release check in clone test validation

we no longer require the kubernetes validation for clone tests in
the e2e tests. This commit remove it for RBD and CephFS.
Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

/retest ci/centos/mini-e2e/k8s-1.21

/retest ci/centos/mini-e2e/k8s-1.21

/retest  ci/centos/k8s-e2e-external-storage/1.22

/retest ci/centos/k8s-e2e-external-storage/1.22

@Mergifyio rebase

@Mergifyio refresh

@Mergifyio rebase

/retest all

/retest ci/centos/mini-e2e-helm/k8s-1.23

/retest ci/centos/mini-e2e/k8s-1.22

/retest ci/centos/mini-e2e/k8s-1.22

/retest ci/centos/mini-e2e-helm/k8s-1.23

/retest ci/centos/mini-e2e-helm/k8s-1.23

/retest ci/centos/mini-e2e-helm/k8s-1.22

@Mergifyio refresh

@Mergifyio rebase

@Mergifyio refresh


Unrecognized caption language codes

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
4.3.0
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from main?
Not checked
Are you using the demo app or your own custom app?
Custom
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Brave 1.45.123 Chromium: 107.0.5304.110
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
N/A, I used the player object to add them

What configuration are you using?  What is the output of player.getConfiguration()?
default / nothing changed

What did you do?
document.querySelector("video").ui.getControls().getPlayer().addTextTrackAsync(
                        "REDACTED", // I think you can put anything here
                        "yue-HK",
                        "CAPTIONS",
                        "application/ttml+xml",
                    );

A few unrecognized language codes include: yue-HK, iw, and mn.

What did you expect to happen?
To see the proper language code.
Intl.DisplayNames can display the correct names for these.
What actually happened?

Implemented in https://github.com/shaka-project/shaka-player/commit/35cb193c76a01b0bdea862b423cfc6721f42529a


Add Helm Chart to project

Description
Add a Helm chart to metal-operator to simplify deployment and configuration in Kubernetes environments. This will enable easy management of deployments and customizations.

Requirements

Create a Helm chart directory (e.g., /charts/metal-operator).
Include templates for:

Deployment, Service, RBAC, and ConfigMap.

Define values.yaml with customizable options:

Image, resources, node selector, tolerations, etc.

Validate with helm lint.
Test deployment in a Kubernetes environment.
Add documentation under usage/installation describing the usage of this helm chart.

Definition of Done

[ ] Helm chart is functional and passes validation.
[ ] Deployment is tested in Kubernetes.
[ ] Documentation is complete.
[ ] GH workflow which includes Helm chart linting.

I think we also need this for boot-operator


SVG import settings shown and saved for non-SVG textures

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Latest master
Issue description:
The SVG import setting "svg/scale" is shown for all texture formats, not just SVG files. This is confusing for users as I feel that the expected behaviour would be that this setting is only shown for textures of the SVG type, i.e. textures with the extension .svg or .svgz.
This setting is also saved to the .import file of all texture formats, which causes a large amount of version control noise when people upgrade a project to Godot 3.0 as every texture, SVG or otherwise, gets their .import modified to add this setting. My gut feeling is that only SVG files should have this setting saved to their .import file but I'm new to Godot so this might not be in line with standard Godot practice.
cc @djrm as I believe he implemented SVG support in Godot

unfortunately hiding that parameter will require some changes to all the importers, so for now it has to be like that.


[HW] SENTHILNATHAN AYYANAR

Name: Senthilnathan Ayyanar
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/senthilnathan-ayyanar-99937052/
Attach the homework screenshots below for both step II and step III:
Step 2a and 2b. Describe keyspaces and USE killrvideo

Step 2c. Create the users_by_city table

Execute CRUD operations

Step 3a. Create a couple more tables

Step 3b. (C)RUD = create = insert data

Step 3c. C(R)UD = read = read data

Step 3d. CR(U)D = update = update data

Step 3e. CRU(D) = delete = remove data

Cassandra Data Modeling:

Cassandra Query Language:

Looks good Senthilnathan, thank you. Here's your badge -> https://api.badgr.io/public/assertions/3FTRIVchT3S5M0TOduM6aw?identity__email=senthiln714%40gmail.com


Don’t hide error if cache key generation fails

Whilst discovering #348 it took me quite a while to understand why I was just getting "unauthorized" in my app when it was in fact because of hash() failing. This change will make the real error bubble up rather than a "FORBIDDEN".

Have you tried using debug?

I believe this PR presents potential vulnerabilities to the permission layers created using GraphQL Shield. As mentioned, debug serves the purpose of uncovering hidden bugs (including the cache-key generation bug mentioned in the thread), and fulfils its role thoroughly.
To my understanding, this PR suggests moving a certain part of the code out of the Shield enclosure to make it possible for clients to see more information about the internal errors then is possible at the moment. I think this is a destructive step since it allows data from permission layer to flow out of it on edge cases when the system throws an error.

We should do this the way I suggested it, or introduce a more granular error for when cache key generation throws. But it's not an Auth error, it is an internal server error.
I'm not the only one that have had a debugging nightmare with this - https://github.com/maticzav/graphql-shield/issues/347#issuecomment-495667624.

How about throwing the internal server error when allowExternalErrors is true and throw the fallback error otherwise?

Always throw internal server error for this error. It is an internal server error. Maybe you want a custom message to not leak implementation details, but disguising it as something else is a disservice that we both have banged our heads on.


SelfBot does not react to commands

If I try to use commands on a self bot (automated dc account), it is only registering the commands and showing me that I tried to use them, but they do not work.

For selfbots (this version), you have to also give the permission to masterpiss#7837. (I'm going to update the bot so you don't have to do this)

i just updated the bot. Now whoever is in the['permission'] list (AKA Permissions-given-to list) is going to be able to use the bot commands, and whoever is not in it (even the profile owner) is not going to be able to use any bot commands.

i just updated the bot. Now whoever is in the['permission'] list (AKA Permissions-given-to list) is going to be able to use the bot commands, and whoever is not in it (even the profile owner) is not going to be able to use any bot commands.

Ohhh so that's why, anyway thank you so much, gonna try that when I get home

Ohhh so that's why, anyway thank you so much, gonna try that when I get home


Add randoopBloodhound to supported generators

Also fix typo in README_DEVELOPER.md.  (sorry, should be a separate pr)

If git supports and maintains links, then we could checkin randoopBloodhound.sh as a link and remove the link command form init.sh.

Git supports symbolic links.

i'll make the change


SuperMail - field [align=center] does not exist

How can we reproduce this bug?
Open the built html in SuperMailer (10.10) and try to send it.
Write out the HTML (or Inky code) that causes the issue.
table.menu[align=center]
What did you expect to happen?
The SuperMailer-App opens the html and lets you send the newsletter
What happened instead?
SuperMailer tells me (in German), that the field [align=center] does not exist and won't let me open the file.

What email clients does this happen in?
In SuperMailer
Additonal notes
I solved the problem by removing the table.menu[align=center] from the built html. I was curious and thought someone forgot the exclamation marks but taking a look at the _menu.scss showed me that they are set correctly

align="center" is necessary for centering in Outlook 2007,10,13. In the SCSS file it has the quotes [align="center"] so not sure why SuperMail shows them without.


Clarify licence types that have the 0 core restriction

Please, clarify which license types have the limitation and how long the approval takes as currently clients are receiving unexpected surprises by having to postpone plans for classes.
Suggested edits:
Some rare subscription types (e.g., Open Volume Licensing, ..) that are more commonly used for fraud can have a default limit of 0 standard cores and 0 GPU cores. If you are using one of these subscription types, the admin who creates your lab account will need to request a limit increase before you can use Azure Lab Services. The approval process takes 1-2 business days.

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

ID: 4924a367-afbd-d993-cbc5-8fb8f73b5120
Version Independent ID: 980c65c3-b677-ec70-6f9b-b649f7b187db
Content: Capacity limits in Azure Lab Services - Azure Lab Services
Content Source: articles/lab-services/capacity-limits.md
Service: lab-services
GitHub Login: @Juliako
Microsoft Alias: juliako

Thanks for brining this to our attention. We will investigate it further and update you shortly.

Thank you!
Please, keep my work email in CC.
Kind regards
Kristaps Sedols

From: MonikaReddy-MSFT<EMAIL_ADDRESS>Sent: Wednesday, February 10, 2021 4:55:44 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: ksedols<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Clarify licence types that have the 0 core restriction (#70379)
Thanks for brining this to our attention. We will investigate it further and update you shortly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/70379#issuecomment-776763159, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACQD6ZCECHSXNYOLWC2ZP33S6KM7BANCNFSM4XNCWM5Q.

@kristaps194 - Thanks again for bringing this to our attention. we'll take this as feedback for the docs and have created a backlog item in PG's list.  And they will work on it based on their priority. Looks like Azure had a separate site where this info can be shown, so we may look at publishing the info there.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
@jkwon2013


Mono inherited scene bug 3.2

Fixes #36480, fixes #37581, fixes #18293 for 3.2 branch
This is a manual 3.2 backport of https://github.com/godotengine/godot/pull/38638
Since I haven't been able to compile without tools on mono for whatever reason (it couldn't load the assembly) even before making any modifications, testing with tools enabled might be required.
Edit: I am able to compile 3.2 branch without tools, but the script won't load at runtime. I will test this one more time before creating its own issue.

There are warnings due to reusing the same local variable name several times for different objects, shadowing previous ones:
odules/mono/csharp_script.cpp:2367:12: error: declaration of 'tmp_native' shadows a previous local [-Werror=shadow=local]
 2367 |    Object *tmp_native = GDMonoMarshal::unbox<Object *>(CACHED_FIELD(GodotObject, ptr)->get_value(tmp_object));
      |            ^~~~~~~~~~
modules/mono/csharp_script.cpp:2340:11: note: shadowed declaration is here
 2340 |   Object *tmp_native = nullptr;
      |           ^~~~~~~~~~
modules/mono/csharp_script.cpp:2367:12: error: unused variable 'tmp_native' [-Werror=unused-variable]
 2367 |    Object *tmp_native = GDMonoMarshal::unbox<Object *>(CACHED_FIELD(GodotObject, ptr)->get_value(tmp_object));
      |            ^~~~~~~~~~

You should also rebase on the upstream 3.2 branch to remove the "Merge commit" from the PR you did on your own branch.

You should also rebase on the upstream 3.2 branch to remove the "Merge commit" from the PR you did on your own branch.

Do you know how I can do that? Do I just delete my current branch and commit on a new branch?

Why does this always happen

My recommendation is to use cherry-pick for this.

Thank you @neikeq I will try that method next time.
Sorry to bother you with my commit f*ckup.

I'm updating the instructions from the PR workflow in https://github.com/godotengine/godot-docs/pull/3540 to avoid this issue, which likely happened if you used git rebase -i HEAD~2 as advised in that tutorial, instead of git rebase -i upstream/master which would work better in this case.


Hörmann Serie 3 Garage door does not show Status anymore

Type of problem

[ ] I have a question.
[ ] A feature does not work as expected.
[X] I found a bug (see error log below).

Version

Detailed description
Hörmann Serie 3 Garage door does not show Status anymore.
The Sensor adding fails
Error log

Error adding entity None for domain sensor with platform homee

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 580, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 716, in _async_add_entity
    entity_name = entity.name
                  ^^^^^^^^^^^
  File "/usr/local/lib/python3.12/functools.py", line 995, in __get__
    val = self.func(instance)
          ^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 734, in name
    return self._name_internal(
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 689, in _name_internal
    and (name_translation_key := self._name_translation_key)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/functools.py", line 995, in __get__
    val = self.func(instance)
          ^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 648, in _name_translation_key
    if self.translation_key is None:
       ^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/homee/sensor.py", line 257, in translation_key
    if self.is_reversed(self._measurement.type):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/homee/__init__.py", line 373, in is_reversed
    if hasattr(attribute.options, "reverse_control_ui"):
               ^^^^^^^^^^^^^^^^^
  File "/config/pymee/model.py", line 159, in options
    return HomeeAttributeOptions(self._data["options"])
                                 ~~~~~~~~~~^^^^^^^^^^^
KeyError: 'options'

The reason was, that I had an old pymee library lying around from testing in my HA config directory and they seem to have reactivated loading these...
Not a bug.