Blender error

Blender doesn't work in QGIS plugin after our latest update. I have isolated the problem to this two lines of code, that I have changed in the last pull request:
blend.py
LN 373 rendered_image = None   # used to be rendered_image = []

LN 592 if not rendered_image:  # used to be if rendered_image == []:

The reason I changed the "empty list" to "None" was the following warning I kept getting in QGIS:
WARNING    warning:C:\Users/ncoz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rvt-qgis\rvt\blend.py:592: DeprecationWarning: elementwise comparison failed; this will raise an error in the future.
if rendered_image == []:
I am not sure how to solve this, the solution worked fine when I was testing it in pycharm, but then it crashed in QGIS. one option is to revert back and ignore warning (ok for now, will raise errors in future), or hopefully you have an idea how to fix it? Either way we would need to update the qgis plugin asap as well.

I have now solved it using if rendered_image is None: instead of if not rendered_image:.
Tested on QGIS and works fine, sent you a pull request. Please close the issue after you merge. Thanks!

Thank you I merged it :)


Can't make the dataset of MNIST on nvidia-docker

If your issue is a request for support in using Chainer,
please post it on Stack Overflow.
If it is a bug report, feature request or suggestion,
please take a look at our contribution guide.
Specifically, if it is a bug report, these information are very helpful:

Conditions

Chainer version 5.0.0b2
CuPy version 5.0.0b2
OS/Platform Ubuntu
CUDA/cuDNN version V8.0.61
docker command nvidia-docker run -it --rm -v $(pwd)/:/src -w /src chainer/chainer /bin/bash

Code to reproduce

import chainer
# Load the MNIST dataset
train, test = chainer.datasets.get_mnist()

Error messages, stack traces, or logs

Downloading from http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz...
Downloading from http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz...
Traceback (most recent call last):
  File "mnist.py", line 4, in <module>
    train, test = chainer.datasets.get_mnist()
  File "/usr/local/lib/python2.7/dist-packages/chainer/datasets/mnist.py", line 51, in get_mnist
    train_raw = _retrieve_mnist_training()
  File "/usr/local/lib/python2.7/dist-packages/chainer/datasets/mnist.py", line 63, in _retrieve_mnist_training
    return _retrieve_mnist('train.npz', urls)
  File "/usr/local/lib/python2.7/dist-packages/chainer/datasets/mnist.py", line 76, in _retrieve_mnist
    path, lambda path: make_npz(path, urls), numpy.load)
  File "/usr/local/lib/python2.7/dist-packages/chainer/dataset/download.py", line 153, in cache_or_load_file
    content = creator(temp_path)
  File "/usr/local/lib/python2.7/dist-packages/chainer/datasets/mnist.py", line 76, in <lambda>
    path, lambda path: make_npz(path, urls), numpy.load)
  File "/usr/local/lib/python2.7/dist-packages/chainer/datasets/_mnist_helper.py", line 19, in make_npz
    N, = struct.unpack('>i', fx.read(4))
struct.error: unpack requires a string argument of length 4

Thank you for your cooperation!
Support is available on our Slack Chat.

I couldn't reproduce this error. I think downloaded file were corrupted for some reason.
Could you try again with the new container?

I tried, but it didn't worked with same error. How do I check whether the file is corrupted?
There are three files in /root/.chainer/dataset/_dl_cache
23278f029ff68f1e993776e500ce06b9  _dl_lock d8b415e67abd11881e156b8f111d3300

In my environment:
$ file 23278f029ff68f1e993776e500ce06b9 d8b415e67abd11881e156b8f111d3300
23278f029ff68f1e993776e500ce06b9: gzip compressed data, was "train-images.idx3-ubyte", last modified: Mon Nov 18 15:36:26 1996, from Unix
d8b415e67abd11881e156b8f111d3300: gzip compressed data, was "train-labels.idx1-ubyte", last modified: Mon Nov 18 15:36:38 1996, from Unix

$ ls -al 23278f029ff68f1e993776e500ce06b9 d8b415e67abd11881e156b8f111d3300
-rw-rw-r-- 1 kenichi kenichi 9912422  5月 29 17:44 23278f029ff68f1e993776e500ce06b9
-rw-rw-r-- 1 kenichi kenichi   28881  5月 29 17:44 d8b415e67abd11881e156b8f111d3300

$ sha256sum 23278f029ff68f1e993776e500ce06b9 d8b415e67abd11881e156b8f111d3300
440fcabf73cc546fa21475e81ea370265605f56be210a4024d2ca8f203523609  23278f029ff68f1e993776e500ce06b9
3552534a0a558bbed6aed32b30c495cca23d567ec52cac8be1a0730e8010255c  d8b415e67abd11881e156b8f111d3300

I checked these files, and realized they are empty. My server is behind a proxy so it failed to download.
So I can download the files with setting environment valuables like -e HTTP_PROXY=http://proxy.example.com. Thank you for your replying.


Adding Hospital registration form to Project collection

Related Issue
Fixes #663
Closes: #663
Describe the changes you've made
I have added a new project which is a registration form validation using javascript.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots

@urvashi-code1255 @Vishal-raj-1 @991rajat Please review the PR.

@AyushPradhan9 Resolve the conflict

I have done some changes @991rajat please review it again. Thanks!

@AyushPradhan9 After Submitting it redirect to somehere fix that,
Add something after submitting.

Hey @991rajat I have made the changes. Please review the PR. Thanks!

Congratulations on merging of first PR. :tada:
Keep Contributing.


FIX: path was incorrect for copying some static assets

This is a bug fix for copying static assets to the correct folder defined by JUPYTER_WEBSITE + "_static"

@AakashGfude if you're happy with this - please squash and merge when you're ready.

@AakashGfude it's strange this ZMQError can still exist with sequential execution.

restarted CI and it is passing. So I will merge this in.


description format isssues

first, let me say that i really appreciate what you are doing here.  i hope these testing results are helpful to you.
i have this working and i noticed some "opportunities for improvement".

the list includes deleted recordings...i would rather it not
the formatting for the episode description overlaps the episode list.  it would be nice to segregate these into different sections of the screen

i have this working and i noticed some "opportunities for improvement".

Brave! Well done,  you got this far!

the list includes deleted recordings...i would rather it not

Can you please expand on this, so I that understand:  Are those recordings deleted in this app or elsewhere?

PS: Thanks for the image, made my day! :)

Can you please expand on this, so I that understand: Are those recordings deleted by this app or elsewhere? i.e., you deleted recordings for example, using mythweb and they still showing up in here? If so, are you able to play those, or, they are just being listed?

sorry, when you delete a recording in Myth, it is in a "deleted group" for 2 days before being purged.  during this time, myth frontend will not show the recording unless you change the group filter.  this is so you can undelete it if you want.
you are showing recordings that are in the "deleted group" but not yet purged.

The Services API currently returns items in "deleted group" too, does not seem like there is a way to tell them apart - unless we query the mysql DB - which we used to do. We relinquished DB access, and currently there are no plans to go back that route - that's one less credential requirement and access level to deal with.
If delete is requested through maestro, it maintains state (until restarted), so it will not show items where a delete has been requested on.

the episode description overlaps the episode list

The channel has been updated to improve the layout, please update and give it a try.

looks much better, thanks!


Do a manual run of billing for cloud costs for dedicated clusters on GCP for Jan 2024

Context
We want to have clear and detailed documentation for how various billing processes can be done manually by someone other than me. This helps remove me as a bottleneck / single point of failure, and paves the way for fuller automation.
This issue is focused simply on GCP and dedicated clusters. https://github.com/2i2c-org/infrastructure/issues/3725 tackles this for GCP.
Proposal

[x] Yuvi writes documentation (a runbook) for manually reporting GCP cloud costs. No process improvements here, just a literal description of the current 'process'
[ ] Somoene else goes through this process, and makes changes to the document as they go to make sure it is accurate
[ ] This document gets reviewed and merged into our documentation

Updates and actions
There's a draft of this in https://hackmd.io/liA3hR2QQmm9FqLE201RVA

This is ready to go from my perspective - the linked hackmd is complete enough for someone to take a shot at this.


Assignment 3 branch Team 10: Ryan and Baria

done :)

nice work - now let's add some content to those empty files as a follow-up!


FLIP: Contract Import Improvements

This is a FLIP PR proposing a new cadence contract import syntax.

For contributor use:

[x] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

Removed PR by mistake so I'm pasting this from the previous PR https://github.com/onflow/flow/pull/881
@bluesign
Few related questions/ideas mostly related to cadence

versioning of contracts (import specific version of the contract) I think this is a must have for compose-ability. But also little risky/tricky
dynamic import: ( import from variable to a variable )
name service: this would be nice to have but also competing with existing community projects

Response:
versioning of contracts (import specific version of the contract) I think this is a must have for compose-ability. But also little risky/tricky
Yeah, I think there are a bunch of problems still needing to be solved but the nice thing about it is that we can do that as we learn more about it, it's not restricting any syntax at this point. Versioning is something that at this point I wouldn't like to solve as you mentioned is still a bit tricky and it might require some other solutions to come along. I don't want to do too much with this proposal so it's actually doable soon.
dynamic import: ( import from variable to a variable )
Good feature, but again maybe we can add that later if needed.
name service: this would be nice to have but also competing with existing community projects
Yes again this should just first be established and then incorporated in the syntax. That is the reason I'm not restricting the syntax too much yet.
Thank you for your input :)

Have you consider supporting aliasing? The name of a contract is not unique across the chain and in the future I am pretty sure there will be more contracts that are called common names. Right now it is not possible to import two Profile contracts from two different addresses.
So something like
import Profile from find/Profile as FindProfile
import Profile from qvvg/Profile as QvvgProfile
for instance.
Also have you considered the short for of just using
import NonFungibleToken
Flow.json will have the inforamtion about that if it is not namespace. So if the contract part of flow.json contains
"conctracts" : {
  "NonFungibleToken" : "cadence/contracts/NonFungibleToken"
}

I see @bjartek that's a valid flag for sure, the only thing I'm not quite sure about is that it feels to me like this could/should be supported by Cadence natively. What do you think also cc @turbolent

I guess the core need here is the ability to migrate state to a new version of a contract.

Support for aliasing in imports has been requested before in https://github.com/onflow/cadence/issues/1171.
@bjartek Great point that this is currently not possible, but is unrelated to what this FLIP is proposing.

make sure all contracts follow the same mechanism when stating imports (currently that is not true even within onflow repo)
make sure the contracts published that have imports have a way to communicate what that import is actually resolving to on different networks
allow developers switch tools without having to replace import syntaxes and how those are being then resolved

You really nicely laid out the goals of this proposal, and I think it succeeds in addressing these goals, so +1 from me.
I don't think that this proposal needs to recommend or require any particular namespacing scheme.

Yeah, that makes sense. I'm fine with this then. 👍


[TODO] Enable PR builds in RTD

@jaraco we've discussed this in comments to other PRs/issues and you seemed to be on board with the idea. Except that the only annoying part is that it cannot be done via a config file but only using the UI.
I thought I'd create a dedicated issue for this task so it wouldn't get lost again.

@jaraco we've faced an actual problem caused by not having this enabled. It happened 3 weeks ago (https://github.com/pypa/setuptools/pull/2584) but only got noticed 5 days ago (https://github.com/pypa/setuptools/issues/2614).
I think this checkbox should be enabled ASAP.

The checkbox is already checked.

I did not change it. So there must be more work to be done.

I've unchecked the box, hit save, checked the box, and hit save again. Maybe that will help.

Sometimes the GH webhooks break. There's a tab to resync them. Or check in the repo settings whether the corresponding hook actually sends PR events to RTD.

Check https://readthedocs.org/dashboard/setuptools/integrations/ (there's a resync button under the specific hook).
And also check https://github.com/pypa/setuptools/settings/hooks -> Ctrl+F for "readthedocs" and see if the Pull Requests checkbox is on.

In the hooks settings, I changed "Just the 'push' event" to "send me everything" (even though I want them to send RTD everything). Let's see how that works.

I retriggered https://github.com/pypa/setuptools/pull/2601 and verified that the RTD status appeared in the list (the failed status is expected because that PR is old and does not have the workaround from main. Closing.


Added a debounce for image rotation command.

Resolved / Related Issues

Closes #8658
Related #8658

Details of Changes

Fixed a crash when user doubleclicks the "rotate image" button.

Validation

[x] Built and ran the app
[x] Tested the changes for accessibility

Multiple clicks on both "rotate left" and "rotate right" dont crash the app.
Side effect: spamming a billion clicks will produce unpredictable rotation of images.
Seems I did not disable the buttons properly, but the debounce on CanExecute still works.
I had a lot of ideas TBH, but found that all of them are way beyond the current PR.
Screenshots (optional)

thanks for fixing it :D


fix: trigger release after previous failure

:tickets: TICKET-000

Upstream PRs

Downstream PRs

Changes

Notes for Reviewers

Recordings/Screenshots

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.805%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
87

Relevant Lines:
96

💛  - Coveralls


TypeError: Cannot read properties of undefined (reading 'length')

The generated Steam card only contains the following statements:
error
TypeError: Cannot read properties of undefined (reading 'length')

Maybe because I hid all my information, like games I owned and played records.
In this case, the card may show the avatar and level 0 like steamid.pro did.
This is a great change to show my avatar, and after the fix, I would definitely add my card to my own blow. : - )

This bug had been fixed

By the way, I recommend you make your Steam information in public status to get richer card content.


Make sure api keys are not exposed

Or if this is how firebase is supposed to work, make sure that the api keys which are exposed are temporary and have only certain permissions

setup firebase rules to prevent users from modifying data they didn't create.


unexpected OAuthCustomResourceInputs error on push after updating unrelated resource

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
pnpm
If applicable, what version of Node.js are you using?
18
Amplify CLI Version
10.5.1
What operating system are you using?
mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
n/a
Amplify Categories
auth
Amplify Commands
Not applicable
Describe the bug
As I was using a project to reproduce this exact issue I was initially unsuccessful, however after coming back to the project and making updates to unrelated resources (like adding a new function) I am presented with this error:
🛑 The following resources failed to deploy:
Resource Name: OAuthCustomResourceInputs (Custom::LambdaCallout)
Event Type: create
Reason: Received response status [FAILED] from custom resource. Message returned: See the details in CloudWatch Log Stream: 2022/11/29/[$LATEST]c86010aa8fe0497c875afa39324c7f39 (RequestId: 434f8e76-e11f-4f7d-ac50-6d015663b425)

In CloudWatch I see the following:
2022-11-23T17:24:50.862Z	b5562efd-a55f-403f-b1c5-ea603a59560c	INFO	{
  UserPoolId: 'us-east-1_dpwM86ARD',
  AllowedOAuthFlows: [ 'code' ],
  AllowedOAuthFlowsUserPoolClient: true,
  AllowedOAuthScopes: [
    'phone',
    'email',
    'openid',
    'profile',
    'aws.cognito.signin.user.admin'
  ],
  CallbackURLs: [ 'http://localhost:3000/' ],
  LogoutURLs: [ 'http://localhost:3000/' ],
  SupportedIdentityProviders: [ 'Facebook', 'Google', 'COGNITO' ]
}

2022-11-23T17:24:51.885Z	b5562efd-a55f-403f-b1c5-ea603a59560c	INFO	InvalidParameterException: The provider Facebook does not exist for User Pool us-east-1_dpwM86ARD.
    at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/json.js:52:27)
    at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
    at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
    at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:686:14)
    at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:688:12)
    at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:116:18)

This is the exact behavior as shown in an older bug https://github.com/aws-amplify/amplify-cli/issues/7388#issuecomment-994126629
Workaround

amplify update auth
update OAuth Social Providers
re-input secrets (NOTE: the values are not pre-filled from before)

Expected behavior
n/a
Reproduction steps

amplify init -y
amplify add auth > Add social providers, provide fake values for OAuth
amplify push -y
observe push is successful
do something else, amplify add function
amplify push -y
observe error

GraphQL schema(s)

# Put schemas below this line

Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response

Is this still a problem? It seems like I'm running into this now.


Fix #31 change end point to new FCM.

Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features! See the FAQ to learn more. If you are integrating messaging in a new app, start with FCM. GCM users are strongly recommended to upgrade to FCM, in order to benefit from new FCM features today and in the future.

Hey, why do not merged?


Error on comparing 2 folders

I use version: v0.24.3
I got the following error dialog:

If i click on the report button the following is in the error log:
error while comparing
{}
{
"errno": -2,
"code": "ENOENT",
"syscall": "open",
"path": "/Users/D054629/.vscode/extensions/moshfeu.compare-folders-0.24.3/out/package.json"
}

I recognized that the error only occures if a disable the usage of the gitignore file:

For me it is not clear how this setting works if it is enabled because i have an vscode workspace with multi projects and each of them has a .gitignore file and i want to compare 2 of those project folders.

Thanks for the detailed report. I don't have a quick solution out of my mind. I'll look into it but it will take me some time. Sorry for that


RequirementMachine: Add missing entry to Symbol::Kinds

When we added same-shape requirements, we broke -analyze-requirement-machine, which outputs some histograms. Add a regression test to make sure this code path doesn't bitrot.

@swift-ci Please smoke test

@swift-ci please smoke test Linux


No support for svg viewbox

Bug report/Feature request:
Svg viewbox is ignored.
Expect the document/white rectangle in the reactsvgpanzoom element to match the viewbox, but it doesn't.

https://jsfiddle.net/oyLfjeqy/9/

Temporary solution to repeat the svg tag, so when component strips the first svg header still second svg will have viewbox on it.

I updated @kheyse-oqton's PR #88 to be up-to-date with current version in #150.

Now you can support this Wish from https://beerpay.io/chrvadala/react-svg-pan-zoom/wishes/5d66366510d9080d4ad89ffa
🍻 Cheers!

Released with version 3.3.0


[android] allowedit: fix not Cropping after taking picture from camera

for allowedit option, the imageUrl inside processResultFromCamera is wrong (always get the original image), and sourcePath is not used. So this patch fix the issue.

This pull request worked fantastically for my team. Thanks!

####Hey
Did this get merged in yet?

Just checked the master branch, it seems that the issue is fixed by dca8bd1943449b201f73f860d45b28ab84676074 , so this pull request is no longer needed.


 I don't really know a nice way to solve this. What's the exact error that is logged? It should work fine if you only --force in other branches then squash-merge to master as this doesn't rewrite the master commit history.

Just the classic git error when you can't pull because someone pushed with force.

--force-with-lease

God bless you

Won't fix?!

I don't really know how, and I think it's best to just advise against force pushing to a mainline branch anyway, much simpler.


edit selecct doesn't work

 <a href="#" editable-select="user.status" e-ng-options="s  in ['a','b'] ">
   {{user.status}}
  </a>

Your ng-options is not correct.  Please take a look at the angular documentation to figure out the correct syntax you want to use.

thanks !


Disable ftp in airlock app

Fixes #2058
What is being addressed
Ftp should be disabled in all app service based apps.
How is this addressed

Disable ftp access in Airlock app
Move the application insights connection string (as instrumentation key will be deprecated soon)

/test


Documention or Example Project

First of all thank you for your work and providing this addon. Also please excuse if this is the wrong place to ask.
I was not able to get the drag and drop nodes to work, would it be possible to add some documentation or an example project?
It would be very appreciated.

Hello. I'd like to know what was tried and what went wrong! I will take the feedback to update the tool itself and its built-in documentation (accessible via F1 key) to help.
For now, there are example*.tscn scenes in the project.

I noticed some classes are missing in the custom type declaration. For an addon, this means auto-generated documentation will be missing.
I have updated it and pushed to the main branch.

Thank you for the quick reply. I didn't realize there are examples in the repo, I just checked the imported plugin from the asset library. I will try to learn from the examples, if I still don't get it to work I will describe the problem here.

Yeah, they're excluded from the download 😄 I'd still appreciate to know what you did try before checking examples.

I created a new scene, Node2D as base. I created a Interpolated Box and Flow Container, sized them up, and put a Draggable with a TextureRect as child in both of them. When I try to move them, they move away from the cursor, get larger over distance and dont snap in correctly.
I tried some options and values but didn't get it to work, likely doing it wrong.

Ahh. I see. These are separate features:

InterpolatedContainer can have children of any Control type, and act as the matching Godot containers you can move nodes between.
Draggable, conversely, can be a child of any Control container. It implements free movement/resizing on a 2D plane.

Oh i see! Thanks a lot. Will keep you updated if I run into more.

Something I can't figure out: How to limit the maximum amount of objects in a FlowContainer. I tried a condition of get_child_count()<5 but that doesn't do anything.

Yeah, that'd be into.get_child_count() < 3 - into is the node that's being inserted to! You might've known if documentation tooltips in the Inspector worked consistently 😄
But I think I'll make the limit a separate property - limiting item count is a common feature, and the count would likely be changed often through a Script.


Outdir option not working

When you have outDir option in vite.config.ts vite-ssr doesn't follow the rule and bundles every file to dist  in main folder.

Hi! This was already reported and fixed in #53 but it hasn't been released yet.
I will make a new release in a few hours 👍


fix: edit material source display before error

现象：
新增or编辑自定义物料源时候，如果添加的物料源地址有误，表单弹窗已经消失了，错误信息才出现
修复：
直到校验没有错误时，弹窗才消失

Codecov Report

Merging #622 into release/0.13.0 will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           release/0.13.0     #622   +/-   ##
===============================================
  Coverage           57.14%   57.14%
===============================================
  Files                   1        1
  Lines                  70       70
  Branches               15       15
===============================================
  Hits                   40       40
  Misses                 30       30

Continue to review full report at Codecov.

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


Remove "github.com/google/gopacket/layers" when linux_bpf is not set

What does this PR do?
Remove "github.com/google/gopacket/layers" when linux_bpf is not set. This reduce the RSS of the Agent.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
Changes validate with Go compiler.

/merge


support sep-0007 qr codes

more specifically the pay request : https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0007.md#operation-pay

@ken-de-moor Cool, thank you

@robvanmieghem hey rob, this wasn't actually done I think. Was cleaning up the boards and old issues and closed this one too early. Could you give some more info about what needs to be done for this?


Check that an overlay is visible before removing

Add a guard to ensure that before _hideOverlay removes an overlay that
there is currently a visible entry of that overlay type. This resolves
an issue which would cause the flutter engine to throw as
AssertionError if either hideLoader or hideNotification are called
whilst no overlay of that type is currently showing.
closes #16

@fayaz07 done

I observed you also added tests there, why should'n't we run them whenever someone pushes the code, can you please make a PR for setting up github workflow.?

@Allcontributors please add @alexandradeas

@all-contributors please add @alexandradeas for code

@all-contributors please add me @fayaz07  for code, content, data, doc, doc, example, ideas, maintenance, mentoring


Scheduled releases

Release yew, yew-agent and yew-router on 1st of every month
Description

Closes #3507
Checklist

[x] I have reviewed my own code
[ ] I have added tests

You don't release yew-macro also?

You don't release yew-macro also?

It is in the list of packages to be published


GH-45119: [Ruby] Use #size for Arrow::Column#size backend

Rationale for this change
#n_rows is available only on Arrow::ChunkedArray. It's not available on Arrow::Array.
What changes are included in this PR?
It's available on both of Arrow::Array and Arrow::ChunkedArray.
Are these changes tested?
Yes.
Are there any user-facing changes?
Yes.

GitHub Issue: #45119

+1


Added new base class for RPC Client Worker so that more code could be…

… moved to templates, making it easier to add new features
Fixed an issue where a request with long deadline could block the application from closing if a service doesn't respond
Fixed an issue where if an application closes before connection is established, the outstanding connection would not be closed and application won't either

AFAIK this also fixes https://github.com/vizor-games/InfraworldRuntime/issues/16


Ployglot Web UI Programming for JVM

I was tinkering with this idea in my head, and found out about TeaVM. Great project !
It matches very will with the polyglot programming platform - Vertx.io, which defines a set of core APIs, like a microkernel, and any JVM language bindings can be created to code language specific modules. All modules talk via event-bus, it also provides a web-connector for real-time events on the browser.
It will great to match TeaVM with Vertx.
Rather than spending resources on |source to JS transpilers|, the bytecode to JS is the right approach here.
Thanks,
Alan

Ok, you are free to ask questions and get any required support from me.


Validation errors continue to display, even after the user corrects them

The form-builder UI is now correctly displaying server-side validation errors.
But I notice now that if I produce a validation error and then correct it, the error still displays (in red) when I re-submit the form.  The submission is a success, and the updated/corrected version is saved, but the user is told that the validation issue is still a problem.

resolved in 2e99f5e


Check if milling axis has length close to zero & skip milling ROIs

Need to check if the length of the milling axis is too short to bother with altogether. In relative terms, compared to the expected ROI width.
There's some very odd behaviour when start_lamella = 0. or end lamella = 1.
This includes oddness in the rotation angle.

https://github.com/DeMarcoLab/fibsem/pull/24


Roll engine 017dafd42660..a4471589f2cd (8 commits)

https://github.com/flutter/engine/compare/017dafd42660...a4471589f2cd
git log 017dafd42660..a4471589f2cd --no-merges --oneline
a4471589f Roll src/third_party/skia e8e12e89c46b..8534723c7be1 (1 commits) (flutter/engine#6140)
db3484f27 Fix crash in text layout when GetMinikinFontCollectionForStyle returns null. (flutter/engine#6139)
0f7bfeaf4 Roll src/third_party/skia 6487e5ca6f10..e8e12e89c46b (1 commits) (flutter/engine#6138)
f25d89a2d Fix windows embedder builds. (flutter/engine#6137)
b3c778fe9 Allow embedders to specify software renderer configs. (flutter/engine#6133)
da419912d Roll src/third_party/skia 7bfe8438a94b..6487e5ca6f10 (6 commits) (flutter/engine#6136)
f44c0008b Roll src/third_party/skia 62db8d577931..7bfe8438a94b (20 commits) (flutter/engine#6134)
fbf672643 Mark deprecated Flutter iOS APIs as unavailable (flutter/engine#6124)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Auto-roller completed checks. About to merge.


OperationalError: FTS expression tree is too large (maximum depth 12)

Should the caller check the length of the queried words? Passing a very long string like below causes an SQLite error
v.query(1026*'ab')

Thanks for reporting this @janimo. This is an issue I was mindful of when building this, however, I thought it would be okay given most words fall way beyond this length. Mind sharing your use case?
This is happening due to the out-of-vocabulary lookup. The fix in mind I have for this is to disable the advanced out-of-vocabulary lookup for very long words perhaps. Does this sound reasonable for your use case?

It was due to trying to get vectors out of unprocessed and messy text, so definitely a corner case. Disabling OOV lookup for long words sounds ok.

I see that makes sense, we should definitely support that case. Here's the commit / pipeline for the fix I just submitted to master: https://gitlab.com/Plasticity/magnitude/pipelines/19448775. It is currently being tested on our CI servers, but once it gets deployed to PyPI it should be on version 0.1.15. Once that happens, you can upgrade your local installation with pip install pymagnitude -U or pip3 install pymagnitude -U if using Python 3.
I added a test case to make sure this doesn't break in the future, but please post back here if the fix works for you after upgrading and I'll close out this issue.

I see that makes sense, we should definitely support that case. Here's the commit / pipeline for the fix I just submitted to master: https://gitlab.com/Plasticity/magnitude/pipelines/19448775. It is currently being tested on our CI servers, but once it gets deployed to PyPI it should be on version 0.1.15. Once that happens, you can upgrade your local installation with pip install pymagnitude -U or pip3 install pymagnitude -U if using Python 3.
I added a test case to make sure this doesn't break in the future, but please post back here if the fix works for you after upgrading and I'll close out this issue.


Not found after installation

Hi! After I followed  you instructions of installation,and I found error "Not found"  when I entered
(http://localhost:7777/dist).What's the problem?

Hi, try to open http://localhost:7777


Skyline: fix a problem with reading negative ion mode Agilent chromat…

…ogram files

Yeah, don't know how we started down that road, I feel the same way though.

Hmm, we'd better have let the tests run on this to make sure it works on all platforms


fix(oas3.1): correctly validate paths using $ref

Fixes #2484
Description
Schemathesis uses static version of the current published version of the OpenApi 3.1 spec metaschema
(https://spec.openapis.org/oas/3.1/schema/2022-10-07) to validate openapi 3.1 spec documents. Unfortunately, the published version has at least one known bug in which the schema for paths references the definition of a concrete path-item instead of path-item-or-reference, which might still be technically incorrect when it comes handling the case of ref and sibling fields, but is correct according to the documented definition of a pathItemObject.
This oversight has been noticed multiple times
https://github.com/OAI/OpenAPI-Specification/issues/3298 https://github.com/OAI/OpenAPI-Specification/issues/2635#issuecomment-960248801 https://github.com/OAI/OpenAPI-Specification/issues/2635#issuecomment-872893673 https://github.com/OAI/OpenAPI-Specification/issues/3513 https://github.com/OAI/OpenAPI-Specification/pull/2657#issuecomment-2016588850
And finally fixed in Feb 2024
https://github.com/OAI/OpenAPI-Specification/pull/3355 with a slightly bigger rework of the pathItem schema.
Sadly, due to confusion about how to release fixes in schemas https://github.com/OAI/OpenAPI-Specification/issues/151#issuecomment-1556268486 this change has not been published anywhere except schema.yaml in the git repo, not even in schema.json, which appearantly only gets refreshed once per release of the metaschema
https://github.com/OAI/OpenAPI-Specification/pull/3355#issuecomment-1690686993
This commit updates the stored schema from the most up-to-date 3.1.0 schema.yaml from 0035208 to close the bug and make spec-valid openapi spec files that use $ref under path finally validate correctly in schemathesis. It also adds a corresponding regression test
Checklist

[x] Added failing tests for the change
[x] All new and existing tests pass
[x] Added changelog entry (follow guidelines in CONTRIBUTING.rst)
[x] Updated README/documentation, if necessary

I get a very small handful of test failures in local runs:
FAILED test/loaders/test_common.py::test_port_override_with_ipv6[from_uri-openapi3_schema_url-requests.get-http://[2002:7f00:1::]:8081/schema.yaml] - ValueError: Host '[2002:7f00:0001::]' cannot contain '[' (at position 0)
FAILED test/loaders/test_common.py::test_port_override_with_ipv6[from_url-graphql_url-requests.post-http://[2002:7f00:1::]:8081/graphql] - ValueError: Host '[2002:7f00:0001::]' cannot contain '[' (at position 0)
FAILED test/hooks/test_hooks.py::test_global_body_hook[Open API 2.0] - AssertionError: assert 0 == 5
FAILED test/hooks/test_hooks.py::test_global_body_hook[Open API 3.0] - AssertionError: assert 0 == 5
FAILED test/cli/test_cassettes.py::test_replay[Open API 2.0-plain-True] - ValueError: Host '<IP_ADDRESS>:56515' cannot contain ':' (at position 9)
FAILED test/test_app.py::test_app[flask] - AssertionError: assert 'Schemathesis test server is running!' in ''
FAILED test/test_app.py::test_app[aiohttp] - AssertionError: assert 'Schemathesis test server is running!' in ''
FAILED test/cli/test_cassettes.py::test_replay[Open API 2.0-plain-False] - ValueError: Host '<IP_ADDRESS>:56515' cannot contain ':' (at position 9)
FAILED test/cli/test_cassettes.py::test_replay[Open API 2.0-base64-True] - ValueError: Host '<IP_ADDRESS>:56515' cannot contain ':' (at position 9)
FAILED test/cli/test_cassettes.py::test_replay[Open API 2.0-base64-False] - ValueError: Host '<IP_ADDRESS>:56515' cannot contain ':' (at position 9)
FAILED test/cli/test_cassettes.py::test_replay[Open API 3.0-plain-True] - ValueError: Host '<IP_ADDRESS>:56515' cannot contain ':' (at position 9)
FAILED test/cli/test_cassettes.py::test_replay[Open API 3.0-plain-False] - ValueError: Host '<IP_ADDRESS>:56515' cannot contain ':' (at position 9)
FAILED test/cli/test_cassettes.py::test_replay[Open API 3.0-base64-True] - ValueError: Host '<IP_ADDRESS>:56515' cannot contain ':' (at position 9)
FAILED test/cli/test_cassettes.py::test_replay[Open API 3.0-base64-False] - ValueError: Host '<IP_ADDRESS>:56515' cannot contain ':' (at position 9)
FAILED test/hooks/test_hooks.py::test_after_load_schema - AssertionError: assert {'errors': 1,...pped': 0, ...} == {'errors': 0,...pp...

Since they look unrelated to OAS3.1 and they occur both on master and on my fix, I'll assume that these are either pre-existing or my (admittedly hasty and hacky) build and test setup is slightly wonky

Awesome! Thank you for the report and the fix :)
P.S. Test failures are indeed unrelated and happened before due to yarl upgrade


[Bug report]

Version
8.2.1
Platforms
Android
Device Model
Pixel 7a(Android 12)
flutter info
    • Flutter version 3.24.0-1.0.pre.621 on channel master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5d70d1914f (4 hours ago), 2024-08-17 13:35:16 +0000
    • Engine revision c94651c33b
    • Dart version 3.6.0 (build 3.6.0-149.3.beta)
    • DevTools version 2.38.0

How to reproduce?
Simply use
ExtendedImage.network(
  url,
  cache: true,
)

Logs
../../.pub-cache/hosted/pub.dev/extended_image-8.2.1/lib/src/gesture_detector/official.dart:34:47: Error: The class 'DragGestureRecognizer' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.
abstract class _DragGestureRecognizer extends DragGestureRecognizer {
                                              ^
../../.pub-cache/hosted/pub.dev/extended_image-8.2.1/lib/src/gesture_detector/official.dart:615:7: Error: The non-abstract class '_VerticalDragGestureRecognizer' is missing implementations for these members:
 - DragGestureRecognizer.considerFling
 - DragGestureRecognizer.hasSufficientGlobalDistanceToAccept
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class _VerticalDragGestureRecognizer extends _DragGestureRecognizer {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../flutter/flutter/packages/flutter/lib/src/gestures/monodrag.dart:341:19: Context: 'DragGestureRecognizer.considerFling' is defined here.
  DragEndDetails? considerFling(VelocityEstimate estimate, PointerDeviceKind kind);
                  ^^^^^^^^^^^^^
../../flutter/flutter/packages/flutter/lib/src/gestures/monodrag.dart:370:8: Context: 'DragGestureRecognizer.hasSufficientGlobalDistanceToAccept' is defined here.
  bool hasSufficientGlobalDistanceToAccept(PointerDeviceKind pointerDeviceKind, double? deviceTouchSlop);
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/extended_image-8.2.1/lib/src/gesture_detector/official.dart:676:7: Error: The non-abstract class '_HorizontalDragGestureRecognizer' is missing implementations for these members:
 - DragGestureRecognizer.considerFling
 - DragGestureRecognizer.hasSufficientGlobalDistanceToAccept
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class _HorizontalDragGestureRecognizer extends _DragGestureRecognizer {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../flutter/flutter/packages/flutter/lib/src/gestures/monodrag.dart:341:19: Context: 'DragGestureRecognizer.considerFling' is defined here.
  DragEndDetails? considerFling(VelocityEstimate estimate, PointerDeviceKind kind);
                  ^^^^^^^^^^^^^
../../flutter/flutter/packages/flutter/lib/src/gestures/monodrag.dart:370:8: Context: 'DragGestureRecognizer.hasSufficientGlobalDistanceToAccept' is defined here.
  bool hasSufficientGlobalDistanceToAccept(PointerDeviceKind pointerDeviceKind, double? deviceTouchSlop);
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/extended_image-8.2.1/lib/src/gesture_detector/drag_gesture_recognizer.dart:128:7: Error: The non-abstract class 'ExtendedHorizontalDragGestureRecognizer' is missing implementations for these members:
 - DragGestureRecognizer.considerFling
 - DragGestureRecognizer.hasSufficientGlobalDistanceToAccept
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class ExtendedHorizontalDragGestureRecognizer
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../flutter/flutter/packages/flutter/lib/src/gestures/monodrag.dart:341:19: Context: 'DragGestureRecognizer.considerFling' is defined here.
  DragEndDetails? considerFling(VelocityEstimate estimate, PointerDeviceKind kind);
                  ^^^^^^^^^^^^^
../../flutter/flutter/packages/flutter/lib/src/gestures/monodrag.dart:370:8: Context: 'DragGestureRecognizer.hasSufficientGlobalDistanceToAccept' is defined here.
  bool hasSufficientGlobalDistanceToAccept(PointerDeviceKind pointerDeviceKind, double? deviceTouchSlop);
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/extended_image-8.2.1/lib/src/gesture_detector/drag_gesture_recognizer.dart:141:7: Error: The non-abstract class 'ExtendedVerticalDragGestureRecognizer' is missing implementations for these members:
 - DragGestureRecognizer.considerFling
 - DragGestureRecognizer.hasSufficientGlobalDistanceToAccept
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class ExtendedVerticalDragGestureRecognizer
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../flutter/flutter/packages/flutter/lib/src/gestures/monodrag.dart:341:19: Context: 'DragGestureRecognizer.considerFling' is defined here.
  DragEndDetails? considerFling(VelocityEstimate estimate, PointerDeviceKind kind);
                  ^^^^^^^^^^^^^
../../flutter/flutter/packages/flutter/lib/src/gestures/monodrag.dart:370:8: Context: 'DragGestureRecognizer.hasSufficientGlobalDistanceToAccept' is defined here.
  bool hasSufficientGlobalDistanceToAccept(PointerDeviceKind pointerDeviceKind, double? deviceTouchSlop);
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception

Example code (optional)
No response
Contact
No response

closing. realized its duplicate of #693


UI test enhancements

iLogout() - wait till page is loaded to avoid a problem sometimes if the next step is to login again.
aNotificationShouldBeDisplayedWithTheText() - do not be fussy about white space, e.g. Edge returns "bonus" white space on getText() calls.
getSizeOfFileFolderList() - if the list cannot be found then return size 0. Avoids an exception and a later scenario step will fail anyway of it does not like having 0 files/folders.
findFileRowByName() - wait for fileListXpath to be available, rather than just throwing an exception. Helps with timing issues.
scrollDownAppContent() - call waitForAjaxCallsToStartAndFinish() to hopefully help with some timing.
waitTillPageIsLoaded() - be more careful about being able to find each element before then using it.
shareWithCloseXpath - be more specific so as to always find the share-with close button.
waitTillElementIsNotNull() - return the element when (if) it is found.
scrollToPosition() - replace "$" with "jQuery" - sometimes with Edge there would be a "$" is undefined error.

this general code now in upstream core PR.


Anonymous directives (fenced divs and bracketed spans)

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Problem
In the original proposal for generic directives, there is a specification for container directives and inline directives which have no name. An example of their syntax:
:::{.container-class #container-id key="val"}
The content of this container block.
:::

[selling lobbies 200ea @@@@@@@]{.glow2 .wave}

See the above on try pandoc
Larger set of examples
In addition to the names being possible to omit, the bracketed span also lacks the single colon of the inline directive.
Support for these directives would provide near[^1] complete support for pandoc's fenced divs and bracketed spans, which are enabled in its default markdown parser.
For reference, the equivalent syntax in the current implementation would be the following:
:::div{.container-class #container-id key="val"}
The content of this container block.
:::

:span[selling lobbies 200ea @@@@@@@]{.glow2 .wave}

[^1]: pandoc's fenced divs are allowed to have whitespace between the opening fence and the name (which in pandoc is either an attribute that becomes a class or curly braces that specify any attributes). I am not asking to support this.
Solution
micromark-extension-directive should support inline and container directives that lack a name to better support pandoc's fenced divs and bracketed spans. Preferably, inline directives should also be able to lack the initial colon when they lack the name.
Alternatives
As this is a request to support a specific syntax feature, there probably is not any alternative possible.

In addition to the names being possible to omit, the bracketed span also lacks the single colon of the inline directive.

I am sorry. I do not understand this sentence. Can you please explain again?

near […] I am not asking to support this.

There are problems with supporting “near” but not “exactly”. You ask for a buggy implementation that is not specified and cannot be reasoned about. At some point someone will ask different things. Likely, breaking things. Which will not be what you want.
See also https://github.com/micromark/micromark-extension-directive/pull/25.

which are enabled in its default markdown parser.

Pandoc’s default markdown parser is explicitly old and from before CommonMark and it will not be changed to support CommonMark.
I do not recommend using that non-standard version of markdown.
It is not a goal of micromark to support old non-standard versions of markdown.

Preferably, inline directives should also be able to lack the initial colon when they lack the name.

How do you mean? Are you saying that `` (as in, nothing, no colon and no name) should be a directive?!

As this is a request to support a specific syntax feature, there probably is not any alternative possible.

You came up with a very good alternative yourself: “For reference, the equivalent syntax in the current implementation would be the following”, :::div, :span.
One more alternative solution is for you to write an extension that supports Pandoc’s fenced divs and bracketed spans.

to better support pandoc's fenced divs and bracketed spans

I am sorry. It is not a goal of this project to support pandoc’s extensions of markdown.


feat(prqlc)!: preprocess Jinja templates

See demo repo: https://github.com/aljazerzen/jaffle_shop
Method
We start with Jinja-PRQL:
from {{ ref('my_model') }}

... parse Jinja and extract interpolations:
from _jinja_0

... compile PRQL:
SELECT * FROM _jinja_0

... replace anchor with original Jinja expressions:
SELECT * FROM {{ ref('my_model') }}

Minijinja
I used minijinja to lex the input into tokens. For that I had to fork the project so it exposes the lexer.
Problems
This approach does not work any jinja expression that would not produce exactly one output token. This includes for loops and if statements.
We could do full Jinja evaluation and provide all functions that are available in dbt, but set them to evaluate to anchor tokens just as I do now. This would make for loops work, but could not fully emulate evaluation that depends on any state that is provided by dbt.
I don't know much about dbt, should I'd ask for people to check it out and try to translate a few dbt projects.
Ideal solution
Have access to dbt state, i.e. compile PRQL after dbt evaluates the Jinja template.

Because of mentioned limitations, I'm leaning toward not merging this. If anyone does find any value in using this workflow on dbt projects, we can merge.

I admittedly share your perspective re jinja.
Ideally we won't need jinja, because we have a structured language. That's also the perspective of the dbt folks.
Maybe this could be an advanced feature of s-strings? But outside of that, I think we should hold the language itself to the standard of producing the abstractions...

But because prql-compiler does not (and should not) know how to handle Jinja, ...

With this I meant not only for-loops and other evaluation, but even parsing Jinja templates.
from {{ ref('table') }}

... should be syntactically invalid PRQL code

... should be syntactically invalid PRQL code

Oh yes I agree; we can remove Jinja, either now or when we get the proper dbt plugin up.
IIRC, in the end we don't even use it in dbt-prql — PRQL actually gets called after dbt has processed the jinja (which is why it doesn't work with all DBs). Though my memory is hazy and I'd need to confirm, depending on how quickly you think we should remove it!

Let's discuss this on the next dev call. In some ways I think this is a very clever implementation. OTOH it does require everyone using it to have prqlc, which is a big disadvantage for teams, and have prqlc watch running.
It is also quite a nice demo of prqlc watch!

Should we remove it from the pest grammar?


Generate and activate CRL during installation

Implemented that an empty certificate revocation list is generated during installation after generation of other parts of the Public Key Infrastructure. The added benefit of this is that whenever the user now revokes a client, the change is instant. Whereas before, the first time a revocation happened since the installation of PiVPN, the OpenVPN server had to be restarted to enable the then-newly-generated CRL (causing an interruption of service for other connected clients). This change also makes the file /etc/pivpn/REVOKE_STATUS obsolete.
Documentation: https://openvpn.net/index.php/open-source/documentation/howto.html#revoke

Please hold off on merging this, I'm investigating a problem with permissions on the CRL file.


Speed problem

Hello
Seem i've got a speed problem with 3.900 nodes and 17.000+ links with Grapher and Force.
Exemple is hosted here:
https://github.com/security-database/vdna-crosslinks-canvas
Use index3.html or index4.html and data2.json instead of data.json
Render is really slow (not as much as canvas alone, but slow)
Do i miss something ?
Some stats:
With 30links / 30 nodes : when force.tick loop, fps are at about 60fps. When force.stop() then > 60fps.
With 4.000links / 3.000 nodes : when force.tick loop, fps are at under 10fps. When force.stop() then > 60fps.
With 18.000links / 4.000 nodes : when force.tick loop, fps are at under 5fps. When force.stop() then > 60fps.
Just in case, if i remove the collide function until force.alpha() < 0.1 that speed up fps, 5fps->7fps but not so much

Hi,
Thanks for providing your code! On a cursory glance, I can see where we might be running into one of Grapher's known issues:
Grapher doesn't perform particularly well on randomized nodes (random x, y positioning). It does much better with the same number of nodes and links when some layout algorithm has been applied. We're still not sure why this is.
One thing you could try is performing the force on the nodes for a few seconds before rendering just to let the network layout a bit. For example, before you render the network, have a more aggressive force graph tick a few times, then start rendering with your normal one. This would lead to a network that is less random and easier for Grapher to render.
Another thing you can try is instead of setting the nodes to random positions at the start, set them all to the origin or close to the origin and let the graph spread out from there.
I'll try digging into this a bit more and see what I can find.
Thanks! :)

Thanks for the answer.
I've tried this change on the forceTick function just to play:
if (force.alpha() < 0.05) {
grapher.update(); // update the grapher
grapher.render();
}
It's help, but fps doesn't change. more or less 8fps when graph is updating / rendering until force.alpha == 0
I know we have a lot's of links ;) It's the beauty of our data ;))) and on this exemple, it's not a lot, we are only at depth 4, without exploits.

One issue is that colors are parsed on every call to update.  That looks like a quick fix, which should give you back at least a few fps ...


Random  tags in the output from JSON schema rendering?

I am using List formatting JSON to customize the Board view in Microsoft Lists in Microsoft 365. I have a description field/column set to Single line of text (which is a string without any HTML tags that I have validated with the Microsoft Graph API call to that List item). I am applying the following JSON formatting syntax to that field:
....
          {
            "elmType": "div",
            "children": [
              {
                "elmType": "p",
                "attributes": {
                  "class": "ms-fontColor-neutralSecondary"
                },
                "txtContent": "=[$Description]"
            ],
            "attributes": {
              "class": "sp-card-displayColumnContainer"
            }
          },
....

And the field renders fine except I am seeing
 tags added by the JSON renderer, when I inspect the DOM via Chrome. For some fields the
 tag is added in the middle of the text and for other multiple
 tags are added at the end - see the 2 outputs below with the
 tags introduced in the middle/end of the text. It appears the formatter is adding this unilaterally to space out the text thereby creating unnecessary white space.
Is there a way to control this behavior and force the JSON renderer to not apply any additional formatting besides what is specified in the JSON?
Output 1 (Note multiple
 tags inside the
 tag at the end of the text):

        Global Client Agreement for full review (Abacus Pharma)

Output 2 (Note the single
 tag inside the
 tag in the middle of the text):

        Request to seek approval and contract between Vendor and
Provider to support client.

Hi @exwhyz . Sorry for the delay in commenting.
This is an issue that will probably be difficult for the community to resolve. Therefore, if this issue has not been resolved yet, please create an issue in the following repository and report it to Microsoft.
https://github.com/SharePoint/sp-dev-docs


Fix bad URLs and broken code sample

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/keyvault.md
:white_check_mark:Succeeded

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.

#sign-off

I've recreated this PR so it goes into the correct branch.


OAuth

Twitch made it senslessly complicated to get an oauth token, would it not be possible to include their client-id and client-secret into the addon so the generation can be automated. I have not been able to generate an oauth token with the explanation in the twitch docs also how would my customers do it who don't know about https requests?

I was finally able to get a token.
Yet after connection worked:
Connected to Twitch.    At: res://addons/twitch_irc_client/twitch_irc_client.gd:142:_on_web_socket_connected_to_server()
It just closes the connection again:
Connection closed.    At: res://addons/twitch_irc_client/twitch_irc_client.gd:149:_on_web_socket_connection_closed()
What I did:
irc.open_connection()
irc.authenticate("<twich-username-string>", "<oauth-token-string>")
irc.join()

I was finally able to get a token.
Yet after connection worked: Connected to Twitch. At: res://addons/twitch_irc_client/twitch_irc_client.gd:142:_on_web_socket_connected_to_server()
It just closes the connection again: Connection closed. At: res://addons/twitch_irc_client/twitch_irc_client.gd:149:_on_web_socket_connection_closed()
What I did:
irc.open_connection()
irc.authenticate("<twich-username-string>", "<oauth-token-string>")
irc.join()

Okay I got it, I needed to wait for the connection to happen, yet
< CAP REQ :twitch.tv/commands twitch.tv/membership twitch.tv/tags

:tmi.twitch.tv CAP * ACK :twitch.tv/commands twitch.tv/membership twitch.tv/tags
< PASS oauth:******************************
< NICK peter_alfons_loch
:tmi.twitch.tv NOTICE * :Login unsuccessful

Maybe a tutorial on how to correctly set an authtoken with the right permission would help?

Okay I git the token thing fixed I will write up a ttorial for it.
Yet still the connection gets closed
Connection closed.
   At: res://addons/twitch_irc_client/twitch_irc_client.gd:149:_on_web_socket_connection_closed()

Now the login is not successful anymore....
Does the oAuth change after each use?
Why is it so much pain?
It was not much pain a few years ago.
I need help setting this up.

To complement my answer above: access tokens do expire. In my experience, tokens last for about 4½ hours. But you shouldn't rely on that expire time. Instead, you'd be pooling the Auth API periodically to ensure your token is up-to-date and, if that's the case, replace the expired token requesting a new one, using the refresh token you got earlier. However, you won't be disconnected from the IRC server if your token expires. Using a new token will only be required the next time you reconnect to the IRC server. For this reason, you also should check for a new access token if you haven't used your app in a while.
Everything else is explained in greater detail in the Twitch Dev docs.

Thank you for your answer I well try that and get back to this issue about it.
I am just wondering if my project even works in the way that I anticipated. The idea was that the user can easily connect to their stream, and basically I would only need to read the chat get who is a subscriber and fetch their names after they joined the stream.
I have seen that it appearantly is possible to connect to the chat without authentification but for some reason docs nowadays are written like they assume that the reader already knows hwo to do it anyway....
And for such a simple task I would have my customers do something far too complex for them.
The reason I decided for your addon was in fact, as you mentioned, that it is simple and to the point I could easily understand the code and what it is supposed to be doing, and was able to relate it to the docs.

With the CLI it works flawlessly. Thanks.
It also does not seem too complicated with it.
For streams longer than 4 hrs I will have to refresh it regularily. I will check on how to do that.

One thing you maybe could help me with is on how to get the dosplay-name besides the username. So I can use the username if a display-name is not available.

Take a look at the UserDetails class, included in the demo project (demo/commands/user_details.gd).


Feature/thread structure

this PR changes the way we handle and define a thread. Instead of grouping all tweets of the same user by conversation id, it further pulls out the "main" thread. e.g.
Given the following thread structure, the "main" thread would be: 1 -> 1.1 -> 1.1.1
Tweet 1 (2024-06-13 08:00) (conversation_id)
|
|-- Reply 1.1 (2024-06-13 08:05)
|   |
|   |-- Reply 1.1.1 (2024-06-13 08:10)
|   |-- Reply 1.1.2 (2024-06-13 08:15)
|
|-- Reply 1.2 (2024-06-13 08:20)
|   |
|   |-- Reply 1.2.1 (2024-06-13 08:25)
|   |   |
|   |   |-- Reply <IP_ADDRESS> (2024-06-13 08:30)
|   |   |
|   |   |-- Reply <IP_ADDRESS> (2024-06-13 09:35)
|   |
|   |-- Reply 1.2.2 (2024-06-13 08:40)
|
|-- Reply 1.3 (2024-06-13 08:45)
|
|-- Reply 1.4 (2024-06-13 08:50)
    |
    |-- Reply 1.4.1 (2024-06-13 08:55)
    |
    |-- Reply 1.4.2 (2024-06-13 09:00)

Hi @weswalla , is this ready for review and merge?

hey @pepoospina , I think it's best to discuss it with the whole team before merging


Reconstruction Image Decode

Hey,
When I was trying to decode the reconstructed images, I found that there's no related code about it. So I am here to ask how to save the reconstructed image as '.png' format?
Best,
Davis

Oh I finished this step. But I want to know how to set the 'img2img_strength' value will be better. Is 0 only representing the Low-level process output? And the value 1 represents the whole high-level output?

Moreover, having seen the visualization results. The results do have a little bit difference from your released result. So I am wondering about during the experiments, were the results generated basically stable ( or in the same level) each time?


added check to see if location was None before getting timezone

added check to see if location was None before getting timezone from secrets
previously, if a location parameter was supplied, it was overwritten by the value in secrets.

okay, I think that got it.  thanks for the tips on how to complete it.


Remove Flag.X_GOT_ALL_HEADERS. Fixes #891

Should fix issue #891.

Thanks!
One small thing: Next time please put "Fixes #[issue number]" on its own line.


Define scope / MVP for FOSS usage

https://docs.google.com/document/d/1ogL5VKRNAfJMfAybztRL2EJ2-Sx3NBsT3ZErNYU1gXY/edit?usp=sharing has a bunch of this throughout but we need a solid 1 paragraph of what this is and why it's useful.

I cleaned up the doc a bit, but feel free to rearrange, fill in the blanks, and make it logical.  With regards to MVP, is it standard ELMS + OpenCollective integrations such as Tracking community engagement and Advertisement for project sponsors? Will we be incorporating LRN WebComponents and other features/functionality not yet in standard ELMS?
I guess that's some of what we'll figure out in this doc!

Definitely somethings to figure out in the doc. ELMSLN has LRN baked all across the platform tho so that part is a [x] :)

@btopro The google doc linked in the issue description needs to be swapped out with this -
https://docs.google.com/document/d/1ogL5VKRNAfJMfAybztRL2EJ2-Sx3NBsT3ZErNYU1gXY/edit?usp=sharing
Unless there's actually a better way to scope these sites in the open?!?

Based off @gusaus ' commend on slack I am going to create a new issue with discussions we need to have before a release is possible. Eventually I'll switch this over to sprint tags...but for now, I want to capture my thoughts in a checklist

I wanna add this related convo from #drupalopenlearning (Drupal Slack) before it disappears:
From gusaus

@btopro Can you refresh my memory regarding how we can use ELMS / Open Ulmus for Drupal Open Learning projects.
For example, let's say we're ready to begin what is poorly described here - https://github.com/DrupalOpenLearning/administration/issues/8
Would that reside somewhere on https://online.openulmus.org/ or could it be on say a subdomain of http://drupalopenlearning.org/
Possibly I've completely forgotten how this could work :grinning:

From btopro

@gusaus so we typically treat that online site like a backend management system. It helps us orchestrate and produce courses
Then we add a course there and say “hey this has content” so it creates a content space for it
in the case of Drupal open learning, this then would be told to be a public space anyone can use
think of it like a multi-site factory that’s cranking out drupal sites that are heavily configured in a certain direction and then can be tweaked from there as needed
for example: http://stem-researchethics.org/edsr002/ is an Open research ethics resources powered by ELMSLN but it doesn’t actually live at that domain
it has a normal “courses.whatever” style address but then we point the vanity domain over to it

From gusaus [12:31 PM]

@btopro What you just described there sounds like a great intro to a how we're using ELMS for Drupal Open Learning - whoever is the ID/PM mentor for the project can fire up Twitch to show folks how it's done - possibly pair up with an apprentice to do the actual setup. Each little working session can be archived as a Drupal Dojo session. :ninja:

From btopro [12:32 PM]

cool dood
when u get a point person let me know; we def have the stuff there to at minimum make a nice little housing for some trainings / walkthroughs as well as things to help with self-check exercises / interactive question building
the little xAPI course demonstrates that stuff throughout if you’ve clicked around

From gusaus [12:39 PM]

I was thinking more of the ID/PM mentor role as we were discussing here - https://github.com/DrupalOpenLearning/administration/issues/8#issuecomment-319501601
Not sure if Katrina has current availability/interest, but the point person would be more on the ELMS side?

From btopro [12:40 PM]

well, someone to make courses, ask questions, etc
to get up and going I dont think u need someone to build new functionality; you need someone to start setting up stuff in it and come up w/ areas they need new functionality
I mostly just mean like I can’t be the point person on it cause our team needs to stay focused on build mode for the platform, fixing bugs ppl find and improving author UX

from gusaus [12:48 PM]

Sure - so if Mark is still tasked with https://github.com/elmsln/openulmus.org/issues/2 possibly he can find some point people (and help run the Twitch sessions?) - if our needs are clear I think Drupal Dojo will be a good vehicle for seeking out contributors and other types of support we need

We're touching on multiple issues in this convo, but with regards to my first question regarding "ELMS / Open Ulmus for Drupal Open Learning (website and projects)", is the MVP we're attempting to scope out here a product or distribution (in Drupal terms)?
Similarly, if one of the many OSS projects in wants their own instance of Open Ulmus for their own site/training program as we touched on here https://github.com/elmsln/openulmus.org/issues/2#issuecomment-328946587, will this MVP be the base product?
Will the team we're trying to put together in https://github.com/elmsln/openulmus.org/issues/2 be providing Open Ulmus as a service?

Following up on a couple bits from the @btopro convo https://github.com/elmsln/openulmus.org/issues/1#issuecomment-331521363

is the MVP we're attempting to scope out here a product or distribution (in Drupal terms)?

i.e. we could set up an 'Open Ulmus' project on d.o. if there was good reason to do that?

We will be building #7 as the first priority of this scope. We need the following resources and discussions to occur to begin.

[ ] Course Objectives (What do people hope to get out of this course? Skills? Certificate? Etc?)
[ ] Course Content (How long? What types of media? Exams? Activities?)
[ ] Budget (Where is the budget coming from? Which collectives are in scope? Hourly vs. Set amount?)
[ ] Content Release Date (When is it? Who is reviewing content? Will course be tested on group for feedback?)
[ ] Release (When is it? How do we advertise it? What does it cost? Etc.)

https://www.udemy.com/ is probably not the best example, but illustrates some of the functionality (search by category, top courses, become an instructor, etc.) that I'd think we'd want for https://openulmus.org/
I'm assuming incorporate some of these elements on the Open Ulmus site?

That seems reasonable to me. openulmus.org would be the landing page then. That could be used to advertise the courses that live in its system. I will add additional issues/tasks in getting that site created.

If my role is responsible for this, then this is the vision I see:

Landing page of open ulmus describing what it is, how it works, and courses offered
courses powered by elmsln (first one being drupal open learning / open ulmus)
Some advertisement for the collective so that we can keep the platform running and pay contributors for their efforts

@cleverington this Drupal-Dojo-Collaboration folder you shared with the templates and our high level doc, and subfolders. Is this intended for our high level organization and workflows or will there be a folder like this for every open learning project? Maybe both?
As I think all these resources would reside on Open Ulmus, possibly we should rename or dup this folder Open-Ulmus-Collaboration as a way to better organize the scoping of and collab of this project?

Honestly I was just drafting out some plans and thoughts, for content I assume will end up on OpenUlmus?

I think that makes sense with the flow of open ulmus encompassing these other projects :)

So why don't we rename or dup the folder and share with the Open Ulmus project team -
https://github.com/elmsln/openulmus.org/wiki/(2)-Open-Ulmus-Core-Team

Folder name updated.  As mentioned in Slack though, I was using the folder more for a gathering of ideas as my knowledge-base on the project onboarded better.  ^-^
I just had to share it via folder because draw.io was being weird.

So as far as roles go - How about we separate it into Program team (hat wearing essential roles to start the initiative) and Project team roles such as developers, IDs, etc. that can be added in once the initiative is built?

If we lock this down - I think that we are in a good place to resolve #2

So random question that I may have asked before… when Open Ulmus to the point of MVP - is that going to be something that can be downloaded - like a product or drupal distribution?  I know it’s going to be mainly ELMSLN, but there are probably going to be different features, the primary domain/landing pages would be different…uhhh… does that sorta makes sense?

everything made towards it should be open
[4:21]
for example: Adding support for a payment gateway to buy courses; that sounds like a great add on to elmsln
[4:22]
contributed to elmsln core as an optional module, lives there; hey download elmsln if u want to run ur own stack
[4:22]
if ur talking little marketing sites and what not; if part of that is getting GravCMS into ELMS:LN core; then that’s part of the contribution
[4:23]
the specifics of language and icons used in that theme to market the thing; that can live in a repo of it’s own as like a “hey here’s some customization we did to elmsln to use it for our purposes”

@btopro Based on what you're saying above, I recommend the following -

[ ] we set up a collective for Open Ulmus https://github.com/elmsln/openulmus.org/issues/25
[ ] we direct our fundraising efforts (once we put together a plan) to https://opencollective.com/elmsln as mentioned in https://github.com/elmsln/openulmus.org/issues/22#issuecomment-341850611

Does that sound like a good approach?

yup

I think we need to incorporate the comments regarding digital infrastructure into our scoping doc.
https://github.com/elmsln/openulmus.org/issues/7#issuecomment-342698982
https://github.com/elmsln/openulmus.org/issues/7#issuecomment-342841944
https://github.com/elmsln/openulmus.org/issues/7#issuecomment-342850619

With regards to the digital infrastructure as outlined here -

Are those intended to be working groups that can leverage Open Ulmus to create their own community courses and training? If so, it seems like the platform we're building for Drupal Dojo (which will be a child distribution of Open Social https://www.drupal.org/project/social) could provide the framework for powering those types of groups. https://github.com/DrupalOpenLearning/drupaldojo/issues/23
If that's a possibility, we should include the Dojo platform in the overall Open Ulmus scope https://github.com/DrupalOpenLearning/drupaldojo/issues/4

I believe this is the intent. That subset (of course) is merely the Drupal subset. But it'd allow for FOSS communities to organize into sub-communities under a common platform.

Right - so if we include the Dojo flavor of Open Social in the Open Ulmus network, other FOSS communities will be able to use to organize their own community.

In an attempt to clarify how this community enabling child distribution of Open Social could eventually be part of the Open Ulmus offering. https://github.com/elmsln/openulmus.org/issues/1#issuecomment-343364964
Maybe we should call the potential product 'Open Ulmus Community', 'ELMS:LN Community', 'Open Social Education' or something that better describes the primary use case.
We should include the Drupal Dojo site in our project scope since it will enable us to configure the site and include features/functionality that can extend to Open Ulmus (and vice versa).
As we've already included Drupal Dojo collective as a way to sustain our team, consolidating the project scope should not introduce any additional responsibilities or scope creep. If anything we'll be able to make better use of the largest community in Drupal as a way to bring in additional contributors and sustainers for all our projects.

This snippet of a conversation with one of the Open Social leads may provide a sense that there is already potential overlap between Open Social and ELMS:LN.

The case study and public roadmap should provide further insight -
https://www.pachamama.org/engage/awakening-the-dreamer
https://receptive.io/app/#/graphical-roadmap/72a2bdb4-1b62-4875-974a-0e93899a4a29

Perhaps we can make a similar roadmap for Open Ulmus. I think it would be beneficial to see if we could coordinate with their group to see if they would like to integrate into our system (potentially for their bigger clients that would need bigger EDU platforms).

hype != product https://github.com/LRNWebComponents/hax-desktop-app is a thing that you can take and do an npm install and spin up for local development and see where it's at. This would be a good place for you to onboard contributors or at least to get experience with the concept and what it's doing.

I've been doing a pretty good job talking this up to several groups/initiatives in Drupal and OpenCollective. The interest/demand is extremely high!
That said, we've been unable to move anything forward without a completed project scope and a dedicated project manager. If there's nobody already involved with ELMS:LN available to fill those roles, I think a company that already has a vested interest and resources for providing estimates, dev tools, documentation, mentoring, and potentially hosting PaaS would be the best candidate to take the lead and receive whatever benefits (logo displayed all over the place, video/podcast spots, contributors to this OSS platform etc.) would be considered a good return.
🤔

there's plenty of scoping and tons of talk about doing this but little action in awhile. If pantheon is offering what you just proposed then you should move people in that direction, it just won't be called open ulmus. (tone: if that's what you want to do and have the best shot of doing for your drupal open learning thing)
We honestly do very little drupal anymore, if that's the best path for your DOL thing then please go do that. Open ulmus via elms:ln + hax is on it's own trajectory, if it ends up aligning in the futre cool, if not then that's fine. If you are pinging these threads to try and get me to more actively pursue these efforts directly then it will not occur. I have a wheelhouse and am sticking to it, eventually, open ulmus and open, free training will just occur because of other projects but it will not be overprioritized in our roadmap to shift things ahead faster at the expense of our real needs and directions at penn state. The two are not the same (to get this in writing somewhere) but obviously the open contributions of one help build up the other.


Convert NMS to reflection

Currently NameLayer uses a combination of NMS and reflection to change a player's name. However, it is possible to do this using only reflection and no NMS.
Removing the NMS dependency would:

make it so that we do not need to create a new subproject for each new version of Minecraft.
allow us to remove all of the NMS subprojects from the repository, making it easier for new developers to find their way around.
allow us to remove the ridiculous circular dependency where the subprojects depend on the main project and the main project depends on the subprojects.

Is there an interest in having this done, or is there an issue with using only reflection that I am unaware of (as opposed to using both NMS and reflection)?

How could you use reflection without referencing the objects required to
change them?

By obtain their classes and instances using reflection. More code will be needed, but I think the benefit of no longer having to create a new subproject with each version outweighs that.
Here is an example in an incomplete plugin I've written.

I've seen both ways used to great success in projects, and honestly I find the subproject approach like NameLayer, NoCheatPlus, Orebfuscator and others use to be, ultimately, clearer and cleaner then the pure reflective approach.
As well we can probably do better on the dependencies issue within the subprojects here, that's never sat well with me. I'll look into it.

My thing with the current system is it does allow people to build NameLayer
without needing the nmS stuff.
On Jul 1, 2016 10:42 PM, "Daniel Boston"<EMAIL_ADDRESS>wrote:

I've seen both ways used to great success in projects, and honestly I find
the subproject approach like NameLayer, NoCheatPlus, Orebfuscator and
others use to be, ultimately, clearer and cleaner then the pure reflective
approach.
As well we can probably do better on the dependencies issue within the
subprojects here, that's never sat well with me. I'll look into it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Civcraft/NameLayer/issues/203#issuecomment-230079513,
or mute the thread
https://github.com/notifications/unsubscribe/ABkpKEWZaGVFDZRrxUXWrq355zHtAuRZks5qRc_3gaJpZM4JDk_o
.

Either way is fine but I thing we should keep the modules regardless
On Jul 1, 2016 10:47 PM, "Rourke750"<EMAIL_ADDRESS>wrote:

My thing with the current system is it does allow people to build
NameLayer without needing the nmS stuff.
On Jul 1, 2016 10:42 PM, "Daniel Boston"<EMAIL_ADDRESS>wrote:

I've seen both ways used to great success in projects, and honestly I
find the subproject approach like NameLayer, NoCheatPlus, Orebfuscator and
others use to be, ultimately, clearer and cleaner then the pure reflective
approach.
As well we can probably do better on the dependencies issue within the
subprojects here, that's never sat well with me. I'll look into it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Civcraft/NameLayer/issues/203#issuecomment-230079513,
or mute the thread
https://github.com/notifications/unsubscribe/ABkpKEWZaGVFDZRrxUXWrq355zHtAuRZks5qRc_3gaJpZM4JDk_o
.

Hardly anyone looks at the subprojects, so I think sacrificing clarity in exchange for no longer having to look at that code at all makes sense. If you guys would like, I can throw something together and make a pull request so you can better compare.
In the event that it is decided the subproject method is preferred, I think that at the very least it would be good to select the GameProfile field from the EntityHuman class using pure reflection instead of looking up the obfuscated field name and hardcoding it into each version.