Do not set projection extent in WMTS optionsFromCapabilities unless matrix set projection is also supported

Fixes #11738
If the matrix set does not contain a useable projection an error is thrown by ol/tilegrid/WMTS.createFromCapabilitiesMatrixSet (where an assertion might be nicer than Cannot read property 'getMetersPerUnit' of undefined)  It seems inappropriate to set the extent of the projection supplied in the WMTS optionsFromCapabilities config options to the matrix extent unless it is going to be used.

I inadvertently chose a layer with TileMatrixSetLimits for a test and found the limits were reflected in the projection extent.  Beyond the scope of this PR but perhaps a new issue as that might not be desirable, for example if multiple layers were to be used as in https://labs.os.uk/public/os-data-hub-examples/os-maps-api/zxy-example-change-style (but using EPSG:27700 and WMTS with the Leisure layer) the outcome could depend on the order the layers were defined.

I inadvertently chose a layer with TileMatrixSetLimits for a test and found the limits were reflected in the projection extent. Beyond the scope of this PR but perhaps a new issue as that might not be desirable, for example if multiple layers were to be used

Absolutely right @mike-000, that's not desirable.

And thinking about it more, I feel like having the optionsFromCapabilities function set an extent on a projection at all is wrong. Since optionsFromCapabilities uses WMTSTileGrid#createFromCapabilitiesMatrixSet to create a suitable tilegrid (with the proper extent), I see no reason why #9590 added this if-block in the first place:
https://github.com/mloskot/openlayers/blob/98e8bec3709364b5fd14dd71a4e4e72dcf4ae1c9/src/ol/source/WMTS.js#L396-L398
@mloskot Can you maybe shed some light on this? All tests continue to pass with that block removed.
@mike-000 I'm leaving this pull request open until we hear back from @mloskot.

Creating new projections will mitigate against setting the extent of a single shared projection too small, but I agree that setting projection extents based on the tile grid can be meaningless.  Esri's tile grid for EPSG:27700 as used in the Raster Reprojection example is much larger than the normal projection extent with the OS Overview map reduced to a few pixels in one corner of the 0/0/0 tile.  If used as the limits for reprojection that would probably cause errors.

@ahocevar TBH, it's been a while and I can't remember exactly. I think I added that as a fallback, a safety net.

@ahocevar How to you wish to proceed?  The current code still sets an extent on the primary projection object which seems wrong in any situation.  Either a new PR to remove that line and always leave it to the application to set extents, or this best attempt at setting an extent on a new copy of the projection which may not be perfect but perhaps better than doing nothing?  A rebase was needed due to #11405 but that means my tests will need to be revised.

I'd say leave setting the extent to the application. If I'm not mistaken, that extent on the projection is only relevant for wrapX.


Update Positioned documentation to mention that Overlay also uses Positioned

Currently it only mentions Stack: https://master-api.flutter.dev/flutter/widgets/Positioned-class.html

Maybe: dedup RenderStack and _RenderTheatre so we can refer to the new abstraction as "the stack layout algorithm": https://github.com/flutter/flutter/pull/105335#discussion_r927984457

Also maybe reference CompositeTransformTarget/Follower.


✨ MDN Docs for language service

Description
Add inline MDN docs support for classes, highlighting browser support, issues and description of the feature

Good suggestion, we expect to implement the API with VSCode CSS Language Service to make hints the same as native CSS. https://github.com/microsoft/vscode-css-languageservice/blob/main/src/data/webCustomData.ts #129

🎉 The feature has been added in v2.1.23


Make Runner Flavour (Pod Resources) configurable

What is the feature you would like to have?
Right now the runner flavour is a hard coded mapping to container requests and limits. It would be nice from a user perspective to provide a custom mapping of "runner flavours" to resource requests and limits in the runner container either in the provider config or pools extraSpec field like:
flavour:
  micro:
    requests:
      cpu: 100m
      memory: 100Mi
    limits:
      memory: 200Mi
  medium:
    requests:
      cpu: 200m
      memory: 200Mi
    limits:
      memory: 300Mi

So one can reference micro or medium in a pool and the provider will spin pods with their respective resources
Anything else you would like to add?
No response

fixed with #24


Stop-gap for MOR Price Lookup

Currently “MOR” symbol doesn’t resolve properly. User needs to ask MorpheusAI.
Have a rule for mapping MOR to MorpheusAI.

this issue was made redundant by #30


Feature Request: Support for Direct Image Upload via S3 or Azure Blob Storage

Description:
Currently, BetterGPT supports image uploads via base64 encoding. To enhance flexibility and scalability, we propose adding support for direct image uploads via Amazon S3 and Azure Blob Storage. This feature would allow users to automatically upload images to these cloud storage services and provide the URLs directly to the API, improving efficiency for large-scale applications.
Proposed Solution:

S3 Integration:

Allow users to configure their AWS credentials (API Key, Secret Key).
Provide functionality to upload images directly to an S3 bucket.
Generate and use the S3 URL for the image in API requests.

Azure Blob Integration:

Allow users to configure their Azure Storage credentials (Account Name, Account Key).
Provide functionality to upload images directly to an Azure Blob container.
Generate and use the Azure Blob URL for the image in API requests.

API Changes:

Modify the existing image upload (via blob64) to accept URLs from these cloud storage services.
Add config sections for configuring AWS and Azure credentials.

Library Dependencies:

Add relevant libraries for AWS SDK for JavaScript:npm install @aws-sdk/client-s3

Add relevant libraries for Azure SDK for JavaScript:npm install @azure/storage-blob

Documentation Update:

Update the API documentation to include examples and guidelines for using S3 and Azure Blob URLs.
Provide instructions for setting up AWS and Azure credentials.

Benefits:

Scalability: Supports large-scale image processing without the need for base64 encoding.
Efficiency: Reduces the overhead of encoding/decoding images.
Flexibility: Allows users to leverage existing cloud storage solutions.
Automation: Simplifies the process by automatically handling the upload and URL generation.

Example Use Case:
{
  "model": "gpt-4o",
  "messages": [
    {
      "role": "user",
      "content": [
        { "type": "text", "text": "What’s in this image?" },
        { "type": "image_url", "url": "https://example.com/path-to-image.jpg" }
      ]
    }
  ],
}

Configuration Endpoints:

AWS S3 Configuration:
{
  "aws_access_key_id": "YOUR_AWS_ACCESS_KEY_ID",
  "aws_secret_access_key": "YOUR_AWS_SECRET_ACCESS_KEY",
  "s3_bucket_name": "YOUR_S3_BUCKET_NAME"
}

Azure Blob Configuration:
{
  "azure_account_name": "YOUR_AZURE_ACCOUNT_NAME",
  "azure_account_key": "YOUR_AZURE_ACCOUNT_KEY",
  "azure_container_name": "YOUR_AZURE_CONTAINER_NAME"
}

Additional Information:

Ensure security measures are in place to handle S3 and Azure Blob URLs.
Validate the URLs to prevent unauthorized access.
Handle error cases where the upload to S3 or Azure Blob fails.

Implementing this feature will significantly enhance the user experience and broaden the use cases for BetterGPT's vision capabilities.

url support should should help with this


Changing redmine issue ID duplicates entries

After changing redmine issue id in toggl new entry is added to new issue but old one remains unchanged.
Effectively my logged work time has duplicated.

@me
use http://url/time_entries.json?key=xxx&spent_on=2016-11-09&user_id=me


build(npm): include all css files in sideEffects

It should fix gatsby not including simplebar-react/dist/simplebar.min.css in production build.
Closes #511

Hi,
I think this PR is refering to the beta version which is on the next branch and not on master. Your PR is pointing to master so if you could change it to next so I could merge!
Thanks.


[howtos] update Langfuse cookbook

Updated the Langfuse cookbook: Edit links and structure

@jannikmaierhoefer sweet! thanks alot for adding this 🙂


Support for MobileNetV2

Hi, I recently got into pruning in a uni project and think your package is really awesome! :)
I was curious if there is already some support for MobileNetV2? I am currently experimenting with it and it would be great if it was already supported by the distiller package.
If there is no support for MobileNetV2 architecture: What would be the steps to make structured pruning possible for MobileNetV2? Implement a YAML model of the layers to be pruned and entering a *.py sourcefile that contains the architecture of MobileNetV2?
Is there anything else to consider?
Any help is greatly appreciated!
Best regards,
Tim

Hi @asti205 ,
We do support for mobilenet_v2, and pruning it is as easy as python3 compress_classifier.py -a mobilenet_v2 <the rest of the argument> (from <distiller root>/examples/classifier_compression).
Ofc, you have to provide a .yaml for the compression scheduler, and each pruner will hold the names of the parameters (weights) that you want to prune. Refer to our docs for more info.
Let me know if you have more questions.
Lev

Closing due to inactivity.  Please reopen if needed.


[WORKFLOWS-480] Include input/output names to the manifest format

This PR builds on top of #4 and improves the manifest format by restructuring the inputs and outputs of each task. Now, the names (including any emit names) are included in the output. Unfortunately, I'm not able to get these consistently, but I think this is a good place to start. I also "normalized" the output so that the tasks aren't duplicated under the published files. Instead, I'm using task IDs as "foreign keys". Lastly, I updated the test workflow to better feature the input/output name functionality.
Here's an example of the latest format: manifest.json

I'm glad the README instructions worked for you. I updated the launch.sh file to work with them.

I'm curious as to why the tuple output isn't being emitted as an array with emit: value

I suspect that it has to do with the way that Nextflow handles inputs/outputs in a task run vs the process definition. I might ping Paolo for help with this one once I've done a bit more research into the various Groovy classes.

Since you excluded the $, just out of curiosity, did they ever have values associated with them or was it just blank?

It was always true. I need to figure out what it means, but I'm omitting it for now.


[builder] Intuit instance names better, fixes #966

Implements @arrowtype's suggestions for finding the instance name more comprehensively.

Woah, awesome work in improving this so quickly! A quick Look at the changes is informative, and it looks like this would work great.


Restrict the number of reports accepted based on Topic settings

User Story
As ReportStream, I want to ensure that senders submit a single report with a single message/bundle when using the passthrough method, so that reports can be routed as expected.
Description/Use Case
In some cases, we need to confirm that senders only send a single report per submission. For example, senders using the original message passthrough feature should be restricted to a single report and a single filename. If the number of reports received is not within the expected range, the submission should be rejected.
Risks/Impacts/Considerations
Dev Notes
Acceptance Criteria

[ ] Report submissions are rejected if the number of messages in a received report are greater than 1.

Hey team! Please add your planning poker estimate with Zenhub @arnejduranovic @jack-h-wang @jalbinson @JessicaWNava @JFU-NAVA-PBC @jimmyfagan @mkalish @thetaurean

Please add your planning poker estimate with Zenhub @jack-h-wang


small ux tweak

*Issue:*https://github.com/bcgov/entity/issues/19094
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

/gcbrun

Temporary Url for review: https://bcregistry-btr-dev--pr-97-lrgbhcng.web.app

/gcbrun

Temporary Url for review: https://bcregistry-btr-dev--pr-97-lrgbhcng.web.app


Remove XCloud library?

Hi!
I have been trying to find how to remove XCloud library but there is no option as it is in other Libraries on settings and I couldn't find any way googling, how could I remove this library if I wish no longer to have it on Playnite?

remove the games and the library plugin


[GPII-4003]: Clean up :destroy_hard, reenable :destroy_tfstate in :test

CI skips :destroy_tfstate in :test for ephemeral clusters:
https://gitlab.com/gpii-ops/gpii-infra/-/jobs/248496212
Reason is that :test tasks are part of :destroy_hard_and_deploy_ci, and :destroy_tfstate already being executed as part of :destroy_hard, so it needs to be reenabled before invocation as part of :test.
Also, there is no need to destroy locust state in :destroy_hard anymore.

lgtm


Add a Docker Playground

Would it be possible to add a Dockerized version of the playground?
One that people could run without the need to import the appRouter to setup the playground?
I believe that to make it possible, we would need a way to get the router configuration from the trpc endpoint.
Does that functionality already exist?
If not, would it be possible to sync with the trpc team and make it?
I love this project, and I think its super important for the trpc community.
I would love to help contributing.

@sachinraja Yeah.. I think you are right...
If we had a way to print the router configuration on a specific endpoint, we maybe could be able to use that for setting up the playground, but we can't print the AppRouter interface, since interfaces don't exist in runtime.
I tried to print out the actual appRouter object to see if we could use it as a schema for the playground, but it doesn't seem like an easy task.
// console.log(JSON.stringify(appRouter, null,2))
{
  "_def": {
    "queries": {
      "test.hello": {
        "middlewares": [],
        "inputParser": {
          "_def": {
            "innerType": {
              "_def": {
                "innerType": {
                  "_def": {
                    "unknownKeys": "strip",
                    "catchall": {
                      "_def": {
                        "typeName": "ZodNever"
                      }
                    },
                    "typeName": "ZodObject"
                  },
                  "_cached": null
                },
                "typeName": "ZodOptional"
              }
            },
            "typeName": "ZodNullable"
          }
        }
      }
    },
    "mutations": {},
    "subscriptions": {},
    "middlewares": [],
    "transformer": {
      "input": {},
      "output": {}
    }
  }
}

I really think it would be a great feature to be able to run the Playground on docker by only setting the API endpoint as an environment variable.
But, sadly, it doesn't feel like a trivial solution..

I'm starting to understand more the codebase.
And I realized that you already have an API that is returning the "schema" of the trpc.
// POST: http://localhost:3000/api/trpc-playground
["declare function query<QueryName extends 'hello' | 'hello_num' | 'subtract_nums' | 'add_nums' | 'no-args' | 'date'>(name: QueryName,...args: QueryName extends 'hello' ? [({\n    text: (string | undefined) | null;\n} | undefined) | null] : QueryName extends 'hello_num' ? [({\n    text: number;\n} | undefined) | null] : QueryName extends 'subtract_nums' ? [{\n    a: number;\n    b: number;\n}] : QueryName extends 'add_nums' ? [{\n    a: number;\n    b: number;\n}] : QueryName extends 'no-args' ? [undefined?] : QueryName extends 'date' ? [Date] : never): void","declare function mutation<QueryName extends 'delete_last_user'>(name: QueryName,...args: QueryName extends 'delete_last_user' ? [undefined?] : never): void"]

Couldn't we put this inside the main trpc repo?
For example: POST: /api/trpc/_schema
I believe that if we could do that, people would be able to run the dockerized playground without having to make any changes to the code.
What do you think?

I don't think we'll be doing anything like that in core. But we can potentially offer an option to pass that "schema" instead of your router.


Catch Method Not Found in Migrate before/after

So they don't call actions

No longer relevant since all2all


Improvement: Enlarge the arrow-button for installation status

At the moment it would benefit from being enlarged to improve the usability; UX.
It would probably also improve the UI in the process since there's an opportunity to ensure the margins on each side are in perfect symmetry in relation to the arrow.

Done!


Unable to chop down dark oak with custom item

Hello,
we plax on a server with IndustrialCraft2 on 1.10.2 and we added the chainsaw to the mod config. I can chop down trees just fine with it but dark oak doesn't seem to work. I don't get a notification in chat and only get one block, not the whole tree.
It might be an issue with the chainsaw not having durability in the normal sence. It is a charchable item that works fast as long as it has energy, if it runs out it is slow but still works. Could you please look into it?
Daenara

Hello,
yes I will look in to it, but right now, I am busy with school :(

Not a problem, I just have to keep crafting axes to chop down big trees. Just look into it when you find time.

Hello,
I just tested your problem and it works fine for me..
If you have a fuel, you can chop down a tree, but if you doesn't have enough fuel, you are able to break just one block.
Tested on several variants of wood.


500 Internal Server Error

I followed "Prerequisites" only and checked home page:
500 Internal Server Error
Exception inside application.
Daphne
Then getting this in log:
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
May 25, 2023 - 20:24:40
Django version 4.2, using settings 'djangoproject.settings'
Starting ASGI/Daphne version 4.0.0 development server at http://<IP_ADDRESS>:8033/
Quit the server with CONTROL-C.
Exception inside application: call() takes 3 positional arguments but 4 were given
Traceback (most recent call last):
File "/home/jm7647/django/django_env/lib64/python3.9/site-packages/django/contrib/staticfiles/handlers.py", line 101, in call
return await self.application(scope, receive, send)
TypeError: call() takes 3 positional arguments but 4 were given
HTTP GET / 500 [0.88, <IP_ADDRESS>:39124]

Oops! Ignore this - there was a typo in ASGI_APPLICATION


Added a database view screen

Closes #1
Use the following commands to run a test (assumes you have Python installed):
flutter clean
flutter build web --release
cd build/web
python3 -m http.server 8000

Test the local build in a web browser at http://localhost:8000/. You can log in with the temporary credentials (read-only permission):

email<EMAIL_ADDRESS>password: AuthTest@2023

Looks good! I did not any numbers in the ID column. Are they hidden for a reason?

Nevermind, that is only for the NOV items. The APR/MAY all have IDs.


CoreUI Alba to Bootstrap v4.1

Hi,
Is it possible to convert the CoreUI Alba theme to Bootstrap 4.1? Is there an upgrade steps documentation available?
I do not think there is much changed in Alba versus default Bootstrap, so I wanted to know if there is a custom styles css with only the addional styling versus default Bootstrap. Or how to do it ourselves.
Thanks!

Hi @cannect
We are working on this.

Also see https://github.com/coreui/coreui-react/issues/57

https://github.com/coreui/coreui-react/issues/57 is related

https://github.com/coreui/coreui-free-bootstrap-admin-template/issues/233 is related

Support site thread https://community.coreui.io/t/alba-theme-update-to-bootstrap-4/40


Change faq to rst

Follow up to #421, merge after that.

allows for admonition
fixes reST/Sphinx directive used in Markdown
removes dead link

DO NOT MERGE YET!
Dependent on #421: once that is merged, this PR will be updated and can be merged.

(I updated the top comment to mention that this follows on from #421.)

I'd be +1 on adding a How to edit your files interactively section to Howto. Nice addition @evertrol !

Merged!


[WP8] Input label shift out when focus in

I tried ionic sidemenu start project on my Lumia 720(wp8), and it's something wrong on input label. When input get focus, the label shift left out of input and not shift back when input out of focus. Screenshot there:

I know ionic not support windows phone, but I still hope that this amazing framework can appear on my favorite platform :P

I'm having this problem too

No updates on WP8. It is still not a supported platform

I understand that. But do you have some thoughts on this issue?

Here's a demo of the issue

Also sometimes <input type="password"> behaves strange, you can't type anything in it

Password is working for me everytime

Hello, I had the same problem on my website and setting flex-shrink to a value > 0 fixed the problem.

Can you send that code piece?


Correction to multiset definition.

There seems to have been an error in the set and multiset definitions involving the wrong numbers of template functions which I've corrected. (multiset and set expect 4 arguments, not the 5 they were receiving, which I think was leftover from the b-tree map types.)

Oh! Thank you! ...we need some tests here.


[Clarification] About multilevel transactions behaviour

When I do:
DB::beginTransaction(); //T1
Device::insert(array("submit_hash" => "trial"));
DB::beginTransaction(); //T2
Device::insert(array("submit_hash" => "trial2"));
DB::rollBack();
DB::commit();

then both the queries are getting inserted into Device table. This is a feature or bug?
Essentially I have cancelled the T2.
According to specs of MySQL, multilevel transactions are support.

Please ask on the forums.


refractor torrent to make it easier to add new sources

moved the storage creation into a module ‘torrent-manager’ this will
allow for further source to be added easily.

Sorry this PR never got merged, but it's way out of date now so I'm going to close it.


Sending raw WAV data: should I enable compression?

I'm sending raw WAV data on my websocket: does Starscream's built-in compression make sense?
Thanks!

I don't know, but I doubt it. Gzip compression on a WAV data doesn't make a lot of sense to me as usually video/audio formats are fairly compressed by default. Usually compression is used for text based protocols.


postgres plugin build issue

Able to successfully do the cargo build for postgres but don't see libindystrgpostgres.dylib getting generated. After successful build I see these files under target/debug/ folder
indystrgpostgres-4c6aead9638eafd3*
indystrgpostgres-4c6aead9638eafd3.d
libindystrgpostgres.a
libindystrgpostgres.d
libindystrgpostgres.rlib
libindystrgpostgres.so*
Because of this load-plugin library=../experimental/plugins/postgres_storage/target/debug/libindystrgpostgres.dylib initializer=postgresstorage_init fails with the file missing error.
Please advice .

What platform are you running on?  The .dylib is a Mac-specific library

Ok, it is ubuntu 18 and I am referring to script at location https://github.com/hyperledger/indy-sdk/blob/master/experimental/plugins/postgres_storage/cli_ps_test.txt
What should I use in place of .dylib ?
Thanks

Yes use the .so file


Add support for the automation domain

Basic support to handle the automation domain.  Because all you really need is to toggle them on and off, it's just using the switch controller, but hey it works well.

PR submitted to maintained version of slider-button-card https://github.com/custom-cards/slider-button-card/pull/4


Introduce request/response logging

All incoming requests should be logged in a file. This should be implemented as an Aspect working for all Resources (REST/JSON services).

status request logging did not work (can't remember the reason). Continuing the work on this in #26


[docker] [fix] update kafka info record

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


37 revamp html

This is failing automated tests, which are looking for the old HTML. I think the solution is to update the tests to look for the new HTML instead.


Create Table indexes

For performance purpose, tables indexes and keys should be created, really.

[ ] users
[ ] dojos
[ ] events

I will take on this one


[BUG] ADD A TITLE HERE

User report
Description: ADD A SHORT DESCRIPTION HERE

Debugger data (do not alter)
plugin_version: "1.4.6"
platform: "Desktop"
framework_version: "1.5.3"
obsidian_version: "1.5.3"
selected_service: "google_translate"

Thanks for the bug report, please provide more information about the issue by filling out the title and description. I'll re-open the issue once more information is provided.


⚠ Visual-Crew_Builder has degraded performance

In aa83fd6, Visual-Crew_Builder (https://visual-crew-builder.ai) experienced degraded performance:

HTTP code: 200
Response time: 1195 ms

Resolved: Visual-Crew_Builder performance has improved in ba28df2 after 9 minutes.


[#35] Nudge hours params casting error

Description
Please provide a summary of the pull request and the issue it resolves. Please add necessary details, context, dependencies, explanation of when review is needed (see next section), etc.
Resolves #35
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[x] Immediately
[ ] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[x] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[x] I have updated the CHANGELOG.
[x] I have read the Contributor Guidelines.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[x] My changes generate no new warnings.
[x] New and existing unit tests pass locally with my changes.
[x] Any dependent changes have been merged and published in downstream modules.

Hi @petyos, I am once again merging this. Again feel free to make any changes or fixes as necessary. Thanks!


Renew webhook certificates

Webhooks must be contacted over TLS. For this, the controller is generating a Certificate Authority, and then it reconciles a certificate for every Policy Server.
After one year, secrets that have been reconciled by the controller will start expiring, and the HTTP calls made by the API server will start failing.
Write a controller that from time to time makes sure that all owned certificates are not close to expiring, and refreshes them if they are.

Archiving it


Errors not highlighted

Issue Type: Bug
Errors are not being highlighted in my editor. I have only installed a couple of basic extensions.
Language - C++
VS Code version: Code 1.53.0 (8490d3dde47c57ba65ec40dd192d014fd2113496, 2021-02-03T20:36:38.611Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.85GB (2.45GB free)

Process Argv
--crash-reporter-id ef90918b-af68-4242-8a18-748d98c3a7c1

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

code-runner
for
0.11.2

cpptools
ms-
1.2.0

errorlens
use
3.2.4

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30211402
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt600cf:30251589

Please use the Bisect command in Command Palette to check whether one of your extensions is causing the problem.

Here's a screenshot with Bisect. There are syntax problems but they are not highlighted on the editor nor on the scrollbar.

Closing this issue - first comment does not have enough details
Last comment from @soetji seems to be another issue, and the process of bisect does not seem completed
Thanks


pin to shas for actions and workflows

s/tags/digests for all actions and workflows

Submitted tbr since some tests failed that were unrelated to this.


SPI configuration for ArduCAM mini

Whatever the example I try with the ArduCAM mini, same error message SPI interface ERROR!
What are the exact settings for SPI and especially, which mode?
Thank you!

Have you resolved the SPI error? What's wrong with your setup?

I'm trying to use the ArduCAM library on a LaunchPad MSP432.
Problem is: SCK goes down after CS is down, resulting in a data mismatch.


Using ConfigMap for Operator Deployment Configs

Description:
Previously the operator level configurations read as environment variables in the operator deployment. It is better to add a config map to read those configurations instead of using environment variables.
The configurations that read from that config map are,

siddhiRunnerImage
autoIngressCreation
siddhiRunnerHome
siddhiRunnerImageSecret

Suggested Labels:
type/improvement

Fixed in https://github.com/siddhi-io/siddhi-operator/pull/34 by Buddhi..


.Exe file available?

Hi!  I really want to use this version of AssetStudio, but I have no idea how to compile this.  I've been working on this for an entire day, and it's just over my head.  Is there a .exe available for the GUI version of this for people like me who are completely ignorant of C++ or C# programming?

Never mind.  I found it, and TIL that I didn't understand how GitHub does things.

It's ok
also, the new version should be released around this week, I think


Update Objective-C and Swift to match Xcode.gitignore

Reasons for making this change:
The Objective-C and Swift gitignore files are missing *.xccheckout and *.xcscmblueprint, but these are still included in the Xcode gitignore. This commit synchronises the three files.
The files themselves contain information about the user's local source control status and shouldn't be included in most Xcode repositories.
*.xcuserstate appears to always be contained in xcuserdata/ which is already ignored. For this reason *.xcuserstate isn't included in Xcode.gitignore.
Links to documentation supporting these rule changes:
There doesn't exist any official documentation on the matter, however investigation has been conducted in the following stackoverflow threads:
http://stackoverflow.com/questions/31584297/xcode-7-ignore-xcscmblueprint-in-repository
http://stackoverflow.com/questions/18340453/should-xccheckout-files-in-xcode5-be-ignored-under-vcs/19260712#comment29617170_19260712
Investigation shows that these files are automatically generated by Xcode, and that their contents differ based on your repository setup. Specifically for git, because each user is using their own repository (as apposed to a single, central repository like SVN) the contents of these files are always going to be different for each user.

#2091 also discusses the duplication of these three files.

@commscheck thanks!


Use git tags for 0.34.0 release

PR #4 set the versions to the SHA for the tag, but we should be using the tag instead. The SHA was being used before to track a specific unreleased commit and should not be used for the actual release.

The contrib was not released when I made the PR so I picked latest. Need a new PR to update to the tag


Check IP Services - Plugin

Configurable check IP services.
Used by Dynamic DNS services to check IP addresses.
Configure as many check IP services as desired.  The first (highest in the list) that is enabled will be used as the default.
Include verify peer option.
A future possibility could be to add an option to the Dynamic DNS entires to use a specific check IP service.
Allows additional/private check IP services to be added and set as the default.

Ok, fine, since this is BSD license your right to use is unrestricted so no need to do anything.

On 3. Mar 2018, at 12:32, NOYB<EMAIL_ADDRESS>wrote:
@NOYB commented on this pull request.
In src/www/services_checkip.php:

@@ -0,0 +1,192 @@
+<?php

+/*
Only thing I'm interested in is retaining my right to use personally or in other projects.
As far as anyone else using it. Far as I'm concerned my portions of the code is public domain.
If necessary for that I guess you could add a NOYB at Github copyright.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

Merged, thanks!


Security: desktop app AND the website (aka this project)

Hi, I've looked at the desktop app "station-desktop" (https://github.com/terra-money/station-desktop/blob/d7b6b19635d3115bbe1c81483fdf841adf1ce2bc/public/electron.js) AND if you look at ipcMain.on('generateAddresses', async (event, seed) => { .. AND then if you search this project for ipcRenderer (or something else..) that calls generateAddresses. It's not here? If this project isn't calling generateAddresses and other functions inside the desktop app - who's calling them? Also does the desktop app return private keys back to the renderer?  Which in the case of the desktop app (since it's just a webview) should return data to https://station.terra.money/. That means leaking private keys, etc... From a non-Electron dev perspective this all looks a bit suspicious... I just need some clarification.. thx

@simcheolhwan can you please clear up these confusions, this bothers some people (who are not Electron devs) on Discord as well. I will give a link to this issue for these people so they can see your answer, cheers 💯

generateAddresses() is not used anywhere currently

@simcheolhwan @hanjukim ok, so that means the desktop app wich is just a webview of https://station.terra.money/.. Terra (as a company providing this website) "theorectically" can access generated private keys of all of it's users? I feel like most  users are forced to use the desktop app instead of using this open-soruce project as their main wallet. Especially if users want to create a normal wallet without buying Ledger hardware, they can only do so with the desktop app that shows a option "New wallet".. From my point of view this all looks unsafe... Hope you can clear this up for all Terra users thx

Can Terra theoretically access the user's private key?
Of course not. As you can read the code in this repository, there is no function to do so.
We even publish source maps of all the codes, so it's easy to tell if the website you're looking at actually built this repository.
Initially, the private key is encrypted with the user's password and stored only locally.
Also, there is no way for Terra to find out the user's private key without the user noticing it.
If we send some data to our server to find out the user's private key, as I answered before, some developers would have already caught it.


Java throws ArrayIndexOutOfBountsException when using trade with the offer index of the last offer

The screenshot is shown below. The villager associated with the trading interface has 8 offers.

I think the issue comes from these lines. The > in trade-1 > tileEntity.villager.getOffers().stream().toList().size() should be >= instead?

hello, i missed a -1 to the size of the list, since list refers to the total number of objects inside it not the indexing itself, its fixed now (i think) soon i'm going to push a new version with some new stuff and fixes for old stuff.


Confusion between 'id' and 'name'

This is an issue I ran into in TileMill, and it could be worked around in that project, but it seems like more of a Carto issue.
If a layer is created in TileMill, the MML JSON object for that layer will have an 'id' and a 'name' key each with the same value. The id is what is used to show the layer name in the TileMill layers list, but it seems that Carto actually (confusingly) looks at the 'name' value for the #layer-style selectors. Given that in CSS the # character is used to select the id property, I think that's what Carto should do too.
For example, an MML layer that has been manually edited to have "id": "foo" and "name": "bar" will need the style selector #bar { } in the MSS in order to render correctly. (The TileMill UI instead indicates that you should use #foo { } in the layers list, and the code editor will autocomplete #foo and not #bar.)

Regarding backwards compatibility and a smooth transition I would propose the following:
Merge a change that uses name if present and at the same time outputs a deprecation warning which states that name will be removed in carto 1.0.0. If id is present and name isn't, use id, else error. carto 1.0.0 should be reached in the forseeable future.


[BUG] ... multiple functions not working since recent YNAB update

Describe the bug
Toolkit reports blank.
Category open/close button missing.
Generally speaking, YNAB seems to have broken multiple functions in Toolkit.
To Reproduce
Steps to reproduce the behavior:

Open YNAB.

Press F5
Category open/close button is back.
This happens multiple times.

Toolkit reports are blank.
Expected behavior
Normal function, as before.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Windows 10 Home
Chrome v79.0.3945.130, run as app
Setting Export
Please replace the text below with your exported Toolkit settings. You can export these by going to the Toolkit Options page, click the Import/Export Settings button at the bottom left and copying the text in the modal which appears.
[{"key":"AccountsDisplayDensity","value":"1"},{"key":"AccountsEmphasizedOutflows","value":true},{"key":"AccountsStripedRows","value":true},{"key":"AdjustableColumnWidths","value":true},{"key":"AutoDistributeSplits","value":true},{"key":"AutoEnableRunningBalance","value":true},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":"0"},{"key":"BudgetCategoryFeatures","value":true},{"key":"BudgetProgressBars","value":"0"},{"key":"BudgetQuickSwitch","value":true},{"key":"BudgetSpendingGoal","value":false},{"key":"BulkManagePayees","value":true},{"key":"CalendarFirstDay","value":"0"},{"key":"CategoryActivityCopy","value":true},{"key":"CategoryActivityPopupWidth","value":"1"},{"key":"CategorySoloMode","value":"cat-solo-mode-toggle-all"},{"key":"ChangeEnterBehavior","value":false},{"key":"ChangeMemoEnterBehavior","value":false},{"key":"CheckCreditBalances","value":true},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":true},{"key":"CollapseSideMenu","value":true},{"key":"ColourBlindMode","value":false},{"key":"CompactIncomeVsExpense","value":true},{"key":"CreditCardEmoji","value":true},{"key":"CurrentMonthIndicator","value":false},{"key":"CustomFlagNames","value":false},{"key":"DateOfMoney","value":false},{"key":"DaysOfBuffering","value":true},{"key":"DaysOfBufferingDate","value":false},{"key":"DaysOfBufferingHistoryLookup","value":"6"},{"key":"DeselectTransactionsOnSave","value":true},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":"3"},{"key":"DisplayTotalMonthlyGoals","value":true},{"key":"DisplayUpcomingAmount","value":true},{"key":"EasyTransactionApproval","value":true},{"key":"EditAccountButton","value":"0"},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"EnterToMove","value":true},{"key":"FilterCategories","value":false},{"key":"GoalIndicator","value":true},{"key":"GoalWarningColor","value":true},{"key":"GoogleFontsSelector","value":"0"},{"key":"HideAccountBalancesType","value":"0"},{"key":"HideAgeOfMoney","value":false},{"key":"HideClosedAccounts","value":true},{"key":"HideHelp","value":true},{"key":"HideReferralBanner","value":true},{"key":"HideTotalAvailable","value":true},{"key":"HighlightNegatives","value":false},{"key":"ImportNotification","value":"0"},{"key":"IncomeFromLastMonth","value":"0"},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":true},{"key":"LinkToInflows","value":true},{"key":"MonthlyNotesPopupWidth","value":"0"},{"key":"NavDisplayDensity","value":"1"},{"key":"NotesAsMarkdown","value":false},{"key":"POSStyleCurrencyEntryMode","value":false},{"key":"Pacing","value":"0"},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":"0"},{"key":"QuickBudgetWarning","value":true},{"key":"ReconciledTextColor","value":"0"},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":true},{"key":"ResizeInspector","value":true},{"key":"ResizeSidebar","value":true},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"1"},{"key":"RowsHeight","value":"1"},{"key":"RunningBalance","value":"0"},{"key":"SeamlessBudgetHeader","value":false},{"key":"SetMultipleFlags","value":true},{"key":"ShowCategoryBalance","value":false},{"key":"ShowIntercom","value":true},{"key":"SpareChange","value":false},{"key":"SplitKeyboardShortcut","value":true},{"key":"SplitTransactionAutoAdjust","value":true},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":true},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"ToBeBudgetedWarning","value":true},{"key":"ToggleMasterCategories","value":true},{"key":"ToggleSplits","value":true},{"key":"ToggleTransactionFilters","value":"1"},{"key":"ToolkitReports","value":true},{"key":"TransactionGridFeatures","value":true},{"key":"ViewZeroAsEmpty","value":true},{"key":"l10n","value":"0"},{"key":"reports","value":true}]

Updated Chrome to v80 with no improvement

Likewise, the Save instead of Save and Continue is no longer working either.  Have tried resaving my settings.

Yes, the recent code upgrade on YNAB's side is the culprit.
@joshmadewell Already fixed a great deal in https://github.com/toolkit-for-ynab/toolkit-for-ynab/pull/1790
As the breakage magnitude is quite severe, I suspect that a new Toolkit's version will be pushed out quite soon.

I'm seeing similar problems.

Switching from Budget to Accounts will cause  Solo Mode to disappear. Refreshing the page brings it back.
Same for Days of Buffering
Custom flag names don't appear in the selection popup but they do show in the tooltip.

As @aleksandrs-ledovskis has said...there are quite a few features which are just broken right now because of an upgrade YNAB made to the underlying library they use to build the website. I think I've got most of them fixed and I'll be looking to release the new version shortly.


REQUEST - Item sheets have no picture?

I'd like to use this system, but the inability to set a picture on an item is pretty... off-putting?
I don't want my inventory to be a series of white bags.
:-)

Fair enough. I'll put it on the short list of soonest fixes.

I know a full-year-plus doesn't exactly apply as soon, but this tiny feature has finally arrived in 2.3.0 for Foundry 11 and 12.


Load extensions at runtime

Hello Wiremock team,
I'm working with your fantastic tool and due to some requirements I'm thinking about to write a new feature. I firstly want to know your point of view and if this change (well tested) could be merged with your project.
What I need is to load extensions at runtime and be able to reset and load them the same way mappings could be reset (post __admin/mappings/reset). The idea is create a folder in wiremock settings, like 'mappings' and '__files', that could be 'plugins'. Inside this folder you could add your extensions jar's and the idea is to load them at the start and in every reset with URLClassLoader and Reflections to get classes that implement helpers. Once you get them you instatiate and load extensions with a Map with this plugins.
What do you think about this?

I like this idea. I've wanted to improve extension loading for some time by doing something like this, so it would be a welcome addition.
What would you propose as a way to tell the extension mechanism which Extension class files to load?
I'd thought about a properties file with a well-known name, or possibly something in META-INF, but I've not thought it through all that much. I'm not so keen on classpath scanning where it can be avoided as it can add a lot to startup times.


Add implementation of dataloaders

Pretty much based on https://github.com/graphql/dataloader
I did this mainly so that we can add new features and do bug fixes quickly and also to make sure we actually support dataloders properly in our code :)
TODO:

[x] Support for max batch items
[x] Error checking
[x] Basic caching
[x] Disabling caching
[x] Check exceptions inside resolvers and loader

TODO: in future

[ ] Custom caching
[ ] Priming/Clearing cache
[ ] Batch schedule function

Closes #413

/preview-docs a18f92f

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver,so make sure to pick the appropriate type. If in doubt feel free to ask :)

Might be worth documenting how to use the DataLoader in the Django section as well?

@jkimbo 100%, I'm doing a small POC, I think I will add docs later though, when I'm sure I know most of the gotchas.
Also I think we might need to start having subpages in the docs 😊


higher latency than TGI

Is it normal to have higher latency than TGI with a low concurrency, such as 1 or 4?

Hi @gravitywp, thanks for the question. I don't think it's normal. Could you let us know the model and GPU you are testing it on?

@WoosukKwon thanks for the reply. We use the NVIDIA A10 for testing on a fairly long prompt containing 456 tokens.

Closing this issue as stale as there has been no discussion in the past 3 months.
If you are still experiencing the issue you describe, feel free to re-open this issue.


Add glob curly-brace support to FindSourceFiles

Eg {.md,.txt}, like HasSourcePath used to support
Originally mentioned by @timtebeek in https://github.com/openrewrite/rewrite/issues/3755#issuecomment-1838623921

Agree it would be best to reinstate those optional selectors. In the move from HasSourcePath to FindSourceFiles we now use PathUtils, which does not support that yet, but is stable across operating systems.
https://github.com/openrewrite/rewrite/blob/bbc753423476a5ec557ff70c64593eb28d1c406f/rewrite-core/src/main/java/org/openrewrite/PathUtils.java#L66-L82

@timtebeek - semi-related - would you have any concerns if I widened FindSourceFiles filePattern to @Nullable, and moved logic like this into FindSourceFiles directly?
https://github.com/openrewrite/rewrite/blob/b19730693662b69321980e2559a7cab90ccd2512/rewrite-xml/src/main/java/org/openrewrite/xml/RemoveXmlTag.java#L51
At the same time, I'd probably adjust such that empty-string causes that same "match everything" behavior; currently, empty-string seems to match nothing, and afaik, most glob specifications interpret empty-string as "match everything" (and that's also how HasSourcePath worked)

Seems reasonable to me, yes thanks!

I'm also noticing that the old HasSourcePath relied on a PathMatcher from the FileSystem, whereas FindSourceFiles uses a homegrown glob implementation in PathUtils.
Do you happen to know if our homegrown impl has desirable qualities (perf, etc) over the "native" impl?
Looks like @shanman190 wrote much of the PathUtils::matchesGlob

@nmck257 it's more like fixed up a bit. Haha
The biggest part is that the Java PathMatcher is OS-specific due to being FileSystem specific, so this means that for the OSS build plugins everything works just fine as all LST and recipe execution happens on the immediate host OS, but when you have to have interoperability (such as the Moderne SaaS) between operating systems then it begins to fail without some massaging/assistance.

Ah, that's good context. Okay, then adding curly-brace support to our custom PathUtils impl feels like the right choice.

Fixed in https://github.com/openrewrite/rewrite/commit/013bd824efbde8525166bd50f567871b2bd18166


Test: Update from 1.2 to 1.3

The update should be quite simple - you dont need to close any channels:

Best is to get a second 16GB or 32GB sd card (like in shopping list), download the v1.3 image from the github (once v1.3 is oficially released) and write it to the new sd card with a tool like balena etcher.
In main menu of you RaspiBlitz choose update (if you have v1.3 image maybe choose update anyway) and follow the dialogs.
Once your RaspiBlitz has shutdown, exchange the sd card and boot up again.
The RaspiBlitz goes now thru a recover/update phase - this may take some time. Once thats done, login once per SSH and use the password raspiblitz and set a new password A (can be your old one or a new one).

After the final reboot your RaspiBlitz should be ready running the new version v1.3. Take good care about the old sd card, it contains a backup of the LND data with your private key and channel.backup file.

TODO: Also test updating a v1.2 running TOR - to check if its possible to reproduce: #742

Update Test with TOR worked.

Also second test worked. v1.3 is ready to go.

just a quick note that might help other users, was able to successfully use menu update to go from 1.3RC3 -> 1.3 tonight.


Always prefix elements with namespace

Hi there, I have a use case where the XML is not fixed, it can be anything according to a certain spec.
At the moment I am looking for a specific property, let's take the following examples:
<d:multistatus xmlns="DAV:">
	<response>
		<href>/</href>
		    <propstat>
			    <prop>
					<current-user-principal>
						<href>/principals/users/johndoe/</href>
					</current-user-principal>
			    </prop>
			<status>HTTP/1.1 200 OK</status>
		</propstat>
	</response>
</d:multistatus>

<d:multistatus xmlns:d="DAV:">
    <d:response>
        <d:href>/</d:href>
        <d:propstat>
            <d:prop>
                <d:current-user-principal>
                    <d:href>/principals/users/johndoe/</d:href>
                </d:current-user-principal>
            </d:prop>
            <d:status>HTTP/1.1 200 OK</d:status>
        </d:propstat>
    </d:response>
</d:multistatus>

You see one time I get the XML with a global namespace defined to "DAV:" making all elements part of that namespace and the other time theres a namespace of "d" that maps the "d:" to "DAV:".
When I check the JSON object for existence of "d:multistatus", it will return false on the first part of xml while there actually is a "multistatus" element. What I would like to see is that every element in the XML is prefixed by the namespace. So that in both above cases, the elements are called "DAV:multistatus" instead of "d:multistatus" or just "multistatus".
I hope you know what I mean, and can help me with this problem. Maybe there is already a way to get the elements correctly respecting the namespaces.. I'd like to hear from you :)

I am not sure if I understand the issue correctly.
Are you facing the problem when converting from xml → json  or  from json → xml?
Or is it from xml→json→xml?
Or is the xml input changing sometimes so the elements get prepended with d: namespace?
I really would like to help you overcoming the issue you are facing, but can you clarify more whether this library is not doing conversion as per your expectation or you are looking for a new feature to be implemented to support your use case?

I’m sure there is nothing wrong with xml-js in this matter, I’m looking for a (new) feature.
I have the given xml snippets. Using xml-is I convert them to json. Now, because the xml snippets originate from different systems, the output differs in a way where the namespaces are either of a different name or mapped to the global xml namespace. When traversing and checking for specific elements, my check for (for instance) “d:multiresponse” will return false when the namespace was not mapped to “d” but to the global namespace (making every element part of that namespace).
Now comes what I want to see to overcome this problem: if all elements are simply fully classified (e.g. with an element named d:multiresponse, the parser will resolve “d” to the correct namespace, which is “dav” in this case making the final element in the json to be named “dav:multiresponse”). That way it will be much easier to parse elements from xml that comes from different sources where people chose to name/map a namespace to a different name. I hope this explains it enough. If needed I will make a graphic that explains what I want to accomplish.

From: Yousuf<EMAIL_ADDRESS>Sent: Tuesday, December 12, 2017 6:23:19 PM
To: nashwaan/xml-js
Cc: ultimate-tester; Author
Subject: Re: [nashwaan/xml-js] Always prefix elements with namespace (#41)
I am not sure if I understand the issue correctly.
Are you facing the problem when converting from xml → json or from json → xml?
Or is it from xml→json→xml?
Or is the xml input changing sometimes so the elements get prepended with d: namespace?
I really would like to help you overcoming the issue you are facing, but can you clarify more whether this library is not doing conversion as per your expectation or you are looking for a new feature to be implemented to support your use case?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/nashwaan/xml-js/issues/41#issuecomment-351122510, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAjclo687dy5NAEf0w3dPwhZ3_eOkZLBks5s_raHgaJpZM4Q_NUJ.

Here is my understanding of the problem:
sample1.xml:
<d:foo xmlns="DAV:">
    <bar>something</bar>
</d:foo>

converting sample1.xml using convert.xml2js(sample1, {compact: true}) results (using compact form for the sake of brevity):
{
  "d:foo": {
    "_attributes": {
      "xmlns": "DAV:"
    },
    "bar": {
      "_text": "something"
    }
  }
}

sample2.xml:
<d:foo xmlns:d="DAV:">
    <d:bar>something</d:bar>
</d:foo>

converting sample2.xml using convert.xml2js(sample2, {compact: true}) results:
{
  "d:foo": {
    "_attributes": {
      "d:xmlns": "DAV:"
    },
    "d:bar": {
      "_text": "something"
    }
  }
}

But, what you want is to have the following output for both sample1.xml and sample2.xml:
{
  "d:foo": {
    "_attributes": {
      "d:xmlns": "DAV:"
    },
    "DAV:bar": {
      "_text": "something"
    }
  }
}

If this is what you want, then a new option, say {resolveNamespace: true}, should be implemented to support this scenario. Is my understanding correct?

Absoluty! I could try to have a look at it because it sounds kind of easy but I’m sure I’m thinking too little of it. Please let me know if you’ll accept pull request for this :)

From: Yousuf<EMAIL_ADDRESS>Sent: Wednesday, December 13, 2017 5:53:42 AM
To: nashwaan/xml-js
Cc: ultimate-tester; Author
Subject: Re: [nashwaan/xml-js] Always prefix elements with namespace (#41)
Here is my understanding of the problem:
sample1.xml:
<d:foo xmlns="DAV:">
something
</d:foo>
converting sample1.xml using convert.xml2js(sample1, {compact: true}) results (using compact form for the sake of brevity):
{
"d:foo": {
"_attributes": {
"xmlns": "DAV:"
},
"bar": {
"_text": "something"
}
}
}

sample2.xml:
<d:foo xmlns:d="DAV:">
<d:bar>something</d:bar>
</d:foo>
converting sample2.xml using convert.xml2js(sample2, {compact: true}) results:
{
"d:foo": {
"_attributes": {
"d:xmlns": "DAV:"
},
"d:bar": {
"_text": "something"
}
}
}

But, what you want is to have the following output for both sample1.xml and sample2.xml:
{
"d:foo": {
"_attributes": {
"d:xmlns": "DAV:"
},
"DAV:bar": {
"_text": "something"
}
}
}
If this is what you want, then a new option, say {resolveNamespace: true}, should be implemented to support this scenario. Is my understanding correct?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/nashwaan/xml-js/issues/41#issuecomment-351282158, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAjclho_w9OUI5yaAtvnDFcupY3osqTfks5s_1hWgaJpZM4Q_NUJ.

I certainly would accept pull requests, but not at the moment. Right now I am working on adding a major feature to the library: the ability to supply callback functions as additional processing to names, values, attributes, ...etc. Which can partly help to solve your problem like this:
function addPrefix(name) {
  return 'DAV:' + name.substring(name.indexOf(":") + 1);
}

convert.xml2js(sample1, {compact: true, elementNameFn: addPrefix})
convert.xml2js(sample2, {compact: true, elementNameFn: addPrefix})

But it will generate the following result (notice DAV:foo which is not what you want):
{
  "DAV:foo": {
    "_attributes": {
      "d:xmlns": "DAV:"
    },
    "DAV:bar": {
      "_text": "something"
    }
  }
}

This might not be a clean solution to deal with namespace, but I think it will help for other cases.
Just give me couple of days until I finish releasing it, and then you can attempt to add this feature {resolveNamespace: true} if you want. I think another complementary option {stripNamespace: true} is also needed  to remove namespace prefix.

Although I thank you for your effort, I guess we might run into an issue here for people with an other use case than mine.
I just looked at the spec (https://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-decl), where it clearly reads that originally namespaces are bound to URI's. Resolving those namespaces (d: to an URI) wouldn't make sense and the element names will get very long (or is that no problem at all?)
Removing the namespaces also gives conflicts. It's perfectly acceptable to have an element of d:foo and also e:foo. They are both called foo but are from different namespaces making them effectively a different element. Removing the namespaces will result in the elements becoming of the same namespaces which will give trouble when you are converting back to XML (from XML -> JSON -> XML).
Lastly, to remember: The element in which a namespace is defined, can also prefix the element with that namespace and be valid, as the example in the spec shows:
<x xmlns:edi='http://ecommerce.org/schema'>
  <!-- the "edi" prefix is bound to http://ecommerce.org/schema
       for the "x" element and contents -->
</x>

Meaning the first line in the xml (the x element) could also have been edi:x instead of , but that's something for later!

Hi @ultimate-tester, sorry for late response. Just published v1.6.0 of this library which now supports adding custom functions for additional processing. Using elementNameFn should work now.
To solve namespace issue properly, we need to implement {resolveNamespace: true}. I am not familiar with namespace thing and I need to spend some time learning it. But if you are willing to contribute, then feel free to submit a pull request as I have completed adding Custom functions feature. I will try to accommodate your changes as soon as I can. Thanks.

Any update on this?
{resolveNamespace: true}
sounds great!

Close to 6 years later and the XML library with still no namespace support ...


Help with black screen on IPad

Web Browser: Chrome, Safari
Local OS: IPadOS 14.4, IPad Air 4th gen.
Remote OS: Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04 (I have tried all 3)
Remote Architecture: AMD64
code-server --version:
1.408-vsc1.32.0 with Ubuntu 16.04
3.4.0 & 3.9.0 with Ubuntu 18.04 & Ubuntu 20.04 (all combinations)
Google Cloud Platform VM Instance (32GB SSD, 4 cores, 8GB RAM, HTTPS/HTTP traffic enabled)

Howdy! I am a university student, and Code-Server would be absoluetly perfect for me so that I could have a remote instance of VS Code for when I am away from my main PC. Unfortunately, I can only gte it to work on other PCs, and not my IPad. If I could get it working on my IPad, it would seriously be a life-saver.
Please keep in mind I have incredibly little experience with linux besides C++ compilation through WSL, and Code-server basic install and run, but the instructions on this GitHub for authentication or SSH are pure gibberish to me, so maybe that's my issue?
I have looked all over YouTube, this GitHub, message boards, and more, but I can't seem to resolve the black screen issue (allows me to enter password, but then goes to black screen with webpage fully loaded). Code-Server is runny seamlessly for any of my PC browsers, though, whenever I try to access the VM through my IPad on any browser, I get the same issue; It will not show anything other than a black screen after correct password entry.
I have seen other say its an HTTPS issue, something about authentication errors specific to the IPad, but I honestly only have experience with C++, and that's honesty it; I have no clue how to go about fixing that.
Now, I found an app called "Servereditor for code-server" that allows you to pay for a pre-built instance, or allows you to connect to a self-host. The paid server connects just fine, but it is missing the most important feature; access to bash for code compilation and page installs. When I try to connect to my self-hosted server via the URL, it brings up the password screen, then just says "Invalid Password", even if I copy and paste the password directly from cloud console...I am out of ideas and was hoping maybe I missed a post somewhere where someone found a way to fix it?
Please let me know, and thank you for your time!

Hey @FOOincognita - sorry to hear you've run into some issues with code-server on iPad!
We would love to help you figure this out. I'm going to move this over to our Discussions page.


bayesflow w/ higher order functions loops endlessly

Environment: TensorFlow v1.2.0-rc2-21-g12f033d 1.2.0 running on Mac OS X (v10.12.5)
Issue:
Use of tensorflow.contrib.bayesflow.stochastic_tensor.StochasticTensor in conjunction with higher order functions, such as tf.map_fn and tf.while_loop, results in a seemingly endless loop during construction of the associated stochastic graph's surrogate_loss. Within the source code, the aforementioned loop occurs here. A minimal example is provided below.
Example:
# Dependencies
import tensorflow as tf
from tensorflow.contrib.distributions import Bernoulli
from tensorflow.contrib.bayesflow import\
	stochastic_tensor as st, stochastic_graph as sg

# Flags and variable declaration
_int, _float = 'int32', 'float32'
num_logits = 0 #doesn't seem to matter
logits = tf.get_variable('logits', shape=[num_logits, 1], dtype=_float)

# Pass `logits` to a distribution and then wrap with a StochasticTensor
dist = Bernoulli(logits, dtype=_float)
with st.value_type(st.SampleValue()):
	samples = st.StochasticTensor(dist)

Building off of the above, the following seem to loop endlessly. Using tf.map_fn,
losses = tf.map_fn(lambda x: x, samples, _float)
loss = sg.surrogate_loss([tf.reduce_mean(losses, axis=0)])# <- loops endlessly

Using tf.while_loop in conjunction with tf.TensorArray,
array = tf.TensorArray(_float, num_logits).unstack(samples)
def cond(k, *args):
	return tf.less(k, num_logits)
def body(k, losses):
	return k+1, tf.concat([losses, array.read(k)], 0)
loop_v = [0, tf.zeros([0], _float)]
invars = [tf.TensorShape([]), tf.TensorShape([None])]
losses = tf.while_loop(cond, body, loop_v, shape_invariants=invars)[1]
loss = sg.surrogate_loss([tf.reduce_mean(losses, keep_dims=True)])# <- loops endlessly

Hello and thanks for raising this issue.
Unfortunately control flow primitives are difficult to support with StochasticTensors.  Currently, the best solution is to sample and calculate log_prob at every timestep within the while_loop and emit both; then calculate the loss yourself.


drop reference in linear_map.rs:L467

is that right, drop the reference drop(&self.buffer);

Nope, see https://github.com/japaric/heapless/pull/376


Change config

This was set up originally so that you could define a bunch of simulations and start them running in separate consoles in parallel but the parallel computing of liionpack will probably mess this up. It's also useful for having a record of what the simulation was for a folder of output later on. However, it's a little clunky and shouldn't be the default way to call the program. Make it more user friendly and tidy up the functionality and test whether parallel still works

MOve thermal and packages to new issues

closed by pr #19


Cleanup clustermesh-related deprecated flag and kvstore key

Drop the deprecated clustermesh-ip-identities-sync-timeout flag (65ece676c95d), and the .has-cluster-config etcd key (cc7c27da59dc).
Cleanup clustermesh-related deprecated flag and kvstore key

/test

Reopened as https://github.com/cilium/cilium/pull/33730 based off an upstream branch, to allow testing the CI changes.


Skeletons don't drop their skull when killed

Description

Not sure when it stopped happening, but I killed one EORG and tried to pick up the skull but it simply wasn't there
Screenshots

because gibbing doesnt drop limbs anymore and the skull was their head

because gibbing doesnt drop limbs anymore and the skull was their head

makes sense but their head should still drop imo

welp


remove labeled modules leftovers

What kind of change does this PR introduce?
clean up
Did you add tests for your changes?
N/A
If relevant, link to documentation update:
N/A
Summary
cleans up leftovers of the labeled module
Does this PR introduce a breaking change?
No
Other information
fixes #4354

Thanks


[Feature Request] Client throttling is supported in Public Client Application

Overview

Blocking request after receiving 429, 5xx HTTP status.
Respecting Retry-After header on any HTTP response.
Cache for responses of interaction required messages.

Important
It is expectation that the calling application behavior should not change by this features, as well as it is not expected the increase of number of prompts.
Note:
This effort is related to Public Client applications only.
Related docs:
Epic 328219: Client throttling is supported in MSAL & Brokers
Design

ETA  - Mar 25 - PR

Released as part of MSAL Java v1.5.0


Add CRLF-line ending compatibility

Converting files for windows will cause some issues.

Fixed with #6


Implement reflect type for panorbitcamera

I am an avid user of bevy inspector egui, and I was just wondering, Ether it is possible to derive reflect, on the PanOrbitCamera component, that way make him displayable on our egui.

Good idea. Have released 0.21.2


Compile Error?

New to Arduino but not to coding.  Using Arduino IDE 1.6.1
After following installation instructions,  I get the following error when I compile nRF51822-BLEMIDI.ino.

/Users/xxx/Documents/Arduino/libraries/USB_Host_Shield_20/Usb.h:36:0,
                 from nRF51822-BLEMIDI.ino:31:
/Users/xxx/Documents/Arduino/libraries/USB_Host_Shield_20/usbhost.h: In static member function 'static void SPi<SPI_CLK, SPI_MOSI, SPI_MISO, SPI_SS>::init()':
/Users/xxx/Documents/Arduino/libraries/USB_Host_Shield_20/usbhost.h:50:21: error: 'class SPIClass' has no member named 'setClockDivider'
                 SPI.setClockDivider(4); // Set speed to 84MHz/4=21MHz - the MAX3421E can handle up to 26MHz
                     ^
Error compiling.

An examination of
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/RBL_nRF51822/libraries/SPI/SPI.h

shows that indeed, there is no member named 'setClockDivider'.
Not sure how to proceed, any help appreciated.

Hey, I just checked and apprently the USB Host Shield library has been updated in the meantime. There's a slim chance something might be broken. I will have a look into that sometime next week.
In the meantime, try using my fork (which once was merged to the main branch):
https://github.com/sieren/USB_Host_Shield_2.0

Thanks for the tip. That did the trick!

Thanks for bringing this up though :)
I'll have a look and see if I can fix it on the main library. Gonna leave this open till then as a reminder for myself and others encountering this issue.

I've fixed this now and issued a Pull Request to the master branch:
https://github.com/felis/USB_Host_Shield_2.0/pull/156
Thanks again for reporting!

FYI: https://github.com/sieren/blidino/pull/8


Allow configuring securityContext

This PR allows the ability to configure the pods' security context.
This is useful when dealing with network shares with recalcitrant permission management like NFS. Also useful for forming hats with tin-foil.

I just had the chance to look this over, This looks good if the securityContext is provided in the values file, however, if it is missing it just inserts a null value.  Shown below. Can you wrap this in an if statement that will provide the default value if not defined in the values file? This way it will ensure backwards compatibility.
securityContext:
  null

@SQLJames Fixed. I wrapped the blocks with with statements which makes the whole thing disappear if the value is altogether absent.

@SQLJames May I poke this PR for a re-review?


Error: The method 'debugLog' isn't defined for the class 'BrowserHttpClientAdapter'.

Package
web_adapter
Version
1.0.0
Operating-System
Web, Windows
Adapter
Default Dio
Output of flutter doctor -v
[√] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.22631.3810], locale en-US)
    • Flutter version 3.22.2 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (4 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\hands\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34728.123
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)

[√] VS Code (version 1.90.2)
    • VS Code at C:\Users\hands\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.92.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3810]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 126.0.6478.127
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 126.0.2592.81

[√] Network resources
    • All expected network resources are available.

• No issues found!

Dart Version
3.4.3
Steps to Reproduce

Expected Result
None Error
Actual Result

Thanks for the report and it's been fixed with the v1.0.1 release.


Centered mascot on 404 page

Fixes Issue
fixes #8616
Changes proposed

Centered the mascot using mx-auto using tailwind css

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Update Readme Section

We use Tailwind, please have a look at their classes

do you mean mx-auto, its used for centering(margin: auto) https://tailwindcss.com/docs/container#basic-usage

Update Readme Section

can you please clarify, wdym?

Sorry @tausiq2003 you are correct, it is part of Tailwind class already 👍

Sorry @tausiq2003 you are correct, it is part of Tailwind class already +1

thanks eddie it was pleasure to contribute.


Some dart linter fixes.

I just fixed some dart linter messages, nothing important.

Did not noticed release/1.0.22 branch, most of the fixes are already there, cherry-picked the rest.

I was not aware of the release/1.0.22 branch. Most of the changes were already done there, cherry-picked the rest....


Format response cannot deal with non utf-8 characters

The fortigate supports non utf-8 characters, suggestion to replace these when formatting response:
def formatresponse(self, res, vdom=None):
        LOG.debug("formating response")
        self.logging(res)
        # Generic way to format the return from FortiAPI
        # If vdom is global the resp is a dict of resp (even 1)
        # 1 per vdom we check only the first one here (might need a more
        # complex check)
        if vdom == "global":
            resp = json.loads(res.content.decode('utf-8', errors='replace'))[0]
            resp['vdom'] = "global"
        else:
            LOG.debug("content res: %s", res.content)
            resp = json.loads(res.content.decode('utf-8', errors='replace'))
        return resp

It was actually a quick fix for python 3. Do you have a suggestion for solving this ?

Will a configuration parameter for utf-8 solve your issue ?

Hello,
I have run into this issue on two different units running 5.6.7. I've created a few dozen objects using this library and now get the UTF-8 decoding errors when getting them back. I don't believe I've used any characters outside of Unicode. Adding errors='replace' to the UTF-8 decode does resolve the issue.


Add tox to Py build-from-source instructions

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Readme Updates

As a person that's never installed TAU - I decided to run thru the readme and update it with the latest TAU changes.  I also restructured a bit and added some formatting/flair.
Note: I left a couple of pieces with Strikethru as I think they're no longer relevant, but wasn't sure.

Looks good.  This file is going to move towards a description of TAU + a quick-start guide, but this is some very nice formatting, and will help us to get there (and to give more detailed documentation in the mkdocs .md files).  I really appreciate the documentation PR!


docs: Set 6.2 as unreleased

This allows release of updates to 6.1 docs without replacing the default to the yet-unreleased 6.2. Also allows people to navigate to 6.2 if they want.

Codecov Report

Merging #1523 (ac97fa1) into master (a35947e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1523   +/-   ##
=======================================
  Coverage   98.62%   98.62%
=======================================
  Files          99       99
  Lines        1824     1824
  Branches      361      361
=======================================
  Hits         1799     1799
  Misses          5        5
  Partials       20       20

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 a35947e...ac97fa1. Read the comment docs.


feat(bridge-ui): support both bull and horse tokens on the bridge UI

What's done here:

Re-implementation of TEST_ERC20, which creates a list of tokens based on a stringified object coming from env var.
Added support for listing multiple test tokens in SelectToken dropdown from TEST_ERC20.
We no longer check a fixed token, what previously was TEST_ERC20, but the selected one from token store.
Changed wording in FaucetModal informing about the amount of tokens to be minted.
Removed unnecessary BaseQueries component.
Configured prettier.
New env var: VITE_TEST_ERC20: '[{ address, symbol, name }, ...]'

Thanks for configuring the prettier @jscriptcoder , much needed 🙏 .
Could you please add the new env var to the README here: https://github.com/taikoxyz/taiko-mono/blob/main/packages/bridge-ui/README.md#environment-variables that way anyone would be able to run the bridge with the required vars. Please also change any other value that you might have changed locally.


Update cert.py

Targets was upper case in value, and response.status_code had two issues
one was it auto passed by setting var:
response.status_code = 200
if response == 200:
also the if statement was response and not response.status_code

@bseltz-cohesity / @pyashish Please check and approve if possible.


fix: correct the typo [skip ci]

Change Description
There is typo in the comment and need to correct them.
Steps to Test
Steps for reviewers to follow to test the change.
Pull Request Checklist
Testing

[ ] Your PR passes all CI checks.
[ ] Tests covering the positive and negative (error paths) are included.
[ ] Bug fixes contain tests triggering the bug to prevent regressions.

Code Style and Documentation

[ ] The change obeys the Code Documentation and Commenting guidelines, and lines wrap at 80.
[ ] Commits follow the Ideal Git Commit Structure.
[ ] Any new logging statements use an appropriate subsystem and logging level.
[ ] Any new lncli commands have appropriate tags in the comments for the rpc in the proto file.
[ ]  There is a change description in the release notes, or [skip ci] in the commit message for small changes.

📝 Please see our  Contribution Guidelines for further guidance.

Thanks for the PR! Can you put a [skip ci] in your commit as required,

There is a change description in the release notes, or [skip ci] in the commit message for small changes.

Done


chore: add project json schema for intellisense

For sgconfig.yml, related: https://github.com/ast-grep/ast-grep-vscode/issues/31
Not quite sure where it should be placed, temporarily at schema/ folder

Thanks.
Can we move the json schema to vscode repo? It is more useful for editor integration.

Can we move the json schema to vscode repo? It is more useful for editor integration.

Sure.
The reason I submit it to this repo is due to some long-term ideas: Perhaps the best approach for schema would be to generate it from Rust's types rather than maintaining it manually.

The reason I submit it to this repo is due to some long-term ideas: Perhaps the best approach for schema would be to generate it from Rust's types rather than maintaining it manually.

This also sounds a legitimate reason. I changed my mind. Let's still make the change in the main repo. But would you like to rename the folder name to schemas?

I added one in 5fbbe2181ab24ee20de5ae73e5427a1e44fe61cd


AzureWebJobsTraceWriter sink does not log anything in the Azure Function environment

I am trying out Serilog for my Azure function app and came across this sink. It logs beutifully when running my function locally. When I publish my function-app it does not log anything at all... ?
Any suggestions?
This is my setup using dependency injection:
    [FunctionName("GetSomething")]
    public static async Task<HttpResponseMessage> Run(
        [HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "something")]HttpRequestMessage req,
        [Inject(typeof(ILogger))]ILogger log)
    {
        log.Information("Log message that I want to see in my Azure Function environment!");
    }

    public class InjectConfiguration : IExtensionConfigProvider
    {
        public void Initialize(ExtensionConfigContext context)
        {
            IServiceProvider serviceProvider = CreateServiceCollection(context).BuildServiceProvider(true);

            context
                .AddBindingRule<InjectAttribute>()
                .BindToInput<dynamic>(i => serviceProvider.GetRequiredService(i.Type));
        }

        private static ServiceCollection CreateServiceCollection(ExtensionConfigContext context)
        {
            var services = new ServiceCollection();

            services.AddSingleton<ILogger>( s => CreateLogger(context));
            ...

            return services;
        }

        private static Logger CreateLogger(ExtensionConfigContext context)
        {
            return new LoggerConfiguration().MinimumLevel.Verbose().WriteTo.TraceWriter(context.Trace).CreateLogger();
        }
    }

Host.json
{
  "tracing": {
    "consoleLevel": "verbose"
  }
}

Logging in Azure function apps needs to be explicitly enabled in Platform Features > Diagnostic Logs. Alternatively, you could add another Serilog sink, e.g. file, blob, etc

@vludax - explicitly enabling the log level did not seem to help.

I've done some digging around this issue. Logs in Azure functions don't show up because ExtensionConfigContext.Trace is a host-level writer, which is different from the TraceWriter instance that can be received as a parameter to functions. Please see https://github.com/Azure/azure-webjobs-sdk-script/issues/820
In Platform Features > Log Streaming you should still see the missing logs, because that outputs both functions and host logs.
It appears that there is currently no good alternative to creating a Serilog.ILogger in each function when they receive their own TraceWriters. If you do come up with something, please let us know :)

@vludax Thanks for clarifying answer


Algorithm for mesh triangulation from point cloud

Required Info

Camera Model
D435i

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win10 / Android 10

Platform
PC / Custom board

SDK Version
2.44.0

Language
Unity

Segment
AR

Hello,
I've spent a couple of days documenting about a mesh generation algorithm starting from unorganized points in a point cloud.
My objective is to reconstruct a mesh from a point cloud obtained from a realsense D435i, preferably in realtime. Precision is not essetial as of right now, but speed is. The final very very rough result I'd like to achieve is something similar to Microsoft's spatial mapping ( seen here)
I've read about Delaunay's triangulation, but it works well mostly in 2D, while being too slow in 3D (paper here: https://www.kiv.zcu.cz/site/documents/verejne/vyzkum/publikace/technicke-zpravy/2002/tr-2002-02.pdf); plus it probably doesn't achieve what I was going for (sources: https://github.com/QThund/ConstrainedDelaunayTriangulation and https://github.com/Scrawk/Hull-Delaunay-Voronoi). They generate mostly closed shapes;
I've read about the ball-pivoting algorithm (here: https://github.com/Renge-Games/UnityBPA), but it's not what I was looking for: too slow for a realtime application.
I've read the paper that Microsoft probably used to solve this kind of problem (here: http://hhoppe.com/thesis.pdf), but its application isn't immediate as I'd hoped.
So I changed approach. What if there was an external service to do this in?
From the issue https://github.com/IntelRealSense/librealsense/issues/6225 I've read that there are application that do this, such as CloudCompare (here: https://www.danielgm.net/cc/) or PointCLoud (here: https://pointclouds.org). But  they probably don't work on Android, which is my target platform.
What I wanted to know is this: is there any algorithm - already implemented or not - or external service that alows to have a mesh - any mesh, even a dense one - in realtime that works on Android ?

Hi @Dhelio   I researched your question carefully.  Looking at the example of Microsoft's spatial mapping video, it looks as though you wish to map the contents of a room so that virtual content can interact with it (such as projecting onto surfaces or colliding a virtual object with the surface).  Is that correct, please?
Intel demonstrated something similar in 2016 with a prototype 'merged reality' headset called Project Alloy that could scan the scene and take account of real-world objects so that virtual and real content could mix together (hence 'merged reality').  The YouTube video in the link below demonstrates Project Alloy in action on a convention event stage.
https://www.youtube.com/watch?v=Be-MJxeCpvU&t=101s
The Project Alloy headset contained a RealSense ZR300 stereo camera, the predecessor of the RealSense D435 stereo camera model.
In regard to how you might implement such a system in Unity: a RealSense user developed a RealSense point cloud system for the Android-based Oculus Quest headset that combined the Quest with a D435i camera and published a project describing how to create it.
https://github.com/GeorgeAdamon/quest-realsense
https://github.com/IntelRealSense/librealsense/issues/4155
As camera data in the RealSense Unity wrapper is visually represented by being mapped onto objects via a material, I wonder whether this may suit your project requirements.

it looks as though you wish to map the contents of a room

Not exactly. I want to map the room itself.

The commercial software DotProduct Dot3D Scan is compatible with 400 Series cameras and can be used on Android to produce point-cloud scans.
https://www.dotproduct3d.com/dot3dscan.html
There is also a Dot3D Pro version for scanning larger scenes.  This pro version has support for a DotProduct product called InfiPoints DP that can be used on Android for translating data to CAD.
https://www.dotproduct3d.com/infipointsdp.html
Overall though, the requirement for Android means that it may be difficult to fulfill the project goals.  Would it be possible to create the project on a Windows tablet instead?

@Dhelio I would strongly recommend using a DepthMap to TSDF to Mesh pipeline instead of pointclouds, similar to the famous KinectFusion technique. This is most likely what every current real-time room mapping technique is doing under the hood.
Meshing voxels are much easier to process and parallelize than pointclouds. Using a TSDF you can easily merge multiple depth maps to increase coverage, accuracy, and resolution.
The Open3D project maintained by Intel has examples of how to do this, including RealSense examples.
https://github.com/intel-isl/Open3D

Thank you @sam598 , this is probably what I was looking for; I'll look into it on monday.


[Bug]: Nexus export is incorrect when matrix label is greater than number of characters for a descriptor

Steps to reproduce the bug
1. Create an observation matrix where some descriptor has a gap in character state labelling, e.g. character states with labels 0, 1, 5.
2. Add a 5 to the matrix for that descriptor.
3. Export the matrix as a nexus file. (I think the same issue with TNT export, but I'm not sure.)

The character corresponding to that descriptor is listed with 3 character states having labels 0, 1, 2.
But the matrix has an entry for that descriptor with a 5 - it's valid for nexus to refer to a state 5 when there are only 3 listed, but in this case the 5 should actually mean 2 (i.e. should be a 2).

Screenshot
No response
Expected behavior
No response
Additional Screenshots
No response
Environment
Development (docker)
Sandbox Used
No response
Version
No response
Browser Used
No response

@kleintom refresh my mind, I think we might have resolved this?

Sorry I lost track of this.
To refresh my own understanding of the issue (I hope I'm remembering the terminology correctly), and to simplify:
Create a matrix with one descriptor with state label 5
Add a row to the matrix with observation label 5
Now export that matrix to nexus
Nexus numbers its character states sequentially starting at 0, so nexus assigns the state label 0 to the one and only character state we created. But the matrix is exported with the value 5 in the matrix, which is no longer correct. (iirc, based on a comment above, nexus allows "ghost" character states that aren't explicitly defined in the nexus file, so 5 is actually a valid state label in nexus for the exported descriptor, but it's now the wrong state label in the matrix - it should now be 0).
This could be fixed by adjusting the mapping from state labels in TW to "nexus state labels" (i.e. numbered sequentially starting at 0). (Note also that TW state labels don't even need to be integers, they can be any two characters.)


Re-Add Send,Sync to HttpClient with option to remove

Adresses https://github.com/instant-labs/instant-acme/issues/25 by adding Send and Sync bounds to the HttpClient trait. Adds feature "single-thread" that removes those bounds again.
Rust specifies features should be addative (enable) functionality instead of restricting it. As adding bounds would restrict trait implementation I chose to let the feature remove the bounds.
To maintain semver the minor version needs to be increased.

closed in favor of #27


need a way to send ^C or ^D to a running command

I cannot figure out how to send ^C,^D etc. using logitech K380 keyboard, nor with ios soft keyboard. Believe me I tried every key combination. OpenTerm has a "Stop" on the input assistant suggestions bar, which sends ^C (I would usually prefer ^D, so that awk will run the END pattern). Here is a simple scenario reading stdin, the only way out that I can think of is to close the tab:
$ awk -- '{print NR, $0;}'
foo
1 foo
bar
2 bar
how to exit?
3 how to exit?
Edit: Actually, I'm not sure if closing the tab is sufficient, it seems to leave stdout in other tab messed up.

Thanks a bunch. I'll take the Ctrl-C/Stop, it will be useful in so many situations. I needed it a couple of times today! But it seems Ctrl-D should be possible, is there a way to echo an Ascii-0x04 to stdin from the suggestions bar? It might just work.

Sending CTRL-D to the stdin shouldn't work because the program will just receive 0x04. But the kernel should handle CTRL-D and send a signal to the program. I think in a normal terminal, the kernel detects a CTRL-D from the stdin and sends a signal to the program but the program doesn't receive 0x04. All processes are ran in the same terminal's process in this iOS app due to sandbox, so it's impossible to send signals. I'm adding a "Stop" button wich kills the thread running the program (or just the function here).

Okay I will take your word for it. I was reading about CTRL-D but did not understand all of it.
https://unix.stackexchange.com/questions/110240/why-does-ctrl-d-eof-exit-the-shell

Fixed by c7a2cea98776c76026925a8ca5c2b6a5da168026

The stop button isn't a good solution - what if the suggestion bar is disabled?
Also, ^D doesn't send a signal, it sends the EOF character which many interactive programs interpret as "quit". It's useful to have a way to send this character.


Links with italic do not work

In README.md
### New _feature_

generated TOC
- [New _feature_](#new-_feature_)

Actual link revealed by pointing the heading in GitHub
https://github.com/dotchev/Spoon-Knife#new-feature
Notice that GitHub strips the underscores in the link.
But italic with stars works correctly
### New *feature B*

is linked like this
- [New *feature B*](#new-feature-b)

1.5 years later and this is still an open, and valid, issue.


Add placeholder to editor

https://github.com/laravelio/paste.laravel.io/issues/119

Heya. Thanks! Can we do something more like the PHP code example? Also, can you share a screenshot?

Sure,

Is this screenshot fine?

Looks really good, thanks!


dial attempt failed:

Trying to run after installing it globally.
$ registry-mirror daemon --clone

{ Error: connect QmToeN85brexqyXUnWnKfHFqhvucJPViw9AxQQkjLoULy4 failure: dial attempt failed: <peer.ID Nk9fWi> --> <peer.ID ToeN85> dial attempt failed: connection refused
    at /home/victor/.nvm/versions/node/v6.5.0/lib/node_modules/registry-mirror/node_modules/ipfs-api/lib/request-api.js:33:21
    at /home/victor/.nvm/versions/node/v6.5.0/lib/node_modules/registry-mirror/node_modules/ipfs-api/lib/request-api.js:47:8
    at finish (/home/victor/.nvm/versions/node/v6.5.0/lib/node_modules/registry-mirror/node_modules/wreck/lib/index.js:214:20)
    at wrapped (/home/victor/.nvm/versions/node/v6.5.0/lib/node_modules/registry-mirror/node_modules/wreck/node_modules/hoek/lib/index.js:871:20)
    at ClientRequest.onResponse (/home/victor/.nvm/versions/node/v6.5.0/lib/node_modules/registry-mirror/node_modules/wreck/lib/index.js:161:20)
    at ClientRequest.g (events.js:286:16)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at HTTPParser.parserOnIncomingClient (_http_client.js:472:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:105:23) code: 0 }

Versions
{ npm: '3.10.3',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '57.1',
  modules: '48',
  node: '6.5.0',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '5.1.281.81',
  zlib: '1.2.8' }

Same here

{ Error: connect QmToeN85brexqyXUnWnKfHFqhvucJPViw9AxQQkjLoULy4 failure: dial attempt failed: <peer.ID bSqCvW> --> <peer.ID ToeN85> dial attempt failed: connection refused
at /usr/lib/node_modules/registry-mirror/node_modules/ipfs-api/lib/request-api.js:33:21
at /usr/lib/node_modules/registry-mirror/node_modules/ipfs-api/lib/request-api.js:47:8
at finish (/usr/lib/node_modules/registry-mirror/node_modules/wreck/lib/index.js:214:20)
at wrapped (/usr/lib/node_modules/registry-mirror/node_modules/hoek/lib/index.js:879:20)
at ClientRequest.onResponse (/usr/lib/node_modules/registry-mirror/node_modules/wreck/lib/index.js:161:20)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at HTTPParser.parserOnIncomingClient (_http_client.js:551:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23) code: 0 }

@mojoaxel thanks for the ping! We will be bringing back npm-on-ipfs this quarter (check OKRs here https://github.com/ipfs/js-ipfs/blob/master/OKR.md) as one of the test vectors for the JavaScript implementation of IPFS and also because we want to have a module that is full JS so that users don't need to boot a go-ipfs node.

Hi @mojoaxel, @vrogojin. @achingbrain has been doing a ton of work revamping this module. Wanna try the latest from master and let us know if it works for you? Check https://github.com/ipfs-shipyard/npm-on-ipfs

Running the latest version from master resolved this for me, thanks.

Please re-open this issue if it happens again.


"Other" section for new homepage

The new homepage ( #161 ) has a few categories for PSRs, which some will not fall into.
That's fair, as those popped up since the designing started, but we need an "Other" or "Miscellaneous" section to house those for now. We can add fresh categories if enough "Other" pop up, but for now it seems fair enough.

We will need this shortly as PSR-13 will be going into Review soon. @reinink

This shouldn't take too much to add.

Closing this for now since relevant PSRs (5, 9, 10) are abandoned for inactivity.


Add a Kythe schema overview doc.

This document serves as a high-level outline of a select handful of graph
structures from the Kythe schema, intended to help the developers of Kythe
indexers get oriented. It does not cover every detail, but provides some basic
terminology and examples drawn from the Kythe repository.

I think that the buildbot is missing some parts of what asciidoc needs.

Addresses #1213.

Per your suggestion offline, I also tagged this rule manual for now, till we can update the buildbot.


The TAD Features download link is broken

Great work!!
Unfortunately, the link is broken: th14_mae_g_16_4.tar.gz.
I really want to try your model and do some interesting work, hope you can fix it.
Thanks

@yinanhe Hi Yinan, Do you still keep the backup file? Could you help to upload it to hf? Sorry to trouble you ...

Sure!  I have uploaded the corresponding feature files to Hugging Face. @LHX0303 You can find them at huggingface. If it's convenient, please @congee524 update the link?

Big thanks @yinanhe ! I will update it.

Big thanks！^_^ @yinanhe @congee524


ValueError when Running AlphaFold

Hello everyone,
When I execute AlphaFold from Google Colab, I have a Future Warning :
"/usr/local/lib/python3.7/dist-packages/jax/_src/tree_util.py:189: FutureWarning: jax.tree_util.tree_multimap() is deprecated. Please use jax.tree_util.tree_map() instead as a drop-in replacement. 'instead as a drop-in replacement.', FutureWarning)"
And the code fail with a Value Error :
"ValueError                                Traceback (most recent call last)
 in ()
88         max_outer_iterations=3,
89         use_gpu=True)
---> 90     relaxed_pdb, _, _ = amber_relaxer.process(prot=unrelaxed_proteins[best_model_name])
91   else:
92     print('Warning: Running without the relaxation stage.')
2 frames
/opt/conda/lib/python3.7/site-packages/alphafold/relax/amber_minimize.py in _run_one_iteration(pdb_string, max_iterations, tolerance, stiffness, restraint_set, max_attempts, use_gpu, exclude_residues)
417       logging.info(e)
418   if not minimized:
--> 419     raise ValueError(f"Minimization failed after {max_attempts} attempts.")
420   ret["opt_time"] = time.time() - start
421   ret["min_attempts"] = attempts
ValueError: Minimization failed after 100 attempts."
Did anyone know what's happening ?

Thanks for raising this issue! Closing as this duplicates https://github.com/deepmind/alphafold/issues/383


Requesting to make a video tutorial for integrating voice in Rasa

I was following this tutorial and found in some places it is hard for me to understand what has been told to do. It is not only me, in Stackoverflow and forum I found many are struggling about this topic too.
It would be great if there were a tutorial particularly focusing on integrating voice using the Mozilla Deepspeech tool.

Thanks for the issue, @dakshvar22 will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

@mhmohona Could you explain what parts of the tutorial were hard to follow?

@mhmohona Let us know on the Rasa forum if you are still having trouble integrating Rasa with voice :)

@mhmohona Let us know on the Rasa forum if you are still having trouble integrating Rasa with voice :)