Nested Rollable Tables do not work

Describe the bug
I have created a rollable table that calls two rollable tables that are provided in the compendium to test. Specifically the Arcane Shop and Potion Shop. The table is called Magic Item Merchant and should roll the table then roll the nested tables (Arcane Shop, Potion Shop) to get the items and add them to the merchant's inventory.
To Reproduce
Steps to reproduce the behavior:
1 Create a Rollable table with these settings.:

2. Click on Rolltabel to test to chat (it works for me)
3. Setup a merchant with the table as the one created
4. Run update for Inventory
Expected behavior
The table would roll as normal and provide results from nested tables as it would to chat.
Screenshots
lootsheetnpc5e |  \-->  | Filtered for players with a token in the tokens scene. 0 players with eligable characters. LootSeeder.js:108 {itemQtyFormula: '2', itemQtyLimitFormula: '1d2', shopQtyFormula: '5', currencyFormula: '1d8[pp],(20d+2)*10 [gp], (10d+1)*10[sp]'} CurrencyHelper.js:112 lootsheetnpc5e | currencyHelper : Error: Unresolved StringTerm 20d requested for evaluation     at StringTerm.evaluate (foundry.js:9180:11)     at Roll._evaluate (foundry.js:6795:42)     at Roll.evaluate (foundry.js:6762:25)     at ParentheticalTerm._evaluate (foundry.js:8798:28)     at ParentheticalTerm.evaluate (foundry.js:7693:25)     at Roll._evaluate (foundry.js:6782:20)     at Roll.evaluate (foundry.js:6762:25)     at Roll.roll (foundry.js:6862:17)     at Function.tryRoll (CurrencyHelper.js:110:51)     at Function.generateCurrency (CurrencyHelper.js:64:53)     at async LootProcessor.buildResults (LootProcessor.js:41:14)     at async Function.addLootToTarget (ActorHelper.js:171:17)     at async Function.seedItemsToActors (LootSeeder.js:35:109)     at async SheetListener.inventoryUpdateListener (SheetListener.js:164:62) tryRoll @ CurrencyHelper.js:112 await in tryRoll (async) generateCurrency @ CurrencyHelper.js:64 await in generateCurrency (async) buildResults @ LootProcessor.js:41 addLootToTarget @ ActorHelper.js:171 await in addLootToTarget (async) seedItemsToActors @ LootSeeder.js:36 await in seedItemsToActors (async) inventoryUpdateListener @ SheetListener.js:167 await in inventoryUpdateListener (async) (anonymous) @ SheetListener.js:90 CurrencyHelper.js:112 lootsheetnpc5e | currencyHelper : Error: Unresolved StringTerm 10d requested for evaluation     at StringTerm.evaluate (foundry.js:9180:11)     at Roll._evaluate (foundry.js:6795:42)     at Roll.evaluate (foundry.js:6762:25)     at ParentheticalTerm._evaluate (foundry.js:8798:28)     at ParentheticalTerm.evaluate (foundry.js:7693:25)     at Roll._evaluate (foundry.js:6782:20)     at Roll.evaluate (foundry.js:6762:25)     at Roll.roll (foundry.js:6862:17)     at Function.tryRoll (CurrencyHelper.js:110:51)     at Function.generateCurrency (CurrencyHelper.js:64:53)     at async LootProcessor.buildResults (LootProcessor.js:41:14)     at async Function.addLootToTarget (ActorHelper.js:171:17)     at async Function.seedItemsToActors (LootSeeder.js:35:109)     at async SheetListener.inventoryUpdateListener (SheetListener.js:164:62) tryRoll @ CurrencyHelper.js:112 await in tryRoll (async) generateCurrency @ CurrencyHelper.js:64 await in generateCurrency (async) buildResults @ LootProcessor.js:41 addLootToTarget @ ActorHelper.js:171 await in addLootToTarget (async) seedItemsToActors @ LootSeeder.js:36 await in seedItemsToActors (async) inventoryUpdateListener @ SheetListener.js:167 await in inventoryUpdateListener (async) (anonymous) @ SheetListener.js:90 SocketListener.js:42 lootsheetnpc5e | {this.name} | data {action: 'sheetUpdate', triggerActorId: null, tokenUuid: 'Actor.em8DhkwAwnpaS3tu', processorId: 'LnfrgJkRfBMtTMBR', targetItemId: null, …} PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 8 players with eligable characters found. PermissionHelper.js:165 lootsheetnpc5e |  \-->  | Filtered for players with a token in the tokens scene. 0 players with eligable characters. LootProcessor.js:293 Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'quantity') [Detected 1 package: lootsheetnpc5e]     at LootProcessor._addLootItem (LootProcessor.js:293:31)     at async LootProcessor.addItemsToActor (LootProcessor.js:397:33) _addLootItem @ LootProcessor.js:293 await in _addLootItem (async) addLootToTarget @ ActorHelper.js:174 await in addLootToTarget (async) seedItemsToActors @ LootSeeder.js:36 await in seedItemsToActors (async) inventoryUpdateListener @ SheetListener.js:167 await in inventoryUpdateListener (async) (anonymous) @ SheetListener.js:90 foundry.js:11928 Foundry VTT | Constructed index of foundry_community_tables.community-tables-5e Compendium containing 1 entries foundry.js:11928 Foundry VTT | Constructed index of foundry_community_tables.community-tables-independent Compendium containing 184 entries foundry.js:11928 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries foundry.js:11928 Foundry VTT | Constructed index of my-shared-content.shared-roll-tables Compendium containing 1188 entries foundry.js:11928 Foundry VTT | Constructed index of token-mold.adjectives Compendium containing 7 entries PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 8 players with eligable characters found. PermissionHelper.js:165 lootsheetnpc5e |  \-->  | Filtered for players with a token in the tokens scene. 0 players with eligable characters.
Desktop (please complete the following information):

OS: Win10
Browser Chrome
Version 3.5.7 Foundry 9.249

Additional context
I have additional tables I would like to use to pull in magic items from a set of tables like the ones in the DMG but I paired it back to just these that I knew worked alone. And still got the error.

Please test if this is fixed in https://github.com/jopeek/fvtt-loot-sheet-npc-5e/releases/tag/v3.5.8

OK, I updated to 3.5.9 which I hope doesn't invalidate the test. I attempted to just change the table to the one I was using and it still didn't work but did give an error on screen that stated "There are no available results that can be drawn from this table". So I verified that the tables did have data and worked on their own (they do). Then switched the mast table to compendia instead of local tables and deleted the local tables thinking it might be confusing the two. I tested the master table directly and it also gave the same error some of the time. Every now and again it would give an item and it was from each of the two tables so no obvious reason there I can see. It is giving no error in the console at that level. Tried again several times on the loot sheet to see if anything would come through and it never did and does produce an error in the console. Is this possibly a bug with core foundry?
lootsheetnpc5e | {this.name} | data {action: 'sheetUpdate', triggerActorId: null, tokenUuid: 'Actor.em8DhkwAwnpaS3tu', processorId: 'LnfrgJkRfBMtTMBR', targetItemId: null, …} backend.mjs:306 Foundry VTT | Deleted 4 Item documents with ids: [yrzHZsHGlbD0K6qm,DX3E11cxRjXhwrXr,nKh9AdWY9xeeSN6L,jr95DgSz6BK3EqV1] in parent Actor [em8DhkwAwnpaS3tu] PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 8 players with eligable characters found. LootSeeder.js:97 {itemQtyFormula: '1d3', itemQtyLimitFormula: '3', shopQtyFormula: '1d20', currencyFormula: '1d8[pp],(20d+2)*10 [gp], (10d+1)*10[sp]'} CurrencyHelper.js:112 lootsheetnpc5e | currencyHelper : Error: Unresolved StringTerm 20d requested for evaluation     at StringTerm.evaluate (foundry.js:9180:11)     at Roll._evaluate (foundry.js:6795:42)     at Roll.evaluate (foundry.js:6762:25)     at ParentheticalTerm._evaluate (foundry.js:8798:28)     at ParentheticalTerm.evaluate (foundry.js:7693:25)     at Roll._evaluate (foundry.js:6782:20)     at Roll.evaluate (foundry.js:6762:25)     at Roll.roll (foundry.js:6862:17)     at Function.tryRoll (CurrencyHelper.js:110:51)     at Function.generateCurrency (CurrencyHelper.js:64:53)     at async LootProcessor.buildResults (LootProcessor.js:41:14)     at async Function.addLootToTarget (ActorHelper.js:171:17)     at async Function.seedItemsToActors (LootSeeder.js:35:109)     at async SheetListener.inventoryUpdateListener (SheetListener.js:164:62) tryRoll @ CurrencyHelper.js:112 await in tryRoll (async) generateCurrency @ CurrencyHelper.js:64 await in generateCurrency (async) buildResults @ LootProcessor.js:41 addLootToTarget @ ActorHelper.js:171 await in addLootToTarget (async) seedItemsToActors @ LootSeeder.js:36 await in seedItemsToActors (async) inventoryUpdateListener @ SheetListener.js:167 await in inventoryUpdateListener (async) (anonymous) @ SheetListener.js:90 CurrencyHelper.js:112 lootsheetnpc5e | currencyHelper : Error: Unresolved StringTerm 10d requested for evaluation     at StringTerm.evaluate (foundry.js:9180:11)     at Roll._evaluate (foundry.js:6795:42)     at Roll.evaluate (foundry.js:6762:25)     at ParentheticalTerm._evaluate (foundry.js:8798:28)     at ParentheticalTerm.evaluate (foundry.js:7693:25)     at Roll._evaluate (foundry.js:6782:20)     at Roll.evaluate (foundry.js:6762:25)     at Roll.roll (foundry.js:6862:17)     at Function.tryRoll (CurrencyHelper.js:110:51)     at Function.generateCurrency (CurrencyHelper.js:64:53)     at async LootProcessor.buildResults (LootProcessor.js:41:14)     at async Function.addLootToTarget (ActorHelper.js:171:17)     at async Function.seedItemsToActors (LootSeeder.js:35:109)     at async SheetListener.inventoryUpdateListener (SheetListener.js:164:62) tryRoll @ CurrencyHelper.js:112 await in tryRoll (async) generateCurrency @ CurrencyHelper.js:64 await in generateCurrency (async) buildResults @ LootProcessor.js:41 addLootToTarget @ ActorHelper.js:171 await in addLootToTarget (async) seedItemsToActors @ LootSeeder.js:36 await in seedItemsToActors (async) inventoryUpdateListener @ SheetListener.js:167 await in inventoryUpdateListener (async) (anonymous) @ SheetListener.js:90 foundry.js:11928 Foundry VTT | Constructed index of foundry_community_tables.community-tables-5e Compendium containing 1 entries foundry.js:11928 Foundry VTT | Constructed index of foundry_community_tables.community-tables-independent Compendium containing 184 entries foundry.js:11928 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries foundry.js:11928 Foundry VTT | Constructed index of my-shared-content.shared-roll-tables Compendium containing 1188 entries foundry.js:11928 Foundry VTT | Constructed index of token-mold.adjectives Compendium containing 7 entries PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 8 players with eligable characters found.


More sophisticated UI than select for large many-many relationships

In situations where you have, say, a document that belongs to a user, and the system has many users, html's "select" no longer works very well to select the other model (user, in this case) to associate with.  A more sophisticated UI allowing a basic search would be wonderful.  I would envision something like a popup that lets you filter based on various attributes of the other model, and then select from amongst the possibilities.
Without something like this, active admin becomes progressively less useful for systems with more than about 100 A's connected to 100 B's, which is a pity, because otherwise it's a very fine system.

Hmm, that's a cool idea. I've noticed this being a problem as well, will definitely consider for a feature.

Maybe we could integrate chosen:  http://harvesthq.github.com/chosen/

Chosen looks pretty cool.  On the other hand, an interface that lets you search by one of several fields might be ultimately handier.  For instance, users have names and email addresses; it'd be nice to be able to search for either one when you're editing document.

One thing that might be doable (I don't know) right away is to make sure the associated columns are at least sorted by a good default.  In lieu of that, some documentation to the effect of
"If you have one to many relationships that have a lot of potential objects, you should probably create your own forms, and use f.input :blahblah, :collection => .... Model.order(:something).all in order to order them to make them easier to find".

+1 integration with the Harvest gem would be awesome


Missing cognito settings in aws-export.js

Describe the bug
I created a GraphQL API with cognito auth with the CLI. Cognito userpool is created but the aws-exports file looks incomplete
const awsmobile =  {
    "aws_appsync_graphqlEndpoint": "https:/xxxxxx.appsync-api.eu-west-1.amazonaws.com/graphql",
    "aws_appsync_region": "eu-west-1",
    "aws_appsync_authenticationType": "AMAZON_COGNITO_USER_POOLS",
    "aws_appsync_apiKey": "null",
};

Expected behavior
I would expected further cognito configuration here, e.g:
    "aws_project_region": "us-east-1",
    "aws_cognito_identity_pool_id": "us-east-1:REDACTED",
    "aws_cognito_region": "us-east-1",
    "aws_user_pools_id": "us-east-1_REDACTED",
    "aws_user_pools_web_client_id": "REDACTED"

@marcschroeter Which version of the Amplify CLI are you using?

1.1.8 @haverchuck

@marcschroeter I wasn't able to reproduce this behavior. Could you show me your terminal logs (if you still have it), as to hwo you added your API using the amplify CLI?

Unfortunately i dint have the terminal logs. I added the the API using amplify add api and then used graphql and choosed authorization type: cognito. How can i fix that now?

@marcschroeter Did you use the Amplify console to choose the authorization type?

Also, what's the terminal output when you run amplify status?

I dont know why, but now its everythings inside the file..i added S3 hosting and deleted s3 hosting again and now the cognito settings are in the file. Thank you guys.


No useful links

It would be very useful to provide examples of how to use this skill such as Python code or possibly links to how to install, what library is this in, etc. As is, this page is not very useful.

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

ID: 178aaaa0-cd80-43d6-3781-5ced561e7d53
Version Independent ID: 0c403890-a632-6812-93e0-06e576396d2f
Content: Text split cognitive skill - Azure Cognitive Search
Content Source: articles/search/cognitive-search-skill-textsplit.md
Service: cognitive-search
GitHub Login: @LiamCavanagh
Microsoft Alias: liamca

@fvalencia12
Thanks for your feedback! We will investigate and update as appropriate.


solution needed for displaying date range in "Correspondence Description" section

see, for example:
https://github.com/auden-in-austria-digital/aad-data/blob/b2324c7f36746bbc27528a0c259993e351899e9d/data/xml/editions/aad-transcript__0030.xml#L126
display now: 1960-08-29
display needed: 1960-08-29--1968-07-29
(n.b.: I see no problem with likewise display of date range even if it's the same date, like: 1964-07-13--1964-07-13 for document 0029, so don't bother with different solutions for single-date and date-range cases ...)

thank you, this works now for the display of origin dates in the Metadata section of the document view;
it is also needed for Sent at: in the Correspondence Description setting
for instance: https://github.com/auden-in-austria-digital/aad-data/blob/e4a51f1068ebf5a0539bf3b2d9c15815edb5b525/data/xml/editions/aad-transcript__0030.xml#L126C22-L126C95

perfect, thank you


cs/unsafe-deserialization-untrusted-input - deserialization flow steps

Add csharp debugging query for partial flows
WIP: Add flow steps for deserialization flow cs/unsafe-deserialization-untrusted-input to detect this flow

Queries

csharp/CWE-502/UnsafeDeserialization.ql
csharp/CWE-502/UnsafeDeserializationQuery.qll

Flow Steps

✅  HttpContext.Request.Body
[x] System.Xml.XmlDocument.Load() - PR added flow step
[ ] XmlElement  in xmlDocument.SelectNodes
[ ] XmlElement.GetAttribute
[ ] XmlSerializer type from Type.GetType()
[ ] XmlTextReader reader from StringReader()
✅ XmlSerializer.Deserialize() on XmlTextReader

This repo has been merged with the Security Lab one into the new community-codeql-packs repo which we plan to make public and promote soon. If you would like this PR to be applied to the new repo, please open a new PR there so it can get merged in the new QLPacks.


GitHub Deployments

Hey, am playing with the idea of how to use GitHub Deployment API to drive deployments in a gitops way. GitHub Deployments API is nice because it provides a UI within GitHub which shows what commits are currently deployed within each environment. This is also useful for doing pull request deployments you can add a URL to the deployment where the deployment can be accessed from which also shows up in the pull request UI.
Was wondering if it makes sense to allow referencing a deployment environment in the GitRepository API. The controller could then fetch the commit sha from the latest deployment that matches that environment, something like:
apiVersion: source.fluxcd.io/v1alpha1
kind: GitRepository
metadata:
  name: podinfo
  namespace: default
spec:
  interval: 1m
  url: https://github.com/stefanprodan/podinfo
  ref:
    deployment: production

You could then trigger the controller by creating a new deployment like so:
curl -X POST -H "Authorization: Bearer ${GITHUB_TOKEN} --data '{"ref": "master", "environment": "production"}' https://api.github.com/stefanprodan/podinfo/deployments

The new deployment would include the latest sha from the master branch which can be used to grab the latest source.
This however does require the "cluster controller" (e.g. kustomize-controller) to update the deployment status once it has been applied - not sure where this would fit in with regards to the gitops toolkit.
Another problem I can see is that this is GitHub specific but GitRepository looks like it should work with any Git provider, not sure if other Git providers have a similar concept which could be used or whether this should be a different kind e.g. GitHubRepository or GitHubDeployment

@billyshambrook Can I turn this into a Discussion? (I'd need to transfer it to flux2 repo first)


Bugfix/batch process prev day

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/RDCC-3651
Change description
To change logic around previous day file processing
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

Jenkins config issue fixed with Domestic Abuse project. Need to raise a new PR


2745 link checker report

Related:

#2745
https://github.com/timber/timber/pull/2746

Issue
Two final missing links.
Solution
First should be fixed by #2746. the second one is fixed in this PR. I'll keep this PR in draft until we know for sure that the mentioned PR fixes the missing Reference guide and thus fixing the link.

@gchtr , after we deployed a new version of the docs this can be merged and we can run the link checker action again.

@Levdbas A new version is deployed on https://timber.github.io/docs/v2/.

@gchtr , help. I think I've based my changes on master instead of the v2 branch.... What to do? x)


Error: Cannot find module 'typescript'

Environment
[Error - 10:53:53 AM] Calculating config file for file:///Projects/my-project/package.json) failed.
Error: Cannot find module 'typescript'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>    at Module._resolveFilename (node:internal/modules/cjs/loader:1152:15)
    at Module._load (node:internal/modules/cjs/loader:993:27)
    at c._load (node:electron/js2c/node_init:2:13801)
    at Module.require (node:internal/modules/cjs/loader:1240:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:30:25)
    at Module._compile (node:internal/modules/cjs/loader:1373:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
    at Module.load (node:internal/modules/cjs/loader:1215:32)
    at Module._load (node:internal/modules/cjs/loader:1031:12)

Package
@nuxt/eslint
Reproduction
https://github.com/Revadike/reproduction
Describe the bug
This issue was fixed for a little while, when I first reported the issue, but sadly it's back yet again. Please check my reproduction.
Even installing typescript does not fix this issue.
Additional context
No response
Logs
No response

Found the issue. There was some weird problem with my environment, where it would load the dependencies from a parent folder for some reason. Consider this resolved.


Allow lovr.headset.init to fail

with a pcall, like the requires above. so if there
is no matching headset driver, the module is just
turned off.

Thanks!


cmake.x86_64-darwin broken, now requires ApplicationServices

Issue description
After  https://gitlab.kitware.com/cmake/cmake/commit/5de37a4a6474fa569e2ac28d5e9c164b6e7d2f46, CMake needs to be built with ApplicationServices. At one time we did this but it was decided to avoid putting a proprietary dependency in such a core package. Should we file an issue with CMake?
https://hydra.nixos.org/build/74954644/nixlog/1

Fixed by https://github.com/NixOS/nixpkgs/commit/02dcc8d734302b22ba635844c1c2a57ddca83853.


Add support for System database package references for SDK-style sql projects

This adds support for system database package references for SDK-style projects, now that the system database nuget packages are available:

New - System db reference with option for PackageReference and ArtifactReference for SDK-style projects:

Old - System db reference option for legacy style projects and how this used to look for SDK-style projects:

Not related to this PR, but should Server name and Server variable be marked as the not-required, since they aren't really populated; and it gives a perception that more stuff needs to be populated. Or may be do it in a case-by-case basis (based on what radio button is been selected).

True good observation! I'm not sure why they're marked as required. Will send a separate PR to change these.


Parsing consensus data from strings

From:
https://github.com/NullHypothesis/zoossh/issues/2
I also found it handy to go from strings and not files.

Looks good to me, thanks for the patch!


[Q] What is proper namespace for class which uses as method parameter?

Hi,
As you didn't add any example of this, I want to know what is proper namespace for such a class. e.g: public void Foo (Bar bar) { ... }
The Bar class is DTO here? btw I'm not talking about any data related situation here, Foo is just a method, maybe it just add 2 number.

It depends on what the service/class is doing. It could go in Core, Infrastructure, or Web. It might even be useful to many applications and go into SharedKernel. There's not enough information here to answer your question.

@ardalis thanks for the reply.
You mentioned layers. it could be interesting to know about layer though. but I was talking about the namespace. for example:
public bool SendSms(Parameter p) { ... }

public class Parameter { ... }

Let's say the Parameter class lives in Core layer. (it could be wrong though), I think this class can not be in the root of Core, there should be a directory/namespace for it (and maybe other parameter classes). I'm looking for advice for this namespace.
If is possible also consider some library, e,g nuget package, in such a project, what is the proper namespace for this kind of classes? I mean outside of Clean Architecture and full web project.

Yes, I think DTO or something similar, perhaps more intention-revealing, like Commands, would make sense. Parameter objects like this one are often Commands or Events so those are the two kinds of DTOs that first come to mind for naming a folder full of these objects.


add AWS Role for executing jupyter book

I'm not 100% sure this will work, but should fix https://github.com/snowex-hackweek/website/issues/71 . Specifically, the LIS modeling tutorial needs access to a private bucket on S3, so we need to pass AWS credentials to github actions.
In general this should be helpful as the book building (executing .ipynb tutorials) executes with the same permissions as a user of the hackweek jupyterhub.
Could be worth investigating an alternative configuration in the future where the book building executes on the hub cluster itself instead of a github actions runner...

The test failed?

Looks like it's running off main instead of this change!

i added the same credentials over in my fork, but that didn't work, but you can see the passing test when i created a pull request agains my own main branch https://github.com/scottyhq/website/pull/1/checks?check_run_id=2957353502  . i'm quite confused by the secret access and forks in github :) but i also can't merge until circumventing the branch protection we put in place...


[ZEPPELIN-2609] Add missing shortcut descriptions

What is this PR for?
Add missing shortcut descriptions. Refer the TODOs section and attached screenshots for detail.
What type of PR is it?
[Improvement]
Todos

[x] - Move CTRL-N, CTRL-P to the editor shortcut section.
[x] - Remove useless bottom border color.
[x] - Add missing shortcut desc CTRL-F and CTRL-B

What is the Jira issue?
ZEPPELIN-2609
How should this be tested?

build: mvn clean package -DskipTests; ./bin/zeppelin-daemon.sh restart
open any notebook
click the keyboard shortcut dialog.

Screenshots (if appropriate)
Before

After

Questions:

Does the licenses files need update? - NO
Is there breaking changes for older versions? - NO
Does this needs documentation? - NO

@soralee Could you help review this?

ping @soralee

@soralee Sorry for confusing. Just forget about the mention.


Multi Vars as Minimize in same panel

Is it possible to have multiple variable in the same panel as Minimize/button regardless whether the variables are nested.

Thanks for the response. The issue with multi panels is the space each panel takes.
anyways, if this feature request will require main code change and very time consuming, not worth.
but would be so ideal to have multi vars in same panel exactly as grafana variables shown on top of the page.
Thanks


Demo in /components/text-fields had a runtime error

If you type a long text in the multiline demo fields with default value 'controlled' you get this error:
Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
It happens in this demo sections: #outlined and #filled
If you paste a long text the demo works OK. You get the error when you type.

@swordf1zh I labelled it as a bug, since the error is quite specific, but then try as I might, I couldn't reproduce it. Could you provide more environment details? (The issue template will help).


Command for Initializing Ruff Configuration

Hey,
I am proposing a new command, ruff init, to facilitate configuration setup for Python projects. This command aims to simplify the configuration process for both beginners and new projects, without replacing Ruff's default settings. Ruff will continue to function without any configurations, but this feature is intended for advanced users and teams who require more tailored settings.
Proposal
The ruff init command will create or update the pyproject.toml file with a default configuration block. This block can be customized further, but will build on Ruff's defaults. The command should:

Detect Python Version: Automatically detect the Python version in the environment.
Extend Linting Rules: Add a few more linting rules by default. For example:

select = [
    "E",  # pycodestyle
    "F",  # Pyflakes rules
    "UP", # pyupgrade
    "PERF", # Perflint
    # "SIM", "I"
]

Support Configuration Styles (Optional): Allow users to specify "styles" and host Ruff configuration styles via GitHub. For example, Ruff could download configurations from a git repository and use them to initialize the project settings.
Avoid Default Configuration Upgrades: This command is for advanced users who understand how to configure Ruff, so it will not support automatic upgrades to default configurations.

Command Functionality
When running ruff init [--path <pyproject.toml>], the command should:

Append the configuration block to the end of the file without overwriting existing configurations.
Print out the changes made to the repository.
Output the initialization operations.
Print out the rules Ruff is using.

Future Enhancements

Hierarchical Configuration Initialization: Support for hierarchical configuration. For example, if Ruff detects a configuration in a parent pyproject.toml, it should extend the settings automatically and write the differential configuration to the current directory.
Subcommand Naming Consistency: Consider renaming subcommands for clarity. While ruff init suggests a necessary step before using Ruff, alternatives like ruff config might also be considered, although this feels somewhat ambiguous. I expect Ruff 1.0 could make subcommands more harmorized.
Default Configuration Based on Environment: When setting up configuration or different versions of Python, I could imagine different default configurations based on what community generally expects. Python 3.8 was released a long time ago. The coding standard could be quite different to what people expects in a Python 3.12 project.

I would normally expect an "init" command for a tool to help new users onboard themselves by stubbing out boilerplate and setting good defaults for greenfield development. It's not obvious to me how this ties into the specific use case of:

intended for advanced users and teams who require more tailored settings

I agree with you. I have a few alternatives:

ruff init-config
ruff init-setup
ruff scaffold
ruff advanced-setup
ruff advanced-config

I know Ruff doesn't use subsub-commands. But these might be interesting:

ruff configure setup
ruff generate config

I could imagine you want to have a plan to organize command hierarchy before comming to a design. In that case, you can freely make changes to this proposal.

I can see how this would be very useful to set up a new project.


Upgrading to Rails 5: posting raw JSON and new params format

I updated my controller specs to use the new syntax with params and I am using the rails-controller-testing gem too, but I'm not sure what key or format I'm supposed to use to get this raw JSON post to no longer throw a deprecation notice while still posting it as raw JSON:
post :callback, { id: 777 }.to_json, format: :json

DEPRECATION WARNING: ActionController::TestCase HTTP request methods will accept only
keyword arguments in future Rails versions.

Examples:

get :show, params: { id: 1 }, session: { user_id: 1 }
process :update, method: :post, params: { id: 1 }
 (called from block (4 levels) in <top (required)> at /private/var/www/redacted/spec/controllers/payments_controller_spec.rb:114)

My controller is expecting raw JSON to be parsed like this:
def callback
  data = JSON.parse(request.body.read)
  ...
end

Keep in mind that I cannot alter the controller or the fact that this is receiving raw JSON since it's a callback for an external 3rd party service.

Try: post :callback, body: { id: 777 }.to_json, format: :json you basically can't pass in a string etc anymore as far as I know

That did it, thanks!

In Rails 5 you have to do post :update, params: { id: user_id }, body: { id: 777 }.to_json, as: :json. Note – not format: json but as: :json, otherwise correct request mime-type won't be set.

In Rails 5.0 you have to do post :update, params: { id: user_id }, body: { id: 777 }.to_json, as: :json. Note – not format: json but as: :json, otherwise correct request mime-type won't be set.

You saved my life

It should work also this way: post :update, params: { id: user_id, id: 777 }, as: :json

This is working for me:

post :update, params: { id: user_id, id: 777 }, as: :json

But when I try using body: directly:

`post :update, body: { id: user_id, id: 777 }.to_json, as: :json

I get:
 ArgumentError:
       unknown keyword: body

I'm using rails 5.2.2 and rspec 3.8.0

@pimlottc-gov
You need do do it like this:

post :update, params: { id: user_id, id: 777 }.to_json, as: :json

The gotcha is to use params: and as: :json.

@pimlottc-gov this is entirely dependant on your Rails version, as mentioned above you must use the params route.

@pimlottc-gov solution worked for me in rails 6.0.0 and rspec 3.9.0. 🍾

@aaronwbrown I'm using post '/routename', params: params, as: :json but when I try to add headers, eg post '/wordlistentries', params: params, as: :json, headers: headers the params nor the headers get through to the controller. Anyone know how to get the headers in there too? I tried putting the headers arg in different places to no avail

@aaronwbrown I'm using post '/routename', params: params, as: :json but when I try to add headers, eg post '/routename', params: params, as: :json, headers: headers neither the params nor the headers get through to the controller. Anyone know how to get the headers in there too? I tried putting the headers arg in different places to no avail

I was struggling with that issue too but it was because I wasn't calling it the right way. Here how I managed it:
post 'route', params: { id: 1 }, as: :json and then in my test: JSON.parse(request.body.read, { symbolize_names: true })


Fail in build step

Hi,
Both building from source and using Docker showed an error:
Error: open internal/frontend/frontend_generated.go: no such file or directory
exit status 1

I resolved this issue by creating empty directory /internal/frontend/.
My machine is base on Arch Linux with go 1.14.5 version.
PS, Citadel seems to be best Trello alternative, keep developement!

Could you send me the full output from the go run cmd/mage/main.go build command?

Could you send me the full output from the go run cmd/mage/main.go build command?

pawel@kilab-baza ~/Work/Web/project-citadel$  go run cmd/mage/main.go build
yarn run v1.22.4
$ react-scripts build
Creating an optimized production build...
Compiled with warnings.

./src/shared/components/ControlledInput/index.tsx
  Line 124:6:  React Hook useEffect has a missing dependency: 'autoFocus'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

./src/shared/components/Member/index.tsx
  Line 12:7:  'CardMember' is assigned a value but never used          @typescript-eslint/no-unused-vars
  Line 29:7:  'CardMemberInitials' is assigned a value but never used  @typescript-eslint/no-unused-vars

./src/Projects/index.tsx
  Line 13:8:    'ProjectGridItem' is defined but never used       @typescript-eslint/no-unused-vars
  Line 13:27:   'AddProjectItem' is defined but never used        @typescript-eslint/no-unused-vars
  Line 15:8:    'Navbar' is defined but never used                @typescript-eslint/no-unused-vars
  Line 55:35:   'errors' is assigned a value but never used       @typescript-eslint/no-unused-vars
  Line 205:7:   'ProjectGrid' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 226:7:   'ProjectLink' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 245:19:  'setUserID' is assigned a value but never used    @typescript-eslint/no-unused-vars

./src/shared/components/TaskDetails/index.tsx
  Line 17:3:   'NoDueDateLabel' is defined but never used              @typescript-eslint/no-unused-vars
  Line 19:3:   'UnassignedLabel' is defined but never used             @typescript-eslint/no-unused-vars
  Line 24:3:   'TaskDetailsAddLabel' is defined but never used         @typescript-eslint/no-unused-vars
  Line 32:3:   'ProfileIcon' is defined but never used                 @typescript-eslint/no-unused-vars
  Line 46:3:   'TaskDetailSectionTitle' is defined but never used      @typescript-eslint/no-unused-vars
  Line 48:3:   'TaskDetailLabels' is defined but never used            @typescript-eslint/no-unused-vars
  Line 49:3:   'TaskDetailAssignee' is defined but never used          @typescript-eslint/no-unused-vars
  Line 50:3:   'TaskDetailAssignees' is defined but never used         @typescript-eslint/no-unused-vars
  Line 201:9:  'onUnassignedClick' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 210:9:  '$dueDateLabel' is assigned a value but never used      @typescript-eslint/no-unused-vars
  Line 254:9:  Expected an error object to be thrown                   no-throw-literal

./src/shared/components/Settings/index.tsx
  Line 187:7:  'TabContentInner' is assigned a value but never used  @typescript-eslint/no-unused-vars

./src/App/ThemeStyles.ts
  Line 1:10:  'createGlobalStyle' is defined but never used  @typescript-eslint/no-unused-vars

./src/App/TopNavbar.tsx
  Line 1:17:    'useState' is defined but never used                @typescript-eslint/no-unused-vars
  Line 1:39:    'useEffect' is defined but never used               @typescript-eslint/no-unused-vars
  Line 4:8:     'DropdownMenu' is defined but never used            @typescript-eslint/no-unused-vars
  Line 131:30:  'organizations' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 253:11:  'loading' is assigned a value but never used        @typescript-eslint/no-unused-vars
  Line 254:33:  'setTab' is assigned a value but never used         @typescript-eslint/no-unused-vars

./src/Teams/index.tsx
  Line 1:27:   'useContext' is defined but never used   @typescript-eslint/no-unused-vars
  Line 2:18:   'css' is defined but never used          @typescript-eslint/no-unused-vars
  Line 3:10:   'MENU_TYPES' is defined but never used   @typescript-eslint/no-unused-vars
  Line 16:33:  'useLocation' is defined but never used  @typescript-eslint/no-unused-vars

./src/shared/components/PopupMenu/LabelManager.tsx
  Line 1:27:  'useEffect' is defined but never used  @typescript-eslint/no-unused-vars
  Line 1:38:  'useRef' is defined but never used     @typescript-eslint/no-unused-vars

./src/Admin/index.tsx
  Line 1:28:   'useState' is defined but never used                  @typescript-eslint/no-unused-vars
  Line 38:7:   'DeleteUserPopup' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 86:43:  'setValue' is assigned a value but never used         @typescript-eslint/no-unused-vars

./src/shared/components/Input/index.tsx
  Line 1:38:   'useRef' is defined but never used                                                                                @typescript-eslint/no-unused-vars
  Line 154:8:  React Hook useEffect has missing dependencies: 'autoFocus', 'autoSelect', and 'combinedRef'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

./src/Projects/Project/Details/index.tsx
  Line 1:39:    'useEffect' is defined but never used                      @typescript-eslint/no-unused-vars
  Line 4:8:     'PopupMenu' is defined but never used                      @typescript-eslint/no-unused-vars
  Line 78:7:    'InputError' is assigned a value but never used            @typescript-eslint/no-unused-vars
  Line 86:35:   'errors' is assigned a value but never used                @typescript-eslint/no-unused-vars
  Line 135:9:   'match' is assigned a value but never used                 @typescript-eslint/no-unused-vars
  Line 136:10:  'currentMemberTask' is assigned a value but never used     @typescript-eslint/no-unused-vars
  Line 136:29:  'setCurrentMemberTask' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 137:10:  'memberPopupData' is assigned a value but never used       @typescript-eslint/no-unused-vars
  Line 137:27:  'setMemberPopupData' is assigned a value but never used    @typescript-eslint/no-unused-vars

./src/Projects/Project/Board/index.tsx
  Line 1:47:    'useEffect' is defined but never used                           @typescript-eslint/no-unused-vars
  Line 2:10:    'MENU_TYPES' is defined but never used                          @typescript-eslint/no-unused-vars
  Line 4:8:     'GlobalTopNavbar' is defined but never used                     @typescript-eslint/no-unused-vars
  Line 4:27:    'ProjectPopup' is defined but never used                        @typescript-eslint/no-unused-vars
  Line 9:10:    'useParams' is defined but never used                           @typescript-eslint/no-unused-vars
  Line 9:21:    'Route' is defined but never used                               @typescript-eslint/no-unused-vars
  Line 9:55:    'RouteComponentProps' is defined but never used                 @typescript-eslint/no-unused-vars
  Line 9:76:    'useLocation' is defined but never used                         @typescript-eslint/no-unused-vars
  Line 11:3:    'useSetProjectOwnerMutation' is defined but never used          @typescript-eslint/no-unused-vars
  Line 12:3:    'useUpdateProjectMemberRoleMutation' is defined but never used  @typescript-eslint/no-unused-vars
  Line 13:3:    'useCreateProjectMemberMutation' is defined but never used      @typescript-eslint/no-unused-vars
  Line 14:3:    'useDeleteProjectMemberMutation' is defined but never used      @typescript-eslint/no-unused-vars
  Line 17:3:    'useUpdateProjectNameMutation' is defined but never used        @typescript-eslint/no-unused-vars
  Line 21:3:    'useUpdateProjectLabelMutation' is defined but never used       @typescript-eslint/no-unused-vars
  Line 23:3:    'useDeleteProjectLabelMutation' is defined but never used       @typescript-eslint/no-unused-vars
  Line 29:3:    'useUpdateTaskDescriptionMutation' is defined but never used    @typescript-eslint/no-unused-vars
  Line 31:3:    'DeleteTaskDocument' is defined but never used                  @typescript-eslint/no-unused-vars
  Line 33:3:    'useCreateProjectLabelMutation' is defined but never used       @typescript-eslint/no-unused-vars
  Line 37:3:    'useUsersQuery' is defined but never used                       @typescript-eslint/no-unused-vars
  Line 48:8:    'LabelManager' is defined but never used                        @typescript-eslint/no-unused-vars
  Line 49:8:    'LabelEditor' is defined but never used                         @typescript-eslint/no-unused-vars
  Line 127:11:  'userID' is assigned a value but never used                     @typescript-eslint/no-unused-vars

./src/shared/components/PopupMenu/index.tsx
  Line 1:73:   'useEffect' is defined but never used               @typescript-eslint/no-unused-vars
  Line 5:8:    'produce' is defined but never used                 @typescript-eslint/no-unused-vars
  Line 41:22:  'setCurrentTop' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 78:19:  'Consumer' is assigned a value but never used       @typescript-eslint/no-unused-vars

./src/shared/components/Login/index.tsx
  Line 27:53:  'formState' is assigned a value but never used  @typescript-eslint/no-unused-vars

./src/Auth/index.tsx
  Line 2:10:  'useForm' is defined but never used                                                                         @typescript-eslint/no-unused-vars
  Line 57:6:  React Hook useEffect has a missing dependency: 'history'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

./src/Projects/Project/index.tsx
  Line 2:17:    'useState' is defined but never used                                                                                @typescript-eslint/no-unused-vars
  Line 26:3:    'useCreateTaskMutation' is defined but never used                                                                         @typescript-eslint/no-unused-vars
  Line 28:3:    'useUpdateTaskLocationMutation' is defined but never used                                                                 @typescript-eslint/no-unused-vars
  Line 29:3:    'useUpdateTaskGroupLocationMutation' is defined but never used                                                            @typescript-eslint/no-unused-vars
  Line 30:3:    'useCreateTaskGroupMutation' is defined but never used                                                                    @typescript-eslint/no-unused-vars
  Line 42:8:    'EmptyBoard' is defined but never used                                                                                @typescript-eslint/no-unused-vars
  Line 51:6:    React Hook React.useEffect has a missing dependency: 'localStorageKey'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
  Line 115:7:   'initialQuickCardEditorState' is assigned a value but never used                                                          @typescript-eslint/no-unused-vars
  Line 192:11:  'userID' is assigned a value but never used                                                                               @typescript-eslint/no-unused-vars
  Line 196:9:   '$labelsRef' is assigned a value but never used                                                                           @typescript-eslint/no-unused-vars

./src/Teams/Projects/index.tsx
  Line 2:18:   'css' is defined but never used                             @typescript-eslint/no-unused-vars
  Line 5:3:    'useDeleteTeamMutation' is defined but never used           @typescript-eslint/no-unused-vars
  Line 6:3:    'GetProjectsDocument' is defined but never used             @typescript-eslint/no-unused-vars
  Line 7:3:    'GetProjectsQuery' is defined but never used                @typescript-eslint/no-unused-vars
  Line 57:7:   'ProjectAddTile' is assigned a value but never used         @typescript-eslint/no-unused-vars
  Line 126:7:  'ProjectAddTileDetails' is assigned a value but never used  @typescript-eslint/no-unused-vars

./src/shared/components/QuickCardEditor/Styles.ts
  Line 2:8:   'TextareaAutosize' is defined but never used  @typescript-eslint/no-unused-vars
  Line 3:10:  'mixin' is defined but never used             @typescript-eslint/no-unused-vars

./src/App/Routes.tsx
  Line 2:9:  'Router' is defined but never used  @typescript-eslint/no-unused-vars

./src/shared/components/QuickCardEditor/index.tsx
  Line 38:28:  'setCardTitle' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 48:9:   'height' is assigned a value but never used        @typescript-eslint/no-unused-vars

./src/shared/components/TopNavbar/Styles.ts
  Line 3:10:  'mixin' is defined but never used  @typescript-eslint/no-unused-vars

./src/shared/components/DueDateManager/Styles.ts
  Line 3:10:  'mixin' is defined but never used  @typescript-eslint/no-unused-vars

./src/shared/components/List/Styles.ts
  Line 3:10:  'mixin' is defined but never used  @typescript-eslint/no-unused-vars

./src/shared/components/CardComposer/Styles.ts
  Line 3:8:   'TextareaAutosize' is defined but never used  @typescript-eslint/no-unused-vars
  Line 5:10:  'mixin' is defined but never used             @typescript-eslint/no-unused-vars

./src/shared/components/PopupMenu/Styles.ts
  Line 3:8:  'Input' is defined but never used  @typescript-eslint/no-unused-vars

./src/shared/components/Checklist/index.tsx
  Line 4:10:  'DragDropContext' is defined but never used            @typescript-eslint/no-unused-vars
  Line 4:27:  'Droppable' is defined but never used                  @typescript-eslint/no-unused-vars
  Line 4:38:  'Draggable' is defined but never used                  @typescript-eslint/no-unused-vars
  Line 4:49:  'DropResult' is defined but never used                 @typescript-eslint/no-unused-vars
  Line 6:3:   'isPositionChanged' is defined but never used          @typescript-eslint/no-unused-vars
  Line 7:3:   'getSortedDraggables' is defined but never used        @typescript-eslint/no-unused-vars
  Line 8:3:   'getNewDraggablePosition' is defined but never used    @typescript-eslint/no-unused-vars
  Line 9:3:   'getAfterDropDraggableList' is defined but never used  @typescript-eslint/no-unused-vars
  Line 13:8:  'Control' is defined but never used                    @typescript-eslint/no-unused-vars

./src/Profile/index.tsx
  Line 4:10:  'Link' is defined but never used                  @typescript-eslint/no-unused-vars
  Line 6:8:   'Navbar' is defined but never used                @typescript-eslint/no-unused-vars
  Line 8:8:   'UserIDContext' is defined but never used         @typescript-eslint/no-unused-vars
  Line 12:7:  'MainContent' is assigned a value but never used  @typescript-eslint/no-unused-vars

./src/shared/components/MemberManager/index.tsx
  Line 4:3:    'MemberName' is defined but never used         @typescript-eslint/no-unused-vars
  Line 5:3:    'ProfileIcon' is defined but never used        @typescript-eslint/no-unused-vars
  Line 13:3:   'ActiveIconWrapper' is defined but never used  @typescript-eslint/no-unused-vars
  Line 15:10:  'Checkmark' is defined but never used          @typescript-eslint/no-unused-vars
  Line 16:8:   'Member' is defined but never used             @typescript-eslint/no-unused-vars

./src/shared/components/AddList/index.tsx
  Line 4:8:  'Button' is defined but never used  @typescript-eslint/no-unused-vars

./src/shared/components/DueDateManager/index.tsx
  Line 5:10:    'Cross' is defined but never used                 @typescript-eslint/no-unused-vars
  Line 15:3:    'CancelDueDate' is defined but never used         @typescript-eslint/no-unused-vars
  Line 129:10:  'textEndTime' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 130:19:  'setEndTime' is assigned a value but never used   @typescript-eslint/no-unused-vars
  Line 150:35:  'errors' is assigned a value but never used       @typescript-eslint/no-unused-vars
  Line 150:43:  'setValue' is assigned a value but never used     @typescript-eslint/no-unused-vars
  Line 150:53:  'setError' is assigned a value but never used     @typescript-eslint/no-unused-vars
  Line 150:63:  'formState' is assigned a value but never used    @typescript-eslint/no-unused-vars

./src/Install/index.tsx
  Line 5:10:  'useCreateUserAccountMutation' is defined but never used                                                    @typescript-eslint/no-unused-vars
  Line 5:40:  'useMeQuery' is defined but never used                                                                      @typescript-eslint/no-unused-vars
  Line 5:52:  'MeDocument' is defined but never used                                                                      @typescript-eslint/no-unused-vars
  Line 5:64:  'MeQuery' is defined but never used                                                                         @typescript-eslint/no-unused-vars
  Line 8:8:   'updateApolloCache' is defined but never used                                                               @typescript-eslint/no-unused-vars
  Line 9:8:   'produce' is defined but never used                                                                         @typescript-eslint/no-unused-vars
  Line 15:9:  'client' is assigned a value but never used                                                                 @typescript-eslint/no-unused-vars
  Line 30:6:  React Hook useEffect has a missing dependency: 'history'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

./src/shared/components/TopNavbar/index.tsx
  Line 5:8:    'TaskAssignee' is defined but never used          @typescript-eslint/no-unused-vars
  Line 6:20:   'Popup' is defined but never used                 @typescript-eslint/no-unused-vars
  Line 27:3:   'ProfileContainer' is defined but never used      @typescript-eslint/no-unused-vars
  Line 28:3:   'ProfileNameWrapper' is defined but never used    @typescript-eslint/no-unused-vars
  Line 29:3:   'ProfileNamePrimary' is defined but never used    @typescript-eslint/no-unused-vars
  Line 30:3:   'ProfileNameSecondary' is defined but never used  @typescript-eslint/no-unused-vars
  Line 34:10:  'Link' is defined but never used                  @typescript-eslint/no-unused-vars

./src/shared/components/Card/Styles.ts
  Line 6:10:  'RefObject' is defined but never used  @typescript-eslint/no-unused-vars

./src/shared/components/Admin/index.tsx
  Line 6:16:    'Plus' is defined but never used                   @typescript-eslint/no-unused-vars
  Line 11:8:    'Member' is defined but never used                 @typescript-eslint/no-unused-vars
  Line 126:20:  'setUserPass' is assigned a value but never used   @typescript-eslint/no-unused-vars
  Line 439:7:   'Header' is assigned a value but never used        @typescript-eslint/no-unused-vars
  Line 457:7:   'LockUserIcon' is assigned a value but never used  @typescript-eslint/no-unused-vars
  Line 498:7:   'ListTable' is assigned a value but never used     @typescript-eslint/no-unused-vars
  Line 552:7:   'Wrapper' is assigned a value but never used       @typescript-eslint/no-unused-vars
  Line 700:22:  'hidePopup' is assigned a value but never used     @typescript-eslint/no-unused-vars

./src/Projects/Project/LabelManagerEditor/index.tsx
  Line 6:3:   'useSetProjectOwnerMutation' is defined but never used          @typescript-eslint/no-unused-vars
  Line 7:3:   'useUpdateProjectMemberRoleMutation' is defined but never used  @typescript-eslint/no-unused-vars
  Line 8:3:   'useCreateProjectMemberMutation' is defined but never used      @typescript-eslint/no-unused-vars
  Line 9:3:   'useDeleteProjectMemberMutation' is defined but never used      @typescript-eslint/no-unused-vars
  Line 10:3:  'useSetTaskCompleteMutation' is defined but never used          @typescript-eslint/no-unused-vars
  Line 11:3:  'useToggleTaskLabelMutation' is defined but never used          @typescript-eslint/no-unused-vars
  Line 12:3:  'useUpdateProjectNameMutation' is defined but never used        @typescript-eslint/no-unused-vars
  Line 13:3:  'useFindProjectQuery' is defined but never used                 @typescript-eslint/no-unused-vars
  Line 14:3:  'useUpdateTaskGroupNameMutation' is defined but never used      @typescript-eslint/no-unused-vars
  Line 15:3:  'useUpdateTaskNameMutation' is defined but never used           @typescript-eslint/no-unused-vars
  Line 17:3:  'useCreateTaskMutation' is defined but never used               @typescript-eslint/no-unused-vars
  Line 19:3:  'useDeleteTaskMutation' is defined but never used               @typescript-eslint/no-unused-vars
  Line 20:3:  'useUpdateTaskLocationMutation' is defined but never used       @typescript-eslint/no-unused-vars
  Line 21:3:  'useUpdateTaskGroupLocationMutation' is defined but never used  @typescript-eslint/no-unused-vars
  Line 22:3:  'useCreateTaskGroupMutation' is defined but never used          @typescript-eslint/no-unused-vars
  Line 23:3:  'useDeleteTaskGroupMutation' is defined but never used          @typescript-eslint/no-unused-vars
  Line 24:3:  'useUpdateTaskDescriptionMutation' is defined but never used    @typescript-eslint/no-unused-vars
  Line 25:3:  'useAssignTaskMutation' is defined but never used               @typescript-eslint/no-unused-vars
  Line 26:3:  'DeleteTaskDocument' is defined but never used                  @typescript-eslint/no-unused-vars
  Line 29:3:  'useUnassignTaskMutation' is defined but never used             @typescript-eslint/no-unused-vars
  Line 30:3:  'useUpdateTaskDueDateMutation' is defined but never used        @typescript-eslint/no-unused-vars
  Line 32:3:  'useUsersQuery' is defined but never used                       @typescript-eslint/no-unused-vars

./src/shared/components/ProjectSettings/index.tsx
  Line 72:7:  'ConfirmSubTitle' is assigned a value but never used  @typescript-eslint/no-unused-vars

./src/App/index.tsx
  Line 7:8:   'styled' is defined but never used  @typescript-eslint/no-unused-vars
  Line 13:8:  'Navbar' is defined but never used  @typescript-eslint/no-unused-vars

./src/shared/components/Lists/index.tsx
  Line 84:9:  Expected an error object to be thrown  no-throw-literal

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

File sizes after gzip:

  483.83 KB  build/static/js/2.ce4d55d4.chunk.js
  74.95 KB   build/static/js/main.7214dbb2.chunk.js
  21.54 KB   build/static/css/2.1055a0ac.chunk.css
  767 B      build/static/js/runtime-main.70302f69.js

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

  yarn global add serve
  serve -s build

Find out more about deployment here:

  bit.ly/CRA-deploy

Done in 20.91s.
writing internal/frontend/frontend_generated.go
Error: open internal/frontend/frontend_generated.go: no such file or directory
exit status 1

I have the same bug here, the file frontend_generated.go is nowhere to be found.
This code in the magefile.go(line 34) references it:
func (Backend) GenFrontend() error {
	var fs http.FileSystem = http.Dir("frontend/build")
	err := vfsgen.Generate(fs, vfsgen.Options{
		Filename:     "internal/frontend/frontend_generated.go",
		PackageName:  "frontend",
		VariableName: "Frontend",
	})
	if err != nil {
		panic(err)
	}
	return nil
}

I've pushed a commit so that the internal/frontend directory gets created if it doesn't exist (which it doesn't on a freshly cloned repo) so this should now be fixed!

Just for the log, as of 6f33cc5799fb3baf9c42b52dfd8cec764f34d378 I can report that the build step works.


Dockerize the Discord bot

You know that I dont use Docker Lukas

Yeah, I know. But this is an application which is meant to support self-hosting and many people use Docker for that.


Bug: 0deg replaced to 0

Hi Eduardo.
I see that the code:
.header{background-image:linear-gradient(0deg,#303030,#3e3e3e);}
gets replaced to
.header{background-image:linear-gradient(0,#303030,#3e3e3e)}
And Firefox doesn't like 0 value, 0deg is fine.
I think "uglifycss" is doing this.
Tom

Yes, uglifyCss is replaceng 0deg to 0 and this is wrong. Firefox 52 doesn't like it and ignores the whole rule but it is working fine in Firefox 54.

I generally use cssnano before the cssential so I commented out the line with uglifycss.


[IR-Patch] IR Bridge

@sxjscience @szha @yzhliu @tqchen @zheng-da @eric-haibin-lin

hmmm I have no idea why the lint fails on an irrelevant file, full message.
+ make pylint
python3 -m pylint --rcfile=/work/mxnet/ci/other/pylintrc --ignore-patterns=".*\.so$,.*\.dll$,.*\.dylib$" python/mxnet tools/caffe_converter/*.py
************* Module caffe_proto_utils
tools/caffe_converter/caffe_proto_utils.py:199:18: E1121: Too many positional arguments for method call (too-many-function-args)
************* Module convert_mean
tools/caffe_converter/convert_mean.py:45:18: E1121: Too many positional arguments for method call (too-many-function-args)

------------------------------------
Your code has been rated at 10.00/10

Makefile:665: recipe for target 'pylint' failed
make: *** [pylint] Error 2

rebased

Two issues:

Amalgamation fails, because TVM doesn't provide amalgamation
Julia fails with the following error message LLVM ERROR: out of memory. Looks like llvm conflicts. I will try static linking...

Okay the Julia thing has been fixed via some creepy tricks...let’s then deal with amalgamation

@iblis17

well, which version of LLVM is required by TVM?

@iblis17 either LLVM 6.0 or 8.0 works. No worries, the issue is caused by symbol conflicts between Julia’s LLVM and TVM’s LLVM, and has been fixed by tweaking TVM’s symbols :-)

should be good to go


bug: tabwriter can't format wide characters correctly

Mainly for CJK(Chinese-Jananese-Korean) ideograph words, for example, this is a short example test case:
package main

import (
    "fmt"
    "io"
    "text/tabwriter"
)

type myWriter struct {
    io.Writer
}

func (w myWriter) Write(p []byte) (n int, err error) {
    fmt.Printf("%s", string(p))
    return len(p), nil
}

func main() {
    myw := myWriter{}

    tw := tabwriter.NewWriter(myw, 10, 1, 3, ' ', 0)
    str := "hello\tthis\tis\ta\ttest\tfrom\twei\n"
    str1 := "你好\thello\t世界\tworld\t。\t再见\t：）\n"

    fmt.Fprintf(tw, str)
    fmt.Fprintf(tw, str1)
    tw.Flush()
}

The printed result will be  really messy:

I search the Golang docs, it will assume every unicode have same width, but for most ideograph words it is 2 columns not 1.
I wrote a modified tabwriter for formatting CJK words correctly, and I hope to upstream it to Golang, before that I want to know what you are thinking about this.
The modified tabwriter can be found here WeiZhang555/tabwriter. Thank you!

Test result of my modified tabwriter:

Dup of #12073

@WeiZhang555 Can you send me a CL that shows the changes you made to make this work? Please comment via #12073 . Thanks.

@griesemer
OK, I will do that. This is my first time trying to send code to Go community, so I need to follow the instruction here https://golang.org/doc/contribute.html right?

@WeiZhang555 Yes, these are the guidelines. But I can also look at the other link you sent. Please note, this is not an urgent issue for us at the moment. Thanks.


Install python and setup Django framework

Install the environment and set up Sqlite by configuring in settings.py

Installed Python and Django project


Can't run tensorflow-gpu in python terminal

Environment data
Version: 1.35.1 (user setup)
Commit: c7d83e57cd18f18026a8162d042843bda1bcf21f
Date: 2019-06-12T14:30:02.622Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763
Name: Python
Id: ms-python.python
Description: Linting, Debugging (multi-threaded, remote), Intellisense, code formatting, refactoring, unit tests, snippets, and more.
Version: 2019.6.22090
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-python.python

VS Code version: 1.35.1 (user setup)
Extension version (available under the Extensions sidebar): 2019.6.22090
OS and version: Windows_NT x64 10.0.17763
Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.8
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: tensorflow-gpu, keras, numpy, CUDA v10.1, conda env
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): NO

Expected behaviour
import tensorflow as tf

print(tf.test.is_built_with_cuda())
# return True
print(tf.test.is_gpu_available(cuda_only=False, min_cuda_compute_capability=None))
# return True

Actual behaviour
This is the result from VS code python terminal, runing within conda env
ImportError: Could not find 'cudart64_100.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 10.0 from this URL: https://developer.nvidia.com/cuda-90-download-archive

However, I can run the same code on conda env cmd using "python test.py"
2019-06-25 16:34:03.590822: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2019-06-25 16:34:03.596555: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library nvcuda.dll
2019-06-25 16:34:03.704005: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce GTX 1070 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.683
pciBusID: 0000:26:00.0
2019-06-25 16:34:03.708340: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2019-06-25 16:34:03.711694: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-06-25 16:34:04.390935: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-06-25 16:34:04.394002: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187]      0
2019-06-25 16:34:04.395796: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0:   N
2019-06-25 16:34:04.398232: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/device:GPU:0 with 6363 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1070 Ti, pci bus id: 0000:26:00.0, compute capability: 6.1)
True

Steps to reproduce:

Install CUDA v10.1, install cuDNN, install tensorflow-gpu, install keras
Run the test code

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
NO

Output
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
ImportError: Could not find 'cudart64_100.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 10.0 from this URL: https://developer.nvidia.com/cuda-90-download-archive

It seems that conda env is not activated for you in the VS Code terminal. Please send the output of command `python -c "import sys;print(sys.executable)" before and after activating conda. Possible dup of #6343.

Thanks for your respond! Hope everything going well!
I believe, as you mentioned, there is an issue that VS code can't activate conda.
From cmd.exe:

From an initial terminal within VS code

However, I check the solution in #6343

Your issues seems separate. It seems conda is not in your PATH environment variable. Please check the value of variable (echo %PATH% in cmd should do it), and refer to stack overflow to see how to append PATH with conda.
Also from the screeenshot, you are using different shells and different methods to activate environment in VS Code and normal CMD.
If using the same commands in the same type of shell works in Normal terminal but does not work in VSC terminal, then I could see this as a VSC issue. So can you please use the same shell and steps in VSC python terminal to activate the environment and report back, thanks!

Hey K,
Actually I have already set conda environment variable
System

User

The reason why there were different activate command is that conda activate XXX was called by default.
Plus, I tried both command today, conda activate XXX call activate XXX. Both are not working within VSC terminal, but works well in my cmd.

Some other attempts

By the way, I updated my VSC to 1.36.1 now

@drewyang-datavedik You are using a different shell in VS Code. Please check the top right corner of the pic. You are using powershell as VSC terminal, not cmd. Please change the shell to cmd,
CTRL+SHIFT+P -> Select default shell -> Command prompt

Sorry about that...
I tried using cmd, and yes, it can activate conda and can run my program as well. Thanks!

Summary:
Probably the default shell was reset from cmd to powershell because of update. Thanks for your help! @karrtikr


Add support for HmIPW-STHD

Please point your pull request at the devel branch. Also provide some information about the changes.
This pull request:

adds support for HomeMatic device: HMIPW-STHD

This project is not being maintained anymore. Please switch to the new integration, which is available as a custom component.


Deleting multiple elements

Is there any way to delete multiple elements together?
This function deletes only one element at a time.
def delete(self, dimension_name: str, hierarchy_name: str, element_name: str, **kwargs) -> Response:
        url = format_url(
            "/api/v1/Dimensions('{}')/Hierarchies('{}')/Elements('{}')",
            dimension_name,
            hierarchy_name,
            element_name)
        return self._rest.DELETE(url, **kwargs)

Hi
Maybe this has been foreseen in tm1py, I don’t know, but you could also:

create a subset
use an unbound process with the function dimensiondeleteelements

Best regards,
Wim
Op vr 25 jun. 2021 om 08:17 schreef pal-16 @.***>

Is there any way to delete multiple elements together?
This function deletes only one element at a time.
def delete(self, dimension_name: str, hierarchy_name: str, element_name:
str, **kwargs) -> Response:
url = format_url(
"/api/v1/Dimensions('{}')/Hierarchies('{}')/Elements('{}')",
dimension_name,
hierarchy_name,
element_name)
return self._rest.DELETE(url, **kwargs)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cubewise-code/tm1py/issues/556, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDHULP265UEB5H7OEA6P2DTUQNQRANCNFSM47JHY2HA
.

--

Best regards / Beste groeten,
Wim Gielis
MS Excel MVP 2011-2014
https://www.wimgielis.com http://www.wimgielis.be

Loop through the dimension elements and execute this function (wouldn't suggest multi-threading for reasons).
Follow wim's suggestion.

@rkvinoth Yes, looping is a solution. Could you describe a few reasons why not use multi threading

It could create some IX locks and not sure how much performance gain you would see even if there are no locks.

The "default" way to delete multiple elements from a dimension/hierarchy is this:
from TM1py import TM1Service

with TM1Service(address="", port=12354, user="admin", password="apple", ssl=True) as tm1:
    hierarchy = tm1.hierarchies.get(dimension_name="d1", hierarchy_name="d1")

    hierarchy.remove_element(element_name="e1")
    hierarchy.remove_element(element_name="e2")
    hierarchy.remove_element(element_name="e3")

    tm1.hierarchies.update(hierarchy)

The code retrieves the full hierarchy into python, manipulates it, and sends it back. The update (= deleting 1 or n elements) is one single operation.
Depending on the size of the hierarchy and the number of elements you want to delete, this can be faster or slower than calling the delete function on tm1.elements
If you want to delete one or two elements from a hierarchy with 1M elements you should probably use tm1.elements.delete.
In most cases, the above approach will be more appropriate.

@wimgielis made a good point as well. You could create a public subset with TM1py and use a Turbo Integrator process (perhaps bedrock or an unbound process) to delete the subset elements from the dimension/hierarchy.

@MariusWirtz  Could we not create a function to delete multiple elements with the logic you just mentioned. Let me know if I can go ahead with it

@pal-16 I'm not sure I understand your question. All three approaches discussed above are perfectly valid.
Please evaluate which one is the most suitable for your situation and let us know your findings and reasons!

@pal-16 may I close this issue?

Yes sure


Update nuget version for ManagedServices RP

/azp run net - mgmt - ci

I found a bug in swagger spec where API version is being treated as a parameter. I will abandon this PR and created another one. Thank you.


Pull in blj contributions

@blj @ronald
This PR shows the changes from the @blj master branch. I've made additional changes to update to FactoryBot and bump other gems.
I've been working in Ruby 2.6.2 and so far I'm running into issues with the combustion gem doing something to screw up RADIANT_ROOT
This branch may be a good place to look
EDIT:
Switching the offending line to Radiant::Engine.root did the trick. Specs run ok (although still failing) from this branch

@saturnflyer I will see what the issue is. Thanks for pinging me.


horizon: add single asset balance payment support

master issue: #4722
Payments
@bartekn raised a good point: horizon has a payments endpoint which returns all operations that result in a payment to / from an account. Since stellar assets can be transferred via smart contract invocations it would make sense to include those operations in the payments endpoint.
prerequisite: #4747

@tamirms , is  #https://github.com/stellar/go/pull/4782 considered a pre-requisite for this dev? it implements the new contract data processor which brings in the contract id parsing functionality.


[BUG]:Unable to insert Date into Aws Postgres

What version of drizzle-orm are you using?
^0.28.2
What version of drizzle-kit are you using?
^0.19.12
Describe the Bug
This is a simple schema
import {
  timestamp,
  pgTable
} from "drizzle-orm/pg-core";

export const test = pgTable("test",{
  date:timestamp("date",{mode:"date"}).notNull()
})

when i try to run this
async function main() {
  try {
    const res = await db.insert(test).values({
      date:new Date(),
    });
    console.log(res);
  } catch (error) {
    console.log(error);
  }
}
main()

I get this error
BadRequestException: Cannot parse date or time "2023-08-15T19:57:42.417Z"
    at de_BadRequestExceptionRes (webpack-internal:///(rsc)/../node_modules/.pnpm/@aws-sdk+client-rds-data@3.388.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/protocols/Aws_restJson1.js:485:23)
    at de_ExecuteStatementCommandError (webpack-internal:///(rsc)/../node_modules/.pnpm/@aws-sdk+client-rds-data@3.388.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/protocols/Aws_restJson1.js:390:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async eval (webpack-internal:///(rsc)/../node_modules/.pnpm/@smithy+middleware-serde@2.0.3/node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js:9:32)
    at async eval (webpack-internal:///(rsc)/../node_modules/.pnpm/@aws-sdk+middleware-signing@3.387.0/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthMiddleware.js:15:28)
    at async eval (webpack-internal:///(rsc)/../node_modules/.pnpm/@smithy+middleware-retry@2.0.3/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js:29:54)
    at async eval (webpack-internal:///(rsc)/../node_modules/.pnpm/@aws-sdk+middleware-logger@3.387.0/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js:9:34)
    at async AwsDataApiPreparedQuery.values (webpack-internal:///(rsc)/../node_modules/.pnpm/drizzle-orm@0.28.2_@aws-sdk+client-rds-data@3.388.0/node_modules/drizzle-orm/aws-data-api/pg/index.mjs:135:28)
    at async AwsDataApiPreparedQuery.execute (webpack-internal:///(rsc)/../node_modules/.pnpm/drizzle-orm@0.28.2_@aws-sdk+client-rds-data@3.388.0/node_modules/drizzle-orm/aws-data-api/pg/index.mjs:117:22)
    at async main (webpack-internal:///(rsc)/./db/index.ts:24:21) {
  '$fault': 'client',
  '$metadata': {
    httpStatusCode: 400,
    requestId: 'be13c96b-e262-477a-b286-0ba48cbdcffe',
    extendedRequestId: undefined,
    cfId: undefined,
    attempts: 1,
    totalRetryDelay: 0
  }
}

I am unable to parse a JS Date Object into Postgres compatable TimeStamp object
Expected behavior
No response
Environment & setup
No response

Having the same issue. We pass in the the proper javascript Date(), but it's not being passed correctly to RDS data.

https://medium.com/@anasmohammed361/implement-next-auth-auth-js-with-drizzle-adapter-aws-rds-postgres-15a8d148ec99

This is most likely closed by #1659


Global Emotes not loading/broken error message

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue

On both 411db820 (Current) and 7832c065 (Backup) versions of 7tv nightly Chatterino the global 7tv emote don't load
As well as on both these version I get the message "Failed to fetch FrankerFaceZ channel emotes. (unknown error)" every time I open Chatterino but ffz emotes load fine
But going back to the version before the backup 13e17dab fixes both these issues

Screenshots

OS and Chatterino Version
Chatterino Nightly 7.3.5 (commit 13e17dab , 7832c065 , 411db820 , 2022-09-04) Windows 11

This is the culprit for SevenTV global emotes
https://github.com/SevenTV/chatterino7/blob/411db820d6f5d6af6569e0b3fd4d4959031bfeb1/src/providers/twitch/TwitchIrcServer.cpp#L515-L518
I have no idea what's causing the FFZ error tho, I can't find any merge mistakes specifically surrounding that 🤔

Ive 🅱 inged sirstendec to make sure that this wasn't an FFZ issue, as I stopped being able to replicate it at around 13:00 UTC - but if it's not them than it's an upstream issue


Add Quota Aspect to mixer

Tracking issue
Mixer should also provide a quota aspect.

This is mostly done. We should close this out when we have full test coverage for the aspect manager.


Question: I have Error In "pip3 install -r requirements.txt", No matching distribution found for onnx==1.8.1

Specification

Ubuntu 18.04.6 LTS
Python 3.9 (In Environment using Anaconda 4.10.3)

What was done

git clone https://github.com/ifzhang/ByteTrack.git (Good)
cd ByteTrack (Good)
pip3 install -r requirements.txt (Error)

What I get:
'Collecting onnx==1.8.1
Using cached onnx-1.8.1.tar.gz (5.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /home/anaconda3/envs/ByteTrack39/bin/python /home/anaconda3/envs/ByteTrack39/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpnjskbv7q
cwd: /tmp/pip-install-6bn8r3bf/onnx_cfd45788e38244ee809a7d213d4e2c39
Complete output (19 lines):
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "/home/anaconda3/envs/ByteTrack39/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in
main()
File "/home/anaconda3/envs/ByteTrack39/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/anaconda3/envs/ByteTrack39/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 117, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-ebj66tek/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel
return self._get_build_requires(
File "/tmp/pip-build-env-ebj66tek/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 143, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-ebj66tek/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 267, in run_setup
super(_BuildMetaLegacyBackend,
File "/tmp/pip-build-env-ebj66tek/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 158, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 75, in
assert CMAKE, 'Could not find "cmake" executable!'
AssertionError: Could not find "cmake" executable!
WARNING: Discarding https://files.pythonhosted.org/packages/2b/8d/c924f54e19ec71543c18658d86e8337579d5a784bd524b7f18e2e2cd6f17/onnx-1.8.1.tar.gz#sha256=9d65c52009a90499f8c25fdfe5acda3ac88efe0788eb1d5f2575a989277145fb (from https://pypi.org/simple/onnx/). Command errored out with exit status 1: /home/anaconda3/envs/ByteTrack39/bin/python /home/anaconda3/envs/ByteTrack39/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpnjskbv7q Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement onnx==1.8.1 (from versions: 0.1, 0.2, 0.2.1, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.9.0, 1.10.0, 1.10.1, 1.10.2)
ERROR: No matching distribution found for onnx==1.8.1'
Any Help?

Just create a virtual environment with python 3.6.

Thanks, it was version issue, it's working now.


Fix Mcmaster-Carr cart to reflect case v2

M3 screws in current cart have a pitch of 0.35mm, and it should be 0.45mm (Screen Bracket)
M2.5 Standoffs for LED Bracket need to be 15mm not 10mm

(also do we need washers and longer bolts for the handles?)
when you update all these parts do you want me to buy them, or will the current parts work?

Mcmaster carr cart is up to date


ImportError: libflatbuffers.so.2

Click to expand!
Issue Type
Build/Install
Source
binary
Tensorflow Version
2.4
Custom Code
No
OS Platform and Distribution
Linux Ubuntu 22.04
Mobile device
Linux Ubuntu 22.04
Python version
3.9.15
Bazel version
n/a
GCC/Compiler version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
CUDA/cuDNN version
11.7.0 / <IP_ADDRESS>
GPU model and memory
Nvidia Geforce RTX 3060
Current Behaviour?
In a separate environment without Spyder5 the installation and import works:

>>> import tensorflow
2022-11-28 21:11:44.598535: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.1
>>> print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
Num GPUs Available:  1

### Standalone code to reproduce the issue

```shell
In Spyder5 installed conda environment, after attempting multiple installs in anaconda env:

conda install tensorflow-gpu -c conda-forge
conda install -c anaconda tensorflow-gpu

Error received with standard:
import tensorflow as tf

Error report below:

### Relevant log output

```shell
Traceback (most recent call last):
  File "/home/antz/anaconda3/envs/vit-env/lib/python3.10/site-packages/tensorflow/python/pywrap_tensorflow.py", line 62, in <module>
    from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: libflatbuffers.so.2: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/antz/anaconda3/envs/vit-env/lib/python3.10/site-packages/tensorflow/__init__.py", line 37, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "/home/antz/anaconda3/envs/vit-env/lib/python3.10/site-packages/tensorflow/python/__init__.py", line 36, in <module>
    from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
  File "/home/antz/anaconda3/envs/vit-env/lib/python3.10/site-packages/tensorflow/python/pywrap_tensorflow.py", line 77, in <module>
    raise ImportError(
ImportError: Traceback (most recent call last):
  File "/home/antz/anaconda3/envs/vit-env/lib/python3.10/site-packages/tensorflow/python/pywrap_tensorflow.py", line 62, in <module>
    from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: libflatbuffers.so.2: cannot open shared object file: No such file or directory

Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors for some common causes and solutions.
If you need help, create an issue at https://github.com/tensorflow/tensorflow/issues and include the entire stack trace above this error message.

</details>

Hi @ANTZ314 !
Please avoid multiple installations while setting up Tensorflow.
Could  you created a fresh environment through conda and  install tensoflow through pip instead of Conda.
Attached  "pip install Instruction for linux" for reference.
Thank you!


Creating Settings from an Array (Settings Factory)

Are you planning to create a factory for Settings?
For example:
(new SettingsFactory)->createFromArray([
    'foo' => 'bar',
    'bar' => 'baz',
    'baz' => 'qux',
]);

I would like not to write this:
https://github.com/sunrise-php/awesome-skeleton/blob/master/src/Middleware/CorsMiddleware.php#L80
What are your thoughts on this?

I think the best option for you would be having custom implementation for AnalysisStrategyInterface. The library have no dependencies on any specific implementation but only on the interface. It will give you maximum flexibility and performance. You can use default implementation as a reference. The great benefit we will not have to argue which param names are best and should they be CamelCase or snake_case :smile:
If your only issue is a performance you can optimize it with a cache. Settings could be exported as a plain array and then cached. A new instance of Settings could be created very effectively in just a couple of lines of code.
Don't hesitate to ask any further questions.

After looking into your profile I think the first option is the best for you. The implementation should be quite obvious but if you have any question don't hesitate to ask and :calling: if needed.

I understand you :)
But then, I will write a bridge for your package. I want less code in the application :)
Think about it ;)

I think the size would be comparable AND you will get namings you like AND it will be faster. Though it's you to decide.

If you have any further questions please don't hesitate to ask.