[BUG] - docs link for bug reports bypasses issue type choice and templates

Briefly describe the bug.
snapshot-docs contribute.md links to snapshot/issues/new without /choose
How can we reproduce the bug?

Go to https://github.com/snapshot-labs/snapshot-docs/blob/master/contribute.md
Click on https://github.com/balancer-labs/snapshot/issues/new
Observe blank issue creation form

What is the expected behaviour?
Link goes to https://github.com/balancer-labs/snapshot/issues/new/choose for selecting a template
PS: Also, this file hasn't been updated since 2020, and is not accessible on the published docs site. It should probably just be archived or deleted.
Can you attach screenshots?
No response
Can you provide your device specific details below?
No response

@zzuziak Can take care of this?


refactor/legend-states

This should eventually replace

rainVisible
pumpsVisible
treesVisible

@vogelino I updated the PR based on your feedback. I still moved some styled components to their own (group) files, since they are used in the different Legend states.
I also tried to make the names a little more meaningful but to get the "right right right" name it would mean to inspect also the flex props on each one. I guess now it is better then before. :-/

I updated the PR based on your feedback...

@ff6347 Ok great thx I'll check it out

But I broke the legend 😿

Fixed the legend. I'll go ahead and merge this one.


I need property file support instead of JSON

Is your feature request related to a problem? Please describe.
Two issues
At present i am converting array of strings in very ugly way as this Package dont provide object or array access
    const t1 = await getTranslations(`pages.home.banner`);
    const t2 = await getTranslations(`pages.home.banner.content`);
    const t3 = await getTranslations(`pages.home.onlinetraining`);

     var body_message="";

    for (let i = 0; i < body_length; i++) {
        body_message=body_message+t2.raw(`body.${i}` as any)
    }

    I am concatenating myself instead of dynamic array inside json ["string1","string2"]
    Nextjs/intel cant read array from json or even object

    It reads leaf (end node) only

    If that is the case why JSON? its useless

    Unmaintainable between database and json

    I prefer property file option . In that i can store all strings in database and download  all strings in to a file for compilation.

    Let me know what strategy i can use if i keep all my language strings in mysql database.

    Json is kinda useless for language translation unless you have object and array access

 useTranslations dont work in server component for me. I am using getTranslations.

--- sample code used in page.tsx---
<div  className=" flex-col flex text-[16px] gap-3 "  dangerouslySetInnerHTML={{ __html: messages[onlinetraining_body] }}  />
Describe the solution you'd like
I need multiple option on where Language Translation stored. To start with it can be json or property file like env.
That way database and property file is inter operable.
Describe alternatives you've considered
At prent i am using only nextjs / intl. for current project. I am hacking stuff in ugly way. I dont like it.
For next cms project i will look for package that supports property file instead of json

its not usable if i have all language strings in database by ID

From the messages docs:

That being said, next-intl is agnostic to how you store messages and allows you to freely define an async function that fetches them while your app renders.

So please use whatever you like.
Array handling has been discussed multiple times on the issue tracker and the docs have a section dedicated to it. Depending on your project, the array might be better suited as API data instead of running it through next-intl.
I'd kindly ask you to not open issues for usage questions and instead ask them on Stack Overflow or alternatively in GitHub discussions.

A small update here: There are now improved docs for handling arrays when the number of elements varies between locales. See the new "What if the amount of items varies depending on the locale?" expandable section in the arrays of messages
docs.

Hi
I was looking for
ID=VALUE type
Like .env file.
I do not see its in next/intl
I have 10000 language ID string in database. That needs to be parsed for
tailwindcss.
So before compile it will be downloaded into eng.lang file
Then tailwindcss compile them.
Let me know. Your links shows json
regards
alexk
surrey
On Thu, Feb 29, 2024 at 3:02 AM Jan Amann @.***> wrote:

A small update here: There are now improved docs for handling arrays when
the number of elements varies between locales. See the new "What if the
amount of items varies depending on the locale?" expandable section in the arrays
of messages
docs
https://next-intl-docs.vercel.app/docs/usage/messages#arrays-of-messages
.
—
Reply to this email directly, view it on GitHub
https://github.com/amannn/next-intl/issues/895#issuecomment-1970895018,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACATGUYBYIOT6VQENTORKTTYV4FDJAVCNFSM6AAAAABD433AZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZQHA4TKMBRHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Can't reproduce logistic regression example

🐛 Bug
I am unable to run the logistic regression example . At training, I get error which ends in:
/usr/local/lib/python3.6/dist-packages/pl_bolts/models/regression/logistic_regression.py in validation_step(self, batch, batch_idx)
     81         x = x.view(x.size(0), -1)
     82         y_hat = self(x)
---> 83         acc = accuracy(y_hat, y)
     84         return {'val_loss': F.cross_entropy(y_hat, y), 'acc': acc}
     85

TypeError: 'module' object is not callable

Notably, I modified the example to not use TPUs.
Example code I follow is:
https://pytorch-lightning-bolts.readthedocs.io/en/latest/classic_ml.html#logistic-regression
To Reproduce
I tried to reproduce this in both Colab and as a python script in a fresh virtual env.
Colab notebook gist with full error and requirements:
https://gist.github.com/pavopax/e9040f42725322dfd2b86975e6ba5bbc
Also ran on Linux Python 3.7.1 with requirements:
https://gist.github.com/pavopax/d631dc61eceebbfbf67d9b113504f114
Code sample
I replace code example to remove TPUs:
trainer = pl.Trainer() #(tpu_cores=8, precision=16)
I use example code from: https://pytorch-lightning-bolts.readthedocs.io/en/latest/classic_ml.html#logistic-regression
For code, see gist above
Expected behavior
Code runs without errors and produces result
Environment
Colab with requirements as above
Additional context
EDIT: In intro, I added link to example I'm following

It seems like the accuracy module is incorrectly used here.
The ideal way would be to do it this way:
>>> from pytorch_lightning.metrics import Accuracy
>>> target = torch.tensor([0, 1, 2, 3])
>>> preds = torch.tensor([0, 2, 1, 3])
>>> accuracy = Accuracy()
>>> accuracy(preds, target)

@pavopax would you mind raising a PR to Bolts with the correction?

Issue successfully resolved and closed in linked issue above.


Add chimp exchange pool adapater

Adding Chimp Exchange  pool adapter on Linea

Merged on this PR.
https://github.com/consensys-vertical-apps/mmi-defi-adapters/pull/137


Add roles and task division in Teamwork.md

Add roles and task division in Teamwork.md

Add roles and task division in Teamwork.md

If you could describe a little more about what your PR adds in the commit message, that would be great.


fix mac python3 qt5 install

fix error:
pyrcc5 -o resources.py resources.qrc
make: pyrcc5: No such file or directory
make: *** [qt5py3] Error 1

ModuleNotFoundError: No module named 'lxml'

This still doesn't fix the issue for me:
pyrcc5 -o resources.py resources.qrc
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named PyQt5
make: *** [qt5py3] Error 1
Its like the pyqt5 is using python 2 but I installed it with the python3 option so I don't know what im supposed to do?

maybe you can remove pyqt5 for python2?

Something is weird:
➜  ~ brew list pyqt5
/usr/local/Cellar/pyqt/5.10.1/bin/pylupdate5
/usr/local/Cellar/pyqt/5.10.1/bin/pyrcc5
/usr/local/Cellar/pyqt/5.10.1/bin/pyuic5
/usr/local/Cellar/pyqt/5.10.1/lib/python2.7/ (76 files)
/usr/local/Cellar/pyqt/5.10.1/lib/python3.6/ (108 files)
/usr/local/Cellar/pyqt/5.10.1/share/pyqt/plugins/libpyqt5qmlplugin.dylib
/usr/local/Cellar/pyqt/5.10.1/share/sip/ (791 files)
➜  ~ brew uninstall pyqt5
Uninstalling /usr/local/Cellar/pyqt/5.10.1... (985 files, 44.9MB)
➜  ~ brew list pyqt5
Error: No such keg: /usr/local/Cellar/pyqt
➜  ~ pip3 install pyqt5 lxml
Requirement already satisfied: pyqt5 in /usr/local/lib/python3.6/site-packages
Requirement already satisfied: lxml in /usr/local/lib/python3.6/site-packages
Requirement already satisfied: sip<4.20,>=4.19.4 in /usr/local/lib/python3.6/site-packages (from pyqt5)
➜  ~ wd dev
➜  dev cd im
➜  dev cd labelImg
➜  labelImg git:(master) ✗ make qt5py3
pyrcc5 -o resources.py resources.qrc
make: pyrcc5: No such file or directory
make: *** [qt5py3] Error 1

BUT if I create a virtualenv and install inside there everything works.

I figured its worth going all the way:
https://github.com/tzutalin/labelImg/pull/259

Thanks for your contribution, but I think @madhavajay has sorted this issue out.
Thanks again,
-Vlad


Improve README

README.md should provide information about how the repo has been developed and which design choices have been made.

@Mec-iS  I want to work on this but I am completely new in this regard . If some help is provided i can definitely do it.

Take a look at how the documentation has been built, and write a README that explains how to rebuild it and which parameters has to be set. Start from the creation of a Python virtual environment and a requirements.txt with the needed dependencies.


feat: Update nri-bundle to version 5.0.104

Update nri-bundle to version 5.0.104

Hi @NewRelic-K8s-Agents-Bot
Tester is failing with the following error message:

Looks like your deployment newrelic-newrelic-kube-state-metrics is failing.
Specifically, it looks like these pods are failing:

Pod: newrelic-newrelic-kube-state-metrics-96f44b6c-2g8r5.

Looks like your deployment newrelic-newrelic-kube-state-metrics is failing.
Specifically, it looks like these pods are failing:

Pod: newrelic-newrelic-kube-state-metrics-5f6747749d-xx27v.

Looks like your deployment newrelic-newrelic-nrk8s-ksm is failing.
Specifically, it looks like these pods are failing:

Pod: newrelic-newrelic-nrk8s-ksm-c6ffdd585-f8zb7.
Pod: newrelic-newrelic-nrk8s-ksm-c6ffdd585-f8zb7.

Hi @mikemcd3912, thank you for your patience as we work through this. We've made changes to our automated release script to support hybrid nodes, the script will take effect starting next week. Regarding the test failures, we're working on getting a partner account set up. Thanks!

Looks like your deployment newrelic-newrelic-nrk8s-ksm is failing.
Specifically, it looks like these pods are failing:

Pod: newrelic-newrelic-nrk8s-ksm-c6ffdd585-k79kv.


Make a "request and read only" interface for TransientBufferQueue

Right now it's pretty easy to cause a deadlock when using the new TransientBufferContainer by simply trying to read from the same one twice. That will happen when the same output slot is connected to two input slots on another node. It's not that hard to fix the issue when it arises, but it would be much safer if it was impossible for deadlocks to happen in the first place.
So the idea is that when you're holding a TransientBufferContainer—and you want to get its buffer—you have two options:

Call the TransientBuffer function
Call the TryTransientBuffer function

They are essentially the same, except the first is blocking. They both return with a Result<RwReadLock> (maybe Buffer can be infallible). So it's impossible to get a write lock on a TransientBuffer from the outside.

Try to get a lock on the TransientBuffer

Success: Check if the buffer is in memory

It is: Return the RwLock
It is not: Set the bool to true to make a request for it

Buffer: Release the lock and try again after a short wait
TryBuffer: Return with an error

Fail

Buffer: Wait a short while, then try again
TryBuffer: Return with an error

In the TransientBufferQueue, it is checking for true bools, and if it finds one, it will check if it is in memory, if it is, it will set it to false. If it isn't it will get a write lock, set the bool to false, then move the buffer to memory and release the lock.
The requesting AtomicBool should be behind the RwLock instead of outside. Maybe even in the TransientBuffer enum.
As part of this, the TransientBufferQueue should be in its own thread, so new nodes can start processing even while data is being loaded from drive.

This has been implemented.


Payment Reversal Reason

Note that the reason code must be allowed for BOTH Bank and Vendor transactions for it to show up when reversing payment.

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

ID: 1ebcc128-758c-26b6-8692-eb00404ca1c9
Version Independent ID: 49f51c81-1faa-f1e7-a35e-13572d4cac8a
Content: Reverse a vendor payment - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/financials/accounts-payable/reverse-vendor-payment.md
Service: dynamics-ax-applications
GitHub Login: @abruer
Microsoft Alias: shpandey

@MichaelSlipp, thanks for the feedback.
@abruer, consider updating this topic based on this feedback. Thanks!

Bug 346443 created to track this issue.


how can get all of transactions of user

I want to get all transactions of account.  i can get it when dawn3.0 use  /v1/account_history/get_transactions. bug dawn4.1 can't get it.
It's useless for me to plugin eosio::history_api_plugin.  and /v1/history/get_transactions or /v1/account_history/get_controlled_accounts all of useless.
always 404.
but at dawn3.0 it's all good.
how i can use old /v1/account_history/* RPC API if i upgrade to dawn4.1?
Server: Ubuntu 16.04

Use get_actions from the new history_api_plugin instead. account_history_api_plugin is deprecated. Furthermore, you will need to add the account that you want to track in your config.ini's filter-on parameter.

any way to get also all incoming transactions?