supabase start fails on linked project

Describe the bug
When trying to run supabase start or supabase db start on a linked project the command fails with:
2024/07/04 16:04:35 Send Done
2024/07/04 16:04:35 Recv First Byte
node:internal/modules/cjs/loader:1148
  throw err;
  ^

Error: Cannot find module '/app/dist/scripts/migrate-call.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
    at Module._load (node:internal/modules/cjs/loader:986:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v20.15.0
2024/07/04 16:04:35 Sent Header: Host [api.moby.localhost]
2024/07/04 16:04:35 Sent Header: User-Agent [Docker-Client/unknown-version (darwin)]
2024/07/04 16:04:35 Send Done
2024/07/04 16:04:35 Recv First Byte

To Reproduce
Steps to reproduce the behavior:

Run supabase start -> starts successfully
Run supabase stop
Run supabase link with brand new project
Run supabase start, or supabase db start, and it will fail.

When linking the project I get the warning, although the config has been created with supabase init and not been altered or changed in any way.
Warning: Local config differs from linked project. Try updating supabase/config.toml
[api]
enabled = true
port = 54321
schemas = ["public", "graphql_public"]
extra_search_path = ["public", "extensions"]
max_rows = 1000

Expected behavior
For supabase start to work when a project is linked.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Rerun the failing command with --create-ticket flag.

Ticket ID: [e.g. ab1ac733e31e4f928a4d7c8402543712]
Version of OS: [e.g. Ubuntu 22.04]
Version of CLI: [e.g. v1.60.0]
Version of Docker: [e.g. v25.0.3]
Versions of services: [output from supabase services command]

      SERVICE IMAGE      │      LOCAL       │  LINKED
    supabase/postgres      │ <IP_ADDRESS>        │ <IP_ADDRESS>
    supabase/gotrue        │ v2.154.2         │ v2.154.2
    postgrest/postgrest    │ v12.2.1          │ v12.2.1
    supabase/realtime      │ v2.28.32         │ -
    supabase/storage-api   │ v1.6.7           │ v1.6.7
    supabase/edge-runtime  │ v1.54.6          │ -
    supabase/studio        │ 20240422-5cf8f30 │ -
    supabase/postgres-meta │ v0.80.0          │ -
    supabase/logflare      │ 1.4.0            │ -
    supabase/supavisor     │ 1.1.56           │ -
    darthsim/imgproxy      │ v3.8.0           │ -

Additional context
If applicable, add any other context about the problem here.

supabase 1.178.2 via npx
Version of Node.js [e.g. v16.20.0] tried with 20.12.2 and 22.3.0

supabase/cli/internal/db/start/start.go

@fenos did we change the location of migrate script in recent storage version?

I'm having the same issue

The current workaround is to rm supabase/.temp/storage-version

Thank you so much! I was going crazy over this

Thank you for looking into it. However, the workaround does not work for me. When I delete storage-version and run supabase start, I now get a different error:
Error response from daemon: failed to resolve reference "public.ecr.aws/supabase/postgrest:v12.2.1": public.ecr.aws/supabase/postgrest:v12.2.1: not found

I have the same issue when running npx supabase db diff. I've tried with v1.150.0 and v1.178.2.
But thanks for this rm supabase/.temp/storage-version - works for now 🎊

Thank you for looking into it. However, the workaround does not work for me. When I delete storage-version and run supabase start, I now get a different error:
Error response from daemon: failed to resolve reference "public.ecr.aws/supabase/postgrest:v12.2.1": public.ecr.aws/supabase/postgrest:v12.2.1: not found

This is due to a new postgrest release that we haven't mirrored to ECR. I've just completed the mirroring job so it should be resolved now. Could you try again?

@sweatybridge Thank you, the workaround is now working.

@sweatybridge
I am running supabase db diff command to create migrations
Node js version : 18.17.0
Supabase cli version: Tried with 1.183.5 and also with beta version 1.186.2
docker version: 27.0.3
after running npx supabase start command I run npx supabase db diff
error diffing schema: error running container: exit 1: Traceback (most recent call last): File "/usr/local/bin/migra", line 8, in  sys.exit(do_command()) File "/usr/local/lib/python3.9/site-packages/migra/command.py", line 121, in do_command status = run(args) File "/usr/local/lib/python3.9/site-packages/migra/command.py", line 98, in run m.add_all_changes(privileges=args.with_privileges) File "/usr/local/lib/python3.9/site-packages/migra/migra.py", line 107, in add_all_changes self.add(self.changes.tables_only_selectables()) File "/usr/local/lib/python3.9/site-packages/migra/changes.py", line 496, in get_selectable_changes statements += get_table_changes( File "/usr/local/lib/python3.9/site-packages/migra/changes.py", line 233, in get_table_changes rls_alter = v.alter_rls_statement File "/usr/local/lib/python3.9/site-packages/schemainspect/pg/obj.py", line 228, in alter_rls_statement return self.alter_table_statement(self.alter_rls_clause) File "/usr/local/lib/python3.9/site-packages/schemainspect/pg/obj.py", line 145, in alter_table_statement raise NotImplementedError
could you please help me to fix this issue ??

@RishabhPachori could you please open a new issue as it's unrelated?
The problem is due to a limitation of migra tool which doesn't support generating alter rls statement.


How to extract PDF text using TagUI and SikuliX

There are a few ways -

using visual automation to open the PDF, using keyboard [ctrl]a and keyboard [ctrl]c, then paste into Notepad with keyboard [ctrl]v

if PDF is image text, can use visual automation to open the PDF, and using read step to apply OCR to PDF window (make an image of the PDF window, but make the contents transparent. this will be troublesome if multiple pages, because you need to also tell automation to click to go to next page and keep repeating until done.

If PDF is text format and not an image, then using some other way to convert directly will be better to retain accuracy. For eg using Python integration with the Python package PyPDF2

Sir.. plz can you show us how to do that.. ??

How is your PDF like, do you have a sample? Need to see if it is pure text PDF or image PDF.

yaa sure. Plzzz Check this out
cns_mod1.pdf

Sir, please answer me.

Hi @rubber12 . Ken, as well as other users, have kindly replied to issues and queries submitted for this tool/repo on their own time and expense so it would be nice if you do not rush them, as they do not have any obligation to answer you with this being an open source offering.
Anyway I have taken a look at the PDF file and it seems like it is an image PDF. This adds complexity to your problem as it is not easy to extract handwritings from images. My personal opinion is that TagUI/SikuliX won't be the best tool for this job and you would have to resort to smarter solutions that utilises deep learning capabilities.

Hi @ryzalk. I need to know how can I extract the pdf using TagUI and SikuliX

Is that possible to extract text pdf data? using TagUI and SikuliX

Thanks @ryzalk !
Hi @rubber12 yes what @ryzalk said is correct. Below are 2 sample pages from your PDF. They are handwritten text, combined with faded ink, lines, and background image. TagUI, even with Tesseract OCR, will not be able to convert such format into text.
You can explore other OCR tools or commercial RPA software to try to do this, though I feel that chance of success is low in getting acceptable accuracy. As it is not just hand-written numbers but different text in a heavily accented hand-writing style.
Even if there is a possible advance OCR or deep learning solution, the price you have to pay to use that solution will be so expensive that it may be better to hire some freelancer to help you transcribe these PDFs to text. Closing issue for now as this can't be done with TagUI.

Is it possible to extract data from a pdf which doesnt have hand written text but has typed text along with tables. I tried with tesseract, but it doesn't extract data if pdf has tables.

I don't think it will work reliably because tesseract extraction does not extract tables. So the extracted text will be in a mess without context which column and row it belongs to. I think Microsoft has created some technology for converting image of table into Excel.
But tesseract alone can't do that. You probably have to combine with your own computer vision algorithm in Python to detect lines of the table and then segment text accordingly for extraction. So not something that can be done out of the box for TagUI.

Thank You for your kind information, sir, @kensoh

Good luck for your project work! - saw from your profile that you are studying.
So probably trying to find a way to digitise for project work or for own studying.


get null 404 error on production

Hi, I have my app working on local machine without any errors, once I built for production and published the app on my domain, I got this error (which doesn't effect the app)
GET http://murhafsousli.com/null 404 (Not Found)     null:1

I looked in my code for hours I didn't find any get request, why is it happening!
and when I test production on local by adding enableProdMode(); in app component, I get this error instead of the previous one:
TypeError: Cannot read property 'probe' of undefined(…)

I think the problem is in _decorateComponentRef in environment.ts but I don't know how to fix it.

Have you string  enableProdMode(); in your dev branch in enviroment.ts? I had same error due to have same string

+1 having the same error(s).


Set default project board

Feature Description
For a few project we're working on, we're using quite a few project boards.
Right now, we have to go to > Projects -> Choose project to see the board.
I would be awesome if a board could be marked as "default" - and if a board is marked, it's attached to the menu, right between "Projects" and "Releases"
Screenshots
No response

I think we can add pinned projects on the top of projects page.


Slides and notebook for "Intro to Theano"

Is it OK if I merge, or does someone want to have a look first?


Feature Request - allow reverse grid_external_power_172

Hello, could you allow set the reverse direction of energy flow from the grid?
Thank you very much

Hi. I'm not sure what you are requesting. The card already supports both grid import or export and will update the animation according to positive or negative power values i.e negative grid_external_power = grid export

Yes, I think I have the possibility to invert the value of the sensor. I use this great card with GoodWe inverter . There I don't have a flow sensor on the inverter, but on the "watrouter" meter, the configuration looks like this:
grid_external_power_172: sensor.active_power.
Since it is a sensor on the meter the flow is logically reversed. It's the same with batteries, but there you have the option to turn the current in the script.... I mean this part:
let battery_power = "";
if (config.battery.invert_power === 'yes'){
battery_power = (parseInt(stateObj13.state) * -1);
And it would help me if the item grid_external_power_172 could be rotated in the same way .....

Added to v1.5.7 invert_grid: yes/no

Hi, Thank you very much, now this it works correctly for me!
Big thanks


Failed to initialize RnntConformerModel in offline_server.py when using cuda

When using sherpa/bin/pruned_transducer_statelessX/offline_server.py with cuda (num_device>=1), it is failed to initialize the model at line offline_server.py#L371
Seem like it is missing decode_chunk_size argument
__init__(): incompatible constructor arguments. The following argument types are supported:
    1. _sherpa.RnntConformerModel(filename: str, left_context: int, right_context: int, decode_chunk_size: int, device: object = 'cpu', optimize_for_inference: bool = False)

Invoked with: kwargs: filename='/home/chicky/workspace/github/icefall/egs/gigaspeech/ASR/pruned_transducer_stateless2/icefall-asr-gigaspeech-pruned-transducer-stateless2/exp/cpu_jit-iter-3488000-avg-15.pt', left_context=0, right_context=0, device=device(type='cuda', index=0), optimize_for_inference=False
  File "/home/chicky/workspace/github/sherpa/sherpa/bin/pruned_transducer_statelessX/offline_server.py", line 371, in _build_nn_model
    model = RnntConformerModel(
  File "/home/chicky/workspace/github/sherpa/sherpa/bin/pruned_transducer_statelessX/offline_server.py", line 277, in __init__
    self.nn_models = self._build_nn_model(nn_model_filename, num_device)
  File "/home/chicky/workspace/github/sherpa/sherpa/bin/pruned_transducer_statelessX/offline_server.py", line 716, in main
    offline_server = OfflineServer(
  File "/home/trungle/opt/anaconda3/envs/k2/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/home/chicky/workspace/github/sherpa/sherpa/bin/pruned_transducer_statelessX/offline_server.py", line 762, in <module>
    main()
  File "/home/trungle/opt/anaconda3/envs/k2/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/trungle/opt/anaconda3/envs/k2/lib/python3.10/runpy.py", line 196, in _run_module_as_main (Current frame)
    return _run_code(code, main_globals, None,

Are you using the latest version of sherpa?

Are you using the latest version of sherpa?

Yes, you can check the code at link I've provided

@trunglebka
Thanks for pointing it out.
Would you mind making a pull-request to fix it? GitHub actions can only test CPU versions of offline_server.py and so the code about CUDA is not covered by github actions.
You need to add a new line
https://github.com/k2-fsa/sherpa/blob/974a7ce70389fde207f9afcbe58693db290f6982/sherpa/bin/pruned_transducer_statelessX/offline_server.py#L362
to
https://github.com/k2-fsa/sherpa/blob/974a7ce70389fde207f9afcbe58693db290f6982/sherpa/bin/pruned_transducer_statelessX/offline_server.py#L374


Deduplicate rules when using extend

Feel free to close this if I'm wrong, but it seems like when a styled component is extended, the new styles are simply appended to the end of the original styles.
It would be cool if this babel plugin could dedupe staticly defined properties that have multiple instances within the same styling context.

It's impossible to do this, since we don't have access to all parents and mixins during the runtime. So I'm going with the Proof of concept preprocessing concept and building on it for v3. One that doesn't make any assumptions and makes it unnecessary to "break out" of a css context that needs to be processed.
For the ISTF standard I wrote down a summary which should make it clear why we can't do this: https://gist.github.com/philpl/1099bf4a4a28ced28dbb6b204c5fdcb3
It's possible at runtime but we want to get rid of the overhead there


make the pd check can test a signle test

[x] Tick to sign-off your agreement to the Developer Certificate of Origin (DCO) 1.1

What
Make Pager Duty notifier can notify a single test
Why
We need to make a pager for chef-stale that check if a production node not running over 4 days
How
grep the check from official.json and check if the fail test in the official.json or not
Test
Test on my local with tag --notify pagerduty
Context
https://github.com/ComplianceAsCode/auditree-framework/issues/62

This change is from here https://github.ibm.com/cloumpose/compliance-tool/pull/376

@xinivanchen can you add an issue to this repo?  Your context link is only viewable by Cloudant folk.  I think others is OSS land should have a context as well in case they're following along.

@xinivanchen can you add an issue to this repo? Your context link is only viewable by Cloudant folk. I think others is OSS land should have a context as well in case they're following along.

I have created the issue here: https://github.com/ComplianceAsCode/auditree-framework/issues/62


Added build instructions to readme

Contributor Comments
This PR is to add build instructions to easy_infra's readme
Pull Request Checklist
Thank you for submitting a contribution to easy_infra!
In order to streamline the review of your contribution we ask that you review and comply with the below requirements:

[ ] Rebase your branch against the latest commit of the target branch
[ ] If you are adding a dependency, please explain how it was chosen
[ ] If manual testing is needed in order to validate the changes, provide a testing plan and the expected results
[ ] If there is an issue associated with your Pull Request, link the issue to the PR.

@digeseiso this one will need a rebase after #222 is in


Ambiguous language regarding CIS/DISA/STIG requirements

What exactly is meant by "closely meet" in this sentence from the page?
"Enables you to closely meet Center for Internet Security (CIS) benchmark and Defense Information System Agency (DISA) Security Technical Implementation Guide (STIG) requirements for the operating system (OS) and the Microsoft recommended security baseline."
What is the delta here between almost meeting the standard and actually meeting it? We should be explicit with what the baseline cannot meet here.

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

ID: 4898389f-c8f6-a8f4-b386-d2491051eedd
Version Independent ID: 1c0e9e8c-4292-1e48-5e20-ba559afee3fe
Content: Security baseline settings on Azure Stack HCI (preview) - Azure Stack HCI
Content Source: azure-stack/hci/concepts/secure-baseline.md
Service: azure-stack
Sub-service: azure-stack-hci
GitHub Login: @alkohli
Microsoft Alias: alkohli

@dkirby-ms
Thanks for your feedback! We will investigate and update as appropriate.

@dkirby-ms
"Closely meet" in this context means that the secure baseline provides a set of security configurations that are aligned with the Center for Internet Security (CIS) benchmark and Defense Information System Agency (DISA) Security Technical Implementation Guide (STIG) requirements for the operating system (OS) and the Microsoft recommended security baseline. However, it is important to note that the secure baseline may not meet all of the requirements of these standards. The secure baseline is designed to provide a strong starting point for securing your environment, but it is not a guarantee that your environment will be fully compliant with these standards. It is always recommended to review the specific requirements of the standards and adjust the secure baseline configurations as needed to meet your specific compliance needs.
The delta between "almost meeting" the standard and "actually meeting" it is the specific requirements of the standard that are not met by the secure baseline. While the secure baseline is designed to closely meet the requirements of the Center for Internet Security (CIS) benchmark and Defense Information System Agency (DISA) Security Technical Implementation Guide (STIG) for the operating system (OS) and the Microsoft recommended security baseline, it may not meet all of the requirements of these standards. For example, there may be specific controls or settings that are required by the standard that are not included in the secure baseline. It is important to review the specific requirements of the standards and adjust the secure baseline configurations as needed to meet your specific compliance needs.
if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Thanks, that helps and gets me what I need. A "nice to have" would be including this in our docs but of course I'll leave that up to the docs team to decide if you want to do that or not.

@dkirby-ms
We're thrilled to hear that the suggestion we provided has been helpful and has met your needs. Your feedback is incredibly valuable to us, and we always aim to improve our services based on your input. Once again, thank you for contribution.
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Run all tests fails (pytest)

Hi Good people,
For some reasons run all tests fails in vscode with following error

platform linux -- Python 3.6.9, pytest-5.0.1, py-1.8.0, pluggy-0.13.1
rootdir: /workspace
plugins: cov-2.8.1
Fatal Python error: Aborted

Error: TypeError: Cannot read property 'testsuites' of null

Even discovery of tests fails with following error

Test Discovery failed:
Error: free(): invalid pointer
Fatal Python error: Aborted

I have tried installing different versions of pytest but it doesnt seem to help.
do you know about this issue ?

@hiddenslave Please reopen this issue on the pytest extension

@RMacfarlane i am not using any pytest extension .i use Microsoft python extension and pytest pip package . It could be a problem with pytest itself .. thanks


import json

I try to import a json file or clipboard with:
{
"timestamp": [
"2024-10-28T08:00:00",
"2024-10-28T08:01:00",
"2024-10-28T08:02:00",
"2024-10-28T08:03:00",
"2024-10-28T08:04:00",
"2024-10-28T08:05:00",
"2024-10-28T08:06:00",
"2024-10-28T08:07:00",
"2024-10-28T08:08:00",
"2024-10-28T08:09:00",
"2024-10-28T08:10:00",
"2024-10-28T08:11:00",
"2024-10-28T08:12:00",
"2024-10-28T08:13:00",
"2024-10-28T08:14:00",
"2024-10-28T08:15:00",
"2024-10-28T08:16:00",
"2024-10-28T08:17:00",
"2024-10-28T08:18:00",
"2024-10-28T08:19:00",
"2024-10-28T08:20:00",
"2024-10-28T08:21:00",
"2024-10-28T08:22:00",
"2024-10-28T08:23:00",
"2024-10-28T08:24:00",
"2024-10-28T08:25:00",
"2024-10-28T08:26:00",
"2024-10-28T08:27:00",
"2024-10-28T08:28:00",
"2024-10-28T08:29:00",
"2024-10-28T08:30:00",
"2024-10-28T08:31:00",
"2024-10-28T08:32:00",
"2024-10-28T08:33:00",
"2024-10-28T08:34:00",
"2024-10-28T08:35:00",
"2024-10-28T08:36:00",
"2024-10-28T08:37:00",
"2024-10-28T08:38:00",
"2024-10-28T08:39:00",
"2024-10-28T08:40:00",
"2024-10-28T08:41:00",
"2024-10-28T08:42:00",
"2024-10-28T08:43:00",
"2024-10-28T08:44:00",
"2024-10-28T08:45:00",
"2024-10-28T08:46:00",
"2024-10-28T08:47:00",
"2024-10-28T08:48:00",
"2024-10-28T08:49:00",
"2024-10-28T08:50:00",
"2024-10-28T08:51:00",
"2024-10-28T08:52:00",
"2024-10-28T08:53:00",
"2024-10-28T08:54:00",
"2024-10-28T08:55:00",
"2024-10-28T08:56:00",
"2024-10-28T08:57:00",
"2024-10-28T08:58:00",
"2024-10-28T08:59:00",
"2024-10-28T09:00:00",
"2024-10-28T09:01:00",
"2024-10-28T09:02:00",
"2024-10-28T09:03:00",
"2024-10-28T09:04:00",
"2024-10-28T09:05:00",
"2024-10-28T09:06:00",
"2024-10-28T09:07:00",
"2024-10-28T09:08:00",
"2024-10-28T09:09:00",
"2024-10-28T09:10:00",
"2024-10-28T09:11:00",
"2024-10-28T09:12:00",
"2024-10-28T09:13:00",
"2024-10-28T09:14:00",
"2024-10-28T09:15:00",
"2024-10-28T09:16:00",
"2024-10-28T09:17:00",
"2024-10-28T09:18:00",
"2024-10-28T09:19:00",
"2024-10-28T09:20:00",
"2024-10-28T09:21:00",
"2024-10-28T09:22:00",
"2024-10-28T09:23:00",
"2024-10-28T09:24:00",
"2024-10-28T09:25:00",
"2024-10-28T09:26:00",
"2024-10-28T09:27:00",
"2024-10-28T09:28:00",
"2024-10-28T09:29:00",
"2024-10-28T09:30:00",
"2024-10-28T09:31:00",
"2024-10-28T09:32:00",
"2024-10-28T09:33:00",
"2024-10-28T09:34:00",
"2024-10-28T09:35:00",
"2024-10-28T09:36:00",
"2024-10-28T09:37:00",
"2024-10-28T09:38:00",
"2024-10-28T09:39:00",
"2024-10-28T09:40:00",
"2024-10-28T09:41:00",
"2024-10-28T09:42:00",
"2024-10-28T09:43:00",
"2024-10-28T09:44:00",
"2024-10-28T09:45:00",
"2024-10-28T09:46:00",
"2024-10-28T09:47:00",
"2024-10-28T09:48:00",
"2024-10-28T09:49:00",
"2024-10-28T09:50:00",
"2024-10-28T09:51:00",
"2024-10-28T09:52:00",
"2024-10-28T09:53:00",
"2024-10-28T09:54:00",
"2024-10-28T09:55:00",
"2024-10-28T09:56:00",
"2024-10-28T09:57:00",
"2024-10-28T09:58:00",
"2024-10-28T09:59:00",
"2024-10-28T10:00:00",
"2024-10-28T10:01:00",
"2024-10-28T10:02:00",
"2024-10-28T10:03:00",
"2024-10-28T10:04:00",
"2024-10-28T10:05:00",
"2024-10-28T10:06:00",
"2024-10-28T10:07:00",
"2024-10-28T10:08:00",
"2024-10-28T10:09:00",
"2024-10-28T10:10:00",
"2024-10-28T10:11:00",
"2024-10-28T10:12:00",
"2024-10-28T10:13:00",
"2024-10-28T10:14:00",
"2024-10-28T10:15:00",
"2024-10-28T10:16:00",
"2024-10-28T10:17:00",
"2024-10-28T10:18:00",
"2024-10-28T10:19:00",
"2024-10-28T10:20:00",
"2024-10-28T10:21:00",
"2024-10-28T10:22:00",
"2024-10-28T10:23:00",
"2024-10-28T10:24:00",
"2024-10-28T10:25:00",
"2024-10-28T10:26:00",
"2024-10-28T10:27:00",
"2024-10-28T10:28:00",
"2024-10-28T10:29:00",
"2024-10-28T10:30:00",
"2024-10-28T10:31:00",
"2024-10-28T10:32:00",
"2024-10-28T10:33:00",
"2024-10-28T10:34:00",
"2024-10-28T10:35:00",
"2024-10-28T10:36:00",
"2024-10-28T10:37:00",
"2024-10-28T10:38:00",
"2024-10-28T10:39:00",
"2024-10-28T10:40:00",
"2024-10-28T10:41:00",
"2024-10-28T10:42:00",
"2024-10-28T10:43:00",
"2024-10-28T10:44:00",
"2024-10-28T10:45:00",
"2024-10-28T10:46:00",
"2024-10-28T10:47:00",
"2024-10-28T10:48:00",
"2024-10-28T10:49:00",
"2024-10-28T10:50:00",
"2024-10-28T10:51:00",
"2024-10-28T10:52:00",
"2024-10-28T10:53:00",
"2024-10-28T10:54:00",
"2024-10-28T10:55:00",
"2024-10-28T10:56:00",
"2024-10-28T10:57:00",
"2024-10-28T10:58:00",
"2024-10-28T10:59:00",
"2024-10-28T11:00:00",
"2024-10-28T11:01:00",
"2024-10-28T11:02:00",
"2024-10-28T11:03:00",
"2024-10-28T11:04:00",
"2024-10-28T11:05:00",
"2024-10-28T11:06:00",
"2024-10-28T11:07:00",
"2024-10-28T11:08:00",
"2024-10-28T11:09:00",
"2024-10-28T11:10:00",
"2024-10-28T11:11:00",
"2024-10-28T11:12:00",
"2024-10-28T11:13:00",
"2024-10-28T11:14:00",
"2024-10-28T11:15:00",
"2024-10-28T11:16:00",
"2024-10-28T11:17:00",
"2024-10-28T11:18:00",
"2024-10-28T11:19:00",
"2024-10-28T11:20:00",
"2024-10-28T11:21:00",
"2024-10-28T11:22:00",
"2024-10-28T11:23:00",
"2024-10-28T11:24:00",
"2024-10-28T11:25:00",
"2024-10-28T11:26:00",
"2024-10-28T11:27:00",
"2024-10-28T11:28:00",
"2024-10-28T11:29:00",
"2024-10-28T11:30:00",
"2024-10-28T11:31:00",
"2024-10-28T11:32:00",
"2024-10-28T11:33:00",
"2024-10-28T11:34:00",
"2024-10-28T11:35:00",
"2024-10-28T11:36:00",
"2024-10-28T11:37:00",
"2024-10-28T11:38:00",
"2024-10-28T11:39:00",
"2024-10-28T11:40:00",
"2024-10-28T11:41:00",
"2024-10-28T11:42:00",
"2024-10-28T11:43:00",
"2024-10-28T11:44:00",
"2024-10-28T11:45:00",
"2024-10-28T11:46:00",
"2024-10-28T11:47:00",
"2024-10-28T11:48:00",
"2024-10-28T11:49:00",
"2024-10-28T11:50:00",
"2024-10-28T11:51:00",
"2024-10-28T11:52:00",
"2024-10-28T11:53:00",
"2024-10-28T11:54:00",
"2024-10-28T11:55:00",
"2024-10-28T11:56:00",
"2024-10-28T11:57:00",
"2024-10-28T11:58:00"
],
"co2": [
407.0,
407.0,
407.0,
407.0,
407.0,
407.0,
407.0,
407.17,
408.0,
408.33,
409.0,
409.17,
410.0,
410.0,
410.5,
411.0,
411.0,
411.67,
412.0,
412.0,
412.0,
412.67,
413.0,
413.0,
412.0,
412.0,
412.0,
411.33,
411.0,
411.0,
410.0,
410.0,
409.5,
409.0,
409.0,
409.0,
408.0,
408.0,
408.0,
408.0,
408.0,
407.0,
412.5,
407.17,
408.0,
408.0,
407.33,
407.0,
407.0,
430.67,
407.0,
407.0,
407.0,
407.0,
407.0,
407.0,
407.0,
407.0,
407.0,
407.0,
407.0,
407.0,
407.5,
408.67,
410.17,
412.83,
416.67,
420.33,
424.33,
427.5,
430.5,
433.17,
435.67,
437.83,
439.67,
441.33,
442.33,
443.0,
443.5,
444.0,
444.0,
444.0,
444.0,
445.0,
445.0,
445.0,
445.0,
444.5,
444.0,
444.0,
443.0,
443.0,
442.5,
442.0,
441.67,
441.0,
441.0,
440.17,
440.0,
440.0,
439.5,
439.0,
439.0,
439.0,
439.0,
439.0,
439.0,
439.0,
439.0,
441.0,
438.0,
437.67,
437.0,
437.0,
436.0,
436.0,
435.17,
435.0,
434.5,
434.0,
433.5,
433.0,
432.17,
432.0,
432.0,
432.83,
435.5,
439.67,
444.5,
450.5,
457.5,
463.67,
470.67,
478.0,
485.33,
492.33,
500.0,
507.67,
514.33,
515.0,
515.0,
515.0,
515.0,
515.0,
515.0,
515.0,
515.0,
515.0,
515.0,
515.0,
515.0,
515.0,
515.0,
515.17,
521.0,
524.83,
524.83,
523.83,
522.5,
520.5,
518.0,
515.33,
511.83,
508.17,
504.0,
499.33,
494.5,
485.5,
485.5,
480.83,
476.0,
471.33,
466.83,
462.33,
458.0,
454.33,
450.33,
446.67,
443.5,
440.5,
437.67,
435.17,
433.17,
431.33,
429.67,
429.0,
428.0,
428.0,
429.33,
433.67,
439.5,
445.5,
451.83,
459.5,
467.5,
476.17,
484.67,
493.0,
501.0,
508.67,
515.83,
523.0,
531.33,
535.0,
535.0,
535.0,
535.0,
535.0,
535.0,
535.0,
535.0,
535.0,
535.0,
535.0,
535.0,
524.17,
535.0,
535.0,
535.0,
535.0,
535.0,
536.0,
544.33,
553.17,
560.0,
565.67,
570.33,
499.17,
577.83,
581.5,
584.83,
588.33,
592.0,
596.5,
601.83,
607.5,
613.83,
619.5,
623.0
]
}
and my table is empty:

I think my json is correct:
df = pd.DataFrame(data)
df
timestamp     co2
0    2024-10-28T08:00:00  407.00
1    2024-10-28T08:01:00  407.00
2    2024-10-28T08:02:00  407.00
3    2024-10-28T08:03:00  407.00
4    2024-10-28T08:04:00  407.00
..                   ...     ...
234  2024-10-28T11:54:00  601.83
235  2024-10-28T11:55:00  607.50
236  2024-10-28T11:56:00  613.83
237  2024-10-28T11:57:00  619.50
238  2024-10-28T11:58:00  623.00
[239 rows x 2 columns]

Currently Data Formulator's supported json format is the json with "records" orientation:
For example, your dataset should be organized in this way (each record is a row in the table): This is equivelent as reading json in pandas with pandas.read_json(file_path, orient='records')
[
  {"index": 0, "timestamp": "2024-10-28T08:00:00", "value": 407.00},
  {"index": 1, "timestamp": "2024-10-28T08:01:00", "value": 407.00},
  {"index": 2, "timestamp": "2024-10-28T08:02:00", "value": 407.00},
  {"index": 3, "timestamp": "2024-10-28T08:03:00", "value": 407.00},
  {"index": 4, "timestamp": "2024-10-28T08:04:00", "value": 407.00},
  ...
  {"index": 234, "timestamp": "2024-10-28T11:54:00", "value": 601.83},
  {"index": 235, "timestamp": "2024-10-28T11:55:00", "value": 607.50},
  {"index": 236, "timestamp": "2024-10-28T11:56:00", "value": 613.83},
  {"index": 237, "timestamp": "2024-10-28T11:57:00", "value": 619.50},
  {"index": 238, "timestamp": "2024-10-28T11:58:00", "value": 623.00}
]

This is a good point though, maybe we should support both types of json to enter into data formulator.


Front authentication

The architecture of the project is very interesting. I have a question.

How do you think is the best way to authenticate front users with the backend service?

Hi, could you please elaborate on your question, what type of authentication do you have in mind?

issuer-authentication - is out of scope for walletkit
user-authentication - is handled by the waltid-web-wallet

I am analyzing ways to authenticate users, using, for example, OpenID Connect (OIDC).
I understand that the 'waltid-web-wallet' project has a basic implementation, and I was looking for guides or diagrams to properly implement authentication with a service that uses the 'wallet-kit' in the backend to utilize VC (Verifiable Credentials) and the functionalities offered by the kit.
I would also like to know if you have any plans to work on a similar line of understanding and solving this problem properly.
If not, I can try to study the standard and look into the implementation of 'waltid-web-wallet' to attempt it on my own.
Thank you.

perhaps these 2 can help:

issuer-portal - https://github.com/walt-id/waltid-issuer-portal
verifier-portal - https://github.com/walt-id/waltid-verifier-portal

A small diagram showing the component architecture can be found on the Issuer and Verifier portals page. Also there can be found the oidc protocol description. Please keep in mind, the current oidc implementations (oidc4ci and oidc4vp) are being updated to the latest spec (oid4vc).


Visual Studio 2015 build property pane errors when using tsconfig.json

I'm using Visual Studio 2015 with the new TypeScript 1.8 beta.  The project I'm using has a tsconfig.json in the root.  When I go to the TypeScript Build tab on the property panes I was expecting it to be just greyed out because I'm using a tsconfig.json.  In actual fact I experienced this:

I'm also using the new NuGet version of TypeScript in the project but I'm not sure if that is relevant.  I mention it for completeness.

It looks like this may be related to using the Nuget version of TypeScript.  When I dropped using that I started getting the expected greyed out pane:

I don't reproduce this on my machine.. can you share a project in which this reproduces?

Please give 1.8.4 a try and reopen if you still see the issue.

Just checked and all seems fine

thanks @johnnyreilly!


Title: Support for non-tensor based datasets in Accelerate

System Info
accelerate==0.21.0
python==3.9

Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
I encountered an issue while using the Accelerate library, as it does not support non-tensor based datasets. For instance, consider the following situation:
        return {
            "image": tensor,
            "text_input": str
        }

In this case, an error occurs: Can only concatenate tensors but got <class 'str'>. The problem lies in the following code:
raise TypeError(f"Can only concatenate tensors but got {type(data[0])}")
The concat function here can only handle tensor type data, otherwise, it raises an error.
Expected behavior
However, in many practical applications, we often need to work with non-tensor datasets in IO operations. I would like to request support for non-tensor type datasets in Accelerate.

Waiting for kindly reply ...

I'm getting the same issue. I'm working with PyTorch Geometric Data objects. According to various other threads I've read, it was supported in the past.


Rstudio - Cannot read from s3n using spark_read_csv or spark_read_parquet when connected to remote spark

Cannot read from s3n using spark_read_csv or spark_read_parquet when connected to remote spark
##specify keys as environment variables
Sys.setenv("AWS_ACCESS_KEY_ID" = "XXXXXXX",
"AWS_SECRET_ACCESS_KEY" = "XXXXXX")
library(sparklyr)
library(dplyr)
#connect to spark
sc <- spark_connect(config = "Apache Spark-ic")
Spark is connected and i can read from local filesytem of remote spark's driver.
But when it comes to s3n, i get weird error
usercsv_tbl <- spark_read_csv(sc,name = "usercsvtlb",path = "s3n://charlesbuckets31/FolderA/users.csv")
Error in as.hexmode(x) : 'x' cannot be coerced to class "hexmode"
In addition: Warning message:
In mapply(function(x, y) { :
longer argument not a multiple of length of shorter

@charles2588 does this help? http://spark.rstudio.com/example-s3.html
ACCESSKEY and SECRETKEY in correct format?

@javierluraschi perhaps you want to add the above example to standard examples in the website? (just checked its not)

Hi, thank you for your suggestion, we have it listed under Deployment / Deployment Examples: http://spark.rstudio.com/deployment_examples.html.

ahhhh! thanks for letting me know.

Looks resolved, I'm glad, closing.

Both links are dead. What was the work around for this issue?

Hi, please try this link: http://spark.rstudio.com/examples/
I'll make sure to have the old link forward to this page going forward, in the meanwhile, please feel free to use the one above.
Thanks


Wrong project when using +ivy-switch-buffer

What did you expect to happen?
I use +ivy/switch-buffer instead of the default  +ivy/switch-workspace-buffer, I also have ivy-use-virtual-buffers set to true. I start from a fresh instance of emacs (so that the projectile cache is empty) with minimal configuration (using the sandbox is not possible because I need the list of recent files).
I then do the following:

Call +ivy/switch-buffer
Using ivy's virtual buffers, I visit a file that is in a git repository
Call +ivy/switch-buffer again
Using ivy's virtual buffers, visit a second file in my home directory (which does not belong to a git repo)

I expect to have the path in my modeline to be relative to the home directory.
What actually happened?
The file path is dislayed relative to the project of the first file I visited.
Inspecting projectile-project-root I see that it does point to the path of the previous project (even though the current file does not belong to it).
Strangely, for some reason, if I use the default +ivy/switch-workspace-buffer, I don't see the problem.
System information:

```
emacs   version    26.3
        features   XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD LCMS2
        build      Sep 16, 2019
        buildopts  (--build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --program-suffix=26 --with-modules --with-file-notification=inotify --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-xwidgets --with-lcms2 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs26-TP6iDo/emacs26-26.3~1.git96dd019=. -fstack-protector-strong -Wformat -Werror=format-security -no-pie' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -no-pie')
        windowsys  x
        daemonp    server-running
doom    version    2.0.9
        build      HEAD -> develop, origin/develop, origin/HEAD a262527a7 2020-05-21 04:33:39 -0400
        dir        ~/Work/Projects/dotfiles/emacs/.config/doom/
system  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /bin/zsh
        uname      Linux 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64
        path       (~/.local/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin /usr/lib/x86_64-linux-gnu/emacs/26.3/x86_64-linux-gnu)
config  envfile    nil
        elc-files  0
        modules    (:completion company (ivy +icons) :ui doom hl-todo modeline nav-flash ophints vc-gutter vi-tilde-fringe window-select workspaces :editor file-templates fold multiple-cursors rotate-text snippets :emacs (dired +icons) electric ibuffer vc (undo +tree) :term eshell :checkers syntax spell :tools (eval +overlay) (lookup +docsets) magit make :lang (cc +irony +rtags) data emacs-lisp (latex +latexmk) markdown (org +attach +capture +dragndrop +present) python sh :email mu4e :app calendar :config literate (default +bindings +smartparens))
        packages   ((mu4e-alert) (hungry-delete) (yasnippet-snippets) (org-caldav) (oauth2) (edit-server) (org-clock-today) (dired-subtree) (dired-single) (org-super-agenda) (xterm-color) (openwith) (rotate) (smartrep) (origami) (try) (el-patch))
        unpin      (n/a)
        elpa       (websocket matlab-mode atomic-chrome)
```

Turns out this is a duplicate of #3166 (and #3288), and was resolved in 60ca118.


Vortex bot keeps leaving my server

I add vortex bot but it keeps leaving after an hour or so. I don't know what I am doing wrong. help?

The issue tracker is for issues, feature requests, and bug reports. Please see the Getting Started section of the wiki for server requirements.

I have the same issue


[QUESTION] "Edge exists" Error when Processing Point Cloud with TEASER Solver

I encountered an "Edge exists" error message while running the TEASER solver on a point cloud dataset in my project. This issue arises under specific circumstances, which leads me to believe there might be a problem with how edges are being processed or identified within the dataset. This dataset is a stl file of femur and the ply file we captured with our RGBD camera of the operating scences of patients.

I get the same error followed by a "Segmentation fault". Did you find a solution?

It's hard to reproduce your problem. But, one thing I'm curious is how many correspondences are given to TEASER++?

Hi, thanks for your reply. I'm giving about 600 putative correspondences to Teaser. But the segmentation fault only happens for cases with a high noise bound, e.g. above 1. For low noise bounds, the algorithm works as intended. Funnily enough, I get a segmentation fault and the end of the algorithm even after successful registration.
I'd happily give you more detailed information but im not too sure what info to give.
If i run an example in c++ with extreme high noise bound it takes long but it still works.
I using Win 11 with WSL2 on Ubuntu 20.04 with Python 3.6 and PyCharm. Open3d==0.15.2

Hmmm it's weird, so you mean you only have a problem when you run TEASER++ on Python? Please use gdb and check the lines where the TEASER++ code makes a breakdown.

Hi @LimHyungTae
yes only if i run the python examples with high noise bound. if i run c++ even with high noise bound it runs perfectly. as im having issues with vs code and such i started using the python implementation.
im running with os.environ["OMP_NUM_THREADS"] = "12"
this is the output from gdb:
`Starting program: /home/armin/anaconda3/envs/teaser_test/bin/python teaser_python_ply.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 76685]
[Detaching after fork from child process 76686]
[Detaching after fork from child process 76689]
[Detaching after fork from child process 76690]
[Detaching after fork from child process 76691]
[Detaching after fork from child process 76694]
[New Thread 0x7f3509278700 (LWP 76695)]
[New Thread 0x7f34dacfd700 (LWP 76696)]
[New Thread 0x7f34d9714700 (LWP 76697)]
[New Thread 0x7f34d8f13700 (LWP 76698)]
[Thread 0x7f34d8f13700 (LWP 76698) exited]
[New Thread 0x7f34d39f8780 (LWP 76699)]
[New Thread 0x7f34d31f6800 (LWP 76700)]
[New Thread 0x7f34d29f4880 (LWP 76701)]
[New Thread 0x7f34d21f2900 (LWP 76702)]
[New Thread 0x7f34d19f0980 (LWP 76703)]
[New Thread 0x7f34d11eea00 (LWP 76704)]
[New Thread 0x7f34d09eca80 (LWP 76705)]
[New Thread 0x7f34c5ffeb00 (LWP 76706)]
[New Thread 0x7f34c57fcb80 (LWP 76707)]
[New Thread 0x7f34c4ffac00 (LWP 76708)]
[New Thread 0x7f34c47f8c80 (LWP 76709)]
[Detaching after fork from child process 76710]
[Detaching after fork from child process 76712]
[New Thread 0x7f34d8f13700 (LWP 76713)]
[New Thread 0x7f34c1586700 (LWP 76714)]
[New Thread 0x7f34c0d85700 (LWP 76715)]
[New Thread 0x7f34802b2700 (LWP 76716)]
[New Thread 0x7f347dab1700 (LWP 76717)]
[New Thread 0x7f347b2b0700 (LWP 76718)]
[New Thread 0x7f3478aaf700 (LWP 76719)]
[New Thread 0x7f34782ae700 (LWP 76720)]
[New Thread 0x7f3473aad700 (LWP 76721)]
[New Thread 0x7f34712ac700 (LWP 76722)]
[New Thread 0x7f346eaab700 (LWP 76723)]
    TEASER++ Python registration example

==================================================
Total points in point cloud: 185807
Points matching the specified color: 24923
Total points in point cloud: 516544
Points matching the specified color: 24736
[Detaching after vfork from child process 76725]
[New Thread 0x7f345a74e700 (LWP 76727)]
[New Thread 0x7f344beb8700 (LWP 76728)]
[New Thread 0x7f344b6b7700 (LWP 76729)]
[New Thread 0x7f344aeb6700 (LWP 76730)]
[New Thread 0x7f344a6b5700 (LWP 76731)]
Starting scale solver (only selecting inliers if scale estimation has been disabled).
Scale estimation complete.
--Type  for more, q to quit, c to continue without paging--
Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007f345cc13f10 in teaser::RobustRegistrationSolver::solve(Eigen::Matrix<double, 3, -1, 0, 3, -1> const&, Eigen::Matrix<double, 3, -1, 0, 3, -1> const&) () from /home/armin/PY_TEASER/build/teaser/libteaser_registration.so`

How much large noise bound do you use now? Originally, a 'large' noise bound is not intended; it should be no larger than voxel sampling size (if you conduct voxel sampling as a preprocessing)

Well, im trying to register 2 point clouds from different sources. One pcd is highly accurate extracted from a 3D model and the other is noisy/incomplete reconstructed from SLAM. I have extracted the columns from both point clouds and extracted the center point from each column. Now im trying to register these column center points with all-to-all correspondence. It works very well when I use the same cloud for source and target. I did not get it to work for the cross-source case with noise bound above 2.5. I have around 25 column center points on each pcd.
My idea was to test to increase the noise bound to compensate for the inaccuracies from the SLAM column centers...
If I could just get the translation, that would be beneficial and I could do more testing. Maybe i am not not fully understanding the paper yet.

@arminkmbr All-to-all correspondences are going to be difficult for your case with a large number of points. The segfault might be caused by the program using too much memory.

Did you set OMP_NUM_THREADS=16 in front of your command?


Fix incorrect color assignment for steel light variant

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Object of state "vodafone-speedtest.0.modem" is missing the required property "common.type"

Log file shows
vodafone-speedtest.0 (26555) Object of state "vodafone-speedtest.0.modem" is missing the required property "common.type"
Versions:

Adapter version: 0.0.6
JS-Controller version: 3.3.5
Node version: v14.16.1
Operating system: Linux / Raspberry OS 'Buster'

fixed in 0.7.0


plug.kak: Not loaded, seems to be ignoring GitHub plugins too

I'm pretty new to Kakoune, though I've been trying it off and on for a while now, and I've used these plugins before.
I tried to set up a simple kakrc on Debian unstable, Kakoune v2020.01.16, kakoune 2020.01.16-2, with the following contents:
source "%val{config}/plugins/plug.kak/rc/plug.kak"

plug "andreyorst/fzf.kak"
plug "andreyorst/smarttab.kak"
plug "delapouite/kakoune-text-objects"
plug "jdugan6240/powerline.kak"
plug "robertmeta/plug.kak"

plug "kak-lsp/kak-lsp" do %{
    cargo install --locked --force --path .
}

colorscheme gruvbox

I've followed the instructions in the README, and cloned plug.kak with git clone https://github.com/robertmeta/plug.kak.git ~/.config/kak/plugins/plug.kak, but when I try to run :plug-install, I get this buffer, showing only two of my plugins:
kak-lsp/kak-lsp: Installed
plug.kak: Not loaded

Printed to the *debug* buffer, I get the errors mentioned in #2.

I originally thought the kakoune package was up to date (I read 2020 as 2021), but the issue still occurs with Kakoune built from the master branch.

I originally thought the kakoune package was up to date (I read 2020 as 2021), but the issue still occurs with Kakoune built from the master branch.

After adding noload to the plug "robertmeta/plug.kak" line, both issues have been resolved.

After adding noload to the plug "robertmeta/plug.kak" line, both issues have been resolved.


When render with hdr background and '-u' , the background could be stretched (wrong x/y ratio)

Describe the bug
When render with hdr skybox photo, and using different x/y for the output picture, we can see the background is stretched.
First, the pictures without -u, I don't see obvious issues, background picture looks fine.
1200x1200:

2400x1200:

However, after turn on background blur, the second one looks wrong (the light shape is oval):
1200x1200 with -u:

2400x1200 with -u:

To Reproduce
Steps to reproduce the behavior:
f3d --input WaterBottle.glb --output 2400x1200u.png --camera-position=0.584518,0.0,0.0 -u -t --hdri christmas.hdr --resolution=2400,1200 --dry-run

background img:
christmas.hdr.zip
Expected behavior
background should look similar with different resolution
System Information:

OS: Linux
GPU and GPU driver: None

F3D Information
Paste the content of f3d --version:
1.2.1

Thanks for reporting the issue, it's now fixed in the master branch.

That was fast, thank you! When should I expect to see the new release installer? Might try to build it on my own, but it feels difficult.

Inside a debian buster docker, I got error like this. How to resolve this issue?
wget https://www.vtk.org/files/release/9.1/VTK-9.1.0.tar.gz
wget https://github.com/f3d-app/f3d/archive/refs/heads/master.zip
unzip master.zip
tar zxf VTK-9.1.0.tar.gz

apt-get install -y cmake mesa-common-dev mesa-utils freeglut3-dev ninja-build g++
cd VTK-9.1.0
mkdir build
cd build/
cmake ..

cd ../../f3d-master/
VTK_DIR=../VTK-9.1.0/build/ cmake .
make

error:
make[2]: *** No rule to make target '/data/VTK/VTK-9.1.0/build/lib/libvtkInteractionWidgets-9.1.so.9.1.0', needed by 'src/library/libf3d.so'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:114: src/library/CMakeFiles/libf3d.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

maybe I should run make here, but it runs super slow... will see if this could resolve the issue.

Yes, you have to build VTK. You can use make -j N to build in parallel. Depending on your machine, it takes ~20 minutes.

You can also directly download the binary:
https://drive.google.com/file/d/1YaWJAijh_MA4HA27g0QsJny3X9jIRtII/view?usp=sharing

Thank you so much @mwestphal!
On my macbook, the build of VTK only progressed 60% overnight.

I sent you the linux version, let me know if you want the MacOS or Windows version.

@mwestphal Linux version is all I need. The deb file you provided working perfect :)


Add policies policyset

Related Issue: https://github.com/stolostron/backlog/issues/19215
Successful states:

Alert from selecting policies from different namespaces:

Alert when no policy set exists in namespace of selected policy:

/hold

/unhold

/retest

/unhold


Embedded YouTube video iframe invisible in production build

Description
I have the following code in my home page to show a YouTube video:

This displays a YouTube video as expected in dev mode.
When I build for production and serve the site from public the video isn't visible.
Steps to reproduce

Install hyas with latest doks theme: npm create hyas@latest -- --template doks
add the code above somewhere in themes/my-doks-theme/layouts/index.html
run npm run dev and see the video
run npm run build and view the output of the public directory using a local web server and the video doesn't display.

Live example
Example deployed on Cloudflare Pages at https://postowl-website.pages.dev/ - inspect and search for iframe and you'll see the code is there and the YouTube player has been downloaded, but it doesn't display.
(There's a warning in the console Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-form-factor' but I believe that's just a warning and can be ignored as described here.)
Expected result
The video should display as it does in dev.
Environment
nodejs 18.16.0 - same resulted in multiple supported environments.
hyas 2.1.0

Looks like a setting on Cloudflare side. Does this help: https://community.cloudflare.com/t/youtube-is-not-working-in-cloudflare-zero-trust/404577/2

Thanks for looking. I don't think it's Cloudflare specific - it's the same locally if I npm run build and then serve the built pages in public with a local web server.

You could try adding iframe and/or ratio and ratio-16x9 to the whitelist section of postcss.config

Thank you!
I tested and all that was needed was to add ratio-16x9 to purgecss's safelist.


Add border to warning text circle for overriden colours

While writing a blog post on overriding classes I noticed this opportunity:
Before overriden colours

After overriden colours

Before regular colours

After regular colours

Needs a changelog entry too.


Add List Visualiser

Requirements

js-slang must specify the draw function to be available (not exactly necessary, but is essential for testing)

Features

calling draw on a list visualises it in a side content tab
The visualiser is only available on the playground
The "Next", "Previous" and "Clear" buttons have been scrapped, as that introduces a two-way interaction between the application (that calls the external functions) and the library (that manipulates the dom and refers to the buttons by class and id). Either ways, I don't see the use case for visualising multiple lists in quick succession.

Pull Request Test Coverage Report for Build 564

8 of 28 (28.57%)  changed or added relevant lines in 4 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 25.37%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/utils/slangHelper.ts
1
4
25.0%

src/components/workspace/side-content/ListVisualizer.tsx
2
5
40.0%

src/components/workspace/MCQChooser.tsx
2
16
12.5%

Files with Coverage Reduction
New Missed Lines
%

src/components/workspace/MCQChooser.tsx
5
8.51%

Totals

Change from base Build 559:
0.03%

Covered Lines:
853

Relevant Lines:
2843

💛  - Coveralls

Are changes to MCQ meant to be part of this PR or included by accident?

It's by accident, those changes should have showed up from #263

Rebased to the squash-commit of #263

Please resolve https://github.com/source-academy/js-slang/pull/27 and publish before this branch is merged.

@ningyuansg Bumped!


Update class in notification methods for swift 3.0

In swift 3.0 NSNotification has same name.

Hello @chronos92
What is the difference between NSNotification and Notification?

Sorry for the pull request. I check that is a my problem. Inside the project i already have a Notification class and the notification methods in your framework create a lot of errors.


Messages: delete from the drop down menu while filtering by offset is not working in Firefox v. 111.0, Windows 10 Pro

Actual behavior)

When select topic, review mesaages of the topic, sort by Newest first and filter messages by offset value
delete messages from the drop down menu is not working.
Nothing happens.
Filtered messages remain in the result list.
Number of messages remains the same.
Expected behavior

Messages should be deleted, the result list of messages should be empty.
Set up

OS: Windows 10 Pro 64 bit
Browser: FF 111.0 64 bit

Steps to Reproduce

Open one of the Topic.
Go to Messages
Sort by Newest First Enter offset filter's value. Hit submit.
Select Delete from the drop down menu of one of the row. Hit Yes in pop-up dialog window.
Messages are not deleted.

Screenshots

Please see error message in the Network console of the browser.

Additional context

Hi, thanks for reaching out.
Please provide the info requested in the bug template: which app version are you using and which type of installation?

well you're running some fork of the app and deleting messages thing has never existed in the first place


Missing region in aws provider causes script to fail

@aaronclong Sorry, that the readme doesn't have an example. I'll update it.
This module expects that user will pass providers block with accepter and requester information declared in the root module.
For .eg
`
provider "aws" {
alias                           = "ohio"
allowed_account_ids = local.allowed_account_ids
region                        = "us-east-2"
}
provider "aws" {
alias                            = "n_virginia"
allowed_account_ids  = local.allowed_account_ids
region                         = "us-east-1"
}
module "peering" {
accepter_vpc_id = "vpc-123456789abc"
providers = {
aws.accepter   = aws.ohio
aws.requester  = aws.n_virginia
}
requester_vpc_id = "vpc-abcdefgh123"
source                  = "QuiNovas/vpc-peering/aws"
version                 = "3.0.1"
}`


Actually stop the track when the broadcast extension socket is closed

This closes https://github.com/livekit/client-sdk-swift/issues/446
Two fixes:
~1. It seems that stopping the broadcast via tapping on the system indicator and choosing "stop broadcast" calls the broadcastPaused method instead of the broadcastFinished method on the SampleHandler. The only way I could trigger broadcastFinished in testing was by locking my device. I could not find a way to trigger broadcastResumed so I just went ahead and treated "pause" as final, and close the socket (I think maybe this is vestigial from older iterations of ReplayKit? not sure, it's not an area I'm super familiar with)~
2. When the socket closes the frame reader stops but never notified the BroadcastScreenCapturer that owns it, so the track would stay published even as it stopped being updated.  This fix adds a new callback method to pass the closure up the stack and stop the track.
Not sure what happened in original testing but actually broadcastFinished is called as expected, and broadcastPaused is called when you open the "stop capture" dialog, not when you finish it. I also fixed it to properly unpublish the track, not sure why initial testing showed simply ending capture to be enough.

@davidzhao the original version was incomplete, can you take another look?


Encode layers & elements in URL

I'd like to "deep-link" to certain satellites from an EO web application. For that, it would be cool if the layers and satellite elements would be encodeable into the URL. Especially relevant would be the "Ground Track" and/or "Sensor Cone" options, as well as the "Inertial" camera setting.
Right now, only the satellite name is apparently encoded into the URL (https://satvis.space/?sat=TERRA).

Would probably be solved by #7 as well.


Acces to mechanical model loading tables/functions with pyAnsys

Description of the feature
Hello,
would it be possible to have a function that extracts all the loadings of a mechanical model through pyDPF ?
It would get all the information for each on of the loading on a model, as, for instance, the information listed bellow :

Loading type (pressure/ displacement/ rotation ...)
Loading scope (Body/face/Elements selection/nodes selection ..)
Loading type (constant/tabular/function)
Loading data (values/table data ...)

Thanks in advance.
Steps for implementing the feature
No response
Useful links and references
No response

I'll let DPF developers comment on the feasibility, as I don't believe these info are written to the result file. Another way would be to open the entire model with PyMechanical and get this information from Mechanical (see this post for help). But that requires having the whole model, not just the .rst file.

Hi @pmaroneh & @Louise-Ramos
This information is written to the MAPDL results file...accessing it is another matter though.  PyMAPDL Reader can list out the boundary conditions and applied forces on nodes.  And have a "solution info" that will list some loads like accelerations, rotational accelerations, uniform temperatures etc.  PyMAPDL has quite a bit as well.  Not sure if loading is something that in the 'design specification' of PyDPF being a post processor.

Hello @pmaroneh & @mikerife,
I understand that extracting such information with the .rst is not feaseable.
Would it be possible to extract the loading through the ds.dat file ? I've seen that all of the loadings are written, and maybe with a .dat reader it can be accessed independently of Mechanical being open.
I couldn't find any information about it. Is there an existing API that I could apply ?

Hi @Louise-Ramos Not that I'm aware of, apart from parsing the ds.dat as a pure text file.


[Dialog] Transition doesn't exit as expected

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When exit a dialog, the dialog paper should disappear with the passed transition (zooms out if the transition is Grow)
Current Behavior

The dialog paper disappears immediately, but the backdrop disappears normally.
Steps to Reproduce (for bugs)

Open the dialog with Grow transition
Close the opened dialog
https://codesandbox.io/s/k01k060n73

Your Environment

Tech
Version

Material-UI
1.0.0-beta.20

React
16.0.0

browser
64.0.3265.0 (Official Build) canary (64-bit)

I have the similar situation, when I open a Dialog with transition prop and feed it with props => <Slide direction="up" { ...props } />, then I close the Dialog, it disappears, but I can't interact with any button/textfield on the screen; when I comment out the transition prop in Dialog, everything works normal. It seems that the backdrop did not disappear.

I'm on it. The fix is going to remove some code. I love that!

I have the same issue as @alexgzhou still in v1.2.1. Nothing on the page can be clicked once the modal has disappeared.

@jdolinski1 We don't support that, you need to create the transition component outside of the render method.

Thanks for super quick response, that was it ❤

@auppstrom Do you have a reproduction example?

Trying to reproduce in Codesandbox, but I just can't get the same behaviour.. Must be something with my environment.. Hmm.. I'll let you know if I figure it out

I've FINALLY found where the behaviour deviates.
I had, for some reason (probably coding late'o'clock again) a boolean check whether to render the <Dialog /> or not - and also setting the isOpen prop.. When I removed the redundant boolean the problem was solved.

Hey, I have the same issue. My TransitionComponent is outside the render function.  But still, No luck.
What I'm I doing wrong?
  SlideTransition = (props) => {         return <Slide direction="up" {...props}  />;       }
`
`

Hey, I have the same issue. My TransitionComponent is outside the render function. But still, No luck.
What I'm I doing wrong?
SlideTransition = (props) => { return <Slide direction="up" {...props} />; }
<Dialog                     fullWidth={true}                     fullScreen={true}                     style={{ margin: 0 }}                     id="dropdown-in-modal-dialog"                     paper={{                         margin: '0px'                     }}                     TransitionComponent={this.SlideTransition}                     open={this.props.parent.state.openPopUpInputDate}                     onClose={this.handleClose}                     aria-labelledby="alert-dialog-title"                     aria-describedby="alert-dialog-description"                   >

I'm not sure whether this is a related issue but after adding the TransitionComponent prop to the dialog, when the dialog closes, it re-renders the dialog content once, causing my useEffect to run again with all the useState defaults.
The only fix at the moment  is not using the TransitionComponent.

I'm not sure whether this is a related issue but after adding the TransitionComponent prop to the dialog, when the dialog closes, it re-renders the dialog content once, causing my useEffect to run again with all the useState defaults.
The only fix at the moment  is not using the TransitionComponent.

I'm facing the issue with Menu and Dialog even without the TransitionComponent, I thought it was related with MDB but after replacing every element, it still doesn't work properly.
Whenever a dialog/Menu is opened and closed, the UI freezes and makes everything unclickable, then, either I've to refresh the page or it takes about 6-7 seconds to come back to senses.
I just don't understand why it is happening. My project was working fine and was deployed, but one last dialog was added by another guy and now, every where with Menus/Dialog got broken, I've also tried removing completely the last dialog and associated thing, but no solution.

Short fix but works perfectly for the UI freeze after closing any Model, Dialog or Menu is as follows:
<Modal
    ...
    style={{display: modalOpen ? "block" : "none"}}
    ...
>
</Modal>

Setting the display property to none just after closing the Dialog/Menu etc will not let the UI freeze and you can re-open the element instantly.

The Issue still exist in the latest release as of now when I am writing, the first is that if I create my dialog component in another file and call it in my main index.js file the screen will freeze after the dialog close, I solved either by removing the transition or by putting the dialog component in the same file. The second issue is that when dialog close the slide animation didn't properly work instead it just fade out instead of sliding out as oppose of sliding in. And yes, I'm using hooks not classic state, I suppose it shouldn't be the problem.


Suggestion: Use Internet Explorer

Doesn't work when running from chrome.

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

ID: 65e527db-a4c2-782e-5a5f-ad8b3159a977
Version Independent ID: f2de1272-5e37-c59f-fcb9-34fa66b0d268
Content: Connect to Exchange Online PowerShell using multi-factor authentication
Content Source: exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell.md
Service: exchange-online
GitHub Login: @chrisda
Microsoft Alias: chrisda

@yeya, the topic as currently written states (relevant part bolded for effect):

In Internet Explorer or Edge, open the Exchange admin center (EAC) for your Exchange Online organization (Google Chrome or Mozilla Firefox won't work). For instructions, see Exchange Admin Center in Exchange Online.

I modified the instructions like this:

In Internet Explorer or Edge, open the Exchange admin center (EAC) for your Exchange Online organization. For instructions, see Exchange Admin Center in Exchange Online.
Note: Internet Explorer or Edge is required because the download in the next step uses ClickOnce, so Google Chrome or Mozilla Firefox won't work.

Thanks for the feedback.


Consider changing naming convention to indicate squared distances

Just spent some time scratching my head with CollisionConstraints::compute_minimum_distance. The documentation says it returns the minimum distance, but I found this in the implementation:
// NOTE: Actually distance squared

I realize that you're basically working with squared distances throughout (although for an outside user it is not clear if this holds in all cases), but it's still very confusing that "distance", which is a very unambiguously defined term in my opinion, actually means "squared distance". In my opinion, it would reduce confusion a lot for the new users and possible contributors if squared distances were always marked as such, e.g. by using naming like compute_squared_distance, compute_distance2 or similar.
(I labeled this as "bug" as, if you take the documentation and function names at their face value, what is returned is not what the naming suggests)

I see the confusion. Definitely at the very least the documentation for the compute_minimum_distance function needs to be updated to state the returned value is a squared distance.
I originally choose not to put the word squared in the function names to keep them short and concise, and as you said distance in the toolkit is unanimously referring to a squared distance. However, I agree this can be confusing. Let me think about how to best proceed.

Yes, you are right dhat and dmin are unsquared.


Eliminate FPs in 941120 by applying character limit to regex

This solves a part of the problem of #1828 by adding a character limit to the regex.
Before:
[a-zA-Z]+
After
[a-zA-Z]{3,25}
Also adding 3 tests.

Merged by consensus! Very nice change, and I hope this will lessen those pesky FPs on this rule.


[Cherry-pick] Update Version and Release Note for Hotfix 1.2.1

Coverage remained the same at 34.276% when pulling c442a743fa4b5ddc3dae5f8069f6d39904ca89e7 on yiyi/update_version_for_1.2.1 into 98fd56a70e27a913852075158e68fb5459bde5db on master.

@yiyione Could you please wait for my solution for https://github.com/microsoft/pai/issues/4968 ? I think it is also a deployment issue for v1.2.0.


Set TemporalChangeVersion when workflow version is updated

Is your feature request related to a problem? Please describe.
This feature is implemented in Go SDK, not in Java.
Describe the solution you'd like
Set TemporalChangeVersion search attribute to the changeid-version when a new one is set on workflow.
This will allow users to use search queries, like shown here: https://community.temporal.io/t/list-of-running-workflows-having-a-specific-version/1731
Describe alternatives you've considered
Don't implement
This is a really needed feature when using workflow versioning. It works in Go SDK already.

We need to do backwards compatibility for this one.

Hi any progress on this one?

Hi any progress on this? I have added this in Cadence long time ago. You may copy some code from it which can make it easier: https://github.com/uber/cadence-java-client/pull/650

Not yet. It's a pretty tricky task to do because of the backward compatibility and the fact that the Version State Machine is one of the trickiest ones already. It's on my radar though and I will prioritize it when I get a chance.

Hi, is there any update on this?

I'm also curious, I tried to query the TemporalChangeVersion and nothing showed up in the TemporalUI because I used the JavaSDK to do a patch on the workflow.

@Quinn-With-Two-Ns is there an alternative workaround you might recommend to discover versions of WF so that users can more easily remove chunks of code with confidence?

@Quinn-With-Two-Ns is there an alternative workaround you might recommend to discover versions of WF so that users can more easily remove chunks of code with confidence?

Try this design pattern https://medium.com/@qlong/how-to-overcome-some-maintenance-challenges-of-temporal-cadence-workflow-versioning-f893815dd18d

Also this sample https://github.com/temporalio/samples-java/pull/664


Add HLD for weave scope

Add High Level Design for weave scope to wiki.

https://github.com/openebs/scope/wiki/Weave-scope-High-level-design


Replaced startsWith with indexOf to Avoid Additional Polyfill Dependencies

PR will resolve https://github.com/JakeChampion/fetch/issues/1403
Since startsWith has a similar level of support as fetch, we have replaced it with indexOf to ensure that the module does not require additional polyfills.

@hishamhalil Could you provide context on why this was reverted please?

Could we get a release for this please?
(Deleted my first comment, I thought it had been reverted in this repository...)

Looks like I didn't realize that using conventional commit triggers automatic release.
@JakeChampion
How should I go about deploying this?
Is it better for us to wait for other contributions?


Visualizations Not Working - Dependency on networkx 2.3

The current version of the notebooks have visualizations using networkx.  These visualizations are currently not working as the default version for networkx has been upgraded to 2.4 within SageMaker Notebook instances.  The code that generates the visualizations needs to be refactored to support networkx 2.4.  In the meantime, you can downgrade networkx to 2.3 to fix the issues.

Once networks is downgraded, restart the kernel for the notebook to force it to pick that version up.

Addressed this in the latest PR, PR #7 .  The stack has now been moved to use a Neptune Notebook and the remaining nepytune libraries have been modified to support the newer version of networkx deployed with this stack.


Differentiate between blank and incorrect URL on Publish thumbnail preview

The Issue
Currently, the same "broken" image is shown when there is no URL or an incorrect URL is entered. We should differentiate between the two scenarios to make it clearer for the user.

System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

Hi, I would need an icon image to be inserted on this issue. Code is ready to be reviewed but I'm missing a second icon.
Fail url:

Blank url

Implemented on master via 1829, will be in next release.


Return code when Error occurs

Hi,
Is it possible to get an exit code different than 0 when aplty_cli command failing?
Cheers,
Vasilis

Can you share example command that fails with exit 0?

Wow, thanks for the super first reply.
I am trying actually to run some repo_upload commands:
aptly-cli --server srv --port 8081 --no-config repo_upload --name my-non-existing-repo --dir dir-my-repo --file foo.deb
It returns an error:

repository with such name does not exist
{"error":"local repo with name my-non-existing-repo not found"}

For this the exit code is 0 (echo $?)
Also for this command:
aptly-cli --server srv --port 8081 --no-config repo_upload --name my-repo --dir dir-my-repo --file foo.deb
the binary foo.deb doesnt exists so I get the expected message :

Files that failed to upload... [dir-my-repo/foo.deb]
File upload warning message[s]...             ["Unable to process ... foo.deb: no such file or directory"],"Added":[],"Removed":[]}}

Based on the Warning (= Non-successful termination) shouldnt be better to get something different than 0 as exit code?
This feature can be really useful when you use CI/CD pipelines which should mark the task as failed in case of Warning/Errors like above

Thank you! Yeah, we can fix this to return proper exit code via some error handling. I’ll try find some time to add this in code soon


Benchmarking - stats (fps, draw calls, lights, vram, timings, etc)

It should be possible to collect and query engine stats from an app. Things like FPS, draw call count, num active lights, texture mem used, and so on.

I think it's fair to say this is done now.


apply Floorplan error for 'model.find_consumer' when the consumer is AddStreams_Batch

please check!
the input of  'AddStreams_Batch' node are "StreamingDataWidthConverter_Batch_6_out0" and "StreamingDataWidthConverter_Batch_4_out0". when the node '
StreamingDataWidthConverter_Batch_4' find the consumer that return none, because the function find_consumer only select from input[0]

Hi @simplelins , could you please try if that issue still persists with the new FINN release?

I am closing this due to inactivity. Please feel free to reopen or create a new issue if the problem persists!


docs.rs failed to build windows-sys

https://docs.rs/crate/windows-sys/latest
It might have run out of memory, although I'm not sure. We may have to host the docs elsewhere, as we already do for the windows crate. 😢

The logs don't show anything super useful. It looks like the builder killed the rustdoc (with SIGKILL). I guess running out of memory or it taking longer than the 15 minute allotted time could be to blame.

It's likely memory because when I run it locally it uses about 3.5GB and the docs.rs limits is 3GB.

rustdoc just can't handle large crates at all. Even when it compiles, the resulting HTML isn't designed for a large amount of content. May have to explore our own doc generator or see about rolling Rust docs into http://docs.microsoft.com/

Resolved. New docs are up. https://docs.rs/windows-sys/latest/windows_sys/

It's unfortunate that we had to "hack" docs.rs to fix this but that will have to do for now. 😬


feat: expose profile url in auth response

Try out this version of the Stacks Wallet - download extension builds.

Description
This PR exposes the profile_url and other properties in the auth response.
For details refer to connect issue #127
Related PR in connect is #131
cc/ @aulneau @kyranjamie @fbwoolf

See this comment -> https://github.com/blockstack/connect/pull/131#discussion_r639729602 I'd prefer to not change the signature of the response from the extension to support this, as it could break anything using this as is.


App Settings

Complete necessary functionality for the following areas:
Settings

[x] Personal profile see commit

[x] Change name (Firebase) see commit
[x] Change photo (Firebase) see commit
[x] Change email (Firebase) see commit
[x] Change password (Firebase) see commit
[x] Delete account (Firebase - remove user) see commit

[x] Accounts / Transactions see commit
[x] Security see commit
[ ] Report a Bug
[ ] Write a Review
[ ] Contact Support
[ ] About

These are proposed pages that may change as the app evolves

Now that I'm adopting AngularFire2, I will have to revisit some of the logic already built on these screens. Thus, moving to Alpha 2

How do I set up a new Firebase database?

I can not add new categories. The message: "Please enter a category name." But you have already entered a "Category Name". Also I can not add a new "Payee".


Rethink sublanguages

There are many subtly different ways of embedding one syntax into another:

The host language clearly defines boundaries, between which we can use a completely independent highlighting process. It's the case with <script>..</script> in HTML.
The host language defines boundaries, but the closing boundary can only happen at the top level of the sublanguage. This the case of PHP in HTML, where ?> inside a PHP comment wouldn't end the sublanguage.
The sublanguage ends when it parses out a single top-level mode. This is the case of JSX.

Current implementation of subLanguage only works for the first case. And the skip attribute only fixes a few common cases.
Current idea is to implement sublanguages as sub-parsers embedded in the host parser tree.

Current idea is to implement sublanguages as sub-parsers embedded in the host parser tree.

This is on my radar for the future... obviously you have some thoughts on this, but I'm not getting much of a feel for your idea with just that one-liner.
And chance when you have some time you might be able to expand that one liner to 2-3 short paragraphs kind of laying out at least your big-picture thoughts (if you can still remember them).
Right now to fix JSX I'm thinking it really needs to not be a sublanguage at all and just an actual part of the JS language.  Because you can do things like each line can either be HTML or a JS comment... so you can't just simply switch to HTML mode for a block... because:
<div>
// this is Javascript code, a comment that I can use to annotate the HTML with JS comments, fun fun
</div>

So how html would need to know about JS comments... I wonder if your ideas solve any of this (it's ok if they don't).  This really isn't one language embedded into another exactly it's like a big mixing bowl where they just randomly throw JS and HTML together in strange ways. :)


Re-load clients after pushing/deploying changes to the server

Hey Guys,
I'd like to open a feature request about NUXT being able to recognize changes in JS or CSS files after a deploy to the server. It would be great if NUXT could work similar like MeteorJS to recognize changes and force connected client browsers to re-retch / reload the client source and display the changes immediately.
Cheers

Hi @dohomi
We won't implement such a feature but it could be a plugin for nuxt.js in the future.
Thank you for this idea!

@Atinux would be good if you could track this feature inside of the backlog, as soon plugins are available I think its necessary feature - for sure in the context of a PWA. Thanks for taking it into account

it's added @dohomi :)

And how do you do it now? How to stop a running nuxt server on a remote machine and start it again, after changing the files?

You can use automatic deployments like now.sh or Heroku @cawa-93
They re-deploy when a git push is made.

PM2 with option {watch: true} will do that


[python] Start move to {obs/var} specific arguments for get_anndata

Closes #1035
But needs discussion on API wrt upstream packages.

[x] Merge main once #1150 is in to fix failing tests
[x] Update docs

Yep! Merging now.


grad requires a scalar-valued function

Does not it have to be the solution [ [2 0] [0 2] ] ?

Next time - leave actual code and not a screen shot (image).  That way people can copy and paste what you have tried, and can help you faster!  Also - make sure to post your complete error!  Again that will help others help you.
Your problem is - as the error you post is saying - that grad is a module that differentiates scalar-output functions, and you are applying it to df which is vector-output (since your original function takes in two inputs).  You need to use another module from the autograd library to differentiate df, for example jacobian.   Like this
# import autograd functionality
import autograd.numpy as np
from autograd import grad
from autograd import jacobian

# define function and derivatives
f = lambda w: w[0]**2 + w[1]**2
df = grad(f)
ddf = jacobian(df)

Now if perform your test I get the desired output Hessian matrix.
# test the above
w = np.array([2.0,2.0])
print (f(w))
print (df(w))
print (ddf(w))

8.0
[ 4.  4.]
[[ 2.  0.]
 [ 0.  2.]]

Closes #374


Repo sync for protected CLA branch

The pull request is created from master637393532927097137 to master to fix git push error for protected CLA branch

@ghogen : Thanks for your contribution! The author(s) have been notified to review your proposed change. @evanwindom


develop version based on scala.meta

It looks like scala.meta 1.0 is out, so the promise on a roadmap page might be out-of-date. Do I understand correctly the project still needs new macros to be released?

I just hit a road block with not being able to mock a class with final member. It turns out, support for this was waiting on scala.meta. Any plans for this?

You can have it already. There are several options.
One is to merge the following pull request yourself:
https://github.com/paulbutcher/ScalaMock/pull/132
Another is to build the following version which already includes the fix:
https://github.com/PagerDuty/ScalaMock

Scala.meta does not support Scala 2.10 at the moment. see https://github.com/scalameta/scalameta/issues/295

Also Scala.JS missing: https://github.com/scalameta/scalameta/issues/359

https://github.com/scalameta/scalameta/pull/761 has been merged now

Scalajs is supported now. No 2.10 support as of now, but considering to build ScalaMock 4.x without support for 2.10. So removing the blocker on this

Means we should do #187

See https://scalameta.org/
Exists for 2.11 and 2.12 so we'll need to temporarily drop 2.13 support in the new version

given that Scala is heading towards release 3.0 and has a different API again, I am not sure if this is worth investing time anymore. there are a number of open bugs that would benefit from a scala.meta implementation, but not sure how well, if at all, this could be reused when https://docs.scala-lang.org/scala3/guides/macros/index.html becomes stable

given that Scala is heading towards release 3.0 and has a different API again, I am not sure if this is worth investing time anymore. there are a number of open bugs that would benefit from a scala.meta implementation, but not sure how well, if at all, this could be reused when https://docs.scala-lang.org/scala3/guides/macros/index.html becomes stable

closing this as Scala 3 is out now


Create change request calls PUT on features

When creating a change request in the dashboard, the front end makes a call to PUT /projects/:id/features/:id which seems unnecessary and creates an audit log record unnecessarily. It might be that the answer to this issue is "it has to do it because ..." and that's fine, but I'd like to understand so I can alter the API accordingly regarding the Audit Log.
gz#284

After looking into this it looks like this is no longer necessary due to the mv-options endpoint and the frontend now separating saving per tab.


dbt run button: SyntaxError: unterminated string literal (detected at line 8)

Expected behavior
The dbt run command should be executed in the terminal.
Actual behavior
The dbt run command gives errors:
> Executing task: dbt run --select MYMODEL
  File "<string>", line 8
    dbt_cli.invoke(['run','--select','MYMODEL','--profiles-dir',r'c:\Users\Username\.dbt\'])
                                                                ^
SyntaxError: unterminated string literal (detected at line 8)

Steps To Reproduce
Click on the run button when having a model open and selected in the editor.
Log output/Screenshots
> Executing task: dbt run --select MYMODEL
  File "<string>", line 8
    dbt_cli.invoke(['run','--select','MYMODEL','--profiles-dir',r'c:\Users\Username\.dbt\'])
                                                                ^
SyntaxError: unterminated string literal (detected at line 8)

Operating System
Windows 11
dbt version
1.6.2
dbt Adapter
dbt-teradata (1.6.0)
dbt Power User version
v0.21.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

I'm unsure what the "r" in line 31 is for, but maybe this causes the problem.
https://github.com/AltimateAI/vscode-dbt-power-user/blob/d566d69e20ad2b35ce2e4323ea5d141c01441ea4/src/dbt_client/dbtCommandFactory.ts#L29-L31


Establish sets of reference data

For testing purposes we need to have two relatively small datasets, with corresponding metadata and contrasts files, to test

Need one for TempO-Seq (maybe a subset of the PFAS data published by Andrea)
Need one for RNA-Seq (a good one in terms of toxicological response is Reza's data, but the downside is that it's Ion Torrent. This doesn't particularly matter but it might be better to use some Illumina data).

My thoughts:

if we want this to be primarily for testing the correctness/functionality of the code, it doesn't matter the origin of the data, as long as it produces the same result every time. It should be as small as possible to test quickly. Ideally we should have a script to run the whole pipeline on both datasets.
if we want this for trialing new methods, it should reflect the majority of the data we use (presumably Illumina) and be a "realistic" size
if we want this as an example dataset for users to download along with the code, it doesn't need to be large in size but should be the methods most people use (again, probably Illumina).

IMO the first criteria is the most important, and maybe #3.

I think this is where we can discuss continuous integration and development of tests.
To set this up we will really need to define dependencies carefully (which is a good thing anyway).
This guide shows a good strategy. This will also help define a VM/container when that time comes too. Their overall workflow can be seen here. More than one way to skin this cat but this seems like a good starting point for the discussion anyway. I don't think we have to use the "tox" tool, but it provides a useful framework.
Furthermore - this example shows how R can be used within workflows. They have a rather different goal there, but we can still use some of that code to help us.
So, I think the overall tasks for the workflow to make continuous integration possible are:

[ ] install R dependencies on ubuntu
[ ] install python and snakemake on ubuntu
[ ] install other system dependencies (Pandoc, STAR, fastp, samtools, etc.)
[ ] run tests on push makes sense to me? I think it should be on any branch - seems possible using wildcards?
[ ] define tests for pre-processing temposeq and rnaseq data separately; want to make sure that neither condition is broken. Check a diff for an archived copy of count_table.csv with expected result that should be identical to the test copy.
[ ] define tests for checking DEG lists in the same way as above.
[ ] later, we can define more tests for other outputs by running other diffs on "truth" files.

I'll try to start getting this done in a new branch... I don't know if this all the best strategy but it's a start!

This also seems useful

And act seems like what we should use to run actions locally. Looks easy to use and should save issues with computational power.


Migration to AndroidX

This library needs to be migrated to AndroidX, because it prevents from using plugins that are already migrated.

hello! any update?


Allow 'passed' and 'failed' to include score

https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#set-a-score-for-the-course
Common practice is to include a score with the completed, passed and/or failed statement rather than issuing a separate 'scored' statement. I had assumed that the scored statement was envisaged to be used in situations when a score needed to be communicated without implying anything else.
I'd like to see it explicitly stated that score can be passed with completed, passed and failed and that scored is optional.

see https://github.com/adlnet/xAPI-SCORM-Profile/pull/30
If this issue still needs addressed let me know and I'll take care of it.

I'd add a link in https://github.com/creighton/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#score to https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#shorthand-for-passed-the-course-with-a-score-and-completion-value

link added in score to point to terminating an attempt https://github.com/creighton/xAPI-SCORM-Profile/blob/dev/xapi-scorm-profile.md#terminating-an-attempt


plans for reactivity

@theianjohnson curious if you have given any thought to how reactivity could be or would be added.
Also you looking for contributors?

@angelxmoreno I wrap the calls in useFocusEffect(useCallback( ... )), but hooks could definitely be helpful, and always open to contributions 👍🏻


Various formatting/syntax cleanup

Minor cleanup to make maintenance easier — formatting with prettier, converting to class syntax, some inlining.

yep, all good with me — have stopped using jQuery style formatting in favour of Prettier on other projects, and it's served me well


More complex patches AST structures not necessarily handled well

It looks like there are some more complicated patches structures (in terms of the AST) out there in the wild that will get incorrectly flagged as "warning: missing-patch-comment patches should be a list."
Example: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/numpy/default.nix#L55-L66:
buildPythonPackage rec {
  ...
  patches = [
    # For compatibility with newer pytest
    (fetchpatch {
      url = "https://github.com/numpy/numpy/commit/ba315034759fbf91c61bb55390edc86e7b2627f3.patch";
      sha256 = "F2P5q61CyhqsZfwkLmxb7A9YdE+43FXLbQkSjop2rVY=";
    })
  ] ++ lib.optionals python.hasDistutilsCxxPatch [
    # We patch cpython/distutils to fix https://bugs.python.org/issue1222585
    # Patching of numpy.distutils is needed to prevent it from undoing the
    # patch to distutils.
    ./numpy-distutils-C++.patch
  ];
}

Perhaps, if patches is not a list, we should just not throw a warning at all...

Looks like I need to fix this bug since @AndersonTorres encountered it "in the wild".

Hmm, would be nice if we could evaluate the patches attribute and then obtain the corresponding AST nodes for the list items. Need to check if it is possible to write a Nix plug-in for that.

https://github.com/NixOS/nix/blob/3edcb198e5db69d0e5771a161a33115033b74af5/src/libstore/globals.hh#L825-L842
https://github.com/NixOS/nix/blob/57b935a8931fb59cdfe521357e76326d467a9a86/tests/plugins.sh
https://github.com/NixOS/nix/blob/57b935a8931fb59cdfe521357e76326d467a9a86/tests/plugins/plugintest.cc

I suppose that's one way to do it. I think the near-term solution is simply to skip the ast-check itself if the node is not of type list.

Sounds good.


Plugin isn't creating a file

Hello and thanks for this great plugin! I am super excited to use it. After installation I noticed that a note with the Pocket items isn't being created. I have tested with a few different vaults in different locations to see if it was a permission problem but it doesn't appear so. The plugin states that it fetches my items but no .md file is created in the folder I specified.
If this is related to the community plugin install not working correctly is it possible to get some instructions on installing manually from source?
Thanks!

Okay I noticed #45 after I made this issue, I created a template file as well and I didn't see a change.
I specified the folder like this ReadingList/ to direct the file to that folder in my vault. and created a template in this formTemplates/Pocket with the example template given here: https://github.com/nybbles/obsidian-pocket#using-templates-for-pocket-notes
Am I missing something obvious? Thank you!

Okay I found the Open Pocket list and now I understand how this works better. It would be awesome to export this directly to it's own note but I now understand how the templates are used. Very awesome and useful. Thank you!

Can you tell me what happened here and what you're asking for? Was it that you weren't aware of the fact that you have to open the Pocket list and click the Pocket list item to create a note for a Pocket item, and so you were wondering where your Pocket item notes were?
And in your last comment, are you asking for the default behavior to be that Pocket item notes are automatically created?

Yes my original belief was that the plugin would create one note with my Pocket list. I wasn't aware that I needed to run the command. Then once I discovered that I needed a template it made sense.
Yes it would be nice to have the option to just sync them all to one note but I realize some of the challenges with this. For instance I identified an issue with error handling with URL's that didn't have a title parsed correctly in Pocket. (Can't create notes with https:// for obvious reasons)
If the command structure needs to be set a feature request, that would be beneficial is to be able to select notes by holding CTL or SHIFT in the Pocket window rather than having to run the Pocket command all the time everytime you want to open one of the notes. Hopefully that makes some sense?

Hey sorry for the delayed response. I'm kinda carving time out where I can 😅
Rather than having to click+multi-select to create notes for multiple Pocket items at a time, would your needs be served if Pocket item notes were created automatically whenever Pocket items are synced?

No issue at all, I understand! Yes I would prefer that personally! Even if it was one note with all the Pocket items in it that would work too!


Str-context-split: "About"

Extend context for About in the Odysee branch (footer and sidebar)

hm ... perhaps I should put the string in master, and the changes in footer.jsx in odysee only to prevent conflicts during daily rebases of odysee?

I am all for anything that would limit rebase conflicts

Change
Commit the string in the master branch instead. After #5008 is merged to master, and after odysee is rebased to master, this PR can be merged.


Ensure available packages match with a single installed package

When searching for installed packages matching an available package, if there were multiple matches we would create multiple results for the search. This caused commands that require a single match, like import or upgrade, to fail. Modified to select a single installed package as match if it has a strong match (product code or package family name).
This partially fixes #983 in that import and upgrade now won't fail for packages like Teams, but does not address the underlying issue of how we should deal with packages that have multiple ARP entries.

Also, modified dependencies code to check the experimental feature only once.
Microsoft Reviewers: Open in CodeFlow

we have that problem when we want uninstall teams ;(

@lechacon, does this also address the issue with uninstall also?

I think it should. The change was at the source search level, so it would affect anything that calls into it, including uninstall. I just tried it and uninstall worked for me.
@DrCaos , what version of winget are you using? (Output of winget --info)

Also facing the multiple teams issue. winget cannot upgrade teams-


changing ipaddress pool needs a good way to propagate into traefik service

Enhancement Proposal
if you have a setup with metallb and ipranges set in the metallb charm, an ipaddresspool object is created in k8s from which the loadbalancer for traefik gets an ip
If you change this ipaddresspool (metallb ipranges charm config), there does not seem to a be a good/smooth/juju way to get an updated ip for traefik for example.
I presume this generally applies to all relevant juju k8s charms
Metallb docs suggest

restarting the MetalLB’s controller pod
deleting and re-creating the service

source:  https://metallb.universe.tf/configuration/_advanced_ipaddresspool_configuration/#changing-the-ip-of-a-service
TO reproduce this behaviour:

deploy k8s
deploy metallb with ipranges config set to any local ip
deploy cos-lite bundle
change the metallb ipranges config

I thought juju would keep an eye on the backing service and pop a config-changed if that happens to get modified?
But indeed we should check this

@nishant-dash would adding an action to traefik to refresh the IP help mitigate this issue?
The charm has no way to 'notice' if the IP has changed.
Doing it on a schedule (e.g. custom pebble notice, cronjob, resurrect) is tricky because we'd need to do that very frequently to avoid "too much" data loss.
We could combine the approaches.

@PietroPasotti I think having an action to get it to request a new ip is ok, but eventually if there was a better way to handle this, maybe something the metallb charm could help with, having the charm automatically refresh its ip would be ideal

Just to chime in since my issue was closed as duplicate #401
Modifying the k8s svc created by Juju makes Juju run config-changed event on the charm when the IP address has changed. I know it has other drawbacks, but it makes the charm aware of IP change in K8S.


multi-scale test have some question

Hello author, do you know why the improvement after multi-scale testing is very small?

Can you provide more details? e.g. dataset.

Thank you for your reply. I have two questions:
1.The results of multi-scale testing using the BSDS dataset I used were not good. What parameters do I need to adjust?
2. In bsds_multi_scale. py, I would like to ask what is the setting of img_scale  and img_ratios in test_pipeline   based on?

We updated the detailed multi-scale testing usage in https://github.com/MengyangPu/EDTER#3-testing, please try it.


Players can dodge updating their balance after finishing a game

Right now players can refresh the page after losing and avoid losing their money.
Solution:

[x] Add a transaction when a bet is locked in to immediately remove the money from the user's balance
[x] Change the transactions at the end of the game to only run when a player wins money

Squashed that bug as soon as I wrote it


scroll wheel stops working over charts #3078

until we click on the chart mouse the wheel will be used to scroll the page
when we click on the chart then mouse wheel will be for d3 zoom
but then if we leave the chart, the mouse wheel will once again be used to scroll the page, even if the mouse is over the chart (until we click on the chart once again)
please check if this is what we need

:+1:


Repository Improvements

Put legacy codes into a dedicated folder
Repository name.

@vamseeachanta
Moved all legacy scripts into one folder sir ,
I didn't found proper name for our repo , so we should rename it as 'assethold'

There is a settings options missing for repository in GitHub sir

@vamseeachanta Hello sir , Regarding Repository name  assethold ,

Do I need to change the all folder names inside the repo , ex: src/stockhold ,
name in the environment.yml ( dev_tools )
pyproject.toml - project , scripts name ( entry point )
Readme in github

@samdansk2 , yes. You have to change. Easiest way is to "search and replace".

Check that the pipeline tests pass etc.
Check that the self-install works

We will fix rest as we encounter errors.

@vamseeachanta Done all setting up sir ,

Changed all occurences of stockhold ,
Self- installation also successful including for assetutilities ,
All tests are running as usual .