Jest tests ?

All your tests are commented out, is this the official example ?
https://github.com/lelandrichardson/enzyme-example-jest/blob/master/src/__tests__/Foo-test.js

Uncommenting jest tests (shallow render) throws this error:
Using Jest CLI v0.8.2, jasmine1
Running 1 test suite...Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components).
FAIL  src/tests/Foo-test.js (0.912s)
● A suite › it contains spec with an expectation

TypeError: Component is not a function
at StatelessComponent.render (node_modules/react/lib/ReactCompositeComponent.js:44:10)
1 test failed, 2 tests passed (3 total in 1 test suite, run time 1.269s)
npm ERR! Test failed.  See above for more details.

Seems like there are problems with Jest and Enzyme :( https://github.com/facebook/jest/issues/1175

This can be solved updating jest-cli and using
"import Foo from "./Foo"
and use "jest.unmock()" instead of jest.dontMock()
https://facebook.github.io/jest/docs/api.html#jest-unmock-modulename

I still get errors when trying to add uncomment mount test. I updated jest-cli to version 17.0.0 + I changed to
jest.unmock('../Foo');
I get the following error:

src/tests/Foo-test.js
Console
console.error node_modules/fbjs/lib/warning.js:45
  Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components).
console.error node_modules/fbjs/lib/warning.js:45
  Warning: Failed propType: Invalid prop `Component` supplied to `<<anonymous>>`.

A suite › contains spec with an expectation
TypeError: ReactDOM.render is not a function

  at Object.ReactTestUtils.renderIntoDocument (node_modules/react/lib/ReactTestUtils.js:76:21)
  at Object.<anonymous> (src/__tests__/Foo-test.js:19:30)


About visualization of spatial-temporal representation learning

Thank you very much for your work. Can you provide visualization code?

Hello @Yi-dashi , did you find visualisation code?

Thank you very much for your work. Can you provide visualization code?

Did you get the visual code, looking forward to your reply.

Can you provide me visualization code too?Thank you very much.


Edits and addition of multiple commands

:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/resources/dev-preview/developer-preview-features.md
:warning:Warning

Details

msteams-platform/whats-new.md
:warning:Warning

Details

msteams-platform/resources/dev-preview/developer-preview-features.md

Line 21: [Warning] Invalid file link:(~/concepts/bots/bots-files).
Line 25: [Warning] Invalid file link:(~/concepts/cards/cards-reference#adaptive-card-supported-in-developer-preview-only).
Line 25: [Warning] Invalid file link:(~/concepts/cards/cards-actions#adaptive-card-actions-supported-in-developer-preview-only).
Line 29: [Warning] Invalid file link:(~/concepts/tabs/tabs-configuration).
Line 58: [Warning] Invalid file link:(~/resources/schema/manifest-schema-dev-preview).
Line 90: [Warning] Invalid file link:(~/concepts/bots/bots-notifications).
Line 94: [Warning] Invalid file link:(~/concepts/bots/bot-conversations/bots-conv-channel).
Line 106: [Warning] Invalid file link:(~/resources/schema/manifest-schema-dev-preview).
Line 108: [Warning] Invalid file link:(~/resources/general/developer-preview).
Line 114: [Warning] Invalid file link:(~/samples/code-samples#featured).

msteams-platform/whats-new.md

Line 15: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 16: [Warning] Invalid file link:(~/resources/schema/manifest-schema#permissions).
Line 16: [Warning] Invalid file link:(~/publishing/apps-publish#updating-your-app).
Line 17: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features#the-tab-configuration-page-is-significantly-taller).
Line 18: [Warning] Invalid file link:(~/troubleshoot/faq#how-do-i-make-my-teams-app-work-with-microsoft-teams-free).
Line 19: [Warning] Invalid file link:(~/publishing/apps-publish).
Line 20: [Warning] Invalid file link:(~/samples/code-samples#featured).
Line 20: [Warning] Invalid file link:(~/resources/schema/manifest-schema-dev-preview).
Line 20: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 21: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-intro).
Line 21: [Warning] Invalid file link:(~/concepts/cards/cards-reference#adaptive-card-supported-in-developer-preview-only).
Line 21: [Warning] Invalid file link:(~/concepts/cards/cards-actions#adaptive-card-actions-supported-in-developer-preview-only).
Line 22: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-intro).
Line 22: [Warning] Invalid file link:(~/concepts/bots/bots-files).
Line 22: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 23: [Warning] Invalid file link:(~/publishing/office-store-guidance).
Line 23: [Warning] Invalid file link:(~/publishing/office-store-checklist).
Line 24: [Warning] Invalid file link:(~/concepts/cards/cards-actions).
Line 25: [Warning] Invalid file link:(~/whats-new).
Line 26: [Warning] Invalid file link:(~/concepts/authentication/auth-tab-AAD).
Line 26: [Warning] Invalid file link:(~/concepts/authentication/auth-flow-tab).
Line 27: [Warning] Invalid file link:(~/resources/design/framework/command-box).
Line 28: [Warning] Invalid file link:(~/concepts/bots/bots-notification-only).
Line 29: [Warning] Invalid file link:(~/concepts/bots/bot-conversations/bots-conv-proactive).
Line 30: [Warning] Invalid file link:(~/concepts/cards/cards).
Line 30: [Warning] Invalid file link:(~/concepts/cards/cards-format).
Line 30: [Warning] Invalid file link:(~/concepts/cards/cards-reference).
Line 30: [Warning] Invalid file link:(~/concepts/cards/cards-actions).
Line 31: [Warning] Invalid file link:(~/get-started/app-studio-component-library).
Line 31: [Warning] Invalid file link:(~/get-started/get-started-app-studio).
Line 32: [Warning] Invalid file link:(~/concepts/bots/bots-context).
Line 33: [Warning] Invalid file link:(~/get-started/get-started-dotnet).
Line 38: [Warning] Invalid file link:(~/feedback).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Multi-command to developer preview

:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/resources/dev-preview/developer-preview-features.md
:warning:Warning

Details

msteams-platform/whats-new.md
:warning:Warning

Details

msteams-platform/resources/dev-preview/developer-preview-features.md

Line 21: [Warning] Invalid file link:(~/concepts/bots/bots-files).
Line 25: [Warning] Invalid file link:(~/concepts/cards/cards-reference#adaptive-card-supported-in-developer-preview-only).
Line 25: [Warning] Invalid file link:(~/concepts/cards/cards-actions#adaptive-card-actions-supported-in-developer-preview-only).
Line 29: [Warning] Invalid file link:(~/concepts/tabs/tabs-configuration).
Line 58: [Warning] Invalid file link:(~/resources/schema/manifest-schema-dev-preview).
Line 90: [Warning] Invalid file link:(~/concepts/bots/bots-notifications).
Line 94: [Warning] Invalid file link:(~/concepts/bots/bot-conversations/bots-conv-channel).
Line 106: [Warning] Invalid file link:(~/resources/schema/manifest-schema-dev-preview).
Line 108: [Warning] Invalid file link:(~/resources/general/developer-preview).
Line 114: [Warning] Invalid file link:(~/samples/code-samples#featured).

msteams-platform/whats-new.md

Line 15: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 16: [Warning] Invalid file link:(~/resources/schema/manifest-schema#permissions).
Line 16: [Warning] Invalid file link:(~/publishing/apps-publish#updating-your-app).
Line 17: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features#the-tab-configuration-page-is-significantly-taller).
Line 18: [Warning] Invalid file link:(~/troubleshoot/faq#how-do-i-make-my-teams-app-work-with-microsoft-teams-free).
Line 19: [Warning] Invalid file link:(~/publishing/apps-publish).
Line 20: [Warning] Invalid file link:(~/samples/code-samples#featured).
Line 20: [Warning] Invalid file link:(~/resources/schema/manifest-schema-dev-preview).
Line 20: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 21: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-intro).
Line 21: [Warning] Invalid file link:(~/concepts/cards/cards-reference#adaptive-card-supported-in-developer-preview-only).
Line 21: [Warning] Invalid file link:(~/concepts/cards/cards-actions#adaptive-card-actions-supported-in-developer-preview-only).
Line 22: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-intro).
Line 22: [Warning] Invalid file link:(~/concepts/bots/bots-files).
Line 22: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 23: [Warning] Invalid file link:(~/publishing/office-store-guidance).
Line 23: [Warning] Invalid file link:(~/publishing/office-store-checklist).
Line 24: [Warning] Invalid file link:(~/concepts/cards/cards-actions).
Line 25: [Warning] Invalid file link:(~/whats-new).
Line 26: [Warning] Invalid file link:(~/concepts/authentication/auth-tab-AAD).
Line 26: [Warning] Invalid file link:(~/concepts/authentication/auth-flow-tab).
Line 27: [Warning] Invalid file link:(~/resources/design/framework/command-box).
Line 28: [Warning] Invalid file link:(~/concepts/bots/bots-notification-only).
Line 29: [Warning] Invalid file link:(~/concepts/bots/bot-conversations/bots-conv-proactive).
Line 30: [Warning] Invalid file link:(~/concepts/cards/cards).
Line 30: [Warning] Invalid file link:(~/concepts/cards/cards-format).
Line 30: [Warning] Invalid file link:(~/concepts/cards/cards-reference).
Line 30: [Warning] Invalid file link:(~/concepts/cards/cards-actions).
Line 31: [Warning] Invalid file link:(~/get-started/app-studio-component-library).
Line 31: [Warning] Invalid file link:(~/get-started/get-started-app-studio).
Line 32: [Warning] Invalid file link:(~/concepts/bots/bots-context).
Line 33: [Warning] Invalid file link:(~/get-started/get-started-dotnet).
Line 38: [Warning] Invalid file link:(~/feedback).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Adds a generic way of visiting all nodes of AST

Summary
Adds a generic way of visiting all nodes of AST
Context
There are some situations in that we need to recursively visit all nodes of the AST, either to check for something we don't allow or to get some information from the AST. Examples: ContainsSubquery or GetUniqueTableReferences. Having a generic way of walking through all nodes allows us to implement only the custom visiting logic needed for the use case, without the need to replicate the walking logic.
Implementation overview

Implementation details and review orientation

Checklist

[ ]  Are changes backward compatible with existing SDKs, or is there a plan to manage it correctly?
[ ]  Are changes covered by existing tests, or were new tests included?
[ ]  Are code changes optimized for future code readers, commenting on problematic areas to understand (if any)?
[ ]  Future-self question: Did you avoid unjustified/unnecessary complexity to achieve the goal?

What do you need from me to get this out of Draft status @brunocalza? Happy to do a proper review? It would be cool to get this merged sooner rather than later?

What do you need from me to get this out of Draft status @brunocalza? Happy to do a proper review? It would be cool to get this merged sooner rather than later?

It would be nice if you could properly check if the API I'm providing would work in wasm-sqlparser or we could have a better API.
And also, I'm working on another feature that is using this work, so some changes maybe will be needed here. That's why still on draft :)


Go install script, can pull repo, or update but doesn't do go get -u

The release tool is now vendored so we don't need to do go get. goinstall.sh was only being used on this package (keybase/release), so I updated it to pull if not found, or use the check and pull script to update.

@oconnor663

Related issue is https://keybase.atlassian.net/browse/DESKTOP-877

I feel like this sort of code gets duplicated all over the place everywhere we deal with Go. @jzila has another version of this in a PR right now: https://github.com/keybase/kbfs/pull/963/files#diff-42725e4591c322ffb52cc4766505d27dR8

Anyway all of those problems were here before these changes, so :ship: :-D

Yeah totally agree..
it would be nice if there was a better go install utility, like:
goinstall github.com/foo/bar and it will make a temp GOPATH and git clone and then only go get (update) dependencies  that aren't vendored and then build...
But I guess this is ok for now


problem installing lndmanage python 3.8.6

The installation process of lndmanage on Ubuntu 16.04 with python 3.8.6 installed goes in error at its last step:
python3 -m pip install lndmanage
see the attached screen dump with the error messages produced.
It looks  similar to the issue #62. I have applied the proposed workarounds without success.
lndmanageInstIssue.txt

You need libffi-dev: https://stackoverflow.com/questions/27022373/python3-importerror-no-module-named-ctypes-when-using-value-from-module-mul


Add new Lint/LambdaWithoutLiteralBlock cop

This cop checks uses of lambda without a literal block.
It emulates the following warning in Ruby 3.0:
% ruby -vwe 'lambda(&proc {})'
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin19]
-e:1: warning: lambda without a literal block is deprecated; use the proc without lambda instead

This way, proc object is never converted to lambda.
Auto-correction replaces with compatible proc argument.
# bad
lambda(&proc { do_something })
lambda(&Proc.new { do_something })

# good
proc { do_something }
Proc.new { do_something }
lambda { do_something } # If you use lambda.

cf: https://bugs.ruby-lang.org/issues/15973

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Looks good! Thanks!

Looks good! Thanks!

Changelog entry is missing for this cop

Changelog entry is missing for this cop

I added the changelog entry to 1.8.0 release section. Thank you.
https://github.com/rubocop-hq/rubocop/commit/360384ddc2abad8a3a71e9ba58385c17f86c1d0a

I added the changelog entry to 1.8.0 release section. Thank you.
https://github.com/rubocop-hq/rubocop/commit/360384ddc2abad8a3a71e9ba58385c17f86c1d0a


Provide PF team with access to AWS Exchange mailbox

Describe the issue
We need to expand the use of mailboxes to manage our AWS Landing Zone
Which Sprint Priority is this issue related to?
Milestone 1
Additional context
We are transitioning to new people and have a new AWS billing notification that we wish to enable.
Definition of done

Housekeeping: OCIO AWS Master Acccount CITZ:EX need to have the typo in the name fixed (Acccount to Account)
OCIO AWS Master Account CITZ:EX needs to have the following people permitted to receive messages: Julian, Stuart, Ryan
Additional mailbox for AWS billing alerts created.  OCIO AWS Billing Account CITZ:EX with Luke, Andy, Julian, Stuart as recipients

@lukegonis some pointers as you work through this ticket: most of this  involves twiddling/requesting access to Exchange email mailbox for additional team members.  I believe there are currently two mailboxes to deal with:

one where all account emails are funneled (em-cloud-pathfinder_at_gov.bc.ca or similar)
another for the root account...not sure what this one is, but check with @ateppin

For the "additional mailbox" item for billing...hold off on doing anything with that one as I believe it is related to another ticket of mine and I will LYK if there is anything for you to do.

@lukegonis - the root account (OCIO AWS Master Account -<EMAIL_ADDRESS>Can you also look at having the ownership changed from Todd to Julian (@ActionAnalytics )

@lukegonis we should also be tracking "objects" (mailboxes in this case)
that cloud pathfinder manages/governs.  For Pathfinder, we had created an
"inventory" board of all the accounts and processes that we were involved
in.  For Cloud PF, we could do similar, or maybe do it in Documize?  Not
fussed, but I think it's important to take the opportunity to do this as we
transition
On Tue, May 26, 2020 at 9:03 AM ateppin<EMAIL_ADDRESS>wrote:

@lukegonis https://github.com/lukegonis - the root account (OCIO AWS
Master Account -<EMAIL_ADDRESS>Can you also look at having the ownership changed from Todd to Julian (
@ActionAnalytics https://github.com/ActionAnalytics )
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bcgov/cloud-pathfinder-technology-and-ux/issues/156#issuecomment-634119181,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFKSIUDYIZJUCVWPA7LIMLRTPR4FANCNFSM4NJ22BLA
.

FYI @bluemel-gov

Pop is helping us reactivate the account that was slated to be cancelled on Todd's offboarding

Looks like the mailbox got deleted.  Needs followup @lukegonis

Andy T: Looks like I don’t have permission to access the mailbox anymore for<EMAIL_ADDRESS>

You & me both.

Talking to OCIO-ES about (OCIO AWS Master Account -<EMAIL_ADDRESS>which got deleted when Todd left.
Looking to bring it back & have the ownership changed to Julian.

The account & mailbox should now be available again.  And the ownership should now be under Julian.

Even though the account was reinstated & the mailbox reattached there were still some issues with access.
July 6 - I added Julian, Shea, Stuart with "ownership" level permissions.
July 8 - Added Ryan with "reviewer" level permissions.


File path in deeply nested folders is truncated from the wrong side in quick open

Info
Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.69.2 (latest)
OS Version: macOS 10.15

Steps to Reproduce:

Create a very nested file structure with some long filenames and similar sounding directories.
Open Quick Open (cmd+P) in vscode and search for this filename.
The file path is cut off before I can see which folder the file I was trying to open is in. In macOS Spotlight the file path is cut from the left (much better).
See image below for more clarity.

related ticket(s)

#58040

possible solution

Cut the file path from the left (favourite) or
allow the Quick Open field to be wider.

Started experimenting after building from source, see diff and image below. I couldn't figure out how to truncate the entire path from the left (like in macOS Spotlight), did the next best thing and just limited the number of paths being displayed.
Diff
--- a/src/vs/workbench/services/label/common/labelService.ts
+++ b/src/vs/workbench/services/label/common/labelService.ts
@@ -251,7 +251,8 @@ export class LabelService extends Disposable implements ILabelService {
 				}

 				if (!relativeLabel[overlap] || relativeLabel[overlap] === formatting.separator) {
-					relativeLabel = relativeLabel.substring(1 + overlap);
+					// relativeLabel = relativeLabel.substring(1 + overlap);
+					relativeLabel = relativeLabel.split('/').slice(-3).join('/');
 				} else if (overlap === folderLabel.length && folder.uri.path === posix.sep) {
 					relativeLabel = relativeLabel.substring(overlap);
 				}

Putting this behind an option would be useful. e.g.
workbench.quickOpen.filePathTrim: 'noTrim' | 'headTrim'

noTrim: Display of the entire path, provided it is not hindered by the size of the Quick Open panel itself (default).
headTrim: Limiting the file path to up to three folders.

/duplicate https://github.com/microsoft/vscode/issues/143956

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Register *.caprover.shroomjak.localplayer.dev

Added *.caprover.shroomjak.localplayer.dev using the CLI.

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

I have read the CLA Document and I hereby sign the CLA

I am using this domain for a Caprover instance


--electron flag

As per https://github.com/datproject/dat-desktop/pull/189 there's a bunch of stuff that must be disabled to bundle for electron compat; might be worth adding a flag for that so boilerplate can be evaded.

done!


Scope down capi-operator-manager-role ClusterRole Permissions

User Story
As a operator I would like to narrow the  {"apiGroups": ["*"], "resources": ["*"], "verbs": ["*"]} permissions used by capi-operator-manager-role for security reasons
Detailed Description
The * / * / * permissions requested are too broad for what the operator does. Can we scope these permissions down based on the objects that the operator creates?
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
/kind feature

Hello @keskanatala! Unfortunately, there is a reason behind granting such broad permissions to our operator. As you may be aware, each cluster API provider has a unique set of Custom Resource Definitions (CRDs) - such as AWSMachineTemplates in CAPA, AzureManagedControlPlane in CAPZ, and so on. Additionally, these providers have their own RBAC permissions for their respective CRDs. To install these RBAC permissions, our operator must also has them; otherwise, we encounter a user is attempting to grant RBAC permissions not currently held error. This list of permissions is constantly evolving and cannot be predetermined or statically set, hence necessitating admin privileges for the operator.
If you have security concerns, there is a workaround. Rather than creating a ClusterRoleBinding, you can create a RoleBinding and specifically choose the namespaces where you install your providers. For example, if you want to install CAPA in capa-system namespace, just delete the permissive ClusterRoleBinding and apply this
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  labels:
    clusterctl.cluster.x-k8s.io/core: capi-operator
  name: capi-operator-manager-rolebinding
  namespace: capa-system
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: capi-operator-manager-role
subjects:
- kind: ServiceAccount
  name: default
  namespace: capi-operator-system

After that operator will have admin permissions in a particular namespace rather then in the whole cluster.
I'm going to write a small document to describe this process in details.


tag releases

Can you please tag releases I didn't realise there was a new release that fixed an issue I was having with the scrollbar width header offset check. That's the first place I look to see the basic changelog. npm version [patch|minor|major] -m "dfsdf" makes it easy.

Hi @ryanseddon,
Sorry for causing you some inconvenience. I will try to incorporate tagging as part of my release process going forward in addition to updating the CHANGELOG and posting release notes on Twitter.

PS. I just realize that my response may have sounded sarcastic. I did not intend that. :)

Add my text may have come off as entitled, sorry, was just a suggestion not a demand at all. Thanks!

I didn't read it that way at all. No worries. :)


Totally broken chart

Hi,
I'm a french student, so sorry about my english.
I used Chartist some month ago, that was working well. But today, I try to use it on a new project and I have not managed to create a chart.
So, I tried to use chartist in a minimal project, (you can found the code here : https://bpaste.net/show/a8cb1373a839 ).
And I got this (labels are OK, but series are broken).

Thanks by advance !
(I tried to search a issue about this and didn't found anything, maybe I fail...)

It looks like your css hasnt loaded.  Sorry for this useless topic.
Next time I'm blocked at 4am, I'll wait the next day to try to fix my problem.
Thanks all !


Restore icon

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): (no)

@lvshaokang PTAL

plz resolve the conflicts


Escape Sequence Bug when upgrading from Nextra v2 to v3 during SSG

Upon upgrading from Nextra v2 to Nextra v3, I encounter an error regarding legacy octal escape sequences not being permitted in strict mode while performing SSG.
./pages/test/aaa.mdx
Error:
  × Legacy octal escape is not permitted in strict mode
    ╭─[D:\testapp\pages\test\aaa.mdx:18:1]
 18 │
 19 │ const hoc = HOC_MDXWrapper(
 20 │   MDXLayout,
 21 │   '/test\aaa',
    ·       ──
 22 │   {"filePath":"pages/test/aaa.mdx",pageMap,frontMatter,title},
 23 │   typeof RemoteContent === 'undefined' ? useTOC : RemoteContent.useTOC
 24 │ )

https://github.com/shuding/nextra/pull/2435
Debugged locally and created a PR to resolve.
This problem can be solved with a fix here.


problem with Cornell dataset

Traceback (most recent call last):
File "train_ggcnn.py", line 306, in
run()
File "train_ggcnn.py", line 231, in run
Dataset = get_dataset(args.dataset)
File "D:\develop\demo_learning\湾大先端院\ggcnn-master\utils\data_init_.py", line 9, in get_dataset
raise NotImplementedError('Dataset Type {} is Not implemented'.format(dataset_name))
NotImplementedError: Dataset Type Cornell is Not implemented

Hey @Demoyuge
I think the issue youre facing is that the dataset name is case sensitive. It should be cornell not Cornell.
Hope this helps. 👍


Request for Guidance on Efficient Data Visualization with Grafana and Superset using TimescaleDB

Hello Stellio Team,
We are currently evaluating the integrating of the Stellio Context Broker into our projects and are looking to efficiently visualize historical data using Grafana and Superset. The data is stored in TimescaleDB, and we are encountering challenges with the efficiency of the table structure for visualizing large datasets.
The current structure of tables used by Stellio seems to complicate direct use with Grafana and Superset, as these tools require optimized schemas for quick querying and visualization. We have considered creating views in our database as a workaround, but we do not see this as an ideal solution due to potential performance degradation and added complexity in management.
Request:
Are there any best practices or specific configurations recommended for visualizing Stellio data efficiently with Grafana and Superset?
If views are the recommended approach, are there best practices or guidelines to minimize performance impacts?
We are open to any suggestions or recommendations and would appreciate any support or guidance you can provide to better meet our data visualization needs.
Thank you for your support and the excellent work on the Stellio Context Broker.
Best regards,
Michael Gollan
HYPERTEGRITY AG

Hi Michael,
Sorry for late reply.
Actually, we are using a lot Grafana and Superset in our typical deployments.
When using Grafana, we get data directly from the DB (as Grafana is a real-time oriented tool, this is by far the most efficient way to work with). And we are doing using such query:
SELECT
  time AS "time",
  measured_value AS "temperature",
  temporal_entity_attribute.entity_id as entity_id
FROM attribute_instance
LEFT JOIN temporal_entity_attribute ON temporal_entity_attribute.id = attribute_instance.temporal_entity_attribute
WHERE
  $__timeFilter(time) AND
  temporal_entity_attribute.attribute_name = 'https://vocab.egm.io/temperature' AND
  temporal_entity_attribute.entity_id in ($Room) -- where Room is a dashboard variable
ORDER BY 1

For Superset, this is getting a bit more complex since we typically want to apply a denormalization process on the data. To  do this, we use Apache NiFi (https://nifi.apache.org): using the NGSI-LD Subscription API, a notification is sent to a flow in NiFi when an entity of interest is updated, then the flow retrieves all the entities that the entity is in relation with (its relationships) and export the result in a "big" table which is easier to work with a BI oriented tool like Superset.
The specific NiFi processor we are using to do this is in https://github.com/easy-global-market/nifi-ngsild-postgresql. It is unfortunately missing some documentation right now but it can be an opportunity to at least add some instructions on how to set it up and use it.
Let me know.
Benoit.


WiFi Light Sleep+ WIFI_PS_MAX_MODEM change in power draw (IDFGH-4386)

Hello,
I have some ESP32's ESP-IDF running in automatic light sleep (WIFI_PS_MAX_MODEM) while remaining connected to the internet. This application is battery based and I notice that occasionally the power draw increases (my battery voltage goes down). The code wakes up from light sleep, publishes mqttt and goes back to light sleep every 60s. I enabled the counters from vTaskGetRunTimeStats and I notice they average:
'IDLE1', 'IDLE0', 'sleep_manager', 'mqtt_task', 'tiT', 'TmrSvc', 'ipc1', 'wifi', 'esp_timer', 'sys_evt', 'ipc0', date
63544921 62496503 24613<PHONE_NUMBER>00 0 0<PHONE_NUMBER>05 0 0 03/12/2020 12:28:27
and change to:
'IDLE1', 'IDLE0', 'sleep_manager', 'mqtt_task', 'tiT', 'TmrSvc', 'ipc1', 'wifi', 'esp_timer', 'sys_evt', 'ipc0', date
63591049 62878982 24345<PHONE_NUMBER>2 0 0<PHONE_NUMBER>52 0 0 03/12/2020 12:37:57
when the power draw goes up. These counters are the difference in count from the last time it woke up from light sleeo.

If anyone has seen this I would love some Ideas! If there is any other info let me know!
*update
Possibly it could be an issue with the MQTT client because it's mqtt_task went from an average of ~160ms to an average of ~140ms. Could it be that it is waiting for something and keeping the wifi receiver on accidentally.
Here is another graph of the event, the code does not change operation during this time, but it coeincides exactly when the battery draw starts, each sample is ~63s apart

Hi @patrick277 tell me if I miss understanding the issue, your application run the same MQTT task every 60s, in shows that occasionally MQTT and wifi, esptimer runtime will change right? Could you show me how often dose it happens and how long dose it last？
BTW, I think you should mesure the input current to get the exact power draw.

You said each sample is 63s for the second graph, so this issue last for around 400 ~700 min?

You said each sample is 63s for the second graph, so this issue last for around 400 ~700 min?

That is correct. The way it was resolved initially was by sending a few mqtt publish messages from the server to the device. This seems weird to me.
It happens randomly, I will try to get a current draw, but from the battery voltage graph, it is ~50mA.
The operation of the code is as follows:

connect to wifi, connect to mqtt wss server, read analogs
acquire PM lock
publish mqtt message
release PMlock
4b. sleep ~60s
wake and acquire PM lock
read analogs
publish mqtt message
release PMlock
repeat 4b. thru 8

Could you tell me your chip model and the idf verion?

IDF: ESP-IDF v4.1-dirty
Chip is ESP32D0WDQ6 (revision 1)

I ran another test last night
This time I moved the cpu cores as follows, and as you can see. this time mqtt duty cycle did not change when wifi task and esp_timer task run-time dropped. (the battery also dropped exactly when it happened (second graph pic) it is a 18650 2600mAhr battery .
st_rx_data               core0 ->   core1
IDLE0                         core0
IDLE1               core1
sleep_manager  core0 ->  core 1
mqtt_task          core0 ->   core1
tiT                     core0 ->   core1
Tmr Svc              core0
sys_evt              core0
wifi                    core0
esp_timer           core0
ipc0                   core0
ipc1                  core1
data:
2020-12-09 overnight test.xlsx
battery:

@patrick277 whats the different between the green curve and the yellow cuve?
Could you change the abscissa of the data to time? If it's still 63 second/sample, the drop time seems not the same.

@patrick277 The run time of wifi task in light sleep mode should depand on the environnment. If there are lots of others users,
sta will wake up more time to compete for the channel.
That means wifi run time and battery consomation may drops during the night because there are less users and the environnment is clean.

@patrick277 The run time of wifi task in light sleep mode should depand on the environnment. If there are lots of others users, sta will wake up more time to compete for the channel.
That means wifi run time and battery consomation may drops during the night because there are less users and the environnment is clean.

Is there any way I can monitor how crowded it is or limit how much it tries to compete? so that I protect the battery supply

@patrick277 I suggest you do a packet capture to see how crowded the channel is and how many times your device tries to compete.

@patrick277 Wifi tasks wakes less than 5% of the time is a normal behavior for power safe mode.

Thanks for reporting, feel free to reopen.

Thanks for reporting, feel free to reopen.


npz file

Hello author, thank you for your contribution. I would like to ask how the npz file is generated and is there any code available? I want to use it to train, validate, and test my own dataset. thanks

As far as I know, the generation code is not open source.


saving thesisForm

Coverage decreased (-0.03%) to 24.212% when pulling 6fcc915b082597501517fc31635b53f551aaddcf on Jakousa:trunk into 43643835cc2c075fc10088da4af1d6352d876294 on OhtuGrappa2:trunk.

Coverage increased (+0.01%) to 24.255% when pulling 20b18d37f0c7370d12c96b3046b50fc3d84f9125 on Jakousa:trunk into 43643835cc2c075fc10088da4af1d6352d876294 on OhtuGrappa2:trunk.

Coverage increased (+0.01%) to 24.255% when pulling 8991b951698be645fb7a44d92138546caef7d386 on Jakousa:trunk into 43643835cc2c075fc10088da4af1d6352d876294 on OhtuGrappa2:trunk.

Coverage increased (+0.02%) to 24.257% when pulling e31233ca6947c16787ec448c9d19c22ddf15cc8a on Jakousa:trunk into 43643835cc2c075fc10088da4af1d6352d876294 on OhtuGrappa2:trunk.


Brush-up suggestions

Jan and Jowie should come up with some brush up proposals.

Suggestion: revamp the display of results

when an analysis completes, add a direct link to the PDF in the communications tab
open each PDF in a new tab, not in an iframe within the modal
in the result modal, give a proper overview of available PDFs, grouped by module and sorted by date (most recent first), using appropriate Bootstrap compenents in the layout

Suggestion: movable left pane

allow the left pane to use a variable width, depending on context, or adjustable by the user

converted to issues #171, #172


Test spack package development branch

:rocket: The latest prerelease access-om2/pr91-1 at 9fd8d3d7774be16429270a9fef7b1130514cd8a7 is here: https://github.com/ACCESS-NRI/ACCESS-OM2/pull/91#issuecomment-2537321839 :rocket:

!bump minor

Change merged in spack packages


Parameters in the Fines Tunes Resource

Sorry for my English, but I want to know if $parameters are an array of arrays or what kind of structure I need to use because in the documentation I read that I need a JSONL so I don't know how I can make it here in PHP
$client->fineTunes()->create($parameters);
Thanks

First you need to upload your training file.
Once this is done you will have the id of the file.
Then you can create a finetuning.
This are the parameters needed (you can find more if needed in the finetune class
$parameters = [
'model' => 'davinci',
'training_file' => 'file-...,
];

Here is a complete example using a training.jsonl file.
<?php

declare(strict_types=1);

require __DIR__ . '/vendor/autoload.php';

const API_KEY = 'sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';

$client = OpenAI::client(API_KEY);

$file = $client->files()->upload([
    'purpose' => 'fine-tune',
    'file' => fopen(__DIR__.'/training.jsonl', 'r'),
]);

$result = $client->fineTunes()->create([
    'training_file' => $file->id,
]);

Our README is a bit weak there. I am going to improve the file tunes section.


Fixed search prompt

Currently the search prompt reduces the creativity of the LLM to a detrimental degree to the point that it can't search for anything that isn't presented in an extremely simple input query. In particular, if I try to specify the schema or the answer I want in my prompt the search that is output is unhelpful. Here's an example of a query I'd like to run that fails currently:
graph_config = {
    "llm": {

        "model": "gpt-4o-mini",
    },
    "verbose": True,
    "headless": False,
    "max_results": 5
}

class AnswerModel(BaseModel):
    answer: Literal['yes', 'no']

search_graph = SearchGraph(
    prompt="Does the Alienware Aurora R15 Desktop have bluetooth support? Your output should be of the form: {\"answer\": \"answer here\"}. The answer should be exactly one of these strings: 'yes', 'no'",
    config=graph_config,
    schema=AnswerModel,
)

Here's the search term that gets output currently: Search Query: {"answer": "yes"}
Here's the search term that gets output after my change: Search Query: "Alienware Aurora R15 Desktop bluetooth support"
This simple prompt change should make the search internet node much more useful. In my example, it goes from a completely useless query to the exact query I would've expected.
Please let me know if there are any other changes you think I should make to the prompt to make sure that it doesn't break other people's use cases.

Realized I was merging from/into main instead of pre/beta like the other PRs

Thanks for your contribution. I moved your new prompt to a different file, so now everything is ready for merging.


no internet access via wifi in kali linux rolling

ii already use any way to fix it ,but no one can solve permanently

Can you please specify the issue in more detail? How to replicate it and what error messages are printed on the console?

i had the same issue on kali rolling.
so i rollbacked to kali sana its working like a charm.Something is wrong in kali rolling files i guess


[PE-D][Tester B] No real use of some parameters in add format

add n/Ben p/98765432<EMAIL_ADDRESS>a/eunos successfully adds, however,  only name and phone number are seen while the other parameters are hidden. This makes users need to put extra effort into keying in redundant information that will not be utilized or shown to them.

In addition, "add n/chris p/98764321<EMAIL_ADDRESS>a/eunos t/friends", does not seem to show any tags as well.

Labels: severity.Medium type.FunctionalityBug
original: Hwww23/ped#8

Subset of #37 and #98. Accepted but closing.


Blurred CORD data in fine-tuning?

I noticed that the CORD data used in fine-tuning here: https://drive.google.com/drive/folders/17ZK7OulhAg0Lz9w4lT19kXKX9zeeDjAw
are blurred on the top (prob due to privacy concerns). I am just wondering are those blurred before fine-tuning or after fine-tuning? I tested some real world receipts without blurring and seems the results are not good

I'm sure that the receipts are blurred before fine-tuning


Option Type: Select --> Does not work properly

Expected behavior:
Should work as the other two types of options, radio and check. If option is required the order cannot be placed into cart without choosing appropriate option.
Actual behavior:
When you use select as an option type and set it as required, it will not work as intended, the item will be added to cart regardless of if the option has been selected.
Reproduce steps:
Just set an option type as select and required.
Version:
TI 2.1.1

Version is TI V2.1.1 for the issue.


fix(leaving-ibm): update open attribute

Related Ticket(s)
#7740
Description
This fixes an attribute in the leaving-ibm component to allow it to correctly toggle the open/close states.

Changelog
Changed

make open attribute in leaving-ibm-composite boolean

@kennylam be sure to sign the DCO

I have read the DCO document and I hereby sign the DCO.

recheck


Make columns width adjustable

What feature or improvement do you think would benefit Files?
I love the columns layout on MacOS and am so happy to finally have it in Windows 11 as well.
But one thing that Finder on MacOS can do in columns is make the width adjustable. Often long folder names are cut and there seems to be no way to adjust the column width.
Also in Finder on MacOS you can double-click the right border of a column and it will auto-adjust to fit all file/folder names.
There was even an extension for MacOS called TotalFinder that could always auto-adjust the columns to fit the names, which was super nice as well.
If something like that could be added it would make the columns view much more usable.
Requirements

Make columns width adjustable by clicking and dragging on the right border of a column
Display a resizing cursor when hovering over the right border of a column
Auto-adjust the width of a column when double-clicking the right border
Add an option to always auto-adjust the width of columns

Files Version
<IP_ADDRESS>
Windows Version
Windows 11
Comments
Thank you to anyone taking this on!

Merging with #6534


Added Medical Charges for Smokers and Non-smoker

Added Medical Charges for Smokers and Non-smoker
Close #285

@TAHIR0110 can you please merge it

@pavitraag merged!!


🔧 AVCaptureConnection has no member isVideoRotationAngleSupported

How were you trying to build the app?
I was trying to build the latest release (3.4.0) on EAS. The android build works fine, but the iOS one seems to fail at AVCaptureOutput+mirror.swift and CameraDevicesManager.swift

Full build logs
See entire build log in the attached file (had to upload since the log is 22 MB): https://dropover.cloud/5dbe38

Project dependencies
"dependencies": {
    "@config-plugins/react-native-webrtc": "^7.0.0",
    "@expo-google-fonts/inter": "^0.2.3",
    "@expo/react-native-action-sheet": "^4.0.1",
    "@gorhom/bottom-sheet": "4.5.0",
    "@gorhom/portal": "^1.0.14",
    "@hookform/resolvers": "3.1.0",
    "@intercom/intercom-react-native": "^4.0.1",
    "@lukemorales/query-key-factory": "^0.6.1",
    "@microsoft/signalr": "^7.0.12",
    "@notifee/react-native": "^7.8.0",
    "@pietile-native-kit/keyboard-aware-scrollview": "^1.5.0",
    "@pr/api": "*",
    "@pr/types": "*",
    "@react-native-community/datetimepicker": "7.2.0",
    "@react-native-community/hooks": "^3.0.0",
    "@react-native-community/netinfo": "9.3.10",
    "@react-native-firebase/app": "^18.4.0",
    "@react-native-firebase/messaging": "^18.4.0",
    "@react-native-menu/menu": "^0.8.0",
    "@react-native-picker/picker": "^2.4.10",
    "@react-navigation/bottom-tabs": "^6.5.7",
    "@react-navigation/elements": "^1.3.17",
    "@react-navigation/material-top-tabs": "^6.6.2",
    "@react-navigation/native": "^6.1.6",
    "@react-navigation/native-stack": "^6.9.12",
    "@reduxjs/toolkit": "^1.9.5",
    "@sentry/react-native": "5.5.0",
    "@shopify/flash-list": "^1.4.3",
    "@shopify/react-native-skia": "^0.1.213",
    "@stream-io/react-native-webrtc": "^104.0.1",
    "@stream-io/video-react-native-sdk": "0.0.27",
    "@tanstack/react-query": "^4.32.6",
    "@tanstack/react-query-persist-client": "^4.32.6",
    "@vvo/tzdb": "^6.108.0",
    "app": "*",
    "axios": "^1.4.0",
    "babel-plugin-inline-dotenv": "^1.7.0",
    "burnt": "^0.11.4",
    "config-plugin-react-native-intercom": "^1.10.1",
    "dayjs": "^1.11.9",
    "expo": "49.0.13",
    "expo-application": "~5.3.0",
    "expo-asset": "8.10.1",
    "expo-av": "~13.4.1",
    "expo-blur": "~12.4.1",
    "expo-brightness": "~11.4.0",
    "expo-build-properties": "~0.8.3",
    "expo-camera": "~13.4.4",
    "expo-clipboard": "~4.3.1",
    "expo-constants": "~14.4.2",
    "expo-dev-client": "~2.4.11",
    "expo-device": "~5.4.0",
    "expo-document-picker": "~11.5.4",
    "expo-font": "~11.4.0",
    "expo-haptics": "~12.4.0",
    "expo-image": "~1.3.4",
    "expo-image-manipulator": "~11.3.0",
    "expo-image-picker": "~14.3.2",
    "expo-insights": "~0.2.0",
    "expo-linear-gradient": "~12.3.0",
    "expo-linking": "~5.0.2",
    "expo-local-authentication": "~13.4.1",
    "expo-localization": "~14.3.0",
    "expo-location": "~16.1.0",
    "expo-media-library": "~15.4.1",
    "expo-notifications": "~0.20.1",
    "expo-sharing": "~11.5.0",
    "expo-splash-screen": "~0.20.5",
    "expo-status-bar": "~1.6.0",
    "expo-system-ui": "~2.4.0",
    "expo-updates": "~0.18.14",
    "expo-web-browser": "~12.3.2",
    "i18next": "^23.5.1",
    "jotai": "^2.2.3",
    "just-clone": "^6.2.0",
    "jwt-decode": "^3.1.2",
    "moti": "^0.25.3",
    "nanoid": "^4.0.2",
    "nativewind": "^2.0.11",
    "react": "18.2.0",
    "react-hook-form": "^7.45.2",
    "react-i18next": "^13.2.2",
    "react-native": "0.72.5",
    "react-native-avoid-softinput": "^3.1.5",
    "react-native-check-version": "^1.1.1",
    "react-native-collapsible": "^1.6.1",
    "react-native-draggable-flatlist": "^4.0.1",
    "react-native-gesture-handler": "~2.12.0",
    "react-native-image-picker": "5.0.2",
    "react-native-incall-manager": "^4.1.0",
    "react-native-ios-context-menu": "^1.15.3",
    "react-native-keyboard-controller": "^1.5.5",
    "react-native-maps": "2.0.0-beta.14",
    "react-native-mmkv": "^2.8.0",
    "react-native-modal-datetime-picker": "^15.0.1",
    "react-native-modalfy": "^3.5.2",
    "react-native-pager-view": "^6.2.0",
    "react-native-paper": "5.0.0-rc.6",
    "react-native-permissions": "^3.8.0",
    "react-native-qrcode-svg": "^6.2.0",
    "react-native-reanimated": "~3.3.0",
    "react-native-render-html": "^6.3.4",
    "react-native-responsive-screen": "^1.4.2",
    "react-native-safe-area-context": "4.6.3",
    "react-native-screens": "~3.22.0",
    "react-native-square-reader-sdk": "https://github.com/fobos531/react-native-square-reader-sdk",
    "react-native-svg": "13.9.0",
    "react-native-tab-view": "^3.5.1",
    "react-native-toast-message": "2.1.5",
    "react-native-vision-camera": "^3.4.0",
    "react-native-webview": "13.2.2",
    "react-redux": "^8.1.2",
    "react-use-signalr": "^0.0.3",
    "redux": "^4.2.1",
    "rn-iphone-helper": "^2.0.3",
    "sentry-expo": "~7.0.0",
    "stream-chat": "8.12.1",
    "stream-chat-expo": "5.18.0",
    "universal-tooltip": "^1.0.0",
    "use-debounce": "^9.0.4",
    "victory-native": "^36.6.11",
    "yup": "^1.2.0",
    "yup-phone-lite": "^2.0.1",
    "zeego": "^1.6.2"
  },

VisionCamera Version
3.4.0
Target platforms
iOS
Operating system
MacOS
Can you build the VisionCamera Example app?
No, I cannot build the Example app either
Additional information
The build worked fine on past releases of VisionCamera - so I guess 3.4.0 introduced this regression?

[X] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

My bad, I was building with XCode 14.3.1, not Xcode 15.0 as outlined in the release notes.

Had the same issue. It would be good to add that XCode 15 is required to the docs, I couldn't find any references of this elsewhere.
Thank you @fobos531 for pointing me to the release notes, you've saved me from a big headache!

Thanks for pointing the solution out, had the same issue!

https://expo.dev/changelog/2023/09-28-new-xcode-ios#added-xcode-15-image-on-eas-build
For building using XCode15 in eas, the change should be applied.
{
  "build": {
    "production": {
      "ios": {
        "image": "latest"
      }
    }
  }
}


Npc not spawn [BUG]

Hi i have this bug:

Also could you add the functionality of a trail to take you to your destination?

Very strange bug, since the line just before says npc spawned true
What is the distance between the start and end point more or less ?

100/150 blocks

I use 1.20.4

Can you turn your logging to the FINEST level and copy/paste the log here ?

in what sense?

The NPC appears and disappears..

Start the server like this : java -Dpaper.log-level=FINEST -jar paper.jar
I'm not sure how to do it with pufferfish though, their doc probably mentions it somewhere.

And for death bug?

Sorry, what is the death bug? If there is another bug, please open another issue. If you want me to solve this one though, please give me the log file as requested above. Paste it as text and not as a screenshot. Thanks

Not work, i have this bug:
https://mclo.gs/nGLVET7

Npc spawn and disappear

Please provide a detailed log on the FINEST log level. Try the plugin with PaperMC 1.20.4 and run the server like this : java -Dpaper.log-level=FINEST -jar paper-1.20.4.jar
I WILL NOT be able to solve this issue unless you provide a log at the FINEST level, so please stop spamming this issue until you do.

I don't want to use Paper, you should try Pupperfish and solve the problem...

It works perfectly for me on pufferfish

I use 1.20.4, you?

Yes, the latest version from pufferfish website. Build #46

Did you manage to solve it?


Proposal for a new Helm Chart to install the grafana-operator

fix #151
we should discuss on crd handling. because it needs to be updated with this solution in two locations.

@pb82 this would helpful in the community +1 for this :) :)

@pb82 is this helm chart on your roadmap ? just curious to know. :)

Hello. You can see my chart as reference:
https://github.com/LuciferInLove/grafana-operator-helm

We can host it here, but I won't be able to maintain it because we are not using Helm. Any thoughts @HubertStefanski  @david-martin ?

We can host it here, but I won't be able to maintain it because we are not using Helm. Any thoughts @HubertStefanski @david-martin ?

My main concern would be the maintenance side of things, I'm not really familiar with Helm so I most likely won't be able to keep it largely maintained either, but I'd be happy to help out where I can. With the help of some of the community I'm sure we can keep it somewhat up to date but I wouldn't expect a speedy response to any issues regarding it from our side.
I think we should be good as long as the Helm part of the project works on releases, if we could find someone from the community to confirm this before/after we release then that's all we really need imho and if it becomes outdated by a large margin then we might have to exclude it from further releases (until it works again) to avoid releasing non-working components. That's my take on it, other than that I'm quite happy to have this added if the community can benefit :smile:

@pb82 @HubertStefanski
i understand your point of view, since you are using ansible. As per community their is a little bit more incline on helm for upgrading operator. As per maintenance i can volunteer for sure. This may not require too much of maintenance but few tweaks here their :)
Rest is your call. But ill really appreciate this being included

What should be fixed is putting the crds automatically in the Helm Chart and the ansible playbook to ensure that they are up to date with the operator version on release.

FYI – there is some discussion in https://github.com/bitnami/charts/issues/2797#issuecomment-660945356 about the possibility of hosting a Grafana Operator chart therein. That may be a good home, from a maintenance perspective?
(Note that I don't have any association with Bitnami, besides being an appreciator of their well-maintained Helm charts!)

@connec I also contributed 2 charts to the Bitnami Repository. I love to see it maintained there.

Hey @Cellebyte @connec @AdheipSingh @david-martin @pb82 , Going off a technical decision that was reached during one of the planning calls relating to this operator, we have decided that we're happy to have the Helm chart hosted in Bitnami, seeing as (from what we can tell) it's pretty well maintained and the go-to place for helm charts, Settling as that for the home to the helm chart for this operator. Feel free to ping us in any conversations/PRs relevant to this operator in the bitnami repo, We'd still like to get some status updates on how well it's being maintained etc. Also please ping us on the initial PR's that will be adding those charts to it, Thanks for contributing, we appreciate the effort you guys put in! I'll close this PR as soon as we get the merge into bitnami

Hey @HubertStefanski I created a PR today on the Bitnami charts repository.

Hey @HubertStefanski I created a PR today on the Bitnami charts repository.

@Cellebyte Thanks for letting us know, we'll keep an eye on that PR 👍

Closing off, will link this helm chart once it's merged in the documentation


Tuple index out of range help wanted

My goal is to enter binary vector data (vectors are each 16 values long) and extract the som, and label every piece of enetered data as well as name the clusters.
I entered the data without names, because I don't know how SOM would respond to strings.
import matplotlib.pylab as plt  # The imports
import numpy as np
from time import time
import sompy
import pandas as pd

data = open('verbsnumbers.csv', 'rt', encoding='cp1252')  # The data
data = data.read()
data = data.replace(';','')  # this deletes all semicolons. Data seems to be read correctly and can be printed as an array of binary vectors

mapsize = [10,10]  # The SOM
som = sompy.SOMFactory.build(data, mapsize, mask=None, mapshape='planar', lattice='rect', initialization='pca', training='batch', name='sompy')  # This line causes an error. Should I change initialization or neighborhood methods? To what?

Here is the traceback:
Traceback (most recent call last):
File "D:/Anže/PycharmProjects/Self Organizing Map/SOM.py", line 54, in
som = sompy.SOMFactory.build(data, mapsize, mask=None, mapshape='planar', lattice='rect', initialization='pca', training='batch', name='sompy')
File "D:\Anže\Python_Bratislava\lib\site-packages\sompy\sompy.py", line 96, in build
mapshape, lattice, initialization, training, name, component_names)
File "D:\Anže\Python_Bratislava\lib\site-packages\sompy\sompy.py", line 129, in init
self._data = normalizer.normalize(data) if normalizer else data
File "D:\Anže\Python_Bratislava\lib\site-packages\sompy\normalization.py", line 38, in normalize
me, st = self._mean_and_standard_dev(data)
File "D:\Anže\Python_Bratislava\lib\site-packages\sompy\normalization.py", line 35, in _mean_and_standard_dev
return np.mean(data, axis=0), np.std(data, axis=0)
File "D:\Anže\Python_Bratislava\lib\site-packages\numpy\core\fromnumeric.py", line 2909, in mean
out=out, **kwargs)
File "D:\Anže\Python_Bratislava\lib\site-packages\numpy\core_methods.py", line 57, in _mean
rcount = _count_reduce_items(arr, axis)
File "D:\Anže\Python_Bratislava\lib\site-packages\numpy\core_methods.py", line 50, in _count_reduce_items
items *= arr.shape[ax]
IndexError: tuple index out of range
Data files:
verbs.xlsx
verbsnumbers.xlsx <= The actual training data, except the data I used is in .csv form.

I've printed out the contents of the line where the error occours.
ax = 0
axis = (0,)
arr.shape: ()
the array is not a tuple.
Then this piece of code occurs:
items *= arr.shape[ax]
where items = 1
Thus:
1 *= ()[0]
It tries to multiply with the first item of an empty tuple... -_-'
Any hints on what to do? I'm thinking about packing data into a list of tuples, but I am hesitant because until now the only thing the SOM has processed was a numpy array.


Chocolatey Provider should return only one entry to Oneget's Install-Package

I tried to install VirtualBox using the Windows 10 PackageManagement Install-Package cmdlet, but got this error:
PS C:\WINDOWS\system32> install-package virtualbox
WARNING: 'virtualbox' matched package 'virtualbox/<IP_ADDRESS>127' from provider: 'Chocolatey', source 'chocolatey'
WARNING: 'virtualbox' matched package 'VirtualBox.ExtensionPack/<IP_ADDRESS>127' from provider: 'Chocolatey', source
'chocolatey'
install-package : Unable to install, multiple packages matched 'virtualbox'. Please specify an exact -Name and
-RequiredVersion.
At line:1 char:1
+ install-package virtualbox
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], E
   xception
    + FullyQualifiedErrorId : DisambiguateForInstall,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

PS C:\WINDOWS\system32>

Clearly, I want to install VirtualBox. I got around this by using Find-Package and piping into Install-Package, but this shouldn't really be necessary. I noticed similar issues with npm and 7zip.
I raised an issue on Oneget:https://github.com/OneGet/oneget/issues/169. The folks over there feel that Chocolatey is returning multiple results in this situation when it should return one - most likely, the package that matched the name exactly.

I agree. The problem here is that we don't have a provider available yet for OneGet, so YMMV on whatever it is that you are using, likely the CTP built by MS in April 2014. I would suggest you use the official choco client for now and wait for us to announce official OneGet support (which we expect to have sometime this summer). We'll announce it in the newsletter. Thanks!

Ok, will do
Waiting patiently....
Waiting patiently....
Waiting patiently....
Ready yet? ;P
Thanks!
PS: Do you want to close this issue or leave it open for now?

Let's keep it open in case other folks come across this issue. :)

Sounds like a plan
Thanks again


Unable to Sign In with Apple after converting an Anonymous Account

Description
When a user Signs In with Apple I first try to link the anonymous account with the credential created using Auth.auth().currentUser?.link(with: credential). On first sign up this works fine.
For my testing, I immediately sign out. The app then creates a new anonymous user. I then try to sign back in using Sign In With Apple.
If I receive the error This credential is already associated with a different user account. I know the user exists already, I then try to sign in using Auth.auth().signIn(with: credential), but this is getting an error: Duplicate credential received. Please try again with a new credential.
Do I need to invalidate the credential somehow?
Reproducing the issue
No response
Firebase SDK Version
10.17.0
Xcode Version
15.0
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication, Firestore, Storage
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Can you share the whole error? Does the userInfo dictionary contain a new credential under the AuthErrorUserInfoUpdatedCredentialKey key?

This is the error that confirms the user exists (redacted apple id email):
 - Error Domain=FIRAuthErrorDomain Code=17025 "This credential is already associated with a different user account." UserInfo={FIRAuthErrorUserInfoNameKey=ERROR_CREDENTIAL_ALREADY_IN_USE<EMAIL_ADDRESS>FIRAuthErrorUserInfoUpdatedCredentialKey=<FIROAuthCredential: 0x280ce0820>, NSLocalizedDescription=This credential is already associated with a different user account.}
And this is the error I believe you're looking for, once I try to sign in:
- Error Domain=FIRAuthErrorDomain Code=17094 "Duplicate credential received. Please try again with a new credential." UserInfo={NSLocalizedDescription=Duplicate credential received. Please try again with a new credential., FIRAuthErrorUserInfoNameKey=ERROR_MISSING_OR_INVALID_NONCE}

When you retried signing in with Apple, did you use a new nonce or re-use the old one?

When the user hits the Sign In with Apple button it starts the auth flow with handleSignInWithAppleRequest(request: ASAuthorizationAppleIDRequest) which creates a new nonce using randomNonceString().

Maybe I'm missing something? But, shouldn't I be creating a new nonce each time the user tries to login with apple?

For what it's worth, I implemented the same flow with 'Sign in with Google' with expected results. So thats good!

Have you tried https://github.com/firebase/firebase-ios-sdk/issues/4434#issuecomment-564776016? This is also documented in https://firebase.google.com/docs/auth/ios/apple#reauthentication_and_account_linking.

Sign in with Apple will not allow you to reuse an auth credential to link to an existing account. If you want to link a Sign in with Apple credential to another account, you must first attempt to link the accounts using the old Sign in with Apple credential and then examine the error returned to find a new credential. The new credential will be located in the error's userInfo dictionary and can be accessed via the AuthErrorUserInfoUpdatedCredentialKey key.

Thank you @NhienLam. On first attempt, this indeed seems to be the solution.
let authError = error as? AuthErrorCode
guard let newCredential = authError?.userInfo[AuthErrorUserInfoUpdatedCredentialKey] as? OAuthCredential else { return }
try await Auth.auth().signIn(with: newCredential)


I tried your codes, it doesn't seem correct, here are some test cases:

https://github.com/allaboutjst/airbnb/blob/341c0e4cc2db1fb2bbe9542e3b0458314d83cddb/src/main/java/guess_number/GuessNumber.java#L96

1312, 1425, 5651, 1532


File broken - need help too debug

Describe the bug
Plugin version: 8.15.6
File version: 8.15.4
Failed migration: null
Error message: {
"model": {
"filters": [
null,
null,
null,
null,
{
"text": "Expected string, but was missing"
}
]
}
}
Steps to reproduce
The bug appeared on opening the file. I checked for the update and updated the plugin. The bug stays the same.
Expected behavior
Expected the file to open
Are you using the mobile app?
No
Obsidian debug info
SYSTEM INFO:
Obsidian version: v1.4.16
Installer version: v1.4.14
Operating system: Darwin Kernel Version 22.6.0: Wed Oct  4 21:25:26 PDT 2023; root:xnu-87<IP_ADDRESS>1.17~4/RELEASE_X86_64 22.6.0
Login status: logged in
Catalyst license: insider
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: light
Community theme: AnuPpuccin v1.4.5
Snippets enabled: 7
Restricted mode: off
Plugins installed: 105
Plugins enabled: 49
1: Style Settings v1.0.7
2: Pane Relief v0.5.2
3: Recent Files v1.3.8
4: Copy button for code blocks v0.2.0
5: Customizable Page Header and Title Bar v4.6.2
6: Hider v1.3.1
7: Show Current File Path v0.5.2
8: Grandfather v1.0.1
9: Snippet Downloader v2.0.1
10: Hotkey Helper v0.3.18
11: Commander v0.5.1
12: Copy Block Link v1.0.4
13: Customizable Menu v2.2.0
14: Carry-Forward v1.4.5
15: Drag-n-Drop for blocks v1.2.0
16: Smart Random Note v0.2.2
17: Templater v1.18.3
18: Better File Link v1.1.4
19: Quick Switcher++ v3.3.9
20: Auto Card Link v1.2.2
21: Dataview v0.5.64
22: Find orphaned files and broken links v1.9.1
23: Highlightr v1.2.2
24: Hotkeys++ v0.2.7
25: Hotkeys for specific files v1.4.0
26: Pluck v1.0.1
27: Quick Explorer v0.2.8
28: Supercharged Links v0.11.1
29: Obsidian42 - Strange New Worlds (SNW) v1.2.3
30: Scroll to Top Plugin v2.1.3
31: Super Simple Time Tracker v0.1.8
32: Note Content Pusher v1.0.4
33: Matter v1.1.4
34: Table Generator v1.4.1
35: Tag Summary v2.1.5
36: Chronology v1.1.11
37: Omnisearch v1.19.0
38: Mousewheel Image zoom v1.0.19
39: Markdown Table Editor v0.3.1
40: Optimize Canvas Connections v1.0.0
41: Canvas Filter v0.9.2
42: Canvas CSS class v2.2.2
43: Canvas Mindmap v0.1.3
44: Snippetor v0.4.4
45: MySnippets v1.2.3
46: Link Exploder v0.3.0
47: Frontmatter Links v1.2.7
48: Buttons v0.4.19
49: DataLoom v8.15.6
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Relevant log output
No response

Hmm that's odd. The immediate fix for your file is to look at the 5th
filter and add a "text": "" property
On Mon, Dec 4, 2023, 9:57 PM somster-boop @.***> wrote:

Describe the bug
Plugin version: 8.15.6
File version: 8.15.4
Failed migration: null
Error message: {
"model": {
"filters": [
null,
null,
null,
null,
{
"text": "Expected string, but was missing"
}
]
}
}
Steps to reproduce
The bug appeared on opening the file. I checked for the update and updated
the plugin. The bug stays the same.
Expected behavior
Expected the file to open
Are you using the mobile app?
No
Obsidian debug info
SYSTEM INFO:
Obsidian version: v1.4.16
Installer version: v1.4.14
Operating system: Darwin Kernel Version 22.6.0: Wed Oct 4 21:25:26 PDT
2023; root:xnu-87<IP_ADDRESS>1.17~4/RELEASE_X86_64 22.6.0
Login status: logged in
Catalyst license: insider
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: light
Community theme: AnuPpuccin v1.4.5
Snippets enabled: 7
Restricted mode: off
Plugins installed: 105
Plugins enabled: 49
1: Style Settings v1.0.7
2: Pane Relief v0.5.2
3: Recent Files v1.3.8
4: Copy button for code blocks v0.2.0
5: Customizable Page Header and Title Bar v4.6.2
6: Hider v1.3.1
7: Show Current File Path v0.5.2
8: Grandfather v1.0.1
9: Snippet Downloader v2.0.1
10: Hotkey Helper v0.3.18
11: Commander v0.5.1
12: Copy Block Link v1.0.4
13: Customizable Menu v2.2.0
14: Carry-Forward v1.4.5
15: Drag-n-Drop for blocks v1.2.0
16: Smart Random Note v0.2.2
17: Templater v1.18.3
18: Better File Link v1.1.4
19: Quick Switcher++ v3.3.9
20: Auto Card Link v1.2.2
21: Dataview v0.5.64
22: Find orphaned files and broken links v1.9.1
23: Highlightr v1.2.2
24: Hotkeys++ v0.2.7
25: Hotkeys for specific files v1.4.0
26: Pluck v1.0.1
27: Quick Explorer v0.2.8
28: Supercharged Links v0.11.1
29: Obsidian42 - Strange New Worlds (SNW) v1.2.3
30: Scroll to Top Plugin v2.1.3
31: Super Simple Time Tracker v0.1.8
32: Note Content Pusher v1.0.4
33: Matter v1.1.4
34: Table Generator v1.4.1
35: Tag Summary v2.1.5
36: Chronology v1.1.11
37: Omnisearch v1.19.0
38: Mousewheel Image zoom v1.0.19
39: Markdown Table Editor v0.3.1
40: Optimize Canvas Connections v1.0.0
41: Canvas Filter v0.9.2
42: Canvas CSS class v2.2.2
43: Canvas Mindmap v0.1.3
44: Snippetor v0.4.4
45: MySnippets v1.2.3
46: Link Exploder v0.3.0
47: Frontmatter Links v1.2.7
48: Buttons v0.4.19
49: DataLoom v8.15.6
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating
your theme and disabling your snippets. If still not fixed, please try to
make the issue happen in the Sandbox Vault or disable community theme and
snippets.
Community plugins: for bugs, please first try updating all your plugins to
latest. If still not fixed, please try to make the issue happen in the
Sandbox Vault or disable community plugins.
Relevant log output
No response
—
Reply to this email directly, view it on GitHub
https://github.com/trey-wallis/obsidian-dataloom/issues/899, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJTQYW2TDQIXMOJSIM356VDYH2SUFAVCNFSM6AAAAABAHB7TCWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDKMRYG42DQNQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@somster-boop This should be fixed in 8.15.7. Please update the plugin and try opening your loom file again :)

Thank you for your prompt help. The immediate fix solution worked and will also update the plugin.


Add tRPC-SvelteKit

Hey, I'm @icflorescu, the author of tRPC-SvelteKit:

I've noticed that tRPC-SvelteKit was mentioned as being used by another listing item, but it wasn't in the list per se.
Thanks a lot for maintaining this list and thanks in advance for accepting my PR!

Thanks! 👍  tRPC-SvelteKit should definitely be here.

Thank you too!


feat: create notification on user catalog issue

What does this PR do?
Adding notification when the catalog is malformed or wrong version is used.
Screenshot / video of UI
https://github.com/user-attachments/assets/15004af9-0ceb-4d81-99e9-858c95f39013
using old catalog version

malformed catalog

What issues does this PR fix or reference?
Fixes https://github.com/containers/podman-desktop-extension-ai-lab/issues/1394
How to test this PR?

[x] unit tests has been provided

LGTM, thanks for adding the notification 🥳

Thanks for the reading proof, I'm very bad at writing documentation!


is it possible to resize the nodes?

I mean you can customize the CSS however you want but you should just create a custom node that fits your needs.

Do you have a suggestion on how to do this?

You can look at the custom node demo (https://github.com/zHaytam/Blazor.Diagrams/tree/master/samples/SharedDemo/Demos) and the sample project (https://github.com/zHaytam/Blazor.DatabaseDesigner).

I assume the question has been answered, if not, feel free to re-open!


Rename symbol should allow optional rename of file

Some languages require the file name to match the name of the class, interface, or other symbol that the file contains. Renaming a symbol should optionally allow its file to be renamed too.

Agree. Besides having this in the protocol we need to have support in the vscode API as well. I opened https://github.com/Microsoft/vscode/issues/10659

Any news for this? I guess the majority of programming languages have such constraints on the filename (java, python, rust, ...), and proper renaming cannot be implemented without file renaming support.

Dealing w/ moved/deleted files is not only useful for rename but might be useful for  more refactorings. Fixing #272 which is on WorkspaceEdit in general would fix this one.

Closing in favor of #272


super mario bros 3 not working

When I try to convert Super Mario Bros. 3, it says Mapper 5 is not supported
please add mapper 5 support

I should state i am not an administrator for this or developer for the project but

This rom has already been converted with a graphical face lift as part of the super mario all stars release which combines all the original nes games.
Have you checked the project NESTED matrix to see if the rom is compatible and/or supported. Optimum settings will be listed there but i have personally found games do not run as they were originally intended to on og NES hardware.

If this isn't the answer you were looking for you'll have to wait for a developer or admin to chime in I'm afraid.

Super Mario Bros. 3 uses mapper 4, you have an incorrect ROM. The game runs near flawlessly if you follow the settings on the spreadsheet. The only incompatibility is the spade game.

Super Mario Bros. 3 uses mapper 4, you have an incorrect ROM. The game runs near flawlessly if you follow the settings on the spreadsheet. The only incompatibility is the spade game.

I'm glad you get perfect results but i have found metroid, zelda 1 and kirby have all run very poorly and crashed at various points during my time playing them.

Going back to the original point though, why don't you just play mario all stars?
Makes no sense to convert the rom, let alone complain about incompatibility when a superior version exists that was developed by the big "N" themselves.


Added "union" to accepted types in the avro schema

I opened an issue on this topic #5560 and finally found the solution myself. I wanted to share this because it allows the user to read avro files with nulls in them. This change worked for me and the pipeline returns the intended csv.
Fixes #5560

It's a good idea to open an issue first for discussion.

[ x] I have followed Sample Format Guide
[ x] pom.xml parent set to latest shared-configuration
[ x] Appropriate changes to README are included in PR
[ x] API's need to be enabled to test (tell us)
[ x] Environment Variables need to be set (ask us to set them)
[ x] Tests pass:   mvn clean verify required
[ x] Lint  passes: mvn -P lint checkstyle:check required
[x ] Static Analysis:  mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only
[x ] Please merge this PR for me once it is approved.

@googlebot I signed it!

On Jul 6, 2021, at 6:38 PM, google-cla[bot] @.***> wrote:
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers
It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data https://cla.developers.google.com/clas and verify that your email is set on your git commits https://help.github.com/articles/setting-your-email-in-git/.
Corporate signers
Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot http://go/cla#troubleshoot (Public version https://opensource.google/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data https://cla.developers.google.com/clas and verify that your email is set on your git commits https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must also be attached to your GitHub account https://github.com/settings/emails.
ℹ Googlers: Go here https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2FGoogleCloudPlatform%2Fjava-docs-samples%2Fpull%2F5561 for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/java-docs-samples/pull/5561#issuecomment-874913952, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVYWLQN2TKBUWOW5QR6GZTTWMWQTANCNFSM47453JPA.

Thanks for the patch! LGTM as long as tests pass.


Improvements to involution DSL

Some discussion in the PR for the involution DSL (https://github.com/probcomp/Gen/pull/216) and TODO notes from the original PR, spur suggestion of several possible improvements and extensions. I am putting them all in one issue now for conciseness -- if someone wants to address one of these, they can create a specific issue for it and link to/from this issue.

Automating detection of discrete / continuous, and simplification of the syntax, resulting in 4 read/write macros, instead of the current 8. The copy macros already do not distinguish between the two.

Adding the ability to check whether an address exists or not. (But without reading its value)

Currently, the proposal_retval is not allowed to depend on the  values of any continuous random choices in the model or proposal trace, because otherwise continuous choice data leaks into the involution and avoids accounting by the Jacobian correction. Perhaps we could allow the dependency, while still ensuring the JAcobian is computed correctly, by using a call to choice_gradients on the proposal generative function?

We could add more checks that we don't write to, or copy to, the same address twice (these can be only enabled in 'check' mode). Also, because it creates noninvertible Jacobian, it is invalid to copy from the same address twice and we could check for that to

Users should be able to read and write multivariate random choices (i.e. array-valued) in the involution DSL. The implementation would probably need to flatten them alongside the scalar dimensions for input/output to f_array.

Add the ability to pass two optional address namespaces to @callinv(one for the proposal, one for the model). Any addresses used by reads, writes or copies will occur under that address namespace.

In the LaTex doc, explain relationship and differences from http://proceedings.mlr.press/v89/roberts19a.html

Automating detection of discrete / continuous

I have strong reservations about this.  For example, a categorical whose values are specific floats seems like something that we do not want to forbid.  It could occur in e.g. a hand-implementation of a piecewise-uniform distribution.

Yeah, I think ultimately the right way to handle that is to make more of this kind of information accessible in the trace -- though I think a feature like that would require careful design so that we don't compromise performance or place too high a burden on custom GFs.

Relevant to this issue: I generalized the involution DSL to be useful in cases other than RJMCMC, including e.g. SMC with change-of-variables. In these settings, the function is not necessarily an involution, it is just a general bijection. For reference, this is happening on this branch: https://github.com/probcomp/Gen/tree/20200416-marcoct-translatordsl
I haven't created a PR for this yet because I need to add some examples / tests and update the docs. This may not be done for a while.

Nice.  Btw, do you think it would be too pedantic to call these things diffeomorphisms instead of bijections?  For one data point, the term "bijection" does not invoke the notion of a change of variables for me -- when someone tells me that a function between R^d and R^d' is a "bijection," that actually makes me think it specifically isn't smooth -- hence why the person didn't call it a diffeomorphism, or by a generic term like "mapping" (whereas "bijection" to me cues "this is only about sets, not about spaces with structure").
Also, are you familiar with tfp.Bijector (same comment on that name...), and if so, how does this compare?

@bzinberg Re tfp.Bijector, yes I alluded to that and some other similar efforts like https://github.com/TuringLang/Bijectors.jl. As part of the documentation of this feature, I hope to do a comparison. I haven't looked closely at these others recently, but I anticipate that the main differences are that:

it defines functions from key-value maps to key-value maps (i.e. choice maps) that directly represent the traces of universal probabilistic programs, and not vector to vector transformations.
it can to be used with a combination of discrete and real-valued inputs/outputs
it can be used to define changes in the structure of a trace (via the discrete variables)

Re diffeomorphism -- I agree that's more precise. But one reason I like 'bijection' is because it evokes tfp.Bijector and related things; which I believe are the most closely related constructs elsewhere, so it will be easier for users of these other tools to understand it's role. But I'm open to other names.

DifferentiableBijection?

Maybe having the documentation say "Defining smooth bijections using the @bijection DSL" would be a good way to do it.  (And the class could be called SmoothBijection, and users would not have to touch that class directly.)


WARNING: glyf: Number of contour points exceeds maxp maxPoints, adjusting limit.
File sanitized successfully!

I think maxp.maxZones should just be 1 by default, that's also what ufo2ft does.
As for the maxPoints, I think we currently don't set that so it's 0 but the glyf glyphs do contain some points so OTS complains.
The sftn table directory has the searchRange, entrySelector and rangeShift, similar to the ones we have for cmap.
https://learn.microsoft.com/en-us/typography/opentype/spec/otff#table-directory
I'm not sure where these are supposed to be set, I suppose the responsibility is whomever creates the table directory. I guess write-fonts should automatically compute those?

+1 to write-fonts computing the three table directory fields, preferably automatically or if that's awkward at least providing an API that does it .

https://github.com/googlefonts/fontations/pull/322 makes FontBuilder set the offending table directory fields.


Actualize docs for request provider

README of https://github.com/yiisoft/request-provider is done.

Anything else here?

Anything else here?

Need actualize information about request provider in this package.


⚠ Multimedia BRN has degraded performance

In fc8d8d7, Multimedia BRN (https://mbrn.in/ping.html) experienced degraded performance:

HTTP code: 200
Response time: 9466 ms

Resolved: Multimedia BRN performance has improved in e093669.


Tabs toggling word wrap doesn't work

When using tab delimited files after about 25tabs they wrap to next line when having multiple lines of tabs you cannot change so they are all on one line. Only the last line wraps.
If you change the wrappingColumn size to<PHONE_NUMBER>00
It does not wrap but as soon as you toggle word wrap it always wraps.
**note it must be tabs not spaces.

me too!

This has been fixed with the fix for #4797


Compiled editions for platforms

some users cannot compile the language due to a package that is not supported or is hard to get... CMake or things like it.
And otherusers just don't know how - because you did not have instructions on how to compile or they don't have permissions (like me :( )  or they could just be getting started programming (it is like downloading discord and they tell you that you have to set it up on your own by playing around with electron for hours with no instructions). What i am suggesting is we have the full compiled version in the releases for every major OS (windows (.exe), macos (.app) and linux (elf)) but the source code as well for advanced users.
Continuing with making users set it up on their own might deter them from getting it in the first place.
you do not have to accept this idea.

Hm... MacOS would be inaccessible, because I don't have a Mac (or any Apple product, for that matter), but maybe Squod does...

@johnstev111 try a virtual machine

@DynamicSquid  @DynamicSquid - if you created a version that could run a script from a path like night --run "scripts/script.night" i could make you a code editor using electron.

I don't have a license for it MacOS.... duh

just looked it up some more - getting the license does not matter - the vm would be blocked any ways because of the EULA including that apple must not be run on non-apple devices.

@johnstev111 @DynamicSquid to solve macos - we just compile it to a .app file then put it in a zip.

How to compile to .app file if nobody here has a fresh copy of MacOS?

Can we talk about this in repl.it in NpMG

Well, if you can't compile the lang, then just use the website :)

Er... one option, but what if you don't have internet, hehe (like why would that happen, but PRETEND IT'S STILL 1996 AND WE ALL HAVE 56K MODEMS)

Okay but if you dont have internet then how did you find this GitHub page in the first place?

I do have internet, the suspension of disbelief

Also im really trying to focus on v3.0 right now, and getting that ready as soon as possible, but once i get that done, then we can probably do all this

Also yeah i dont have mac or linux, so one of you guys have to do it and send me the file

Didn't you install VBox? If you deleted the VM I can help you recover it, I've used virtualbox a lot

You can use th\at for your linux install

Yeah i tried that out but i deleted it since i didnt know how to use linux properly lol.

Wait... repl.it is linux, you do know that?

OHHHH right so I can just compile Night in repl.it, and download the elf file

Wait, how am I going to put the code for the release then? Should I add the source code binary, and the compiled version all into one release?

Well once we've combined the C++ code of Night and the Go code of dusk into one binary, you could but the BINARIES under the release binaries or you could plonk the Makefile in here (time to learn polygott)

Wait... repl.it is linux, you do know that?

well i certainly do. Mint, Ubuntu and Debian.

@DynamicSquid Here's something: you can actually put compiled executables inside the "Assets" of a release

hi im so happy rn

recursion works!!

been trying for a whole day to get that to work. going to fix up some bugs with that, and i'll test the other code, should be simple since functions are the hardest and everything else is easy, then I'll release v3.0 hopefully today and I'll start work on the package manager you guys made :)

omg guys looks it's the fib sequence yay!!!

PLEASE compile it.

plus doing it on the web is not reliable - blackouts ect. plus it may be faster on the computer due to less requests and people would be able to create games and guis on it which is simply not possible with just a terminal in the browser.

@Lethdev2019 @DynamicSquid @firefish111 GUYS! Use GitHub Actoins

how are we gonna add that to releases?

we compile it, download it, it's a good as that
(if we can't download it, then if we can make http requests we might be able to tranfer it off of there with a server) I'm thinking .deb and .rpm time @Lethdev2019 @DynamicSquid

I tried compiling it to a .exe file, and running it on another windows 10 os, but I think you still need gnu installed for it to work

i put the exe file generated using g++ on here if you guys want to try it out

i put the exe file generated using g++ on here if you guys want to try it out

Where?

@DynamicSquid Is it an asset under the release?

@Lethdev2019 @firefish111 guys it's like right there in the files...

well, seeing this is a concern, i finally understood that linux and mac, unlike windows can run any file format directly as an executable. https://askubuntu.com/questions/156392/what-is-the-equivalent-of-an-exe-file, https://stackoverflow.com/questions/4073289/compiling-simple-hello-world-program-on-os-x-via-command-line. Although on mac, that means it's not an app, just an executable.

see:
?

yeah, nvm

@DynamicSquid Does not work - librairies are missing for the exe

@DynamicSquid It's good practice to not have it in the files. Put it in the release assets.

Yeah imma naie a release on this pretty soon.Also @Lethdev2019, are you on windows cause it worked for me?

@DynamicSquid oh you did not have instructions on using it at the time.


Retire :host and ::shadow pseudo-selectors

For more background info: https://github.com/atom/atom/pull/12903.
Timing for merging this PR: http://flight-manual.atom.io/shadow-dom/sections/removing-shadow-dom-styles/#when-should-i-migrate-my-themepackage (at the bottom).


TypeScript node_modules/@types

TypeScript 2.0 will include by default types found in node_modules/@types, why not having typings to install there by default? Currently I need this in my tsconfig.json to make the compiler happy:
{
    "compilerOptions": {
        "typeRoots" : ["./typings"]
    }
}

It would be great to have typings in node_modules/@types by default.
See https://www.typescriptlang.org/docs/handbook/tsconfig-json.html for reference.

I won't be changing the behaviour. For one, we have two directories (instead of the one for everything) compared to TypeScript - so it should be typings/globals and typings/modules. The other, I don't think it's a good default to mess with another program. The current format of Typings output was made for 1.x and was designed to basically do what TypeScript does natively now by processing all the modules and making them global for the compiler to work, Typings will be deprecated once https://github.com/Microsoft/types-publisher/issues/4 lands (deprecated, but not unsupported, I'll continue providing support where needed).


Serving site: tasks

Tasks required to serve a (demo)  site:

[x] A branch to build:  main
[x] A build command (npm run build)
[x] A directory to deploy (/dist)

@maxkfranz these builds are failing on cloudflare (i think, can't see the logs) - maybe my buggy bash script is defeating the purpose of 'quick and dirty' and I should just turn these into nodeJS commander CLI programs?

Yes, it's probably simpler to use node.  It looks like the scripts are fairly simple, so hopefully it's straightforward to convert them.  I pushed some date fixes to your PR branch, so that part should be resolved already.

OK I will translate into commander programs.

OK thanks!


[FEATURE] <let's follow semantic commits>

Description
As we have started coding, we should use semantic commits. It helps a lot to reviewers who reviews the code, as well as the developer. It builds a good habit which makes us a better developer.
Ref: https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716
Screenshots
No response

@ykdojo would love to know your opinion on this.

Yes it seems like a good convention to follow?

Yes it seems like a good convention to follow?

yeah, it will be more readable and we can know what's the commit do at first glance

@rohitdasu do you have the perm to turn this into an announcement in discussions?
Or maybe you can send a PR to add it to the README?

@ykdojo i don't have the perm to turn this into an announcement 😔
But i will create a PR to add it to README.md file and i think README.MD is better place to keep this 😃

@rohitdasu sounds good!
Only one suggestion though: I really don't like the "chore" label. I think it's okay to use it from time to time, but a lot of times, it seems like they're really for DX (dev experience) improvements. Can we use dx for those?

@rohitdasu sounds good!
Only one suggestion though: I really don't like the "chore" label. I think it's okay to use it from time to time, but a lot of times, it seems like they're really for DX (dev experience) improvements. Can we use dx for those?

what about keeping both? chore and dx? we can chose what suits better according to the PR / Commit
@ykdojo what's your opinion on this? but i'm open to replace "chore" with "dx" 👍

@rohitdasu yes keeping both sounds good!

cool


[BREAKINGCHANGE] Save dashboard type change for embed gql users

Not all embed users implement saving dashboards using REST, this type change will allow SaveDashboardButton to be used in cases where our consumers use GraphQL

that sounds like a breaking change for me ;)

that sounds like a breaking change for me ;)

Yeah good call! Just updated


"arkade install" fails on Win (Git Bash) due to helm download URL guess?

Hello, I am using arkade on Win10 in Git Bash installed via "choco install git"
WHAT FAILS
arkade install fails because trying to get helm from
https://get.helm.sh/helm-v3.1.1-mingw64_nt-10.0-18362-amd64.tar.gz
REPLICATION
$ uname -a
MINGW64_NT-10.0-18362 username-7480 3.0.7-338.x86_64 2019-11-21 23:07 UTC x86_64 Msys

$ arkade install mongodb
Using kubeconfig: C:\Users\username/.kube/config
Node architecture: "amd64"
Client: "x86_64", "MINGW64_NT-10.0-18362"
2020/04/13 10:16:15 User dir established as: C:\Users\username/.arkade/
https://get.helm.sh/helm-v3.1.1-mingw64_nt-10.0-18362-amd64.tar.gz
2020/04/13 10:16:16 error extracting tarball into C:\Users\username/.arkade/bin/helm3 after 0 files, 0 dirs, 0s: requires gzip-compressed body: gzip: invalid header
Error: unable to add repo exec: "C:\\Users\\username/.arkade/bin/helm3/helm": file does not exist

Am I using wrong distro of Git Bash or startegy to guess helm download URL is not complete? (uname -a abobe)
Thank you

manual fix was:

download helm from

curl -OL https://get.helm.sh/helm-v3.1.2-windows-amd64.tar.gz

extract and copy helm.exe

tar xzvf helm-v3.1.2-windows-amd64.tar.gz
mv windows-amd64/helm.exe ~/.arkade/bin/helm3/

testing some arkade install then worked for me

arkade install mongodb

Hi "mkol5222"
Thanks for logging this issue. We should be able to resolve the auto-download of helm on Windows. I'll ping you when there's something to test.
Alex

PR #93 fixes this issue, you'll be able to test the new binary release when it's published via https://github.com/alexellis/arkade/releases/tag/0.2.6
To test simply arkade upgrade, then rm -rf ~/.arkade before running arkade install again with an app that uses helm3.

Many thanks for amazingly fast fix delivery. I was starting our new lab and it got latest arkade release that was able to fetch helm and all was working fine and smooth even on Win10 inside Git Bash.

Tell me about what you're using arkade for? We have a Slack community with a general and contributors channel inside OpenFaaS slack https://slack.openfaas.io


Fix the format of private-statement.md

:x: Validation status: errors
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: tatsuya-fujisaki sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

All content in this repository has been migrated to a new repository (https://github.com/MicrosoftDocs/VBA-Docs). The changes in this PR have been applied in the new repository, so this PR is being closed. The changes will be published to the live docs soon. Thank you for your contribution!


How to use scroll inside a container with overflow-x

I have a container with a horizontal list of objects

    {objects.map(({ value }) => (

            I'm {value}nd tab

    ))}

css:
ul.tabs {
    overflow-x: scroll;
}

And I'm trying to use buttons in the same container of ul.tabs, should I use Link and Element or is that not possible? I didn't find any example
<button className="scroll-btn scroll-left">LEFT</button>
<button className="scroll-btn scroll-right">RIGHT</button>

And I didn't understand if I need to use a scrollAnimations function or use Link's and Element's
Here is my CodeSandBox

I tried to use scrollAnimation like that, but didn't work:
import * as Scroll from 'react-scroll';
let scroll = Scroll.animateScroll;

nside the class with:
scrollMoreLeft() {
    scroll.scrollMore(-100, {
        containerId: "container-tabs",
        duration: 100,
        smooth: true
    })
}
scrollMoreRight() {
    scroll.scrollMore(100, {
        containerId: "container-tabs",
        duration: 100,
        smooth: true
    })
}

And on the buttons:
<button className="scroll-btn scroll-left" onClick={ scrollMoreLeft }>LEFT
<button className="scroll-btn scroll-right"  onClick={ scrollMoreRight} >RIGHT
Is there an option to scroll horizontally instead of just on verticals?

You need to set horizontal property in options.
scroll.scrollMore(100, {
      containerId: "container-tabs",
      duration: 100,
      smooth: true,
      horizontal: true
    })

scrollMoreLeft() {
    scroll.scrollMore(-100, {
        containerId: "container-tabs",
        duration: 100,
        smooth: true,
       horizontal: true
    })
}


Good work.

Your work on voxel-builder is insanely good.
 It is a really difficult task. (I have no background with three or any 3D tools.)
I've looked at countless other repos, they're mainly all just clones of a three example with some things added, but nothing viable. But yours is the most commendable editor on Github. It is a fully working competitor to all of the big dogs in the voxel editor game.
I applaud you!

Thank you and I'm glad you found it interesting. Of course, this application was made without prior planning and even if it excels in the web browser, it will never reach a masterpiece like MagicaVoxel. If you have an opinion or suggestion, be sure to raise it.


How to handle form submit + put values into a view model

Hello,
FF works great when creating a form programatically (fields are displaying well).
But when I submit the form, I'd like to find a efficient way to bind to the model. Do you have an example about this? Or any suggestion?
Thanks

What Type is the model? Do you have examples of the data?
If it's not a Type (e.g. it's data driven), you can use a ModelBinder that
binds to JObject* then use code to take values from the JObject.
If you get stuck (or even if you get it working!) you could add an example
to the Example app and i can take a look

I think I've found one on Google in the past

On 30 Mar 2017 05:53, "Juan on Software"<EMAIL_ADDRESS>wrote:

Hello,
FF works great when creating a form programatically (fields are displaying
well).
But when I submit the form, I'd like to find a efficient way to bind to
the model. Do you have an example about this? Or any suggestion?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mcintyre321/FormFactory/issues/45, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ0-jjhAbo0t983EM0wreQiYU7Dcl7cks5rqzVTgaJpZM4Mt3Pv
.

In fact I try your example on "Programatically created form". So the model is dynamic, it will have field define dynamically. I have created a custom ModelBinder and it works on basic types (manually convert from string to the type I want and put values into a Dictionary).

Nice, that's a good solution.