Incorrect building - @amcharts/amcharts5

Failing module

GitHub: https://github.com/amcharts/amcharts5
npm: https://www.npmjs.com/package/@amcharts/amcharts5

Expected
See Donut Chart - Working example

Observed
See Donut Chart - Non-working example

Additional info
This question has already been raised in the AmCharts repository itself. The AmCharts developers suspect that esm.sh uses its own npm package builder into esm modules and that the AmCharts package was not built correctly.

In the broken chart example, I accidentally used multiple versions of AMCharts.

In the past, this might have prevented you from finding the real problem.
I have fixed this problem and updated the example link in the first post of the thread.

Just in case, I’ll write down here a link to the previous example with importing several versions of AMCharts, so that you can compare the examples if necessary: https://codepen.io/qsppl/pen/KwPPLaa

I've raised a new issue on this topic in the AMCharts repository and there's progress there!
https://github.com/amcharts/amcharts5/issues/1797
A little later I will post the issues found there to this repository

One of the AMCharts repository contributors (@Pauan) seems to have found the problem:

I noticed that it's not handling cross-file imports properly. The percent.js and Animated.js files are supposed to be importing things from amcharts5.mjs... but they aren't. There's no imports at all.

So it seems to be splitting each file into separate unrelated chunks, instead of sharing a single chunk.

If we go back to the example, everything looks exactly as he said:
Here in the file five imports of different modules of one project are performed:

But it seems that ESM.SH returned not five modules of one project, but five differently builded projects.

Accordingly, all variables exported from modules are their own for each import.


new Mondo files for rare disease drug repurposing

We need to create some mondo subset files for use in KGs along the following lines:

Rare disease subset
Rare disease subset with leaf nodes representing variants in same gene rolled up to parent term
All genetic diseases
Rare disease subset where all diseases known to be related to the same Reactome or KEGG pathway or RHEA reaction are annotated as such
All diseases without known treatments (stretch goal)

This will require querying the MOnarch KG and/or other KGs, but the idea would be to release these files as part of Mondo release package moving forward. This ticket is intended as a starting place, feedback welcome.

These are a lot of different subsets. Before we think about actually making specific files, lets make sure we understand the use cases correctly:

Rare disease subset with leaf nodes representing variants in same gene rolled up to parent term

I am assuming @sabrinatoro can explain what this exactly means when she is back.

leaf nodes representing variants (you mean, diseases that are variant-specific?)
You want to propagate variant associations from a child disease up to its parent? That is an annotation roll up and does not belong in an ontology (due to its all-some semantics). Seems you are asking for a KG extract here?

Rare disease subset where all diseases known to be related to the same Reactome or KEGG pathway or RHEA reaction are annotated as such

Simple KG query, not suitable as a Mondo subset I think - this could be delivered as a KG component if it has value to be distributed in isolation.
I think this ticket should be moved to the monarch-kg repo, but we can leave it hear to shepherd it for the time being.

RE first question: leaf nodes that are subclasses of a disease with a single gene linked, and the subclasses are the variants in that same gene.
As to where to put the ticket, we need the files released as mondo files, so the task is both KG and mondo release processes, happy to move or split the ticket though.

Since Mondo only includes gene annotations on diseases when caused by a single gene, will any additional modeling be added into Mondo to include gene annotations for diseases where >1 gene is involved?

Since Mondo only includes gene annotations on diseases when caused by a single gene, will any additional modeling be added into Mondo to include gene annotations for diseases where >1 gene is involved?

this is in the monarch KG, not in mondo at present. this is why its confusing about where this ticket should be :-).

Yes, this ticket belongs in monarch-app, as it requests querying the KG. I'll transfer it.
The outputs of the KG query can be disseminated with the Mondo monthly releases. We should make a separate ticket about it in the Mondo repo. @matentzn, can you please do that?


Adding plugin with already created models, services

It would be nice to create separate module with already defined models and services with all the structures implemented - something like rails' devise plugin.
Reason is: implementing salting functions and reinventing the wheel each time is trouble some and should be done once and tested.

Sorry my late reply, and thanks for a proposal
It's interest.
However it looks bit difficult.
Since Play2 usecase is not unified than RoR...


Docs: Add usage documentation to README

Interested in reviewing for accuracy and what content I choose to add.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Poor User Experience with Search Bar

Type: Performance Issue
If you have text in the search bar and it is highlighted and you try and swipe the text to highlight a different part of the text, then the text is dragged and often dragged and dropped into the document.  There have been several times this has happened to me and once I did not notice and it produced a bad bug later in an important library file.
You may say, well don't swipe the highlighted text as it is already selected.  But it is very common to swipe highlighted text to select a different part of the text.
A recommendation would be do not make the selected search text draggable - or provide a setting to turn it off just for the search bar as we do want to drag selected text elsewhere.
Another place this happens and is annoying but not as dangerous is in renaming a file.  I find it is annoying to have to turn off the selection so that I can swipe a new part of the file filename.
Thank you - I love VSCode... so happy I changed over from Atom.  Cheers.
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:32:34.589Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
AMD Ryzen 5 5600X 6-Core Processor              (12 x 3700)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.91GB (6.13GB free)

Process Argv
--crash-reporter-id 256c9743-cbab-40e1-ae47-68e562a5c281

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	   103	  2988	code main
    0	    87	  2440	   window (undefined)
    0	   284	 12180	   window (neon_on_0031_Layer 29.jpg - code - Visual Studio Code)
    0	    89	 18148	   window (undefined)
    0	    38	 19588	   utility-network-service
    0	   101	 20020	   shared-process
    0	    74	 11352	     fileWatcher
    0	    69	 13636	     ptyHost
    0	   131	 20128	   extension-host
    0	   311	 10196	     "C:\Users\door\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node --max-old-space-size=3072 "c:\Users\door\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js" --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName C:\Users\door\AppData\Local\Temp\vscode-typescript\73591912ba0c5d5543bf\tscancellation-fb5d3e87ea381a50c7f1.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
    0	   121	 15128	     "C:\Users\door\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\door\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\server\dist\node\htmlServerMain" --node-ipc --clientProcessId=20128
    0	   486	 19812	     "C:\Users\door\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node --max-old-space-size=3072 "c:\Users\door\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js" --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName C:\Users\door\AppData\Local\Temp\vscode-typescript\73591912ba0c5d5543bf\tscancellation-77c7e60860123dcc12d5.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
    0	    70	 13268	       "C:\Users\door\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:/Users/door/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js" --globalTypingsCacheLocation C:/Users/door/AppData/Local/Microsoft/TypeScript/4.9 --enableTelemetry --typesMapLocation "c:/Users/door/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/node_modules/typescript/lib/typesMap.json" --validateDefaultNpmLocation
    0	    26	 20432	   crashpad-handler
    0	    88	 20992	   issue-reporter
    0	   114	 22080	   gpu-process

Workspace Info
|  Window (neon_on_0031_Layer 29.jpg - code - Visual Studio Code)
|    Folder (code): more than 23861 files
|      File types: jpg(5128) js(3292) html(3248) png(2831) ts(1080) mp3(537)
|                  psd(408) ttf(241) txt(180) zip(163)
|      Conf files: package.json(2) jsconfig.json(1) tsconfig.json(1);

Extensions (6)

Extension
Author (truncated)
Version

Bookmarks
ale
13.3.1

swap
fau
0.0.5

pro-deployer
hem
1.2.1

LiveServer
rit
5.7.9

vscode-fileutils
sle
3.10.0

open-in-browser
tec
2.0.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
vsccc:30610678
pyindex848:30662994
nodejswelcome1cf:30587006
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
vsctsb:30662444
pythonb192cf:30669361

This could be a feature request for a setting that prevents draggable text from the search bar, but since people might want to drag the text, I don't think we should make that the set behavior.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


How to find bcbio conda shared library information

Hi guys,
Apologies for the multiple posts! I am trying to find a way to "lock" bcbio without installing it each time due to subtle changes in package versions. Currently I am crudely copying all the bcbio directories to a new node (identical to the one where I originally installed bcbio). I am getting errors for software that requires shared/dynamic libraries. I noticed there are no environments active for conda either. Clearly I must be missing a file somewhere which contains a manifest of all shared libraries so conda knows where to look, not sure if you're aware of where this information would be?
Thanks!

Hi @waemm !
Not sure, if it is particularly helpful:

PATHs, where linux is looking for shared libraries (*.so), are configured in /etc/ls.so.conf.d/
conda configs are in ~/.condarc, ~/.conda/environments.txt
environments are not getting activated, bcbio just uses the proper path for python2, r36 environments:
https://github.com/bcbio/bcbio-nextgen/blob/master/bcbio/utils.py#L703

S.

@naumenko-sa Thanks for your reply! I have taken a few days to investigate, I am still not sure why the library links don't work but I am now trying to use conda-pack to move the environment, the only issue is the cnvkit package which is not installed directly through conda. I will let you know how I progress with this. Thanks again!


Thangbui devel

renamed tests to be run by testing framework

Current coverage is 49.59% (diff: 100%)

Merging #454 into devel will increase coverage by 0.37%

@@              devel       #454   diff @@
==========================================
  Files           189        190     +1
  Lines         18213      18266    +53
  Methods           0          0
  Messages          0          0
  Branches       2534       2534
==========================================
+ Hits           8965       9059    +94
+ Misses         8822       8783    -39
+ Partials        426        424     -2

Powered by Codecov. Last update 323b8c4...b3b0f34


[Server] Sample application deployment failure: k8s handler

Current Behavior
Using Local Provider, deploying any Application fails with the following error log:
DEBU[0251] retrieved session for user with id: meshery
DEBU[0251] session for user with id: meshery was read in tact.
ERRO[2022-07-04T17:24:21-05:00] failed to find k8s handler                    app=meshery code=2012 probable-cause= severity=2 short-description="unable to Create Comp Config..failed to find k8s handler" suggested-remediation=

Environment
Meshery has active connection to Kubernetes and Meshery Operator deployed with MeshSync connected.

Host OS: Mac
Platform: Kubernetes
Meshery Server Version: stable-v06.0.rc-6
Meshery Client Version: stable-v06.0.rc-6

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@leecalcote  This is not specific to provider. This issue is caused by missing middleware for /api/application/deploy
// fyi @sudo-NithishKarthik  you missed this endpoint. No sweat, I am adding it

Thank you @Revolyssup 😄


Test out SQLite in WASM

https://github.com/fedimint/fedimint/issues/841#issuecomment-1399784665

Some discussions in sqlx repo:

https://github.com/launchbadge/sqlx/search?q=wasm&type=issues
https://github.com/launchbadge/sqlx/search?q=wasm&type=discussions

Gist attempting to compile fedimint-sqlite in WASM. Seems to only really complain about mio.

I took a quick glance and to my understanding they just have a suboptimal way of activating features for our use case which makes it hard to deactivate the networking/TLS dependency when it's not needed (i.e. when only SQLite is active, otherwise it's always needed afaik). If someone took a few days to fully understand their architecture it could probably be fixed though. The good thing with SQLite is we can probably just deactivate all the non-WASM-compatible parts since its requirements are minimal.
The next step would be to understand how WASM storage interacts with SQLite. Do we need to impl anything from the rust side (virtual file system access, …) or will it just work out of the box if compiled to WASM?
The discussions in sqlx do not indicate any work on WASM, it's mostly people complaining about it not working as far as I can tell and one closed PR that was more interested in postgres+web sockets but got closed. What was the reason again for not going with rusqlite @m1sterc001guy? It might not be worth our time/aligned with sqlx's roadmap to allow SQLite-only WASM support.

Main reason for not using rusqlite was that it didn't have async/await support.
Is there a wasm compatible function to run a function on another thread similar to tokio::block_in_place? I don't have much wasm experience but I seem to remember spawn_local being an option. If that works then I'm good with refactoring it to use rusqlite instead.

spawn_local with blocking ops/block_in_place would be quite bad for a single-threaded executor, which seems to be the only option rn given how immature multi-threading support seems on WASM (didn't test, just read docs)?
@Maan2003 is working on an IndexedDB implementation, which seems like the better option for our use case. We might want to close this issue for now?

sqlite uses emscripten toolchain for wasm, which is not compatible with wasm-bindgen

Saw this on hackernews: https://blog.kebab-ca.se/chapters/2023-02-12-sqlite-wasm/overview.html

@m1sterc001guy Closing this since we removed sqlite


Fix failing tox tests

Fix PEP8 and YAPF tox tests.

Merging as Travis-ci gave the green light (https://travis-ci.org/rgreinho/molecule/builds/117718354).


Bundle generator splits output files when a different name is specified

When a different bundle name to the default is specified on the reconciler class, using the @CSVMetadata annotation's name field, there's a weird behavior where the output files are split between the a directory with the default name, and a directory with the specified name value:
aszczucz@tyrfing ~/s/k/k/operator (issue_10911)> tree target/bundle/keycloak-operator*
target/bundle/keycloak-operator
├── bundle.Dockerfile
├── manifests
│   ├── keycloak-operator.clusterserviceversion.yaml
│   └── keycloakrealmimports.k8s.keycloak.org-v1.crd.yml
└── metadata
    └── annotations.yaml
target/bundle/keycloak-operator.KCOP_NEXT
├── bundle.Dockerfile
├── manifests
│   ├── keycloak-operator.KCOP_NEXT.clusterserviceversion.yaml
│   └── keycloaks.k8s.keycloak.org-v1.crd.yml
└── metadata
    └── annotations.yaml

The CSV in the default directory is incomplete, and doesn't contain the information specified with @CSVMetadata. However, in my case I am also seeing that the CRDs are split between the two directories. keycloaks.k8s is only in the new directory, and keycloakrealmimports.k8s is only in the default directory.
The expected behaviour here is that there should be only one bundle output directory, and that should contain all appropriate CRDs and a CSV with all the annotated information from the source code.
If I had to guess, this bug may be due to some processing happening before the default name value is overwritten, and then some more processing happening afterwards?
Please see this commit for the annotated reconciler source I am using. The operator SDK version is 6.1.0, the latest.

This is actually expected as you have 2 reconcilers in your operator and we currently generate one bundle per reconciler by default, so you get two bundles, as expected. If you want to generate only one bundle for all your reconcilers, please put your metadata on a class that implements the SharedCSVMetadata interface as can be seen here.

I will have to ask why there are two, I don't really know anything about this codebase. Thanks for clarifying that this isn't a bug, closing.

You have 2 reconcilers because there's one per primary resource (CRD) that you're reconciling on.


Error when using HTTP2 for AWS S3 request

Hello! I found an issue while using Vapor 4 and the Soto library to upload and delete objects from a DigitalOcean S3-compatible bucket. After some debugging you can follow in https://github.com/soto-project/soto/issues/608 we arrived at the conclusion that the issue must be in the AsyncHttpClient library.
You can follow the discussion in the linked issue but to sum up:

Using HTTP2 the delete object request fails with NotImplemented error meaning there is some unknown header according to the docs.
Using HTTP1 the request works fine. Also using HTTP2 and proxying it through Charles and even manually doing the cURL it also works fine.

Given that you have a Charles proxy in the way, can you please print the headers that Charles observes in the HTTP/2 case, and compare that to what it prints for Curl, also running through the proxy?

Oh, sorry, I see that this doesn't reproduce if you use HTTP/2 through Charles.
Can you produce a self-contained sample that I can use to reproduce this issue?

I can set up a DigitalOcean Storage bucket for testing purposes, so what I really want is a Soto program that will reproduce the issue against a DO Storage bucket. I can go from there.

friendly ping @pballart

Thanks for providing the reproducer!
This issue is really on Digital Ocean's end, and they should fix it. The problem is that they don't like the HTTP/2 frame sequence we're sending. Specifically, we're producing this request:
Request:
  DeleteObject
  DELETE https://fra1.digitaloceanspaces.com/<BUCKET_NAME>/image.jpg?x-id=DeleteObject
  Headers: [
    user-agent : Soto/6.0
    content-type : application/octet-stream
  ]
  Body: empty

We transform this into the following sequence of HTTP/2 frames (formatted in the style of RFC 9113):
HEADERS
  - END_STREAM
  + END_HEADERS
  :path = /<BUCKET_NAME>/image.jpg?x-id=DeleteObject
  :method = DELETE
  :scheme = https
  :authority = fra1.digitaloceanspaces.com
  user-agent = Soto/6.0
  content-type = application/octet-stream
  x-amz-date = 20220805T155458Z
  x-amz-content-sha256 = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  authorization = <REDACTED>

DATA
  + END_STREAM
  {zero length, no data}

That is, we send our HTTP/2 HEADERS frame without END_STREAM, and then send a zero-length DATA frame with END_STREAM. This produces a request with zero length.
Digital Ocean is incorrectly rejecting this. They want us to drop the DATA frame and attach END_STREAM to the HEADERS frame instead. This is not compliant with the RFC: DATA frames are absolutely allowed to be zero length, and it is entirely fine to send the END_STREAM flag this way.
Working around this is extremely painful: it would force AHC to remove its reliance on the HTTP2FramePayloadToHTTP1ClientCodec, which is doing a lot of heavy lifting to transform between HTTP/1 and HTTP/2. Is there a sensible way for you to report this as a bug to Digital Ocean?

Thanks for the details. I opened a ticket in their support center with a link to this discussion.
I'll keep you posted 👍

Hi! One of the DigitalOcean Spaces engineers here.
Thanks for the reproduction case in https://github.com/pballart/soto-s3-digitalocean.
It was really helpful.
The HTTP/2 stack in use is almost-stock Envoy Proxy. But the problem is a few layers deeper and involves the intersection: we use Ceph for S3 (this has been published and we've given talks about it).
Envoy converts HTTP/2 to transfer-encoding chunked for talking to HTTP/1.1 systems.
The empty DATA frame is converted to a similar empty chunk.
With that in mind, I produced a HTTP/1.1 version of the bug:
curl 'https://REDACTED.nyc3.digitaloceanspaces.com/empty' -X DELETE -H 'x-amz-date: 20220818T235940Z' -H 'Authorization: AWS4-HMAC-SHA256 Credential=REDACTED/20220818/nyc3/s3/aws4_request,SignedHeaders=host;x-amz-content-sha256;x-amz-date,Signature=REDACTED' -H 'x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'  -v -H "Transfer-Encoding: chunked" --http1.1

AWS gets it correct, Ceph gets it slightly wrong :-(.
This behavior has the potential to affect S3 operations that have no payloads. However, some of them DO work...
On the plus side, fixing Ceph looks like it would be easy, just a few operations are missing here:
https://github.com/ceph/ceph/blob/main/src/rgw/rgw_rest_s3.cc#L5639-L5691
As a workaround for now, can you send Content-Length: 0 for these operations in your Soto system? (I'm not familiar with Swift, so I don't know how hard that would be).

As a workaround for now, can you send Content-Length: 0 for these operations in your Soto system? (I'm not familiar with Swift, so I don't know how hard that would be).

@adam-fowler would this be excessively hard? It's a great fix: swift-nio will automatically behave better in essentially all environments if we do this.

This would be easy enough. Also @pballart could write a Soto middleware that adds the header in.

What would be the advantage of writing a middleware instead of adding it by default for all cases? Or is there a case where adding this is not encouraged?
I can definitely add the middleware, just thinking about the best solution here...
Happy to hear your thoughts 😄

What would be the advantage of writing a middleware instead of adding it by default for all cases? Or is there a case where adding this is not encouraged?
I can definitely add the middleware, just thinking about the best solution here...
Happy to hear your thoughts 😄

I only suggested the middleware as it appears the issue will be resolved on Digital Ocean's side and any solution on the client side would only be needed temporarily.

That makes sense. I'll try the middleware and let you know 👍

Me again 😓
I added the middleware but it's still not working:
https://github.com/pballart/soto-s3-digitalocean/blob/content-length-header/Sources/App/ContentLengthHeaderMiddleware.swift
You can check it in the content-length-header branch.

We always remove Content-Length headers in AHC: https://github.com/swift-server/async-http-client/blob/fc510a39cff61b849bf5cdff17eb2bd6d0777b49/Sources/AsyncHTTPClient/RequestValidation.swift#L87
You will instead need to set the body to .empty and AHC will set Content-Length: 0 for you. However, we do not set a Content-Length for the methods .GET, .HEAD, .DELETE, .CONNECT or .TRACE as defined in the RFC :

A user agent SHOULD NOT send a Content-Length header field when the request message does not contain a payload body and the method semantics do not anticipate such a body.
— https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2

https://github.com/swift-server/async-http-client/blob/fc510a39cff61b849bf5cdff17eb2bd6d0777b49/Sources/AsyncHTTPClient/RequestValidation.swift#L91-L105
There is currently no way to force AHC to send a Content-Length header.

This is a time when I begin to wonder whether we need to start having a Quicks configuration option. Something that lets us tweak our behaviour so that users can override our choices in circumstances like this, when we're technically correct but failing to interoperate with an existing broken implementation.

I'm using Soto 7 and AHC 1.21.2, making requests to DigitalOcean Spaces, and some requests (like PutObject) work, but I had to set the configuration to .http1Only for other requests (like GetObjectAcl) to work.


Adding a namespace value to the init phase of the api.

Feature Request
Describe the problem you need a feature to resolve.
When I deployed my first operator it didn't work.  I noticed that it stuck the operator in the "default" name space. Most standard k8s "get something running" allows for a namespace designation on the cil.
Describe the solution you'd like.
operator-sdk init --plugins=ansible --domain example.com  -- namespace my_kubernetes_namespace
If the namespace doesn't exist create it.
I know this value can be configured in this file
operator-framework/operator-sdk/tree/master/testdata/ansible/memcached-operator/config/default)/kustomization.yaml
I just thought this value is usually one that everyone sets.

/cc @theishshah


Add missing gems to support importing and disburment phases

Add gems for strong migrations, sidekiq and bulk creation:

gem 'redis'
gem "sidekiq", "~> 7.2"
gem "sidekiq-scheduler"
gem "memoist"
gem "strong_migrations"
gem "activerecord-import"

Resolved in https://github.com/fernandesleticia/merchantsdisbursementspayouts/pull/18


error with test_flownet_2012.py/test_flownet_2015.py

I was able to get the same results for the depth net by running the following commands mentioned in the repo:
python test_kitti_depth.py --dataset_dir=/path/to/your/data --output_dir=/path/to/save/your/prediction --ckpt_file=/DF-Net-master/pretrained/dfnet - --split="test"
and
python kitti_eval/eval_depth.py --pred_file=/path/to/your/prediction --split="test"
However when I run the test Flownet command on kitti 2012 OR on kitti 2015:
python test_flownet_2012.py --dataset_dir=/path/to/your/data --ckpt_file=/DF-Net-master/pretrained/unflow_pre
I get the following error:
  File "test_flownet_2015.py", line 131, in <module>
    tf.app.run()
  File "/system/user/taha/pycharmprojects/DF-Net-master/env/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "test_flownet_2015.py", line 90, in main
    saver.restore(sess, FLAGS.ckpt_file)
  File "/system/user/taha/pycharmprojects/DF-Net-master/env/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1548, in restore
    {self.saver_def.filename_tensor_name: save_path})
  File "/system/user/taha/pycharmprojects/DF-Net-master/env/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 789, in run
    run_metadata_ptr)
  File "/system/user/taha/pycharmprojects/DF-Net-master/env/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 997, in _run
    feed_dict_string, options, run_metadata)
  File "/system/user/taha/pycharmprojects/DF-Net-master/env/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1132, in _do_run
    target_list, options, run_metadata)
  File "/system/user/taha/pycharmprojects/DF-Net-master/env/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1152, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'Correlation' with these attrs.  Registered devices: [CPU], Registered kernels:
  device='GPU'

	 [[Node: flownet_c/Correlation = Correlation[kernel_size=1, max_displacement=20, pad=20, stride_1=1, stride_2=2](flownet_c_features/conv3/leaky_relu/Maximum, flownet_c_features/conv3_1/leaky_relu/Maximum)]]

Caused by op 'flownet_c/Correlation', defined at:
  File "test_flownet_2015.py", line 131, in <module>
    tf.app.run()
  File "/system/user/taha/pycharmprojects/DF-Net-master/env/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "test_flownet_2015.py", line 78, in main
    pred_flows = flownet(im1_pl, im2_pl, flownet_spec='C')
  File "/system/user/taha/pycharmprojects/DF-Net-master/core/UnFlow/src/e2eflow/core/flownet.py", line 86, in flownet
    scoped_block(reuse)
  File "/system/user/taha/pycharmprojects/DF-Net-master/core/UnFlow/src/e2eflow/core/flownet.py", line 43, in scoped_block
    channel_mult=channel_mult)
  File "/system/user/taha/pycharmprojects/DF-Net-master/core/UnFlow/src/e2eflow/core/flownet.py", line 231, in flownet_c
    pad=20, kernel_size=1, max_displacement=20, stride_1=1, stride_2=2)
  File "/system/user/taha/pycharmprojects/DF-Net-master/core/UnFlow/src/e2eflow/ops.py", line 64, in correlation
    return _correlation_module.correlation(first, second, **kwargs)[0]
  File "<string>", line 49, in correlation
  File "/system/user/taha/pycharmprojects/DF-Net-master/env/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
    op_def=op_def)
  File "/system/user/taha/pycharmprojects/DF-Net-master/env/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2506, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/system/user/taha/pycharmprojects/DF-Net-master/env/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1269, in __init__
    self._traceback = _extract_stack()

InvalidArgumentError (see above for traceback): No OpKernel was registered to support Op 'Correlation' with these attrs.  Registered devices: [CPU], Registered kernels:
  device='GPU'

	 [[Node: flownet_c/Correlation = Correlation[kernel_size=1, max_displacement=20, pad=20, stride_1=1, stride_2=2](flownet_c_features/conv3/leaky_relu/Maximum, flownet_c_features/conv3_1/leaky_relu/Maximum)]]

Any ideas on how to fix it?
@Yuliang-Zou

The issue was solved when I changed cudnn 6.0 to 5.1.

Sorry to bother！ I have same question as you did before.  It worked with test_kitti_depth.py, but got problem with test_flownet.py
`$ python test_flownet_2015.py
/home/zengyihan/Yihan/DF-Net-master/core/UnFlow/ops/backward_warp_op.so
/home/zengyihan/Yihan/DF-Net-master/core/UnFlow/ops/downsample_op.so
/home/zengyihan/Yihan/DF-Net-master/core/UnFlow/ops/correlation_op.so
/home/zengyihan/Yihan/DF-Net-master/core/UnFlow/ops/forward_warp_op.so
WARNING:tensorflow:From test_flownet_2015.py:80: all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02.
Instructions for updating:
Please use tf.global_variables instead.
2020-02-19 12:55:38.268082: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2020-02-19 12:55:38.268103: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2020-02-19 12:55:38.268107: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2020-02-19 12:55:38.268110: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2020-02-19 12:55:38.268113: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
Traceback (most recent call last):
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1139, in _do_call
return fn(*args)
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1117, in _run_fn
self._extend_graph()
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1166, in _extend_graph
self._session, graph_def.SerializeToString(), status)
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/contextlib.py", line 88, in exit
next(self.gen)
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'Correlation' with these attrs.  Registered devices: [CPU], Registered kernels:
device='GPU'
 [[Node: flownet_c/Correlation = Correlation[kernel_size=1, max_displacement=20, pad=20, stride_1=1, stride_2=2](flownet_c_features/conv3/leaky_relu/Maximum, flownet_c_features/conv3_1/leaky_relu/Maximum)]]

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test_flownet_2015.py", line 131, in
tf.app.run()
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "test_flownet_2015.py", line 90, in main
saver.restore(sess, FLAGS.ckpt_file)
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1548, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 789, in run
run_metadata_ptr)
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 997, in _run
feed_dict_string, options, run_metadata)
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1132, in _do_run
target_list, options, run_metadata)
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1152, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'Correlation' with these attrs.  Registered devices: [CPU], Registered kernels:
device='GPU'
 [[Node: flownet_c/Correlation = Correlation[kernel_size=1, max_displacement=20, pad=20, stride_1=1, stride_2=2](flownet_c_features/conv3/leaky_relu/Maximum, flownet_c_features/conv3_1/leaky_relu/Maximum)]]

Caused by op 'flownet_c/Correlation', defined at:
File "test_flownet_2015.py", line 131, in
tf.app.run()
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "test_flownet_2015.py", line 78, in main
pred_flows = flownet(im1_pl, im2_pl, flownet_spec='C')
File "/home/zengyihan/Yihan/DF-Net-master/core/UnFlow/src/e2eflow/core/flownet.py", line 86, in flownet
scoped_block(reuse)
File "/home/zengyihan/Yihan/DF-Net-master/core/UnFlow/src/e2eflow/core/flownet.py", line 43, in scoped_block
channel_mult=channel_mult)
File "/home/zengyihan/Yihan/DF-Net-master/core/UnFlow/src/e2eflow/core/flownet.py", line 231, in flownet_c
pad=20, kernel_size=1, max_displacement=20, stride_1=1, stride_2=2)
File "/home/zengyihan/Yihan/DF-Net-master/core/UnFlow/src/e2eflow/ops.py", line 65, in correlation
return _correlation_module.correlation(first, second, **kwargs)[0]
File "", line 49, in correlation
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
op_def=op_def)
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2506, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/home/zengyihan/anaconda3/envs/dfnet/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1269, in init
self._traceback = _extract_stack()
InvalidArgumentError (see above for traceback): No OpKernel was registered to support Op 'Correlation' with these attrs.  Registered devices: [CPU], Registered kernels:
device='GPU'
 [[Node: flownet_c/Correlation = Correlation[kernel_size=1, max_displacement=20, pad=20, stride_1=1, stride_2=2](flownet_c_features/conv3/leaky_relu/Maximum, flownet_c_features/conv3_1/leaky_relu/Maximum)]]

`
My environment is CUDA8.0, cudnn5.1.10. So I really confused. Can I know what else did you do to fix that problem？ By the way, my code in ./core/UnFlow/src/e2eflow/ops.py is
`
cuda_lib64_path_arg = "-L /usr/local/cuda-8.0/lib64"
nvcc_cmd = "nvcc -std=c++11 -c  -o {} -I {} -D GOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -I $/usr/local/cuda-8.0/include"
nvcc_cmd = nvcc_cmd.format(" ".join([fn_cu_o, fn_cu_cc]),
tf_inc)
subprocess.check_output(nvcc_cmd, shell=True)
    gcc_cmd = "{} -std=c++11 -shared -o {} -I {} -fPIC -lcudart -D GOOGLE_CUDA=1 {}"
    gcc_cmd = gcc_cmd.format('g++4.9',
                            " ".join([fn_so, fn_cu_o, fn_cc]),
                             tf_inc,
                             cuda_lib64_path_arg)
    subprocess.check_output(gcc_cmd, shell=True)`

Is it any problem with that？

Did you successfully install the CUDA op according to the instructions?

Sorry to bother you！What instructions do you mean？

Did you successfully install the CUDA op according to the instructions?

Actually I cannot compile myself, so I directly copy the compiled ops you provided in another issue, will it cause problems？


Auth without assignment config

Resolves #290, allowing you to use --get-token without an assignment config.
For API usage:
from client.api import assignment
from client.utils import auth

assign = assignment.AuthAssignment()
access_token = auth.authenticate(assign)

Thanks for the PR!
This currently doesn't respect command line args like --no-browser or --server-url which should work properly even with --get-token.
This way feels pretty hacky. Passing the assignment around was a poor decision on my part. The authenticate function really only needs

The command line arguments (server_url can be computed from this)
An optional assignment endpoint (can default to '')

Then we could get rid of the hack in the release script too.

Resolved in #295


jquery.tocify.js is out of date

v1.9.0 is on GitHub

We're probably going to drop Tocify in Slate 2, so I'm just going to close this to clean up the repo a bit. :smile:


Define a stable automatic module name

nbvcxz does not currently use modules. When we use it in a JDK9 modular application, Java turns the JAR into a so-called automatic module, whose name is derived from the file name. However, the default name does not follow the recommended module naming conventions (reverse-dns style, module name derived from the main exported package).
It is possible to specify a stable automatic module name through a Automatic-Module-Name manifest entry, while still targeting JDK8:
Automatic-Module-Name: me.gosimple.nbvcxz
Selecting a stable module name is very important, because Java does not allow two modules to own the same package. So either provide the module name through the manifest file or event better: Provide a complete module declaration.

Thank you for the feedback.
I added the automatic module name to the pom in commit: 2f7e1883c15e844193e79af5090070ffa3730d9b
I confirmed it is in the manifest.mf
I've not worked on any modularized projects yet, so a full module declaration would be great but I am not sure when I will have the time to learn how to do so. If you have any pointers or have worked on modularized projects before i'd love to hear.

Working on this now, will have a new release in probably a week.

And, still haven't done a release. Apologies, but it just hasn't been possible for me to focus on for more than a few min. This will be closed once the next release happens.

Closed due to release 1.5.0

Works, thanks 👍

@eckig Glad to hear it, sorry for the long delay in getting a release out.


Donate Falco plugin Rust SDK [Incubation level]

Repository: https://github.com/gnosek/falco-plugin-rs
Documentation: https://gnosek.github.io/falco-plugin-rs/falco_plugin/index.html
Motivation
Falco is a powerful runtime security tool with extensive integrations via plugins. To enhance this ecosystem, I developed the Falco Plugin Rust SDK, allowing developers to write Falco plugins in Rust. Rust ensures safety, performance, and efficiency, making it ideal for developing high-quality plugins. This project opens up the ecosystem to Rust developers, further extending Falco's reach.
So, I propose donating it to the Falcosecurity organization to benefit from increased visibility, better maintenance, and community contributions. I believe this donation will foster greater growth and usage within the Falco community.

Welcome aboard @mrgian! :D

big plus one for me :star_struck:

The more the merrier, welcome aboard @Andreagit97!

+1 of course 🚀

I guess it's time to prepare for the transfer :rocket:
I'm on it
/assign

question for @gnosek
Can we rename the repo to plugin-sdk-rs (to be consistent with our other plugin SDKs)? :thinking:

Sure, in the context of the falcosecurity org it's clear what the SDK is for without an explicit falco in the repo name :)
(the crates should still be named falco_* though IMO)

Big +1, amazing job!!!


[Keyboard Navigation: Settings>Remap key>Add button]: Keyboard focus is getiing lost after activating 'Key drop down' Combo box in Remap key window.

[Power Toys Settings-Keyboard Manager>Remap Key]
User Experience:
This will impact the keyboard users if the keyboard focus is getting lost after activating 'Key drop down' combo box.
Test Environment:
"OS Version: 20221.1000
App Name: Power Toy Preview
App Version: v0.23.0
Screen Reader: Narrator"
Repro-steps:
"1. Open Power Toys Settings App.
2. Navigate to Keyboard Manager list item present in left pane and activate it.
3. Navigate to Remap a key button present in right pane and activate it.
4. Remap Key window will open.
5. Navigate to 'Key drop down' combo box present in window and activate it and verify the issue. "
Actual Result:
"Keyboard focus is getting lost after activating 'Key drop down' Combo box in Remap key window. On pressing down arrow key, focus jumps to first menu item.
Note:
Same issue is repro in 'Remap a Shortcut'."
Expected Result:
Keyboard focus should not be  getting lost after activating 'Key drop down' Combo box in Remap key window. Focus should move to first menu item on Activating the combo box.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={0de7fbe1-ad7e-48e5-bcbb-8d986691e2b9}
17_Remap a key_MAS2.4.3_After activating combo box focus is lost.zip

@crutkas @ryanbodrug-microsoft I have created an issue for this on the WinUI repro https://github.com/microsoft/microsoft-ui-xaml/issues/3503

looks like this will be fixed shortly based on https://github.com/microsoft/microsoft-ui-xaml/issues/3503

This will be in 1.1

As verified the issue is minimal impact as keyboard focus stays on the combo box and user can navigate to the dropdown via simply activating down arrow key. hence, closing the issue.


mpp: Allow container-storage image resolution

This commit allows to the user to define the "container-transport" variable when they are defining a container image to be resolved by the osbuild-mpp tool. When the user defines the "container-storage" as "container-transport" osbuild-mpp will look for the image in the local container-storage.

We still need a second approval on this one.

This is a breaking change. Currently, the docker transport is assumed, but after this change, it needs to be explicitly specified, otherwise the new RuntimeError will be raised. I'm afraid that we need to keep docker as the default.
See also the failing test: https://github.com/osbuild/osbuild/actions/runs/9486159611/job/26512393770?pr=1792

@ondrejbudai @achilleas-k I could add in the line 404 something like "if transport == "docker" or None:" if that works for you

I think that should work :)

@ondrejbudai done ;)

@ondrejbudai anything else to add?

@ondrejbudai I've rebased the branch. you can merge it when you ready.

@achilleas-k do you know why it's failing the pipeline?

Oh, dear, another rebase needed for the updated CS10 runners.

Ok, THIS TIME, it will work :crossed_fingers:

Actually, I think we're going to need #1822 first :/


Obtaining Refresh Token After Expiry Without Relogging

Hello everyone,
I'm facing a logical problem that unfortunately impacts the UX of my application. Currently, I'm using drf-sjwt version 5.3.0. My setup includes a React frontend and a Django Rest Framework backend.
When the refresh token expires, how can I obtain a new refresh token without asking the user to re-enter their credentials to call the /token endpoint again?
I thought of calling the token/refresh to get a new refresh token, but this leads to an endless loop.
Here's the relevant React code:
`
const axiosInstance = axios.create({
baseURL: baseURL,
timeout: 10000,
headers: {
Authorization: localStorage.getItem('access_token')
? 'JWT ' + localStorage.getItem('access_token')
: null,
'Content-Type': 'application/json',
accept: 'application/json',
},
});
axiosInstance.interceptors.response.use(
(response) => {
return response;
},
async function (error) {
const originalRequest = error.config;
	if (typeof error.response === 'undefined') {
		console.log(
			'A server/network error occurred. We apologize for the inconvenience and will address it shortly.', error
		);
		return Promise.reject(error);
	}

	if (
		error.response.status === 401 &&
		originalRequest.url === baseURL + 'token/refresh/'
	) {
		window.location.href = '/authentication/';
		return Promise.reject(error);
	}

	if (
		error.response.data.code === 'token_not_valid' &&
		error.response.status === 401
	) {
		const refreshToken = localStorage.getItem('refresh_token');

		if (refreshToken) {
			const tokenParts = JSON.parse(atob(refreshToken.split('.')[1]));

			// Token expiration date is expressed in seconds, while now() returns milliseconds
			const now = Math.ceil(Date.now() / 1000);

			if (tokenParts.exp > now) {
				await new Promise(r => setTimeout(r, 500)); // TODO: Check if this fixed the bug

				return axiosInstance
					.post('/token/refresh/', {
						refresh: refreshToken,
					})
					.then((response) => {
						localStorage.setItem('access_token', response.data.access);
						localStorage.setItem('refresh_token', response.data.refresh);

						axiosInstance.defaults.headers['Authorization'] =
							'JWT ' + response.data.access;
						originalRequest.headers['Authorization'] =
							'JWT ' + response.data.access;

						return axiosInstance(originalRequest);
					})
					.catch((err) => {
						console.log("Error in /token/refresh/: ", err);
					});
			} else {
				window.location.href = '/authentication/';
			}
		} else {
			window.location.href = '/authentication/';
		}
	}

	// Specific error handling is done elsewhere
	return Promise.reject(error);
}

);
export default axiosInstance;
`
Is there another API endpoint in the sjwt package to obtain a new refresh token, or should I simply extend the lifespan of the refresh token significantly?
What's the best practice here?
I apologize for any inconvenience. I haven't found similar questions elsewhere.
Any help is greatly appreciated!

For now, the only way to get refresh token is only to post the credentials. Maybe it's better to increase a little bit the refresh token lifespan but not too much.

Ah, that's unfortunate for my page's user experience. But thanks a lot for letting me know!

I'm facing this issue too, I solved it by adding 365 days. I wonder if that's the reason my insta or fb account logs out after a very long while.

@RodrigoSosa95 that's a little bit too much I think. It should be like 15 days at max. Token should be like 5min beacause it will avoid malicious user to impersonating your current session. And refresh is used to keep you session active during a long time to avoid entering a credentials everytime but that should not be too long like one year. It will lead to disasterd without you notice it one day.


[explore] missing saved metrics from the dropdown list

In latest master, open METRICS popover, see missing saved metrics from the dropdown select.
To reproduce:

Open any charts that use sample data(e.g. FCC2018 Survey)
Go to Edit dataset. in metric tab, create 3 new metrics and Save
Go back to the control panel, click the pre-filled saved metric in METRICS
Save tab, click dropdown, see list missing the original one,

Actual
https://user-images.githubusercontent.com/67837651/106222980-7112a200-6195-11eb-8652-8c8afb796876.mov
Expected

IMO this is working as intended - a selected saved metric should not be featured in the dropdown list to avoid duplication.

IMO this is working as intended - a selected saved metric should not be featured in the dropdown list to avoid duplication.

Maybe we can add only the current selected metric in the list (with a selected state of course) just to avoid surprises?

Maybe we can add only the current selected metric in the list (with a selected state of course) just to avoid surprises?

reopening. confirmed this is a regression

reopening. confirmed this is a regression


Implement File_Extractor AudioExtractor class

The concrete File_Extractor class for the AudioExtractor interface needs to be implemented.
Results will be merged onto branch feature/autio-extraction, where the audio extraction feature is developed.

Results will be merged onto branch feature/autio-extraction

First implementation finished, Merged together with refractor/30-implement-audio-dataclass and refractor/24-implement-audioextractor-interface-class onto feature branch feature/audio-extraction. In "testing_extraction.py" is an example usage.

Implemented


[Software Addition] Crafty Controller

Checklist

[X] I've checked that my software suggestion hasn't already been added to one of the lists.
[X] I've checked the latest issues to make sure that this software hasn't already been suggested.

What is your software's name?
Crafty Controller
What operating systems dose this software works on?
Windows 11, Windows 10, Windows 8/8.1, MacOS, Ubuntu, Debain, Arch Linux, Fedora, Other Linux
Input a link to your suggested software.
https://craftycontrol.com/
What is your reasoning for including this software?
Crafty is a web interface and server management platform for minecraft servers. It's fully open source and licenesed under GPL3, the full source code is available here:
https://gitlab.com/crafty-controller/crafty-4
Blurb from their website:
Crafty Controller is a feature rich panel that allows you to create and run servers, manage players, run commands, change server settings, view and edit server files, and make backups.
(OPTIONAL) Give some extra information about the software.
No response

Added in dev


Yo mine better

Yours is a virus 🤡

BRO UR MULTITOOL DOESNT HAVE MAIN.PY WITH THE CODE.

BRO UR MULTITOOL DOESNT HAVE MAIN.PY WITH THE CODE.

I'm updating it , it will be released around 18 to 17


Allow user configuration without building a new image

I didn't want to build a new image every time I had a different set of sites that I want to front with nginx.  This is especially useful if you have dev/test/stage setups and you just want to roll everything out using a common image.
To do this, I leveraged your startup scripts and just added a script that symlinks all configs in a source dir to /etc/nginx/conf.d.  That way the certbot config can still live happily there alongside the rest of the config files.
All a user needs to do is put his/her configs into a directory and then mount it using a volume to /etc/nginx/user.conf.d.  All *.conf files in that dir will be symlinked on startup.

There's some bugs in this that I still need to work out.  Will reopen with a clean PR.


vue-cli hmr not work

"@vue/cli-service": "~5.0.0",
"unocss": "^0.49.4",
"@unocss/webpack": "^0.49.4",
vue-cli-service serve hmr unocss not work

Can you provide a reproduction?

Can you provide a reproduction?

here https://github.com/macheteHot/demo-css-webpack-use.git

Can you provide a reproduction?

here https://github.com/macheteHot/demo-css-webpack-use.git

the same problem here

Try this
https://github.com/MellowCo/unocss-preset-weapp/issues/54#event-9080881843

same problem when using vue-cli4 or vue-cli5.
can reproduction in unocss vue-cli5 stackblitz

have the same problem in vue-cli5

Have you all not solved this problem ？

这个问题有解决方案了吗？


[Feature] Support google.auth.credentials.AnonymousCredentials for bigquery enabling to unit test models.

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt-bigquery functionality, rather than a Big Idea better suited to a discussion

Describe the feature
Support google.auth.credentials.AnonymousCredentials for bigquery enabling to unit test models in isolation locally.

use of AnonymousCredentials
Ability to pass api_endpoint as client_options to client instantiation

Describe alternatives you've considered
No available options to connect to bigquery-emulator instance for isolated testing.
Who will this benefit?
All the dbt developers using bigquery will be benefitted, as this change would allow them to test the models in isolation.
Are you interested in contributing this feature?
Yes, I am ready with the changes.
Anything else?
No response

Thank you for opening up this issue! At this time we are not prioritizing supporting the BQ emulator so I am going to close this issue out for now.


Clarification on 'Simulation'

In the email, it states that:
"The API implementation will also include functionality that will enable you to simulate the behaviour of the end points once we go live.  Please be aware that these are simulations only and the APIs provided may change once the actual functionality becomes live"
Can I just get a little more explanation of what we mean here?  I fully understand the nature of APIs is that with controlled version change there is fluctuation, but I would not expect things to change between Beta and Live in terms of behaviour?
Is there anticipated churn between your Beta and Live as far as the implemented code goes?  How reliable and reflective of live is the test environment?
My concern is that we've already been told that we cannot test on the Live platform as no test NINO or UTR will be provided.  Which then puts the pressure on for the consumers to be provided an incredible live-like environment against which to test.  If we cannot guarantee that the test environment behaves as close to Live as possible, then we'd be going live blind.

As a API consumer you can simulate certain failure scenarios across multiple APIs by using the header 'Gov-Test Scenario' mentioned in #341.
Because we are simulating these error scenarios in absence of a fixed spec from our backend, it has the potential to change slightly. This 'fluctuation' only applies to error scenarios simulated via the 'Gov-Test Scenario' header.

@saurabharora80
Sorry - can you phrase this some other way?  I don't understand...
"Because we are simulating these error scenarios in absence of a fixed spec from our backend, it has the potential to change slightly. "
Is there any documentation, spec or explanation of this new test capability anywhere?  Have I missed something?

Let me answer your question before I attempt to rephrase.
The error scenarios are documented along with every resource. Please refer to the 'Test data' tabular section in each resource for more details.
Because we don't have concrete specification from the backend for certain scenarios, we are using the 'Gov-Test Scenario' header to simulate them; thus they could slightly change in the future when the concrete specification is available.

@P-Tracy Can I close this issue?

Sorry, this may not be my business, but is anyone worried about the fact that we're going live in a few weeks and there aren't concrete specifications for the implementation?
Prior to release, do you think you will have had time to get full functional coverage, and stress and soak test this?
Reason I ask is that the UI is branded for the vendor so failures will be seen to be ours even if they lie with HMRC.... so this would be a risk.

Reconciled not worried ...
There is a scene in "Shakespeare in Love" where the money man looks at the producers books and asks "How can this work?", the reply comes back, "I don't know, but it always does".
I sent the message below to SDS this morning.  If Rebecca is correct my app is totally over-engineered!
Yesterday I attended a lecture given by Rebecca Benneyworth about MTDfb.  As part of that lecture and confirmed in a brief discussion after the lecture it was her view that a standalone Excel spreadsheet constituted an acceptable form of digital record keeping as far as HMRC MTDfb is concerned.  As this does not accord with my understanding which underpins my development effort I wish to get clarity on the acceptability of standalone spreadsheets.

@P-Tracy
We have primarily simulated the followed failure scenarios
AGENT_NOT_SUBSCRIBED
AGENT_NOT_AUTHORIZED
CLIENT_NOT_SUBSCRIBED
for all resources
And
NONE_MET
ALL_MET
only for Obligations resource
I don't see much change for the first 3.
The last 2, which are only Obligations resource, may change slightly.
As you can see most the API contract is not effected by these simulations.

@P-Tracy @andyws are you happy for me to close this issue?

Yes, thank you


fix(#2761): FocusScope: with no tabbable element in scope, restore focus to first focusable element

Fallback to include focusable elements when identifying the first focusable element in scope, if not tabbable elements are available in scope.
This is relevant for components like a Dialog, where when the contents of the FocusScope changes, and focus gets lost, we want to restore focus to the Dialog itself, which is focusable but not tabbable.
Closes #2761
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue #2761.
[x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[x] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[x] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
Test is meant to simulate a dialog whose contents change completely when an element within the dialog is clicked.

Open https://reactspectrum.blob.core.windows.net/reactspectrum/da566aa6219c6f6a8cab0123b860b36957b869d0/storybook/index.html?path=/story/focusscope--focusable-first-in-scope
Move keyboard focus to "Go to Dialog 2" button and use Space to click it.
Content should update and focus should go to the first tabbable element within the scope, the "Go to Dialog 3" button.
Use Space to click the "Go to Dialog 3" button.
Dialog 3 has no tabbable elements in scope, so focus will be set to the first focusable element in scope, the dialog itself.

🧢 Your Project:
Adobe/Accessibility

@LFDanLu I've simplified this to remove the need for the additional allowFocusableFirstInScope prop.

I was testing something else and I found an issue that I'm not sure if it is related. This PR still has the issue so I'm leaning towards what I found being a different issue, but I wanted to confirm. See below for how to test.
Goto "ListView -> Selection -> onAction *" stories.
Click into a folder.
Click on "Root" of the Breadcrumb to go back to the main list.
When you keyboard navigate ListView items, the "Root" of the breadcrumb keeps focus too.


Feature/ Event Support

Feature/ Event Support
This PR adds support for collection level prerequest and test scripts.

Adds prequest_script and test_script config options
Allows a path to a script file to be defined for each option
If the specified files exist then the content of these is added to the relevant event property in the structure
Adds test for this feature

Hi @ajanes93, thank you for your contribution 🎉
I'll take a deeper look into this when I have some spare time to give it a proper test. Could you tell me what your use case is for such a feature, please?

Thanks for looking into this @andreaselia
I want to be able to set pre-request and test scripts at a collection level so that I can do specific things before and after each request has run.
Some use cases:

Set environment variables before a request is run.  The values of these variables can then be used in headers, or in the request body
Add tests to check response header or body values after each request has run

Thanks for the info @ajanes93.
Cc: @tomirons

@ajanes93 nice work on this!
My only concern with this is the support for different kinds of scripts. Is JavaScript the only one that is supported at this time? Should we validate the script before running it?

Thanks @tomirons.  Regarding your questions I just had a read through the Postman Docs and JavaScript is the only script format they support.  See below:

Scripts in Postman
Postman has a powerful runtime based on Node.js that allows you to add dynamic behavior to requests and collections. This allows you to write API tests, build requests that can contain dynamic parameters, pass data between requests, and a lot more. You can add JavaScript code to execute during two events in the flow:

Before a request is sent to the server, as a pre-request script under the Pre-request Script tab.
After a response is received, as a test script under the Tests tab.

Taken from Postman Docs: Intro To Scripts

Thanks for handling that @tomirons, and for your contribution @ajanes93 😁


[spike.com] Add subtitles support

I tried "youtube-dl --list-subs http://www.linktovideo.com", but youtube-dl just downloads the videos. I expected the command to list all available subtitles.
The exact URL is:  http://www.spike.com/episodes/amptue/the-joe-schmo-show-schmo-in-the-wild-season-1-ep-103.
Thus the exact command is
youtube-dl --list-subs http://www.spike.com/episodes/amptue/the-joe-schmo-show-schmo-in-the-wild-season-1-ep-103
If you go to the URL in a web browser, you'll see that closed captions are an option.

Thanks for the report, captions extraction capability will be available in the next version.

youtube-dl 2015.02.02 and newer add support for spike subtitles. See our FAQ if you need help updating.


SyntaxError: invalid syntax in line 175   =====**self.json_location(node), ====

As you can see in the README and on PyPI, the plugin is not available for the soon to be retiring Python 2.


[Feature]: Benchmarking H200

Checklist

[X] 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[X] 2. Please use English, otherwise it will be closed.

Motivation
Research Questions

Explore the tradeoffs of increasing the number of chips with more memory, H200, versus increasing the parallel inference world size when using less HBM GPUs, H100 (see [Efficiently Scaling Transformer Inference](https://arxiv.org/abs/2211.05102)). Reduce as much as possible price/generation at scale.
How can we leverage H200 extra HBM for efficient KV cache management?  Test long context window.
Measure the implications of faster GPU memory bandwidth while executing parallel inference.

Models of Interest

Llama 3.3 70B
Llama 3.1 405B
DeepSeek Models: Testing latest sglang 0.4 data parallelism attention for MLA.

Preliminar Results
Following the benchmarks from sglang benchmarks
Environment Configuration
Using the latest Docker image lmsysorg/sglang:latest with SGLang v0.4
Collecting environment information...
PyTorch version: 2.5.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.6 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.31

Python version: 3.10.16 (main, Dec  4 2024, 08:53:37) [GCC 9.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-124-generic-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: 12.1.105
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA H200
GPU 1: NVIDIA H200
GPU 2: NVIDIA H200
GPU 3: NVIDIA H200
GPU 4: NVIDIA H200
GPU 5: NVIDIA H200
GPU 6: NVIDIA H200
GPU 7: NVIDIA H200

Nvidia driver version: 550.127.05
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Byte Order:                           Little Endian
Address sizes:                        52 bits physical, 57 bits virtual
CPU(s):                               192
On-line CPU(s) list:                  0-191
Thread(s) per core:                   1
Core(s) per socket:                   96
Socket(s):                            2
NUMA node(s):                         2
Vendor ID:                            AuthenticAMD
CPU family:                           25
Model:                                17
Model name:                           AMD EPYC 9654 96-Core Processor
Stepping:                             1
Frequency boost:                      enabled
CPU MHz:                              1479.783
CPU max MHz:                          3707.8120
CPU min MHz:                          1500.0000
BogoMIPS:                             4799.99
Virtualization:                       AMD-V
L1d cache:                            6 MiB
L1i cache:                            6 MiB
L2 cache:                             192 MiB
L3 cache:                             768 MiB
NUMA node0 CPU(s):                    0-95
NUMA node1 CPU(s):                    96-191
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          Not affected
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Not affected
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Not affected
Vulnerability Spec rstack overflow:   Mitigation; safe RET
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

Online benchmark results
Llama 3.1 70B Instruct 4 x H200 141GB

RPS
Num Prompts
Engine
Median E2E Latency
Median TTFT
Median TPOT
Median ITL

4
1200
SGLang
3005.24
65.72
18.47
15.94

8
2400
SGLang
4064.98
73.70
24.02
17.75

Offline benchmark results
Llama 3.1 70B Instruct 4 x H200 141GB

RPS
Num Prompts
Engine
Request throughput
Output token throughput
Tensor Parallel

inf
5000
SGLang
25.14
4885.17
4

Llama 3.1 70B Instruct 8 x H200 141GB

RPS
Num Prompts
Engine
Request throughput
Output token throughput
Tensor Parallel

inf
5000
SGLang
37.96
7376.03
8

Llama 3.1 405B Instruct 8 x H200 141GB

RPS
Num Prompts
Engine
Request throughput
Output token throughput
Tensor Parallel

inf
5000
SGLang
9.16
1779.16
8

Q: Where should we place this benchmarking information, in existing docs or create a new one? @merrymercy @zhyncs
Related resources
Hopper GPU HW specs comparison: H100 & H200

Technical Specifications

H100 SXM
H200 SXM

BFLOAT16
989.5 TFLOPS
989.5 TFLOPS

FP16
989.5 TFLOPS
989.5 TFLOPS

FP8
1979 TFLOPS
1979 TFLOPS

INT8
1979 TFLOPS
1979 TFLOPS

GPU Memory
80 GB
144 GB

GPU Memory Bandwidth
3.35 TB/s
4.8 TB/s

H100 whitepaper
H200 whitepaper

Thank you @antferdom! We are very interested in the H200's performance metrics. @Ying1123 has been coordinating the relevant resources, and we greatly appreciate you bringing this matter to our attention. We are monitoring the situation closely and will provide updates on any progress or discussions in this thread. Thank you for your contribution!

The H200 shows great promise, particularly for extremely large models. For models exceeding 600B parameters, even FP8 precision cannot enable single-machine execution. In such scenarios, the H200's 144GB memory capacity becomes crucial. Furthermore, the improvements you noted, such as higher TFLOPS and increased memory bandwidth, will significantly impact current kernel configurations and performance. It's worth noting that neither FlashInfer nor the Triton backend has been specifically optimized for the H200 yet. Once we acquire the necessary hardware resources, we will promptly begin optimization efforts in this area. cc @yzh119 @ispobock

Thanks @zhyncs for your rapid and positive feedback! Great point you highlight about H200’s on-chip memory for > 600B parameters model. For LLaMA 405B it allows to handle BFLOAT16 without multi-node communication, removing then any inter-node communication overhead, even if this can be hidden with computation.
Regarding kernel configuration, in particular Torch Triton codegen, I’m not aware of the latest changes to handle, as you said, the additional memory-bandwidth. We could do some experiments to torch/_inductor/kernel/mm.py.
What immediate next steps would you recommend? I can already run whatever benchmark we consider relevant and save the output files. Regarding resources, would a single H200 node be sufficient for you? Happy to explore this co-research.

Regarding resources, would a single H200 node be sufficient for you? Happy to explore this co-research.

Yeah I am eager to collaborate on researching and enhancing the H200's performance. Your help in coordinating resources would be greatly appreciated!

Current benchmarking results following the sglang experiments, no H200 aware tuning

Hi @antferdom the link is 404. Is that repo private


[QA] Add more tests

At least each pattern component could have a test.

[ ] Add a test for each case resolve in bug notebooks

Also consider that I can use StringCases/StringMatchQ to test patterns now too.

LexicalCases Symbols

[ ] LexicalPatternQ
[ ] LexicalPattern
[ ] BoundToken
[ ] WordToken
[ ] OptionalToken
[ ] Sandwich
[ ] StopWordQ
[ ] TextType
[ ] ExpandPattern

LexicalCases Utilities Symbols

[ ] ExtractHeads
[ ] GetFileExtension
[ ] MatchTrim
[ ] OptionsJoin
[ ] ReplaceEmptyListWithMissing
[ ] SupportedFileQ
[ ] UnwrapAlternatives
[ ] WrapAlternatives


capsule build --release  "unexpected parts after split whitespaces: 0"

Hi all, When I compile the ckb-contracts of force-bridge-eth using  capsule build --release, it returns some error message like:
unexpected parts after split whitespaces: 0
capsule check
------------------------------
docker	installed
ckb-cli	installed v0.101.3
------------------------------

Does this problem still exist? Can you provide a minimal reproducible example?

@blckngm
I encountered the same error when i capsule build the following prj: https://github.com/cryptowen/mint-sudt-demo
please check this out!


Ugly fix for Test:FlattenSpecParquetReaderTest

For CS527 MP1:
In this PR, I managed to fix the flaky test using an ugly fix. I didn't want to create new import but I did, I didn't want to write so many lines but I did.  After all, it works. Btw there's another flaky test in the same test doc that must have the same reason to make it flaky, it could be convenient to fix that as well since they are almost the same but i give up because the fix is ugly.
Following are default PR text from originally repo owner.

Fixes #XXXX.

Description

Fixed the bug ...
Renamed the class ...
Added a forbidden-apis entry ...

Release note

Key changed/added classes in this PR

MyFoo
OurBar
TheirBaz

This PR has:

[ ] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

I think this PR can be made more concise and detailed.
Can you add a link to the test?
Where did you add the new classes?
Can you follow the PR format specified in the original repository?

Make the text as detailed as possible – the owner has to decide whether the fix is appropriate or not.
Use the template provided by the owner of the repo – they provide these templates for a good reason and I assume the contributors to use them
Add the name of the test – maybe you can add the whole path of the file + the name of the test on which you have been working
Add a code to reproduce the bug – this makes it easier for the owner of the repo to check whether this really is a bug/problem
Check that the assertion actually checks the same thing – I think the original assertion checks equality of strings – the new one checks if two sorted arrays of chars contain the same elements, which is something completely different.


Check user state before uploading

Hi team,
Is there any way to check if user not logged in?
I used this.userId and Meteor.userId() but it not work both.
Thanks.

Hi,
If a user is logged in, Meteor.userId() returns a unique ID, otherwise it returns undefined ;)

@phucnv206 .. not on server as the server is not running in the Meteor fiber I'm affraid.


App crashing

Integration Method:  I have installed using : pod "Segment-Mixpanel"
**Xcode Version: Version 8.3.2 (8E2002)
Library Version: latest as of today
Platform: happening on iOS 10 (seems to work on ios9)
Language: Objective-C
Description:
I have installed using : pod "Segment-Mixpanel"
And I am tracking events using:
[[SEGAnalytics sharedAnalytics] track:@"EVENT_NAME"];
Now my app crashes in Mixpanel lbrary (IN CLASS: Mixpanel.m on line number 482) :
                     0x0000000100208e24 __38-[Mixpanel setupAutomaticPushTracking]_block_invoke_2 (Mixpanel.m:482)

                  0x000000010022de74 mp_swizzledMethod_4 (MPSwizzler.m:75)

The reason for crash it gives is:
-[__NSDictionaryI notification]: unrecognized selector sent to instance 0x174e73ec0
Please fix this asap. The crash is appearing in iOS 10 only and not iOS 9
Thanks!

It's also happening at my end using iOS 11. Wasn't happening before the update.

Just curious is there an easy way to make mixpanel tracking calls in separate thread, so that mixpanel crash don't crashes our app/main thread, and app stays working.. Any suggestions?

I have returned Mixpanel to version 3.1.9 and it seems to have solved my problem. No crash happened.
It seems to be a problem created in the newer release.

Actually I haven't installed Mixpanel directly, but through: pod "Segment-Mixpanel"
So the mixpanel's latest version gets installed through it automatically as pod's further dependency.
Let's see if they are able to push a quick fix. It's in CLASS: Mixpanel.m on line number 482), where it is trying to access .notification, and it crashes with:  -[__NSDictionaryI notification]: unrecognized selector sent to instance 0x174e73ec0

@gsinghs @breferrari this should be fixed in the latest release.


popleft on run

when i run sample example i have this stacktarce :
Traceback (most recent call last):   File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner     self.run()   File "/usr/lib/python2.7/threading.py", line 754, in run     self.__target(*self.__args, **self.__kwargs)   File "/usr/local/lib/python2.7/dist-packages/splunk_eventgen/eventgen_core.py", line 350, in _worker_do_work     raise e AttributeError: 'list' object has no attribute 'popleft'
do you have any isse ?

i fix problem on adding 'q = deque(q)' in  eventgen/splunkstream.py on line 58.


oAuth failure: "Error: No code received"

Hello,
Trying this out for a small project, particularly interested in the subscription to channel points events.
I have followed the steps at the updated guide up to "Getting A Token" step after clicking "get token", the web browser opens and I log in. Unfortunately, the window does not access the Twitch authorization/privileges page, instead returning a blank page with "Error: No code received" at the top (no CSS).
I'm curious if this issue is on my end or if it's something that Twitch has updated on their end. I will continue troubleshooting and update on my end, but mostly just shooting in the dark here.
Thanks!

Issue persists. Window browser loads "https://localhost:9980", but the parameter uses http:// instead. Going to either address/switching doesn't help.


Handle case when no bounding boxes are detected during segmentation

Hi, i had a dataset for inference which may not contain anything to segmentate. While in inference mode, i got the error of "RuntimeError: Non-empty 4D data tensor expected but got a tensor with sizes [1, 0, 216, 216]" for those samples. So, it seemed like a good idea to add a handle for samples with no segmentation. Thank you, have a nice day.
What does this PR do?
This pull request handles the case where no bounding boxes are detected by the segmentation post-processing function. Instead of causing the application to crash, it now checks for None return values from seg_postprocess. If it detects no bounding boxes, it saves the original image to save directory and moves to the next image for processing.
How Has This Been Tested?
This change has been tested locally with various inputs including cases where no bounding boxes were detected. The function now handles these cases gracefully instead of crashing.

Thanks for your contribution!


Nextgh - Network Engineer - different job location

ENVIROMENT: production
URL: https://scrapers.peviitor.ro/src/nextgh/index.html
Browser: Chrome
Device: laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open URL in browser
Check job location for Network Engineer on scrapers.peviitor.ro/src/nextgh/index.html
Click on the 'Vezi postul' button under Network Engineer job
Check job location for Network Engineer

EXPECTED RESULTS:
Job location for Network Engineer is Satu Mare
ACTUAL RESULTS:
Job location for Network Engineer is Cluj-Napoca
Note: The bug also reproduce for:

Fullstack developer
Database Developer
Hardware Design Engineer (Mid-Senior level)
Mobile developer with Flutter
Cloud Infrastructure Engineer

Fixed!

After retesting the location of the jobs is displayed correctly


Merge develop branch into SDK v2 branch

What does this PR do?
This PR does the merge of develop branch into feature/sdkv2 branch, all the conflicts resolved.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1138 (dad8790) into feature/sdkv2 (c031096) will decrease coverage by 0.04%.
The diff coverage is 73.76%.

@@                Coverage Diff                @@
##           feature/sdkv2    #1138      +/-   ##
=================================================
- Coverage          82.49%   82.45%   -0.04%
=================================================
  Files                349      350       +1
  Lines              11422    11524     +102
  Branches            1920     1957      +37
=================================================
+ Hits                9422     9502      +80
- Misses              1418     1421       +3
- Partials             582      601      +19

Impacted Files
Coverage Δ

...n/kotlin/com/datadog/android/compose/Navigation.kt
60.98% <ø> (ø)

...in/com/datadog/android/core/internal/SdkFeature.kt
88.18% <ø> (ø)

.../rum/tracking/ActivityLifecycleTrackingStrategy.kt
95.65% <ø> (ø)

...ndroid/telemetry/internal/TelemetryEventHandler.kt
70.59% <54.10%> (-20.18%)
:arrow_down:

.../kotlin/com/datadog/android/v2/core/DatadogCore.kt
89.39% <69.57%> (+0.56%)
:arrow_up:

.../android/rum/internal/domain/scope/RumViewScope.kt
96.74% <85.71%> (+0.03%)
:arrow_up:

...n/com/datadog/android/core/internal/CoreFeature.kt
91.24% <91.67%> (+0.11%)
:arrow_up:

...n/kotlin/com/datadog/android/DatadogInterceptor.kt
86.81% <100.00%> (+0.30%)
:arrow_up:

...atadog/android/core/configuration/Configuration.kt
98.52% <100.00%> (+1.17%)
:arrow_up:

...c/main/kotlin/com/datadog/android/rum/GlobalRum.kt
63.83% <100.00%> (+0.79%)
:arrow_up:

... and 20 more


Scala 3 support is here

The following versions are published for Scala 3.0.0-RC2:

Laminar 0.13.0-M1
Airstream 0.13.0-M1
Waypoint 0.4.0-M2
tulz-app/frountroute 0.13.0-M2
tulz-app/laminext 0.13.0-M1 (without circe JSON module yet)

These Laminar / Airstream versions should have no breaking changes from 0.12.x except if you manually extended Airstream traits EventStream, Signal, or Observable (in which case you should now extend WritableEventStream, WritableSignal, or WritableObservable respectively), due to internal refactoring of Airstream observables in 0.13.0-M1 to satisfy stricter variance checks in Scala 3.
Please use this ticket to report any issues with Scala 3 support.

I am trying to update a project to scala 3.0.0:
ThisBuild / scalaVersion := "3.0.0"

lazy val root = (crossProject(JSPlatform, JVMPlatform) in file("."))
  .settings(
    name := "Setup front-end",
    libraryDependencies ++= Seq(

      "com.lihaoyi" %%% "utest" % "0.7.10" % "test",
      "com.raquo" %%% "laminar" % "0.13.0",
       …
    )

  )

i get the following error (i must be overseeing something ?)
sbt.librarymanagement.ResolveException: Error downloading com.raquo:laminar_3:0.13.0

I'm using sbt-scalajs 1.5.1
I tried also pulling this repo and use publishLocal, to no avail.
tx.,

Hi, you're trying to add Laminar to both JS and JVM subprojects. Laminar is
not available on the JVM. Make sure to add it only to the JS subproject.
--Nikita
On Wed., Jun. 2, 2021, 8:18 a.m. Raphael Parree, @.***>
wrote:

I am trying to update a project to scala 3.0.0:
ThisBuild / scalaVersion := "3.0.0"
lazy val root = (crossProject(JSPlatform, JVMPlatform) in file("."))
.settings(
name := "Setup front-end",

libraryDependencies ++= Seq(

  "com.lihaoyi" %%% "utest" % "0.7.10" % "test",

  "com.raquo" %%% "laminar" % "0.13.0",

   …

)

)
i get the following error (i must be overseeing something ?)
sbt.librarymanagement.ResolveException: Error downloading com.raquo:laminar_3:0.13.0
I'm using sbt-scalajs 1.5.1
I tried also pulling this repo and use publishLocal, to no avail.
tx.,
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/raquo/Laminar/issues/93#issuecomment-853116785, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAECBMB637M6XKAZ5Z7R6X3TQZDU3ANCNFSM42MCAYWQ
.


Update release instructions

Move the release instructions from the README to their own doc. Expand
with the latest on branching and doc updates.
/assign @yiqigao217
cc @adrianchung @rjbez17 @GinnyJI

/lgtm


contract-standards: StorageManagement - discrepancy between NEP-145 and implementation

There's a function in StorageManagement trait: storage_balance_of defined as following:
fn storage_balance_of(&self, account_id: ValidAccountId) -> Option<StorageBalance>;
There's also the implementation for this in FungibleToken which returns None if the account does not exist.
According to the NEP-145 specs:
function storage_balance_of(account_id: string): AccountStorageBalance;

Used to lookup the account storage balance for the specified account. If the account is unknown to the contract then the total account storage balance returned will be zero.

So what's the right approach for this? Do we have a mismatch between NEP-145 specs and reference implementation?
Or was this changed somewhere in specs as well?

The standard is defined here: https://nomicon.io/Standards/StorageManagement.html#reference-level-explanation

@evgenykuzyakov Thanks for pointing to this! I was referenced to figment and Github discussions as previously I was told that they contain the most up-to-date info.


latest version

Plz Upload the latest version to spiggot or bukkit i love your plugin but the version that Aternos provides is the latest one on spiggot and bukkit and that one has a problem where players that get kicked get lp permssions data not found i understand that the latest version has fixed this but athernos only allows plugins from spiggot or bukkit so i dont have the latest version that you provide thanx :)

You can grab the latest version here and upload it to your server.
https://ci.lucko.me/job/LuckPerms/
I push builds to Spigot when I think they're stable enough, and have enough changes / new features to justify a release.

I understand sadly Aternos dosnt allow me to upload plugins i can only download the ones they provide thanx for your help anyways


Release tracking PR: units v0.2.0

In preparation for release add a changelog entry, bump the version number, and update the lock files.
Note patch 1 highlights a possible process failure we have in this repo/org.
Close: #3095

What breaking change did we do? Can we postpone it until I make the amount::*Error breaking changes I planned to?

Can we postpone it until I make the amount::*Error breaking changes I planned to?

Next release eh.

Agreed with @tcharding -- since we aren't planning any bitcoin releases anytime soon I don't think we should be shy with new releases of the "building block" crates (especially major releases which are opt-in for all users).

Woops, got a bit trigger happy with my worktree delete command again.

Merge, tag, and release please!

Tagged and published.

BOOM! Thanks man.


Show ICB icon not working

Even though I have the Show ICB icon checked in settings, I don't see the button.
Android 8
Samsung Galaxy S9

Sigh, I had to do a lot of work to make the app work at all on Android 9
which required updating UI stuff which of course breaks some of the more
obscure features...
ma 12. marrask. 2018 klo 15.33 AVaccNY<EMAIL_ADDRESS>kirjoitti:

Even though I have the Show ICB icon checked in settings, I don't see the
button.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/murgo/IrssiNotifier/issues/200, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPfR7xJJv_m1Bj6eu6FYt-YbpBKpSYDks5uuXiNgaJpZM4YZqCP
.


Using LocalTiles on Android and getting right path

Question
I am unsure how to use the LocalTiles feature and what path I should use.
import MapView, { LocalTile } from 'react-native-maps'
...
<MapView
      mapType={Platform.OS == "android" ? "none" : "standard"}
      style = {styles.mapView}
>
      <LocalTile
          pathTemplate={"/Internal%20Storage/Documents/maps/cali/{z}/{x}/{y}.png"}
          tileSize={256}
      />
</MapView>

I believe that my pathTemplate is correct, as in the File Explorer on my device, it shows the path to be
/Internal storage/Documents/maps/cali

Additionally, in my AndroidManifest.xml, I added these lines:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

However, I keep ending up with a blank screen every time.
I am testing on a Samsung Galaxy S7 Edge, Android 8.0, in a bare React Native app. I thought my file path might be inputted incorrectly or I needed additional permissions in my AndroidManifest.xml; however, I could not find any resources (Stack Overflow, Android forums, etc.) that helped me in solving this issue.
Thanks in advance!

I found my issue was that I accidentally added a double slash to my path. So silly of me

I'm trying to use LocalTile, can you send the repository of this code  or help me with my code ?
I saved the tiles in device root path, and this is the code:

      )}

I'm trying to use LocalTile, can you send the repository of this code or help me with my code ?
I saved the tiles in device root path, and this is the code:
 <View style={StyleSheet.absoluteFillObject}>
    <MapView
      style={StyleSheet.absoluteFillObject}
      initialRegion={{
        latitude: -24.3074194,
        longitude: -53.8760417,
        latitudeDelta: 0.014,
        longitudeDelta: 0.014,
      }}
    >
        <LocalTile
          pathTemplate={"/storage/emulated/0/tiles/{z}/{x}/{y}.png"}
          tileSize={256}
        />
      )}
    </MapView>
  </View>

I'm trying to use LocalTile, can you send the repository of this code or help me with my code ? I saved the tiles in device root path, and this is the code:
 <View style={StyleSheet.absoluteFillObject}>
    <MapView
      style={StyleSheet.absoluteFillObject}
      initialRegion={{
        latitude: -24.3074194,
        longitude: -53.8760417,
        latitudeDelta: 0.014,
        longitudeDelta: 0.014,
      }}
    >
        <LocalTile
          pathTemplate={"/storage/emulated/0/tiles/{z}/{x}/{y}.png"}
          tileSize={256}
        />
      )}
    </MapView>
  </View>

Did you solve this? i'm trying the same solution but with one image only and I cant get any images to show


length constraints on sets and frozensets should be performed after creating the set

This should pass
assert Model(foo=[1, 1, 1, 2, 2], bar=['spoon']).dict() == {'foo': {1, 2}, 'bar': {'spoon'}}

Hello, I am interested in becoming a first time OSS contributor, I read your README and was hoping you could point me in the right direction as far as where about I should start with this problem?

That's great news, of course.
Change is probably here:
https://github.com/pydantic/pydantic-core/blob/313f287de7f78a195f376e60eb471a540790e734/src/validators/set.rs#L36
Same in frozenset.rs.
Then you'll need to change and extend tests.

Still working on it! finally got the library working on my system, ended up installing a linux VM

Two questions,

In the line assert Model(foo=[1, 1, 1, 2, 2], bar=['spoon']).dict() == {'foo': {1, 2}, 'bar': {'spoon'}} I cannot figure out what 'Model' is, nor can I run the code as it says "NameError: name 'Model' is not defined"

I'm having trouble figuring out which tests should be modified, Im currently looking at tests/validators/test_set.py and tests/validators/test_frozenset.py

Thanks in advance!

Model is an example from pydantic, it was instructive.
Runs tests, see which fail, fix them. If required, add more tests to check intended behavior.

As per discussion on #274 and insights from #275 and #276, this is much more complicated than I had originally thought:

for input type generator (where len fails) we need need to check max_length as we iter, we can check min_length after iteration finishes
otherwise:

For output type list & tuple: we should check length before iteration.
For set and & frozenset: we should iter, create the output type, then check it's length

This should be the same both with and without a validator (e.g. list[Any])
There's still the case where sometime returns one value from len(), then iter() returns more or less items, but that seems so rare and to require a custom broken type, so we can live with that risk.
I'll work on this. Thanks so much @joshfine2003 for looking into this and advancing my understanding, sorry to waste your time.

Hi @joshfine2003 and @PrettyWood please can you check #275 and confirm that, this is fixed?
I'll explain more what I've done on the PR.


AQCU-400: Final header format

Note: The new shared header file applies to every report except for V-Diagram because for some reason the custom rendering that V-Diagram uses causes it to be unable to access the shared-header.rmd file. The logic for V-Diagrams is present in the header, however, so that it can be easily transitioned over in the future.

added v-diagram rendering pattern as technical debt


Add support of multiple inputs

Now the counter is able to accept multiple inputs for a given model.

Thanks for the suggestion. However, specifying multiple sizes still is not general enough (e.g., handle inputs with different data types). I have added this function https://github.com/Lyken17/pytorch-OpCounter/blob/master/thop/profile.py#L82.


GH-33987: [R] Support new dplyr .by/by argument

Rationale for this change
Implement the .by argument for mutate, summarise, filter and slice_* family.
What changes are included in this PR?
The .by argument that matches dplyr has been added to some functions.
Most of the internal functions, such as compute_by, are copied from the existing dplyr backends, dbplyr and dtplyr.
Are these changes tested?
Yes.
Are there any user-facing changes?
Yes.

Closes: #33987

@eitsupi - if you give this PR a rebase to fix the CI failures, I'll take a look at this

Done.

Please could you add or update some of the tests to use more than 1 grouping variable here?

I think I did it, but these are pretty much the same test cases. I think it is better to parameterize these tests using patrick.
I created an issue for that #35844.

Are there any plans for merging? (I am just worried this has been forgotten)

Thanks for merging!


Error when installing

Can anyone help me install the library, I'm having problems ?
$: npm i @steveyuowo/vue-hot-toast --save
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "link:": link:..

@leocastroz Sorry for the late reply
https://github.com/SteveYuOWO/vue-hot-toast/commit/969cbe626ceb20d516622a69ee551d72959972b4#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L29
This bug was fixed in v1.2.0

👋 Thanks @SteveYuOWO , I'll test it soon.


Add document for Oracle's keyset generation

The current implementation is just for proof of concept. Need to consider how to manager oracle's key securely as it can be used to settle any transactions.


There is no tooltip

Everything works fine except when i call _systemTray.setSystemTrayInfo(title: "Test info 1"); there is no tooltip at all.
Maybe that is related to my OS, I am using Win 11.
Not sure if that can help but in other package it is woriking.

Oh, sorry. I messed up with title and tooltip a bit. Closing the issue.


Add beacon state call to get beacon metadata

Add beacon state call to get beacon metadata

Closing issue for being aggregated in PR #21


Support for regenerate commit messsage

Re-generation of the commit message requires declining and re-running the tool.
An extra cli flag can be added along with yes/no.
Proposed output:
Would you like to use this commit message? (Y / n / r)

Thanks a lot for your great work.

Wonderful idea! It could streamline the procedure and lead to time savings. I would be interested in submitting a PR for that.

It can be even combined with another proposal I saw in issues. There can be another flag to edit the commit message. so the final prompt may look like
Would you like to use this commit message? (Y(yes) / n(no) / r(retry)/ e(edit))

Agreed that this would be great! It's a duplicate of #24 where we're tracking it so closing this one for now.