Dash-table experiments not found (renderer issue)

Hello,
I was going through similar problems last night and this morning but could not find a workaround for the following issue.
While initiating and running the code there seems to be no problem. The local site unfortunately does not show any datatable and shows the following error:
`
Error: dash_table_experiments was not found.
at Object.resolve (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557404001:41843:15)

at isLoadingComponent (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557404001:37471:21)

at getLoadingState (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557404001:37508:15)

at http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557404001:37554:36

at computeMergedProps (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557404001:33212:25)

at Connect.updateMergedPropsIfNeeded (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557404001:33326:31)

at Connect.render (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557404001:33450:41)

at ce (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/react-dom@16.8.6.min.js?v=0.23.0&m=1557404001:98:136)

at qg (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/react-dom@16.8.6.min.js?v=0.23.0&m=1557404001:97:440)

at hi (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/react-dom@16.8.6.min.js?v=0.23.0&m=1557404001:104:285)`

I am really new in working with dash or any related packages. Any help is highly appreciated!
Many thanks!

I've been having the exact same issue:
(This error originated from the built-in JavaScript code that runs Dash apps. Click to see the full stack trace or open your browser's console.)
Error: dash_table_experiments was not found.
at Object.resolve (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:41843:15)

at isLoadingComponent (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:37471:21)

at getLoadingState (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:37508:15)

at http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:37554:36

at computeMergedProps (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:33212:25)

at Connect.updateMergedPropsIfNeeded (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:33326:31)

at Connect.render (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:33450:41)

at ce (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/react-dom@16.8.6.min.js?v=0.23.0&m=1557503513:98:136)

at qg (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/react-dom@16.8.6.min.js?v=0.23.0&m=1557503513:97:440)

at hi (http://<IP_ADDRESS>:8050/_dash-component-suites/dash_renderer/react-dom@16.8.6.min.js?v=0.23.0&m=1557503513:104:285)

Been scouring the internet for answers for 24 hours now. Yours is the first question that I could find similar to my issue. I tried updating all my dependencies to no avail.
Python initiates and runs the code with no problem (including all calls to dash_table_experiments), but when I go to my local Dash there's a blank white page with the above error listed.

Thanks for contributing! If you find a solution, I would highly appreciate it to keep me posted in some way.
It also seems to be a problem related to the dash-renderer package. Maybe it would make sense to post the issue there as well.

Thanks for contributing! If you find a solution, I would highly appreciate it to keep me posted in some way.
It also seems to be a problem related to the dash-renderer package. Maybe it would make sense to post the issue there as well.

I opened a thread in the renderer subforum on github:
https://github.com/plotly/dash-renderer/issues/171
I was told that dash_table_experiments is actually deprecated in favor of dash_table.
Here's the link I used to get a jump start on dash_table usage in my app:
https://dash.plot.ly/datatable/interactivity
I've since been able to render my first dash and view it in my browser! I hope that the link helps, good luck!

Great I guess this issue can be closed then. Thanks for your help! :-)


Invalid header fields order

According to the spec:

In order to generate the string that is signed with a key, the client
MUST use the values of each HTTP header field in the headers
Signature parameter, in the order they appear in the headers
Signature parameter.

My bad. I didn't read the code correctly.


directly pass microamp-amp.o to the linker

this way we don't need INPUT(microamp-data.o) (which the user may forget!) in
each linker script

bors r+


Testable architecture

First version of Testable Architecture, of what I think is intended here, based on several blogs and podcasts.
Sources are listed under "More information:" but could be moved to blog-posts (and recommended media?).
Please review to see if I got the right meaning and didn't over simplify in my summary.

@olleolleolle I've added a link to some more information about contract testing, which I hope helps a little for people unfamiliar with the term.


RuntimeError: std::bad_alloc Error occur in other pixel ratio (none-square generation)

HI, first of all Thanks for the cool diffuser optimize module.
Now I compiled my SDXL Lightning model with controlnet canny and compel module for longer prompt.
And I run with StableDiffusionXLControlNetInpaintPipeline
It works well with 1:1 ratio like 512,512 , 1024,1024 pixels.
But when I run with other pixel ratio such as (1360, 768) , (1176, 880) which is available wihtout compile
It shows error RuntimeError: std::bad_alloc
It is not allowed to use other ratio except 1:1 ?
Thanks!

This should not happen🤔

import time
import torch
from diffusers import (StableDiffusionXLPipeline,
                       EulerAncestralDiscreteScheduler)
from sfast.compilers.diffusion_pipeline_compiler import (compile,
                                                         CompilationConfig)

def load_model():
    model = StableDiffusionXLPipeline.from_pretrained(
        'SG161222/RealVisXL_V4.0_Lightning',
        variant="fp16",
        torch_dtype=torch.float16)

    model.scheduler = EulerAncestralDiscreteScheduler.from_config(
        model.scheduler.config)
    # model.safety_checker = None
    model.to(torch.device('cuda'))
    return model

model = load_model()

config = CompilationConfig.Default()
# xformers and Triton are suggested for achieving best performance.
try:
    import xformers
    config.enable_xformers = True
except ImportError:
    print('xformers not installed, skip')
try:
    import triton
    config.enable_triton = True
except ImportError:
    print('Triton not installed, skip')
config.enable_cuda_graph = True

model = compile(model, config)

kwarg_inputs = dict(
    prompt=
    '(masterpiece:1,2), best quality, masterpiece, best detailed face, a beautiful girl',
    height=1024,
    width=1024,
    num_inference_steps=15,
    num_images_per_prompt=1,
)
kwarg_inputs2 = dict(
    prompt=
    '(masterpiece:1,2), best quality, masterpiece, best detailed face, a beautiful girl',
    height=1176,
    width=880,
    num_inference_steps=15,
    num_images_per_prompt=1,
)

# NOTE: Warm it up.
output_image = model(**kwarg_inputs).images[0]

begin = time.time()
# output_image = model(**kwarg_inputs).images[0]
output_image = model(**kwarg_inputs2).images[0]
print(f'Inference time: {time.time() - begin:.3f}s')

output_image.save('test_out.png')

This is simple test code that I tried. 1024,1024 image works well but generation with kwarg_inputs2 occur Segmentation fault (core dumped)
it died with this dmesg
[   21.457411] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  765.435334] pt_main_thread[2886]: segfault at 20 ip 00007f17921d7024 sp 00007ffe65cee710 error 4 in libtorch_cpu.so[7f178dcac000+129b4000]
[  765.435347] Code: f8 01 0f 84 98 00 00 00 66 0f 1f 44 00 00 48 8b 84 24 80 00 00 00 48 8d 78 e8 4c 39 ef 0f 85 1b 02 00 00 48 8b 7b 60 48 8b 07 <ff> 50 20 48 8d 70 28 4c 89 e7 e8 7d 98 ae fb 48 83 c3 68 48 39 5c
[  906.383858] pt_main_thread[3069]: segfault at 20 ip 00007ffaf5c5c024 sp 00007ffe0283f0b0 error 4 in libtorch_cpu.so[7ffaf1731000+129b4000]
[  906.383871] Code: f8 01 0f 84 98 00 00 00 66 0f 1f 44 00 00 48 8b 84 24 80 00 00 00 48 8d 78 e8 4c 39 ef 0f 85 1b 02 00 00 48 8b 7b 60 48 8b 07 <ff> 50 20 48 8d 70 28 4c 89 e7 e8 7d 98 ae fb 48 83 c3 68 48 39 5c
[ 1994.323293] pt_main_thread[3874]: segfault at e52 ip 00007f61f9a27024 sp 00007ffd20ac4720 error 4 in libtorch_cpu.so[7f61f54fc000+129b4000]
[ 1994.323307] Code: f8 01 0f 84 98 00 00 00 66 0f 1f 44 00 00 48 8b 84 24 80 00 00 00 48 8d 78 e8 4c 39 ef 0f 85 1b 02 00 00 48 8b 7b 60 48 8b 07 <ff> 50 20 48 8d 70 28 4c 89 e7 e8 7d 98 ae fb 48 83 c3 68 48 39 5c
[ 2259.761472] pt_main_thread[4186]: segfault at 0 ip<PHONE_NUMBER>000000 sp 00007ffff3848e38 error 14
[ 2259.761481] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.

I can see RuntimeError: std::bad_alloc when I run the test code with LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4 nohup python3 test.py
I use with aws instance ubuntu , A10 GPU, cuda 12.1, torch 2.3.0+cu121, with stable_fast-1.0.5+torch230cu121-cp310-cp310-manylinux2014_x86_64

@chengzeyi Is there any thing that I can help to solve this problem?

@Suprhimp    Active development on stable-fast has been paused.


Capacitor banks render weird in bad lighting conditions

using latest version (331)

Optifine?

yes

That wasn't my question. Do you have it installed in those screenshots or not?

yes

Then yes, it is caused by that most likely. If you have rendering issues with optifine installed test without it!


refactor: edit LICENSE

Thanks for another fantastic tool to use! I've noticed that this LICENSE wasn't also updated, so I updated it.

We're updating the license soon (hopefully) so this won't be needed I guess. See #165

Sure, I didn't notice that. Will close this one.


Add the ability to jump between words when pressing Option (MacOS) / Alt (Other) + LeftArrow/RightArrow in the developer pad.

Currently, pressing Command + LeftArrow/RightArrow jumps to the start/end of the current line, but Option + LeftArrow/RightArrow does nothing.
https://github.com/user-attachments/assets/35f3ae46-9c5c-45ea-879c-f33db87098bb

You do this with Ctrl

On Mac, the key used to jump between words is Option. Control + LeftArrow/RightArrow switches between workspaces (desktops).

For context, this is what happens on Discord when I use Control, then Option, then Command in combination with the left/right arrows.
https://github.com/user-attachments/assets/71d168c3-36af-4d86-afbf-2298c5db94cd


GenAI: Rename prompt and completion tokens attributes to input and output

We're moved away from prompt/completion terminology on GenAI metrics to accommodate non-chat operations (like embeddings) - see https://github.com/open-telemetry/semantic-conventions/pull/955#discussion_r1578020115 for the context.
But we didn't rename corresponding attributes on spans.
Changes
Rename:

gen_ai.usage.completion_tokens to gen_ai.usage.output_tokens
gen_ai.usage.prompt_tokens to gen_ai.usage.input_tokens

Merge requirement checklist

[x] CONTRIBUTING.md guidelines followed.
[x] Change log entry added, according to the guidelines in When to add a changelog entry.

If your PR does not need a change log, start the PR title with [chore]

[x] schema-next.yaml updated with changes to existing conventions.

/cc @open-telemetry/semconv-llm-approvers


GET endpoint to get repairers for an event

DEPENDS ON:
#108 <- ensure this is done before starting
Task
Create a GET /api/event/{eventId}/repairers endpoint to get repairers assigned to a given EventId.
The expected JSON returned should look like
[
  {
    "userId": "ef75d91c-4e93-421f-8fe5-7c9bfe116293",
    "firstName": "John",
    "lastName": "Smith",
    "email"<EMAIL_ADDRESS>  }
  ...
]

Possible Implementation

Get the list of repairers for an event from EventRepairers table.
For each EventRepairer, you will need to query Clerk to get additional information (name, email) about the repairer. Have a look at services/user.ts to see how to get users from clerk.

Additional Information
Try to have some API testing done for that route. You will most probably have to mock the request to clerk as you do not want to query an external service in the tests.

changing log:

adding a new endpoint: ../api/event/[id]/repairers, get method only
adding a new function in /service/user.ts to get user list from clerk
adding new enum for clerk sort options in type.ts
adding new testing data in utils.ts
adding a endpoint unit test(not done)

Should consider later:

Http requests are heavy costs, request additional evert user's information directly from clerk will cost a lot of resources. Should consider to use a caching mechanism or store the basic user informations into the pg database. I would personally perfer the later one.
Need to add some logs in the backend to help troubleshooting.

Change log 2:

changing  testing data in utils.ts
adding unit test in /test/pages/api/event/[id]/repairers/get.test.ts
adding error cathing in api

Completed in #173


Notification not showing in ios

I'm using awesome_notifications: ^0.9.3+1
in andoid work properly but in ios not working
[ERROR:flutter/shell/common/shell.cc(1065)] The 'awesome_notifications' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
Anyone know how to fix it

I have the same problem and I couldn't solve it

I tried [0.9.3+1] and [0.10.0] and it is available in both.

Did you try 0.9.3


feat: Adding Missing User Attribute pags

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines
[x] tests are included
[ ] documentation is changed or added
[ ] message properties have been updated with new phrases
[ ] view conforms with WCAG 2.0 AA

Description of change

Providing a pags tester to test if a user has an attribute.

@drewwills so what do you think ?

Looks clean & correct.


About iOS 10.3.3

I have a question that confused me for a long time is under the system of the iOS 10.3.3 get nothing with realm database, could you tell me how to solve, thank you very much!

You need to properly describe your issue ("get nothing" is too vague), and provide sample code for us to be able to help you. If you can make a project that reproduces your problem and send it to us that is preferred.


Enhancement request: Zoom in/out

Thanks for sharing this useful tool.
So far, it's difficult to label relative small objects in high resolution images, like the ones taken by UAVs.
Please consider this to make it better, great thanks!

Thanks for the feedback this is in the backlog glad you are enjoying the tool

As of Apr 24, 2019 it is still not possible to zoom in to parts of the full-size image.  Vott is useless for high resolution images without that ability.  Please consider adding it.

Thanks for the feedback this is in the backlog glad you are enjoying the tool

Is there a status update on this? Thanks.


gb vendor fetch -tag is applied recursively, causing vendoring to fail

It looks like the -tag option is being recursed to the dependencies as well, though I'm only assuming that is what is happening based on the output:
$ gb vendor fetch -tag v0.7.2 github.com/mholt/caddy
fetching recursive dependency github.com/BurntSushi/toml
error: pathspec 'v0.7.2' did not match any file(s) known to git.
FATAL command "fetch" failed: exit status 1
FATAL command "vendor" failed: exit status 1

It looks like it's failing because there is no v0.7.2 tag of the toml repository. I'm new to gb, so if this is expected behavior, my apologies.

I can confirm this behaviour.

Yup. That is what is happening, I'll fix it this afternoon.
On Mon, 13 Jul 2015 11:54 Abiola Ibrahim<EMAIL_ADDRESS>wrote:

I can confirm this behaviour.
—
Reply to this email directly or view it on GitHub
https://github.com/constabulary/gb/issues/270#issuecomment-121005540.

Elegant and quick fix - thanks!


Change queue configuration

Change from current server config:
{
  concurrency: 1000,
  queue: {
    size: 2000,
    timeout: 3000,
  }
}

to new format:
{
  queue: {
    concurrency: 1000,
    size: 2000,
    timeout: 3000,
  }
}

But support previous config for all impress 2.0.x

Done


Create a Wiki

GitHub supports a wiki, we should create one and possibly link to it in-app so users can find out more about features etc

Backtracking, if a feature needs explaining it is too complex


Include additionalProperty name in error message

What version of Ajv you are you using?
^6.10.0
What problem do you want to solve?
const ajv = new Ajv()
const validate = ajv.compile({
  type: 'object',
  additionalProperties: false,
  properties: {}
})
if (!validate({ foo: 0 })) {
  console.log(validate.errors[0].message)
}

I get: should NOT have additional properties.
What do you think is the correct solution to problem?
It should be nice to have the name of the additional property, like: should NOT have additional property 'foo'.
Is it possible? Did I miss something?
Is there a reason that's not the case?
Will you be able to implement it?
Maybe with some help :slightly_smiling_face:

Duplicate of #827 - please add there any comments if needed.


RealSense error calling rs2_create_context ex(api_version:25501 json settings:o:  failed to convert special folder. errno=42 是什么地方出问题了

librealsense
2.55.1 RELEASE

OS
Windows

Intel RealSense Viewer / Depth Quality Tool has crashed with the following error message:
RealSense error calling rs2_create_context_ex(api_version:25501, json_settings:{):
    failed to convert special folder: errno=42

Hi @savannah-aq  Advice about the errno=42 error can be found at https://github.com/IntelRealSense/librealsense/issues/13037

Hi @savannah-aq  Do you require further assistance with this case, please?  Thanks!
您需要进一步协助处理此案吗？谢谢！

Case closed due to no further comments received.

My Intel RealSense colleagues have provided some further advice about the errno=42 error.
Given that the problem seems to be related to certain charcters being used in a Windows user account name, I asked whether creating a secondary Windows user account with a name that has no special characters might help.  This was their response.
You can try to run it as Administrator instead of switching the account.  On Windows 11, it also has a feature to run the app as a different user.  That option can be enabled with the instructions at the link below:
https://winaero.com/how-to-run-apps-as-different-user-in-windows-11/

我的英特尔 RealSense 同事提供了一些有关 errno=42 错误的进一步建议。
鉴于该问题似乎与 Windows 用户帐户名称中使用的某些字符有关，我询问创建一个名称中没有特殊字符的辅助 Windows 用户帐户是否有帮助。这是他们的回复。
您可以尝试以管理员身份运行它，而不是切换帐户。在 Windows 11 上，它还具有以其他用户身份运行应用程序的功能。可以按照以下链接中的说明启用该选项：
https://winaero.com/how-to-run-apps-as-different-user-in-windows-11/


Global Pinning does not work

The existing global pinning stopped working because  of the  forward only chunk forwarding. As of the last testing in cluster, The PushToClosest was resetting the stream and the chunk was not able to repair.
Acceptance criterea
Missing chunk should be uploaded to network and repaired

Hi @jmozah , can you provide a bit more information? What is  forward only chunk forwarding, do you have a PR that introduced this regression? Do you have more information w.r.t the tests?

yes. This  commit https://github.com/ethersphere/bee/commit/2f565f9f4599554535bbf10d9bf3fab450770509
@janos knows about this... This is the right thing to do but it breaks GP.

Wa actually have chunkrepair integration test passing with this change on ci, and it is failing on real clusters with or without this change.

we actually have chunkrepair integration test passing with this change on ci,

That is a exception condition not taken care in beekeeper testcase...
but the global pinning fails every single time and i have checked it in the logs every single time...

it is failing on real clusters with or without this change.

Nope.. It passes every single time in real cluster without this change the last i checked.

Maybe I did something wrong in my tests on cluster.
Just to restate my results on running chunkrepair test with https://github.com/ethersphere/bee/commit/2f565f9f4599554535bbf10d9bf3fab450770509 and also with the commit just before that one:

fails on 3 node bee-staging cluster always
passes on 3 node ci cluster as it is visible on master beekeeper runs


assets fail to create from stack for eu-central-1

Stack creation fails for 2 assets, bookstoreNeptuneLoader and BooksUploader, on eu-central-1. as far as I can see there is a problem accessing a public s3 bucket for some node modual in aws-sdk. im not certin if there is some problem with settings on my account that prevent that bucket from being accessed or there is a problem with the stack template itself.
log snippet of the error:
2022-10-31T13:17:34.177Z	3e2dc1b4-716d-48e4-87b9-2b00108ee0e2	INFO	AccessDenied: Access Denied
at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/services/s3.js:710:35)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:686:14)
at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request. (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)
at Request. (/var/runtime/node_modules/aws-sdk/lib/request.js:688:12)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
code: 'AccessDenied',
region: null,
time: 2022-10-31T13:17:34.117Z,
requestId: '59E0FHNJ3A602C4T',
extendedRequestId: 'JbFqg75W3vJ+ey7aj8IlKvDnRoOq07dVV7wW7OlYZXWFw8bpOKAkBzj0AJczeZZGe8gR5UNceTI=',
cfId: undefined,
statusCode: 403,
retryable: false,
retryDelay: 19.55702681850291
}
i just tried to create the stack on eu-central-1, no changes to anything just ran the stack. any help would be greatly appriciated.

Thanks for reporting the issue.  Are you launching the stack from the Launch Stack buttons located here? https://github.com/aws-samples/aws-bookstore-demo-app#getting-started
Are the logs above from the UploadBooks function? (the bookstoreNeptuneLoader is using Python)
The UploadBooks function is pulling down a JSON from the following path:
s3://aws-bookstore-demo-app-eu-central-1/data/books.json
The bookstoreNeptuneLoader function is pulling data from:
s3://bookstore-neptune-eu-central-1/data/
Maybe check that you can access the data in both of those locations from your account.  The former bucket is not fully public, but the books.json object has public-read allowed.  The latter bucket is publicly readable, so you should be able to list all of the objects within that prefix.

Thanks for the quick reply.
Thanks for reporting the issue. Are you launching the stack from the Launch Stack buttons located here? https://github.com/aws-samples/aws-bookstore-demo-app#getting-started
Yes we selec eu-cantral-1
Are the logs above from the UploadBooks function? (the bookstoreNeptuneLoader is using Python)
yes log was taken from the UploadBooks function.
The UploadBooks function is pulling down a JSON from the following path:
s3://aws-bookstore-demo-app-eu-central-1/data/books.json

Tried pulling the file - Got the following error:
2022-11-02 14:48:33,831 - MainThread - awscli.customizations.s3.results - DEBUG - Exception caught during command execution: An error occurred (403) when calling the HeadObject operation: Forbidden
Traceback (most recent call last):
File "awscli\customizations\s3\s3handler.py", line 149, in call
File "awscli\customizations\s3\fileinfobuilder.py", line 31, in call
File "awscli\customizations\s3\filegenerator.py", line 142, in call
File "awscli\customizations\s3\filegenerator.py", line 318, in list_objects
File "awscli\customizations\s3\filegenerator.py", line 355, in _list_single_object
File "awscli\botocore\client.py", line 281, in _api_call
File "awscli\botocore\client.py", line 609, in _make_api_call
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden
fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden
The bookstoreNeptuneLoader function is pulling data from:
s3://bookstore-neptune-eu-central-1/data/

when trying to list the data i recieve:
aws s3 ls s3://bookstore-neptune-eu-central-1/data/
An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied
i recieve 403 for both locations. any ideas on what can cause it?

There must be something in your account blocking access to these buckets.  Perhaps an IAM policy that restricts access only to a set of known buckets.
If you open a private browsing window via your browser, you should be able to access:  https://s3.eu-central-1.amazonaws.com/aws-bookstore-demo-app-eu-central-1/data/books.json   (which shows that this object is set for public-read)
Or you could do the same via:
aws s3 cp s3://aws-bookstore-demo-app-eu-central-1/data/books.json ./ --no-sign-request

If you run the s3 cli commands with --no-sign-request it should pass an anonymous (unsigned) request and allow you to see what is in that bucket/prefix:
aws s3 ls s3://bookstore-neptune-eu-central-1/data/ --no-sign-request

This was found to be an issue with the configuration of an AWS Service Control Policy (SCP).  For anyone that stumbles upon this in the future, be sure to check all related IAM and SCP policies to ensure proper access before deploying this stack.


feat(aws-sdk): add exception hook

Which problem is this PR solving?

https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1765

Short description of the changes

Adds a additional hook for aws sdk exceptions

Ping to component owners
@jj22ee @blumamir


OnPageLoad: Define active tab via html

Looking for a way to define the active tab on pageload by html instead of using the "active" attribute on JS.
Is it possible right now? Couldn't fine anything. Otherwise it would be very cool to get this feature 👍

Hi, yes it is. You can initialize and configure Tabslet using only data attributes.
E.g.: https://jsfiddle.net/dkrestos/cyzocx7r/

Perfect, thanks!


Setting "Disable when no Bablerc File in Path" does not disable the package

The grammars are still enabled, is it possible to have a disable for the grammars? It can conflict with other grammars that provide the same function through a different scope.

No it's not possible. I'm interested to know what the conflict is?
I guess you prefer other JavaScript grammars so the only suggestions I can make is either i) fork my repo and remove the grammar and use that or just remove the grammar from the downloaded package or ii) use https://atom.io/packages/file-types and associate a grammar with a file type/directory.

It conflicted for me with https://atom.io/packages/language-javascript-jsx, actually it won over that one, maybe the order they were applied. That package has a scope name source.js.subtlegradient and the built in source.js. I was able to use file-types to set jsx to source.js, thanks. Maybe default to File Types:  es6, babel and let people add js, and jsx or turn off js and jsx? Atom's language-js is what I prefer for js and jsx. Thanks for looking at this.

No problem.  If you are using the atom provided language-javascript package for jsx then you aren't using language-Babel for the transform of JSX, so that should be ok. I'm sure you are aware Babel is now the standard jsx transform tool. http://facebook.github.io/react/blog/2015/06/12/deprecating-jstransform-and-react-tools.html

Yes I am aware of that babel is the official or standard jsx transform tool. I looked at just removing the grammar, but the save event uses that to fire the transpile. I could change it to the grammar I prefer, but it would be nice to config this. I tried adjusting the theme and you can't control the colors of things like the keys, so I prefer the second attachment to the first and prefer to avoid editing language-babel.less. Thanks for the help.


Setup for UBP-x700

I can connect fine, but I don't get any information on the play/pause status, or the ability to control it. Is it possible to add this functionality?

At least Playback control is implemented. A status is not properly published by all devices.
Are the play pause buttons not visible in home assistant or do they not work properly?

I can see the play pause buttons, but I wanted to automate my lights based on the playing status of the bluray player, and I don't know how to retrieve that status. Is that possible?

This is not specific for this device. The implementation reports the playback state back to home assistant. Something like media player status. Please look this up in the home assistant documentation.

@alexmohr I don't have the playback state on my X700, just if the player is on or off, but no playing
according to your answer, it should be report it, right ?

I think so. could you ellborate what you mean? maybe provide a screenshot or the script you are trying to write

Sorry for the delay @alexmohr
So when I play a Blu-Ray :

Line 236 self.sonydevice.get_playing_status() return NO_MEDIA_PRESENT

This XML is directly provided by the blue ray player therefore it's either not properly implemented or your device does not support this. Can you see this information for example in the Sony TV and sideview app?

What app are you referring to ?

https://play.google.com/store/apps/details?id=com.sony.tvsideview.phone&hl=en_US&gl=US
There might be an alternative for iPhones but you'd have to search it yourself.
If the Sony app is able to display the current blue ray let me know. If not it's not supported by your device

Sadly I don't see any status

Probably it's not supported by your device. You could try if it's available via DLNA. But I can't really recommend an app here.
I'm going to close this for now. If it's possible via DLNA feel free to re-open this issue and I'll probably find a way to implement it.

Thanks :+1:

I tested with DLNA, the playback status is only available for DLNA pushed content, not disc :(


Add Windows Support

Coming from https://github.com/opensearch-project/opensearch-plugins/issues/95, add Windows support.

[x] Passing Build/CI on Windows
[x] Documentation
[x] #1171

@cwperks Can you please update the current status?

@peternied Please provide on update on running CI on windows
For the issue of not having a batch equivalent of the install_demo_configuration.sh (https://github.com/opensearch-project/security/issues/2148) there is a PR, but we are facing an issue with the automated validation of the change against main.
The plugin_install workflow has been extended to verify the installation on both linux and windows, but the issue being faced not is that an opensearch node cannot be started on the windows-latest runner because windows-latest runs as admin and the node will not start if its run as root. This is actively being worked on and we hope to find a solution shortly.
The build-time validation does work on 2.x, but only because the automatic backport of this change failed: https://github.com/opensearch-project/OpenSearch/pull/4656

This is queued up to be worked on next, as soon as I get the backend plugin ready for review for CI on Windows https://github.com/opensearch-project/security/pull/2190

Note, I'm moving the integration test work out into its own task.  It was not a core requirement for the windows platform release and we can fast follow to get it included.

I am not sure why we say integration tests weren't part of this work. Reopening. Let's close when there's no gap between testing on Linux and Windows.

Hi, just want to make sure this issue is closed, if all the tasks are completed.
Thanks.

This is not complete, it is still a work in progress, I've removed the 2.4.0 label

@peternied What release are you targeting?

@CEHENKLE Missed the 2.5.0 release, targeting 2.6.0 @RyanL1997 is actively working this, see the follow PR for status:

https://github.com/opensearch-project/security-dashboards-plugin/pull/1275

https://github.com/opensearch-project/security-dashboards-plugin/pull/1275 has been merged. @peternied is there anything remaining for this ticket or can it be closed?

@RyanL1997 as the one who took this on, would you do the honors and close this issue?

Closing this one since the https://github.com/opensearch-project/security-dashboards-plugin/pull/1275 has been merged. Thank you all for the support!


Use react-router-native

https://github.com/jmurzy/react-router-native
It's the ideal solution and the creator knows a lot about native routing.
But it's not ready for production yet.

[ ] react-router 3

Closing since ETA is unknown and React Router 4 should be universal by default. Until then, all we need it https://github.com/facebook/react-native/tree/master/Examples/UIExplorer/js/NavigationExperimental


use_frameworks! build error on .63.1-0

I am struggling to build my project after upgrading to .63.1-0 from 60.4-6.
Is it not recommended to add use_frameworks! to the podfile now?
If I add that in the RNTester project's podfile and build I will get this build error:
Undefined symbols for architecture arm64
Symbol: _RCTTVNavigationEventNotification
Referenced from: -[RCTTVRemoteHandler sendAppleTVEvent:toView:] in RCTTVRemoteHandler.o

Undefined symbol: _RCTShowDevMenuNotification

Steps To Reproduce

Add use_frameworks! to RNTester/Podfile
pod install
Open RNTesterPods.xcworkspace
Build
Error occurs during build

I stumbled on this error as I am trying to resolve a different problem. I have had success building without use_frameworks! 🎉 . However I am struggling on a jenkins build and trying to determine the difference between environments. I will post a fix or comment as I work to solve it.

Thanks for letting me know about this, and I appreciate you working on a fix!  I'm looking into a couple of other issues now, but when I'm done with those I will look at this (if you haven't solved it by then).

@NickAVolpe I have a fix that seems to work -- not entirely happy with it, but it will at least unblock you.  See https://github.com/react-native-community/react-native-tvos/commit/8c725a7764d2e99abbd6d91e46ac56fb356e300d for the changes.

Right on. I was going down a similar path but got a little lost haha, thanks for showing me this.
I ended up 'solving' the first problem I had by reverting this 1 line podspec change for yoga. It is likely that my remote build machine has a different version of mac os and xcode.

Fixed in 0.63.1-1


Allow admins to create People

Admins need to create people to set as Ask and Offer form contacts. Right now their only option is to fill out an offer/ask form with the name and then finding them.

@maebeale I'd love to work with this issue. Thank you

Awesome!

hey -- is this still available? Would love to take a stab at it!

hello! SURE IS!
On Sun, Apr 23, 2023 at 1:12 PM Ariel Fogel @.***>
wrote:

hey -- is this still available? Would love to take a stab at it!
—
Reply to this email directly, view it on GitHub
https://github.com/rubyforgood/mutual-aid/issues/914#issuecomment-1519113244,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB2BMBKZENRYSMF7UAN27XTXCVPHJANCNFSM4ZXQHU5Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

w00t w00t!

hey @maebeale ; so sorry, I'm going to relinquish this ticket. I overestimated how much flexibility I would have to take on new projects while also job hunting.


Improving UI of LongPara component of Form of Web-App

The file for it are clongpara.js (rendered in rform), longpara.js (rendered in rcreation) and thier repective stylesheets.


new feature mdSelect multioption

Bug, feature request, or proposal:
feature request
What is the expected behavior?
mdSelect to be able to behave as a multi option where user could select multiple values by pressing Ctl or shift plus click
What is the current behavior?
mdSelect only allows to select one element
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
What is the use-case or motivation for changing an existing behavior?
HTML allows this type of behaviour so  angular material should so same
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?

md-select already supports selecting multiple options. You have to set the multiple attribute:
<md-select [(ngModel)]="value" multiple>
  ...
</md-select>


Broken support private video on vk.com with cookies

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.04.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log
>youtube-dl.exe -v --cookies cookies.txt "https://vk.com/video-202656183_456239060"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--cookies', 'cookies.txt', 'https://vk.com/video-202656183_456239060']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2021.04.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.3.1-2020-11-19-full_build-www.gyan.dev, ffprobe 4.3.1-2020-11-19-full_build-www.gyan.dev
[debug] Proxy map: {}
[vk] -202656183_456239060: Downloading JSON metadata
ERROR: This video is only available for registered users. Use --username and --password or --netrc to provide account credentials.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp_5l7wxqx\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp_5l7wxqx\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp_5l7wxqx\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp_5l7wxqx\build\youtube_dl\extractor\vk.py", line 318, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp_5l7wxqx\build\youtube_dl\extractor\vk.py", line 72, in _download_payload
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp_5l7wxqx\build\youtube_dl\extractor\common.py", line 943, in raise_login_required
youtube_dl.utils.ExtractorError: This video is only available for registered users. Use --username and --password or --netrc to provide account credentials.

Description
youtube-dl isn't working for private video with cookies for now.
It was working for a long time.
Last time it worked about a week ago or less.
Reproduce:

Sign in/log in to vk.com
Navigate to Video in left menu
Upload video and set privacy to "Only me" -- it means video is private for all users except me
Save video
Wait until video is converted
Open video in new tab and copy link of the video
Save cookies of vk.com to file, I use this plugin https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/
Run command like this: youtube-dl.exe -v --cookies cookies.txt "https://vk.com/video-202656183_456239060"

Most likely expired cookies.

I save cookies in same time as copy url hence cookies is not expired.


Problem with navigation touch events (menu not working on ipad)

Navigation touch events are not working on the past few websites i've built. The 1st finger press will open the navigation menu and then the second event will simply close the website.
Testing on iPad with iOS 10.12 (latest at the time).
You can test on the website here: https://www.sports2000.co.uk/
Im presuming its an issue with the theme rather than my setup as it doesn't work on a blank install for me.
Running node v6.9.1.
FoundationPress version 2.8.0
"devDependencies": {
"autoprefixer": "^6.1.0",
"babel-core": "^6.5.2",
"babel-plugin-transform-es2015-arrow-functions": "^6.3.13",
"babel-plugin-transform-es2015-block-scoped-functions": "^6.3.13",
"babel-plugin-transform-es2015-block-scoping": "^6.4.0",
"babel-plugin-transform-es2015-classes": "^6.3.15",
"babel-plugin-transform-es2015-destructuring": "^6.3.15",
"babel-plugin-transform-es2015-modules-commonjs": "^6.3.13",
"babel-plugin-transform-es2015-parameters": "^6.3.26",
"babel-plugin-transform-es2015-shorthand-properties": "^6.5.0",
"babel-plugin-transform-es2015-spread": "^6.4.0",
"babel-plugin-transform-es2015-template-literals": "^6.3.13",
"babel-preset-es2015": "^6.5.0",
"babel-register": "^6.5.2",
"bower": "~1.6.4",
"browser-sync": "^2.10.0",
"colors": "^1.1.2",
"dateformat": "^1.0.12",
"del": "^2.2.0",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^3.1.0",
"gulp-babel": "^6.1.2",
"gulp-clean-css": "^2.0.7",
"gulp-concat": "^2.6.0",
"gulp-flatten": "^0.2.0",
"gulp-if": "^2.0.0",
"gulp-jshint": "^2.0.0",
"gulp-load-plugins": "^1.1.0",
"gulp-notify": "^2.2.0",
"gulp-phpcbf": "latest",
"gulp-phpcs": "^1.0.0",
"gulp-plumber": "^1.0.1",
"gulp-sass": "^2.1.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-uglify": "^1.5.1",
"gulp-uncss": "^1.0.4",
"gulp-util": "^3.0.7",
"gulp-zip": "^3.0.2",
"jshint": "^2.8.0",
"merge-stream": "^1.0.0",
"motion-ui": "^1.1.0",
"run-sequence": "^1.1.5",
"yargs": "^3.31.0"
},

Hello, I just confirm the same problem on my iPad (ios 9). Even on the FoundationPress website, submenu open but link are not working! I tried a lot of stuff but can't find a way to make it work... :( Any idea?

I've not yet tried anything, however on my sites pre-foundation I use to use a libary called double tap to go.
You could set the ID and then it would do the hard work. Going to try my best to see if I can intergrate it - even if it is a stopgap 'hack' for now.
https://github.com/dachcom-digital/jquery-doubleTapToGo

Hum, Foundation is supposed to work out of the box for menu on touch device... Seems to be a bug maybe in the JS with the touch events... Wont be the first time zurb introduce such a bug.

Appears its a problem with foundation as you suspected. Its been reported to them on their github.
https://github.com/zurb/foundation-sites/issues/9652
Guess its a waiting game to see if they find a fix.

I have changed the javascript file in the assets folder to an older version of foundation and its now working again.
Would recommend others do the same for the time being.

Great, I was about to do the same thing... What file did you replace? dropdownMenu.js? Or did you have to replace more file?

I simply dropped the whole javascript assets folder from an old project to save myself time. Then re-added the specific scripts to my project.

This is fixed in develop branch ( next version ) of foundation. Cheers !


Skip destroyRawConnection when __knex__disposed is set

I recently upgraded to knex 14.1 and found that calling client.destroy would sometimes hang. Traced it down to the end callback never being called when using the postgres dialect here: https://github.com/tgriesser/knex/blob/master/src/dialects/postgres/index.js#L134. Checking for __knex__disposed seemed to resolve the issue - though it's not clear to me if it's correct for all dialects, or even generally correct for postgres.

Thanks. Makes sense. I suppose some times, if connection was already closed when trying to destroy this might have happened.
Test (for example tape test, might be easy to add) would be good to have for the hanging problem.

As I went through the code to implement #2450 I saw that __knex__disposed is used to indicate that the connection is broken and SHOULD be destroyed. This change would break alot of stuff!

@koskimas good catch. Which code do you mean that it is used to signal that connection should be destroyed?
I though knex_disposed was just used by pool validate function when getting connection from pool and in case if validation fails (because __knex_disposed was set), connection is thrown away from pool without calling destroy separately (no destroy needed because connection was broken)?
Anyways, looks like even destroyRawConenction that is called during destroy also might set __knex_disposed. I'm a bit confused about how that stuff should work exactly.

Which code do you mean that it is used to signal that connection should be destroyed?

The code in each dialects's Client that sets __knex_disposed when the connection is broken. I don't think we can decide that no destroying needs to be done in that case. Does an error event really mean all destruction code is properly executed on all dialects? I would assume even broken connections need to be destroyed so that all resources are released.

@koskimas yeah I agree and saw that it has not been clear in every dialect what should be done when __knex__disposed is set.
I suppose that currently each dialect code should make sure that connection is fully destroyed when it sets __knex__disposed since common pool code is expecting that. Currently it is not doing that since even if connection is really closed by DB at least on node side there might be some event handlers etc. left behind causing memory leaks and other problems.
Anyways looks like this PR can be closed and all the connection handling code needs to be rewritten more carefully and some well specified manner what needs to be done in these cases so that all clients work in a consistent way with the common pool  code.


A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.

Hi,
I want to use your bundle with Symfony. But I get this message : A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.
I wrote your solution in Configuration file but it doesn't work.
Can you to resolve this problem ?
Thank you
Alexandre

It is solved, if you have this problem : do this command : php bin\console cache:clear.


Remove trailing commas and semi colons between items of an array of CIM instances

This fixes the issue https://github.com/microsoft/Microsoft365DSC/issues/3335 I reported where several DSC resources ended up with incorrectly placed commas in the blueprints.
With this fix in both PRs https://github.com/microsoft/Microsoft365DSC/pull/3362 and https://github.com/microsoft/Microsoft365DSC/pull/3364 can be cancelled.

This change is

@NikCharlebois @William-Francillette Could you please let me know your thoughts on this? Just let me know which version is better and I'll make a new commit with those changes.

@ricmestre I'll say use to prevent any unintentional substitution - it will only remove a coma in an empty line:
$DSCBlock = $DSCBlock.replace("`r`n    ,`r`n", "`r`n")

@NikCharlebois I'll assume this PR will be pushed and amend the resources accordingly part of #3309 https://github.com/microsoft/Microsoft365DSC/issues/3309
I'll be removing those lines from every resources as not required anymore

That unfortunately won't work since we don't know how many whitespaces may come from the export so I've just slightly changed the regex replace that it's currently there to "`r`n\s*,`r`n", "`r`n"

That unfortunately won't work since we don't know how many whitespaces may come from the export so I've just slightly changed the regex replace that it's currently there to "`r`n\s*,`r`n", "`r`n"
LGTM


Plugable NXT/WCG coins

Plugable NXT/WCG coins

can u add support USDT (Tether)?

closed ability to add custom coins will be implemented via coin plugins

closed in #2168


screenshare is broken in discord (black screen)

System Info and Version
 System/Version info
Hyprland, built from branch main at commit 9994b73ad0af5c9ba5fc4058234cea77d0a1ddb1  (buffer: track asynchronous buffers and don't release them until unref).
Date: Sat Jun 8 19:27:56 2024
Tag: v0.40.0-176-g9994b73a, commits: 4782

flags: (if any)

System Information:
System name: Linux
Node name: FA506IH
Release: 6.9.0-arch1-1-FA506IH
Version: #4 SMP PREEMPT_DYNAMIC Tue, 04 Jun 2024 14:14:38 +0000

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] [10de:1f99] (rev a1) (prog-if 00 [VGA controller])
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1636] (rev c7) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/heather/.config/hypr/hyprland.conf: Read Succeeded
monitor = eDP-1, 1920x1080, 0x0, 1

#workspace = 1, monitor:eDP-1
#workspace = 2, monitor:eDP-1
#workspace = 3, monitor:eDP-1
#workspace = 4, monitor:eDP-1
#workspace = 5, monitor:eDP-1

# Source a file (multi-file configs)
source = ~/.config/hypr/binds.conf			# Keybinds
source = ~/.config/hypr/windowrules.conf	# Window rules
source = ~/.config/hypr/environment.conf	# Environment variables
source = ~/.config/hypr/autostart.conf		# Autostart

input {
  kb_layout = us,ru	# English and Russian layouts
  kb_options = grp:alt_shift_toggle,caps:none	# Switch with Alt+Shift
  follow_mouse = 1

	repeat_rate = 30
	repeat_delay = 250

  touchpad {
      natural_scroll = yes
  }
}

general {
	gaps_in = 0
  gaps_out = 0

  border_size = 1
  col.inactive_border = rgba(343F44FF)
  col.active_border = rgba(475258FF)

	resize_on_border = true
	extend_border_grab_area = 7

  layout = dwindle
}

decoration {
  rounding = 0
  blur {
    enabled = false
  }
  drop_shadow = false
}

animations {
  enabled = no
}

misc {
	disable_splash_rendering = true
  disable_hyprland_logo = true
  background_color = 0x1E2326

  mouse_move_enables_dpms = true
	key_press_enables_dpms = true

  focus_on_activate = true  # Respect app focus requests
}

dwindle {
  pseudotile = yes
  preserve_split = yes
  no_gaps_when_only = 1 # disable borders when there is one window in the workspace
}

Config File: /home/heather/.config/hypr/binds.conf: Read Succeeded
# Key binds config

# Mian mod key is SUPER (Windows)
$mainMod = SUPER

# Launch applications
bind = $mainMod, T, exec, if pgrep --exact "tmux: server"; then exec foot tmux attach; else exec foot tmux; fi
bind = $mainMod_SHIFT, T, exec, foot
bind = $mainMod_SHIFT, R, exec, foot-popup
bind = $mainMod, W, exec, firefox

bind = $mainMod, A, exec, foot-popup pulsemixer
bind = $mainMod, R, exec, foot-popup ~/.config/scripts/drun-fzf/drun-fzf.sh
bind = $mainMod, C, exec, foot-popup ~/.config/scripts/cliphist-fzf/cliphist-fzf.sh
bind = $mainMod, B, exec, foot-popup ~/.config/scripts/firefox-history-fzf/firefox-history-fzf.sh

# Window management
# kill the process that owns active window if this process doesn't have any other windows opened
bind = $mainMod, Q, exec, addr="$(hyprctl activewindow -j | jq -r ".address")"; pid="$(hyprctl clients -j | jq -r ".[] | select(.address == \""$addr"\").pid")"; if [ "$(hyprctl clients -j | jq -r "[.[] | select(.pid == $pid)] | length")" -le 1 ]; then hyprctl dispatch closewindow address:"$addr"; sleep 3; kill -TERM "$pid"; else hyprctl dispatch closewindow address:"$addr"; fi
bind = $mainMod, O, togglefloating,
bind = $mainMod, P, pin,
bind = $mainMod, F, fullscreen,1 # maximize (keep panel)
bind = $mainMod_SHIFT, F, fullscreen,0 # actual fullscreen

bind = $mainMod, S, exec, grim - | tee ~/pictures/sshots/"$(date --iso-8601=ns)".png | wl-copy -t "image/png"
bind = $mainMod_SHIFT, S, exec, grim -g "$(slurp)" - | tee ~/pictures/sshots/"$(date --iso-8601=ns)".png | wl-copy -t "image/png"
bind = $mainMod_CTRL, S, exec, grim -g "$(slurp)" - | swappy -f - -o - | wl-copy
bind = $mainMod, U, exec, hyprpicker -a -f hex

# Cycle through open windows
bind = $mainMod, N, cyclenext

# Scroll through existing workspaces
bind = $mainMod, L, workspace, r+1
bind = $mainMod, H, workspace, r-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Switch workspaces with mainMod + [9-0]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [9-0]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Audio control with pactl
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
bind = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindr = , VoidSymbol, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle

# Backlight control with brightnessctl
binde = , XF86MonBrightnessDown, exec, brightnessctl --class=backlight s 10-
binde = , XF86MonBrightnessUp, exec, brightnessctl --class=backlight s +10

# Turn display off
# (XF86ScreenSaver doesn't work for some reason so we use the keycode)
bind = , code:160, exec, sleep 0.5 && hyprctl dispatch dpms off

# Bind F10 key to toggle player play/pause
bind = , XF86TouchpadToggle, exec, playerctl play-pause

Config File: /home/heather/.config/hypr/windowrules.conf: Read Succeeded
# Window rules
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more

# Firefox Picture-in-Picture
windowrulev2=float,title:Picture-in-Picture
windowrulev2=pin,title:Picture-in-Picture
windowrulev2=keepaspectratio,title:Picture-in-Picture
windowrulev2=size 30% 30%,title:Picture-in-Picture
windowrulev2 = suppressevent fullscreen maximize,title:Picture-in-Picture
#windowrulev2=bordersize 1,title:Picture-in-Picture

# Make firefox itself tiled
windowrulev2 = tile,initialTitle:^(Mozilla Firefox)$,initialClass:^firefox$
# All other windows with `firefox` class (file dialogues, etc) should be floating
windowrulev2 = float,initialClass:^firefox$,initialTitle:^(?!Mozilla Firefox$)(.*)$
windowrulev2 = size 60% 80%,initialClass:^firefox$,initialTitle:^(?!Mozilla Firefox$)(.*)$
windowrulev2 = suppressevent fullscreen maximize,initialClass:^firefox$,initialTitle:^(?!Mozilla Firefox$)(.*)$

# File browser
windowrulev2 = float,class:^(xdg-desktop-portal-gtk)$
windowrulev2 = size 60% 80%,class:^(xdg-desktop-portal-gtk)$

# Resize Telegram window
#windowrulev2=maxsize 472 1080,class:org.telegram.desktop,title:Telegram

# Make telegram media viewer floating and fullscreen it
windowrulev2=float,class:org.telegram.desktop,title:Media viewer
windowrulev2=maximize,class:org.telegram.desktop,title:Media viewer
# Telegram file picker
windowrulev2 = float,initialClass:telegram-desktop,initialTitle:Choose Files
windowrulev2 = size 60% 80%,initialClass:telegram-desktop,initialTitle:Choose Files

# Pavucontrol
windowrulev2=float,class:pavucontrol,title:Volume Control
windowrulev2=pin,class:pavucontrol,title:Volume Control
windowrulev2=size 40% 40%,class:pavucontrol,title:Volume Control

# Polkit authentification
#windowrulev2=float,class:org.kde.polkit-kde-authentication-agent-1
#windowrulev2=size 30% 40%,class:org.kde.polkit-kde-authentication-agent-1

# Ripdrag
windowrulev2=pin,class:it.catboy.ripdrag

# Float foot windows with foot-float class
windowrulev2 = float,initialTitle:^foot-float$
windowrulev2 = size 720 504,initialTitle:^foot-float$

# Float imv windows with imv-float title
windowrulev2 = float,initialTitle:^imv-float$

# Rules for foot-popup windows
# assuming cell_width=9 and cell_height=21, 80 cells wide and 24 cells tall
windowrulev2 = float,initialClass:^foot-popup$
windowrulev2 = center 1,initialClass:^foot-popup$
windowrulev2 = size 720 504,initialClass:^foot-popup$
windowrulev2 = pin,initialClass:^foot-popup$
windowrulev2 = stayfocused,initialClass:^foot-popup$

# Fat borders on floating windows
windowrulev2 = bordersize 2,floating:1

windowrulev2 = center 1,floating:1

Config File: /home/heather/.config/hypr/environment.conf: Read Succeeded
# Environment variables

# Use AMD integrated GPU
env = WLR_DRM_DEVICES,/dev/dri/by-name/amdgpu-card

# Disable GTK accessibility bus
env = GTK_A11Y,none
env = NO_AT_BRIDGE,1

# Firefox settings
env = MOZ_DISABLE_RDD_SANDBOX,1   # hwaccel refuses to work without this
env = MOZ_DRM_DEVICE,/dev/dri/by-name/amdgpu-render

# Wayland in QT apps
env = QT_QPA_PLATFORM,wayland
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1

# Nvidia, FUCK YOU
env = VDPAU_DRIVER,radeonsi
env = LIBVA_DRIVER_NAME,radeonsi

# Nvidia cache directory (prevent creating ~/.nv)
env = __GL_SHADER_DISK_CACHE_PATH,/home/heather/.cache/nv/
env = CUDA_CACHE_PATH,/home/heather/.cache/nv/
# npm cache directory
env = npm_config_cache,/home/heather/.cache/npm
# move .cargo out of ~
env = CARGO_HOME,/home/heather/.cache/cargo
# move go out of ~
env = GOPATH,/home/heather/.cache/go

# GTK2 config location
env = GTK2_RC_FILES,/home/heather/.config/gtk-2.0/gtkrc
# GTK theme
#env = GTK_THEME,Adwaita:dark

# Bash startup file for non-interactive shells
env = BASH_ENV,/home/heather/.config/bash/non-interactive.sh

# XDG user dirs
env = XDG_CONFIG_HOME,/home/heather/.config/
env = XDG_DATA_HOME,/home/heather/.local/share/
env = XDG_STATE_HOME,/home/heather/.local/state/
env = XDG_CACHE_HOME,/home/heather/.cache/

Config File: /home/heather/.config/hypr/autostart.conf: Read Succeeded
# Systemd services inherit hyprland environment
exec-once = systemctl --user import-environment

# Pipewire
exec-once = systemctl --user restart pipewire.service
exec-once = systemctl --user restart pipewire-pulse.service
exec-once = systemctl --user restart wireplumber.service

# Apps
exec-once = systemctl --user restart hypridle.service
exec-once = systemctl --user restart hyprpaper.service
exec-once = systemctl --user restart dunst.service
exec-once = systemctl --user restart ags.service

# My scripts
exec-once = systemctl --user restart cliphist.service
exec-once = systemctl --user restart capslock-mic-indicator.service
exec-once = systemctl --user restart profile-notify.service
exec-once = systemctl --user restart foot-popup-server.service

# Oneshot cmds
exec-once = hyprctl setcursor Adwaita 20
exec-once = bash -c "while read -r dev; do hyprctl switchxkblayout $dev 0; done < <(hyprctl devices -j | jq -r '.keyboards[] | .name')"
exec-once = foot -- tmux new-session ~/.config/scripts/tmux-first-session-init.sh

======Config-End========

Bug or Regression?
Regression
Description
After updating to the latest commit, screenshare in discord is broken, resulting in black screen. I can reproduce this in both vesktop and discord inside firefox. Screenshare does, however, work in telegram desktop. OBS screen recording also works, but sometimes I need to select my monitor several times for it to work.
How to reproduce

Open vesktop or browser version of discord inside firefox
Join a channel and initiate screenshare
Select any window or whole screen (it doesn't matter)
Observe black screen being shared instead of your screen

Crash reports, logs, images, videos
vesktop logs:
[107768:0608/202553.873246:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[107768:0608/202555.164415:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[107734:0608/202600.634365:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[107734:0608/202600.634420:ERROR:shared_screencast_stream.cc(940)] Dropping DMA-BUF modifier:<PHONE_NUMBER>34822913 and trying to renegotiate stream parameters
'loop->recurse > 0' failed at ../pipewire/src/pipewire/thread-loop.c:426 pw_thread_loop_wait()
[2024-06-08 20:26:01.704] [venmic] [info] [patchbay] (get) running venmic 3.4.2
[2024-06-08 20:26:01.727] [venmic] [info] [patchbay] (handle) found default metadata: 40
[2024-06-08 20:26:01.727] [venmic] [info] [patchbay] (meta_update) speaker name: "alsa_output.pci-0000_05_00.6.analog-stereo"
[107734:0608/202605.827072:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[107734:0608/202605.827134:ERROR:shared_screencast_stream.cc(940)] Dropping DMA-BUF modifier:<PHONE_NUMBER>34822913 and trying to renegotiate stream parameters
'loop->recurse > 0' failed at ../pipewire/src/pipewire/thread-loop.c:426 pw_thread_loop_wait()

firefox only outputs one line:
loop->recurse > 0' failed at ../pipewire/src/pipewire/thread-loop.c:426 pw_thread_loop_wait()

discord runs on xwayland and it's never had working screenshare, though? What discord are you using?

I am using https://github.com/Vencord/Vesktop. Now that you mention it, I think I forgot to add --ozone-platform="wayland" flag when doing initial testing. With this flag it does run on native wayland.
Screenshare doesn't work on native wayland either, however. I will attach updated logs (with --ozone-platform="wayland" this time)
vesktop_log.txt

In the main branch xdg-desktop-portal-hyprland stopped running

I did more testing and I'm pretty sure it's not hyprland issue, as it does not go away when downgrading hyprland or installing stable release. It just happened to align with the time when I rebuilt hyprland (I noticed that there was a mesa update, so maybe that's the issue, but that's unrelated)
Closing this, and sorry for wasting your time

Happening to me on Vesktop on the latest commit, actually. It does not happen with the official release of Hyprland on Arch's official repositories.


Bad reported version.

$ php -n -d extension=trace-1.0.0/extension/modules/trace.so --re trace
Extension [ <persistent> extension #15 trace version 0.6.0-beta ] {

Seems definitively better to use standardized macro name (PHP_TRACE_VERSION) which is checked during the upload on pecl, and avoid such common mistake...

There are three version in phptrace,  main version and cli version are 1.0.0 and the ext version is 0.6.0. since the last version extension are not so stable, so it`s version just 0.6.0

So terribly confusing for user.

And so "stability" should be the lowest one, so "beta"
More, as this is released on PECL, the package released there should  use the ext. version (as PECL is an "extension" repo)

@monque  remicollet have some suggest for the version

Thanks for your advice, we'll keep only one version.

Seems definitively better to use standardized macro name (PHP_TRACE_VERSION) which is checked during the upload on pecl, and avoid such common mistake...

What's the checking mechanism during the upload?
Compare macro PHP_TRACE_VERSION with package.xml literally?

Compare macro PHP_TRACE_VERSION with package.xml literally?

Yes.
http://git.php.net/?p=web/pecl.git;a=blob;f=public_html/release-upload.php;h=681f14a47a5ba39f103bbc9b826847e072255f91;hb=HEAD#l108

http://git.php.net/?p=web/pecl.git;a=blob;f=public_html/release-upload.php;h=681f14a47a5ba39f103bbc9b826847e072255f91;hb=HEAD#l102
It seems that this script will never check extension/php_trace.h due to the sub folder...


Make worker.py test wait longer between resolving the master tablet

@enisoc @michael-berlin @alainjobart
I believe this should help with some of the flakiness.

LGTM


Keeping low number of duplicates

Hi EPIC2 Developers,
First off, thank you for creating a great peak calling tool. I am planning to use this for my own analysis for ChIP-seq data actually. In that case, I am wondering if there is a way to keep duplicates using --keep-duplicates but setting it to just a low number for instance like 1 instead of just to True, which would remove the majority of PCR duplicates found but still keep a low number of duplicates?
A similar thing can be done using their keep duplicates flag in MACS3 as follows:
--keep-dup
It controls the MACS3 behavior towards duplicate tags at the exact same location – the same coordination and the same strand. You can set this as auto, all, or an integer value. The auto option makes MACS3 calculate the maximum tags at the exact same location based on binomial distribution using 1e-5 as p-value cutoff; and the all option keeps every tag. If an integer is given, at most this number of tags will be kept at the same location. The default is to keep one tag at the same location. Default: 1
If you can clarify this for me before I start using your program, then that would be greatly appreciated.
Thank you,
Phoebe

This is something I could consider. I think it makes sense. It should not be hard to allow keeping some duplicates, even though it will make the runtime a bit longer.

Hi @endrebak,
Thank you for your reply back. Sure, if there is anyway you could support this kind of implementation into your tool, then that would be awesome. It will definitely help me with my own analysis as the ChIP-seq dataset I am currently working with needs to have some but not all duplicates retained.
 You can preprocess the data yourself and use --keep-duplicates


compile with mingw32 trouble

Hey, any chance helping compile this with mingw32?

never mind, if anyone needs it its
g++ *.cpp -o  -lglew32 -lopengl32 -lgdi32

@angelobrajuka Close this issue if it has been solved.

@angelobrajuka Close this issue if it has been solved.

are u using windows? bc it doesnt need any compiling stuf.
btw visit #64

closed


Next js -H <IP_ADDRESS> problem

Description
Next JS 13.5. If i use -H option in startup script (next dev -H <IP_ADDRESS>) and visit <IP_ADDRESS>:{port} (or localhost:{port}), i get loop of redirection to localhost:{port} or error "431 Request Header Fields Too Large".
Currently tested in server side (https://next-intl-docs.vercel.app/docs/getting-started/app-router-server-components), but problem exist in client side also.
Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://codesandbox.io/p/sandbox/next-intl-bug-template-app-forked-xj6t8q?file=%2Fpackage.json%3A10%2C20
(in Browser Console "Failed to load resource: the server responded with a status of 431 (Request Header Fields Too Large)")
Reproduction description
Steps to reproduce:

https://next-intl-docs.vercel.app/docs/getting-started/app-router-server-components
Start dev (next dev -H <IP_ADDRESS>)
Look in Network tab in Developer menu (F12).

Expected behaviour
Page with site is opening (with and without language selector in url).

Might have to do with https://github.com/vercel/next.js/pull/54277

Thanks for the reproduction!
Hmm, I'm wondering if this needs to be fixed upstream. The error appears as soon as the middleware is added.
However I see this one:
Failed to proxy http://localhost:3000/en Error: connect ECONNREFUSED ::1:3000
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)
    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '::1',
  port: 3000
}
Error: connect ECONNREFUSED ::1:3000
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)
    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '::1',
  port: 3000
}
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:648:11)
    at _res.setHeader (/Users/jan/Projects/amannn/next-intl/node_modules/.pnpm/next@13.5.1_@babel+core@7.22.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/base-server.js:404:24)
    at _res.setHeader (/Users/jan/Projects/amannn/next-intl/node_modules/.pnpm/next@13.5.1_@babel+core@7.22.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/base-server.js:404:24)
    at NodeNextResponse.setHeader (/Users/jan/Projects/amannn/next-intl/node_modules/.pnpm/next@13.5.1_@babel+core@7.22.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/base-http/node.js:78:19)
    at DevServer.renderErrorImpl (/Users/jan/Projects/amannn/next-intl/node_modules/.pnpm/next@13.5.1_@babel+core@7.22.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/base-server.js:1720:17)
    at /Users/jan/Projects/amannn/next-intl/node_modules/.pnpm/next@13.5.1_@babel+core@7.22.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/base-server.js:1715:25
    at NextTracerImpl.trace (/Users/jan/Projects/amannn/next-intl/node_modules/.pnpm/next@13.5.1_@babel+core@7.22.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/lib/trace/tracer.js:90:20)
    at DevServer.renderError (/Users/jan/Projects/amannn/next-intl/node_modules/.pnpm/next@13.5.1_@babel+core@7.22.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/base-server.js:1714:41)
    at DevServer.renderError (/Users/jan/Projects/amannn/next-intl/node_modules/.pnpm/next@13.5.1_@babel+core@7.22.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/next-server.js:830:22)
    at DevServer.handleRequestImpl (/Users/jan/Projects/amannn/next-intl/node_modules/.pnpm/next@13.5.1_@babel+core@7.22.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/base-server.js:683:33)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

It can be simplified to this middleware:
import {NextRequest, NextResponse} from 'next/server';

export default function middleware(req: NextRequest) {
  const target = new URL('/en', req.nextUrl);
  return NextResponse.rewrite(target);
}

export const config = {
  matcher: ['/']
};

Did you search upstream bug reports? Might be worth adding a bug report in the Next.js repo.

Did you search upstream bug reports? Might be worth adding a bug report in the Next.js repo.

If i don`t use next-intl middleware from tutorial, all working fine. Next js working without errors without next-intl and <IP_ADDRESS>.

I meant that it seems like the middleware doesn't work with the -H option generally, I'm not sure if this can be addressed by next-intl.
To move forward here, you could make a reproduction without the usage of next-intl with this middleware:
import {NextRequest, NextResponse} from 'next/server';

export default function middleware(req: NextRequest) {
  const target = new URL('/en', req.nextUrl);
  return NextResponse.rewrite(target);
}

export const config = {
  matcher: ['/']
};

… and open an issue in the Next.js repo.

Silly me. I had commented out my matcher for testing purposes. When I reenabled the matcher below, everything worked again. Was not a problem with Next 13.4.x, but surfaced only after upgrading to 13.5.x.
export const config = {
matcher: [
    /*
     * Skip all paths that should not be internationalized
     * Match all request paths except for the ones starting with:
     * - api (API routes)
     * - _next/static (static files)
     * - _next/image (image optimization files)
     * - favicon.ico (favicon file)
     */
    '/((?!api|_next/static|_next/image|favicon.ico).*)',
  ],
}

Update (for people, who search answer to this question).
Solution: use local IPV4 address of your PC (for example <IP_ADDRESS>).
  "scripts": {
    "dev": "next dev -H <IP_ADDRESS>",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },


Persist should run in parallel

Persisting snapshots and their parquet files is not done in parallel. This process is kicked off here: https://github.com/influxdata/influxdb/blob/35e29d14087b26a8433c8c24240cb5c2cb494d18/influxdb3_write/src/write_buffer/queryable_buffer.rs#L135
This could be persisting potentially many tables at the same time. How many to run at a time should be something that can be configured.

I updated the issue description to reflect the change from segments to snapshots.


Command seed info not available

It seems on latest version seed info is not there, maybe what is correct is seed version?

Thanks, Vasco. Well spotted.


Changing ranks

I set my rank to Admin but now when I try setting it to default rank it doesn't show in chat that I'm newcomer

Going to guess this is the multi rank per user support. I would suggest that this should be toggable in config because this would get very annoying.

Also make it so we can just set what ranks higher ranks inherit, having multiple ranks per user would get very confusing after some time.

Also make it so we can just set what ranks higher ranks inherit, having multiple ranks per user would get very confusing after some time.

You must remove the Admin rank, this is because this plugin supports multiple ranks at once.

I have a similar problem.
When setting the Guest rank as Default, in Minecraft if the chat appears as Guest but the permissions are not given and I already checked the configuration of the ranks.yml and it is fine, but in the database it does not appear that the user has the rank .

That is depending when player is op, and you have been /deop ,you will removed some permissions, i think, the ranks should be synched when changing like /op and /deop
or your plugin has following concepts:
permissions:
       test.perms:
              default: op

I set my rank to Admin but now when I try setting it to default rank it doesn't show in chat that I'm newcomer

same thing, this plugin supports multiple ranks. If you have already ranks like admin, it would addition the another rank. Try to remove the admin rank to remove permissions.

I think I didn't know how to make myself understood (I apologize).
The Guest rank is configured as the default rank (that is, it is given to all players who enter the server), but even if the Guest rank has the permissions [pocketmine.command.transferserver and pocketmine.command.say] they cannot use those commands.
To make the permissions work for them, I need to remove and re-give them the Guest rank so they can run the commands.
I apologize again, if I did not understand myself again, but I have never made myself understood well.

I think I didn't know how to make myself understood (I apologize).
The Guest rank is configured as the default rank (that is, it is given to all players who enter the server), but even if the Guest rank has the permissions [pocketmine.command.transferserver and pocketmine.command.say] they cannot use those commands.
To make the permissions work for them, I need to remove and re-give them the Guest rank so they can run the commands.
I apologize again, if I did not understand myself again, but I have never made myself understood well.

for fast reading: if players join, the default ranks current permission would give them.

I think I didn't know how to make myself understood (I apologize).
The Guest rank is configured as the default rank (that is, it is given to all players who enter the server), but even if the Guest rank has the permissions [pocketmine.command.transferserver and pocketmine.command.say] they cannot use those commands.
To make the permissions work for them, I need to remove and re-give them the Guest rank so they can run the commands.
I apologize again, if I did not understand myself again, but I have never made myself understood well.

Reproduced

I think I didn't know how to make myself understood (I apologize).
The Guest rank is configured as the default rank (that is, it is given to all players who enter the server), but even if the Guest rank has the permissions [pocketmine.command.transferserver and pocketmine.command.say] they cannot use those commands.
To make the permissions work for them, I need to remove and re-give them the Guest rank so they can run the commands.
I apologize again, if I did not understand myself again, but I have never made myself understood well.

Reproduced

maybe we can make onJoin() in event listener to sync ranks?


Feature/long or short only mode

close_traded_signal does not contain the tradeShortEnabled checked. I suppose that's wanted because formerly opened trades are still to be closed, correct?

Yes, that was the idea.

Thanks!


Storing data of the fav widgets locally to save it and load it on starting the app.

Is your feature request related to a problem? Please describe.
Currently the starred widgets are lost since the state is lost on startup.
Describe the solution you'd like
Mapping the widgets to indexes and storing the indexes and building widgets from it.
Describe alternatives you've considered
I have considered storing widget data directly but it was not possible.
Additional context
It is related to the star the widget feature.

@Debajyoti14 hey i was able to find a solution while preventing any major change to the code base. It took time but i am ready to make a pr . Please assign me this issue.

@Uttkarsh-raj Assigned you


Curiosity on the version requirements that seem hard-coded into FindBinsExes

Just a simple question, maybe an issue?

Jump to answer

Both https://github.com/AutoHotkey/Ahk2Exe/blob/63ce73a8bfda90d509b598641ddbebc65f9bed62/Ahk2Exe.ahk#L310-L312 and https://github.com/AutoHotkey/Ahk2Exe/blob/63ce73a8bfda90d509b598641ddbebc65f9bed62/Lib/AHKType.ahk#L14-L17 are doing some version checking on the file we are iterating.
There is the 'era' check if you will, and then a hard coded check that doesn't seem to allow below 1.34
The era check I understand whole heartedly, however the other, there is no comments or any documentation I can find as to maybe why.
I am translating the function as well as AHKType into python and just want to make sure as to the reasoning here. (And if I maybe need to hot-swap versions of Ahk2Exe)
After doing so I realized that the version of ahk (1.27.x.x) SC.bin that I had, wasn't being read after porting the function.
Just found myself a little confused that the era check is checking for before 1.1, yet the FindExesBins is expecting higher than 1.34. Not sure if it was intentional, and wanted to understand what's happening.
Is that just because 1.34 is the last AHK 1.0 release? Or is there some incompatibility with the current codebase of Ahk2Exe with previous versions and this is why its hard coded?
Or maybe I fundamentally mis-undestood something entirely.
Thanks a bunch!

There are two main v1 AutoHotkey versions; 1.0 and 1.1. The last version of v1.0 was <IP_ADDRESS> published back in September 2009, and it has its own version of Ahk2Exe. The current v1.1 Ahk2Exe cannot be used to compile v1.0 scripts and that is why AHKType.ahk has the check quoted.
Regarding AutoHotkey v1.1 and v2, an enhancement was included in versions <IP_ADDRESS> and 2.0-a135 which allowed AutoHotkey*.exe files to be used as base files, in addition to *.bin files. Prior to these versions only *.bin base files could be used for compilation. The Ahk2Exe.ahk quoted code is checking that the selected *.exe file meets this criteria.
On reflection I see that the v1.1 and v2 checks should be enhanced in Ahk2Exe.ahk to include the sub-version in light of future planned enhancements to v2.
Regarding hot swapping Ahk2Exe, this should only be needed if you intend to support Ahk2Exe v1.0. The latest version of Ahk2Exe v1.1 should always be the most bug free, and I’m usually prompt in fixing any bugs found.
Cheers

Thanks so much for your swift reply! Assuming I understand correctly this makes perfect sense.
I shouldn't even need to support anything below the newest 1.x version as it shouldn't change an all 1.x scripts as a whole should be supported by it, correct?
I really appreciate the informative response!

Yes, the latest version of Ahk2Exe can compile all v1.1.xx.xx scripts.
Cheers

I’ll add something to the code.
Thanks


Branch timetable

Add feature: ViewScheduleCommand v0.1.

Codecov Report

Merging #74 (1952be2) into master (0db750f) will decrease coverage by 0.79%.
The diff coverage is 23.07%.

@@             Coverage Diff              @@
##             master      #74      +/-   ##
============================================
- Coverage     59.86%   59.06%   -0.80%
- Complexity      453      456       +3
============================================
  Files            91       94       +3
  Lines          1764     1803      +39
  Branches        196      199       +3
============================================
+ Hits           1056     1065       +9
- Misses          651      680      +29
- Partials         57       58       +1

Impacted Files
Coverage Δ

...edu/address/logic/commands/AddScheduleCommand.java
0.00% <ø> (ø)

...va/seedu/address/logic/commands/AddStuCommand.java
100.00% <ø> (ø)

...ress/logic/commands/ViewModuleScheduleCommand.java
0.00% <0.00%> (ø)

...du/address/logic/commands/ViewScheduleCommand.java
0.00% <0.00%> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
76.19% <0.00%> (-8.03%)
:arrow_down:

...ddress/logic/parser/ViewScheduleCommandParser.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/model/UserPrefs.java
80.00% <ø> (ø)

...c/main/java/seedu/address/model/module/Module.java
60.86% <ø> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
66.21% <16.66%> (-4.38%)
:arrow_down:

...a/seedu/address/model/module/UniqueModuleList.java
39.21% <60.00%> (+5.06%)
:arrow_up:

... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Documentation and Header Text

The documentation about this is not as great as other libraries. The best i have seen till now is documentation of "pypdf2" library (https://pythonhosted.org/PyPDF2/). I am asking for proper documentation because i want to delete all Headers and footers  text along with Page no. text from my Pdf file, so i can have a nice text file from my pdf.

The entirety of the documentation is available like this:
>>> import pdftotext
>>> help(pdftotext)

And just about everything you can do is shown in the example in the README.


Conda installation errors

Cannot install via conda, and the documentation doesn't seem to help. I've tried on Mac, Windows, and Linux; where only Mac was successful, and only some of the time.
I get
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort./
failed
UnsatisfiableError:
This happens across multiple machines and OS, sometimes the UnsatisfiableError has one or two packages, but most often it's empty/clean. It was run doing conda install -c bioconda thermorawfileparser with bioconda and conda-forge channel added.

Bioconda only supports Linux and MacOS (https://bioconda.github.io/user/versions.html), Windows is not an option. Are you sure the channels are activated correctly? To be sure you can add all channels in the install command:
conda install -c conda-forge -c bioconda thermorawfileparser


usb_dc_stm32: If i remove the cable while writing, the program will freeze.

Describe the bug
If I remove the cable while writing using hid_int_ep_write(), the program will stop.
The usb_dc_ep_write() function attempts to get the semaphore using k_sem_take().
k_sem_take() always fails if the USB cable is removed in the middle while writing.
I forced k_sem_give() to be called if k_sem_take() failed a certain number of times.
And I confirmed that the symptoms were resolved.
https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/usb/device/usb_dc_stm32.c#L738-L742

To Reproduce
west init zephyrproject -m https://github.com/KwonTae-young/zephyr/ --mr stm32_usb_sem
cd zephyrproject/zephyr
git checkout 59606eaf94cf91e3f0a346f1e6499584c6b6d257
source zephyr-env.sh
mkdir samples/stm32_usb_sem/build
cd samples/stm32_usb_sem/build
cmake -DBOARD=stm32f4_disco ..
make -j8 flash

When connecting USB, "12345678901234567890" is repeatedly written.
If you remove the USB cable in the middle, the program will stop.
Below is a recap video.
https://youtu.be/qIGH5OoDnUU
Expected behavior
If I unplug the USB cable suddenly during the write, the program should work normally.
Impact
In this situation, the program will stop.
Screenshots or console output

console

***** Booting Zephyr OS zephyr-v1.13.0-7674-g882173ce828a *****
stm32 usb sem example(stm32f4_disco)
100ms repeat print(1)
100ms repeat print(2)
100ms repeat print(3)
100ms repeat print(4)
100ms repeat print(5)
100ms repeat print(6)
100ms repeat print(7)
100ms repeat print(8)
100ms repeat print(9)
100ms repeat print(10)
100ms repeat print(11)
100ms repeat print(12)
100ms repeat print(13)
100ms repeat print(14)
100ms repeat print(15)
100ms repeat print(16)
100ms repeat print(17)
100ms repeat print(18)
100ms repeat print(19)
100ms repeat print(20)
100ms repeat print(21)
100ms repeat print(22)
100ms repeat print(23)
100ms repeat print(24)
100ms repeat print(25)
100ms repeat print(26)
100ms repeat print(27)
100ms repeat print(28)
/********** Unplug the USB cable suddenly **********/
(The program is stopped.)

windows notepad(HID output)

12345678901234567890
12345678901234567890
12345678901234567890
1234567890123

Environment (please complete the following information):

OS: Ubuntu 18.04
Toolchain: Zephyr SDK 0.10.0
Commit SHA: bd001081fce1e2b2123f8248be9c3c938d1f470c

Additional context
As mentioned in Describe the bug, I made a temporary commit to fix the symptoms.
The symptom is solved through this commit.(https://github.com/KwonTae-young/zephyr/commit/882173ce828a640a735e629be236f84d8eadfbdd)
west init zephyrproject -m https://github.com/KwonTae-young/zephyr/ --mr stm32_usb_sem
cd zephyrproject/zephyr
git checkout 882173ce828a640a735e629be236f84d8eadfbdd
source zephyr-env.sh
mkdir samples/stm32_usb_sem/build
cd samples/stm32_usb_sem/build
cmake -DBOARD=stm32f4_disco ..
make -j8 flash

Below is a video with improved symptoms using a temporary commit.
https://youtu.be/CQhCXeNStoE
I'm sorry I do not have enough English. :)
Thank you.

@loicpoulain is this issue being looked at for v2.0.0 release?

@ioannisg, I'll look at it tomorrow, it's something which should be easily fixable. I need to fix #18717 before.

@KwonTae-young what is the issue exactly? I'm able to reproduce your behavior, the program is pending in usb_write while USB is disconnected, but once reconnected, it continues...

@loicpoulain, I think usb_write() should return an error, not a hold.
The USB cable may not be reconnected in some cases.

@KwonTae-young, agree, the driver usb_ep_write() returns -EAGAIN, but usb_write() loop in that case, it to workaround wrong usage of usb_write which should be only called if the previous one finished (and announced via the usb ep callback), so calling usb_write in an unconditional loop is probably not a good idea. However, it also highlights an issue with usb_dc_stm32 controller driver, since we should be able to detect the disconnect and return a value different from -EAGAIN in case of write while disconnected.

@loicpoulain will you send a PR for this?

Is that somehow linked to https://github.com/zephyrproject-rtos/zephyr/pull/16026?

@ydamigos, @loicpoulain any update on this?

@ydamigos, @loicpoulain any of you working on this one?

@erwango, let me check that.

This specific issue (locked in usb_write loop) should is now fixed, thanks to #18646 (77125eafa9e23fbac78809483be9ece1827e36b5)

@erwango This specific issue (locked in usb_write loop) should is now fixed, thanks to #18646 (77125ea)

Thanks @loicpoulain !
@KwonTae-young, Can you confirm this is now working on your side?

@erwango
I checked on the master branch and it works fine.

Thanks @KwonTae-young. Closing the point.
Fixed by https://github.com/zephyrproject-rtos/zephyr/pull/18646


When is GA expected?

Hi there,
When is the API planned to get out of preview and the 200 subscription limits gets removed?
Furthermore is it planned that the API gets a function to query existing/already created subscriptions form a enrollment account?
This would be very useful for idempotent automation code so it can be checked if a subscription with a specific name already exists and creates it only when not it exists not already.
Thx,
Jonas

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

ID: 371189c2-154f-2716-bbc0-8496a76c5ac9
Version Independent ID: bb5cd103-ff51-1753-f269-e2c1aa49a8c8
Content: Programmatically create Azure Enterprise subscriptions
Content Source: articles/azure-resource-manager/programmatically-create-subscription.md
Service: azure-resource-manager
GitHub Login: @jureid
Microsoft Alias: jureid

Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.

@femsulu, any updates on when we can expect GA?

adding content authors @jureid and @tfitzmac to assist with the roadmap questions.

Any update on this? It is essential for us to have this API available without any subscription limits or if any subscription limits we prefer it to be set at a high number.  "High number" limit depends if deleted subscriptions also count to the subscription limit.

Generally, we don't make announcements about upcoming release dates through the documentation. Those announcements are usually made through Azure blogs. Or, you could consider joining the Azure Advisors Yammer group for Cost Management & Billing Advisors.

#please-close


special handling of #input == 1

hey,
i am curious to know why the case of #input == 1 is handled separately
e.g.
https://github.com/torch/nngraph/blob/master/gmodule.lua#L195
and for the backward:
https://github.com/torch/nngraph/blob/master/gmodule.lua#L266
https://github.com/torch/nngraph/blob/master/gmodule.lua#L277
if i understand correctly, this also impacts the split, which cannot be done on tables of size 1:
https://github.com/torch/nngraph/blob/master/node.lua#L50
could you give me an idea why you made this choice?
thanks!
ronan

Because there are many nn modules that just expect a tensor. The default behaviour in nngraph is everything is a table of something. You can see here (https://github.com/torch/nngraph/blob/master/gmodule.lua#L171) that non-table inputs are put into a table. It made the logic in the in the rest of the system consistent to assume that every input is a table.

An alternative consistent implementation could see everything as a nested table.
I.e., the input can be a tensor or a table with other tables or tensors.

The inconsistency does make trying to understand gmodule.lua quite a lot more complicated than it might otherwise be.  Lots of edge-cases and stuff.  Would making the nn modules document what they expect as input help?  Like:
function Linear:expectsTensor()
  return true
end

I think we have resolved this offline already/


Ping pong game

Describe the contribution
I am GsSOC'22 contributor and would like to contribute a classic ping pong game.
Tech Stack

[x] HTML
[x] CSS
[x] JavaScript

Code of Conduct✅

[x] I agree to follow this project's Code of Conduct.
[x] I checked the current issues for duplicate problems.
[x] I have gone through project README.

if this issue not resolved kindly please assign


UpgradeSpringBoot_3_2 changes build.gradle sourceCompatibility and targetCompatibility from 21 back to 17

Title says it all - sorry for the brief report! Also I think they should ideally be JavaVersion.21 in Gradle 8.5 (to be fair you might already be detecting which convention to use - I had a plain 21 before I ran the script).

Picked up in

https://github.com/openrewrite/rewrite/pull/3939


2.5.0 API Docs broken: Field name interface_b is not valid for model Interface.

Environment

Python version:  3.6.6
NetBox version:  2.5.0

API Docs broken by 2.5.0 cable/interface_connection changes.
When viewing api/docs the following error message appears:
"Failed to load API definitions
Errors
Fetch error
Internal Server Error http:///api/docs/?format=openapi"

==> /srv/netbox/shared/application.log <==
Internal Server Error: /api/docs/
Traceback (most recent call last):
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/django/core/handlers/base.py", line 124, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/rest_framework/views.py", line 495, in dispatch
response = self.handle_exception(exc)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/rest_framework/views.py", line 455, in handle_exception
self.raise_uncaught_exception(exc)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/rest_framework/views.py", line 492, in dispatch
response = handler(request, *args, **kwargs)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/views.py", line 95, in get
schema = generator.get_schema(request, self.public)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/generators.py", line 215, in get_schema
paths, prefix = self.get_paths(endpoints, components, request, public)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/generators.py", line 358, in get_paths
operation = self.get_operation(view, path, prefix, method, components, request)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/generators.py", line 400, in get_operation
operation = view_inspector.get_operation(operation_keys)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/inspectors/view.py", line 29, in get_operation
body = self.get_request_body_parameters(consumes)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/inspectors/view.py", line 83, in get_request_body_parameters
schema = self.get_request_body_schema(serializer)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/inspectors/view.py", line 148, in get_request_body_schema
return self.serializer_to_schema(serializer)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/inspectors/base.py", line 374, in serializer_to_schema
self.field_inspectors, 'get_schema', serializer, {'field_inspectors': self.field_inspectors}
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/inspectors/base.py", line 71, in probe_inspectors
result = method(obj, **kwargs)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/inspectors/field.py", line 39, in get_schema
return self.probe_field_inspectors(serializer, openapi.Schema, self.use_definitions)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/inspectors/base.py", line 175, in probe_field_inspectors
swagger_object_type=swagger_object_type, use_references=use_references, **kwargs
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/inspectors/base.py", line 71, in probe_inspectors
result = method(obj, **kwargs)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/inspectors/field.py", line 124, in field_to_swagger_object
actual_schema = definitions.setdefault(ref_name, make_schema_definition)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/openapi.py", line 653, in setdefault
ret = maker()
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/drf_yasg/inspectors/field.py", line 92, in make_schema_definition
for property_name, child in serializer.fields.items():
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/rest_framework/serializers.py", line 363, in fields
for key, value in self.get_fields().items():
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/rest_framework/serializers.py", line 1047, in get_fields
source, info, model, depth
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/rest_framework/serializers.py", line 1192, in build_field
return self.build_unknown_field(field_name, model_class)
File "/srv/netbox/current/venv-py3/lib/python3.6/site-packages/rest_framework/serializers.py", line 1304, in build_unknown_field
(field_name, model_class.name)
django.core.exceptions.ImproperlyConfigured: Field name interface_b is not valid for model Interface.

It looks like drf_yasg is throwing an error when trying to process InterfaceConnectionSerializer:
class InterfaceConnectionSerializer(ValidatedModelSerializer):
    interface_a = serializers.SerializerMethodField()
    interface_b = NestedInterfaceSerializer(source='connected_endpoint')
    connection_status = ChoiceField(choices=CONNECTION_STATUS_CHOICES, required=False)

    class Meta:
        model = Interface
        fields = ['interface_a', 'interface_b', 'connection_status']

    def get_interface_a(self, obj):
        context = {'request': self.context['request']}
        return NestedInterfaceSerializer(instance=obj, context=context).data

It's worth noting that the serializer itself functions normally.

This will be covered in #2665

This ended up being fixed by #2680. The API view was corrected to be read-only.