Report a problem link is buried when there are hundreds of responses

Issue / opportunity
Consider bringing the "report a problem" link up on the screen

Screenshots

Issue no longer persists now that we have "pages" for every 150 responses


RESTEASY-1185 - Missing warning 2nd registration of the class provider

The user warning when the 2nd registration of the class provider is attempted.
This is documented as user should get warning in the javax.ws.rs.core.Configurable interface.
The 2nd registration of the instance provider gives the warning.

This change is a one liner. Ready to merge.


merge package template from arlac77/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template

Coverage remained the same at 15.294% when pulling e2b9fbe0c3b5c381224f992a2b694e1d4bc719e9 on template-sync-1 into d144e73964e0640a0478d40a630000ab2e52affc on master.

Coverage remained the same at 15.294% when pulling e2b9fbe0c3b5c381224f992a2b694e1d4bc719e9 on template-sync-1 into d144e73964e0640a0478d40a630000ab2e52affc on master.


New Command Remove-DbaDbLogshipping

Type of Change

[ ] Bug fix (non-breaking change, fixes # )
[X] New feature (non-breaking change, adds functionality, fixes #6517 )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[X] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[X] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Up to now it was not possible to remove any log shipping. This is now enclosed in a command
Approach
The command executes several stored procedures on both the primary and secondary which normally have to be done manually or though the GUI.
Commands to test
Remove-DbaDbLoghipping
Screenshots

Learning

Will add in next release coming shortly 👍🏼


Brave Browser hides keyboard after one character entered

When I go to type in the address bar, as soon as I return to the circle after choosing a letter, the search results show up and the keyboard disappears. I can continue to type a whole word on the now invisible keyboard, but I can only type one word and that's it.

@sslater11 , I did not find any such issue with the latest Brave Browser (Brave 1.16.76, Chromium 86.0.4240.198)
What version of Brave Browser are you using?

Yeah, that's the version I'm using. It's not a constant problem. Sometimes the keyboard stays open, so not really sure what's making it disappear.

Hmmm on testing, if I force close it, it seems to let me use the keyboard, but if i do a search, then another search, the second time it closes the keyboard. I also have lots of tabs open in it.

Can you confirm that this does not happen with other keyboards? Could be a brave bug too
If it is a bug in 8vim it would likely happen in different applications too I think

I can confirm it's an 8vim only bug.
Tested with AnySoftKeyboard, Compass Keyboard, Jbak2, Multiling O, and OpenBoard. I have no issues with any of those keyboards.
At lease for now we have a temporary solution, which is to just to force quit brave and then open it again.

I can't reproduce the issue.
I've installed the latest Brave version 1.17.72 and 8vim works just fine on my end.

@sslater11 I am not able to reproduce this bug. Can you post a gif/video of this happening?

Funnily enough I can't reproduce this either! I guess give me a week and I'll pay attention to whether it pops up again and I'll see, and if it doesn't then I guess close this.


add agent for DataCite Profiles

This will pull in works with DOIs from these ORCID records.

Will do this as push agent in profiles.


Implement into Real Time

Hi, currently i wanted to implement this into a real time using webcam. May i know is it possible? and how?

Are there any updates on this?

Hi, currently i wanted to implement this into a real time using webcam. May i know is it possible? and how?

I also want to know how

Of course it is possible, movenet is a light network, it runs fast, all you need to do is to finish webcam part code and run movenet to infer.


Works on browser not on android device

I am working on mobile app using Ionic 3 framework and aspnet core as server.
SignalR works fine when runs in browser, but when it runs on native android device it crush with white screen. I inspected app with chrome://inspect and got errors:

Is this due the CORS policy setup?

Logs on browser:

The fact that it's working in the browser but not on a device does indicate a CORS or other browser policy difference though. I don't believe we have plans to officially support the SignalR JavaScript client outside of NodeJS and standard browsers right now, so there definitely could be issues in other environments.
It's difficult to diagnose just from those errors unfortunately. Are you able to isolate your vendored scripts and determine that SignalR is the one causing that syntax error?

It's definitly by SignalR. I commented a code where is implentation of SignalR and app worked well.
` this._hubConnection = new HubConnection('http://<IP_ADDRESS>:50225/carHub');
this._hubConnection.start()
  .then(() => {
    console.log('Hub connection started')
  })
  .catch(err => {
    console.log('Error while establishing connection')
  });
this._hubConnection.on('SendClick', (vehicle:any) => {
 var click =  {"vehicleID": vehicle.vehicleID, "ipAddress": vehicle.ipAddress};
 this.clickInfoList.unshift(click);
});`

And then uncommented it once again and run in browser. Android version is without signalR and in browser version is included. I send message to hub in controller.
So, when i click on some vehicle a information about vehicle id and ip Addres of device is added in page that runs in browser.
It is possible to change something about CORS  like this https://stackoverflow.com/questions/30828558/signalr-working-in-browser-not-in-app

How are you importing the SignalR script into your WebPack configuration? The default SignalR script requires ECMAScript 6 support, which may be why you're getting a syntax error (because perhaps the native Android environment doesn't support ES6). There is an ECMAScript 5 version in the package as well, which may work in your environment.

import { HubConnection } from<EMAIL_ADDRESS>instead import { HubConnection } from '@aspnet/signalr-client' fixed the issue.
Thank you verry much, you made my day :)


chore!: Remove 1.x.x and 2.x.x deprecated properties

Summary
Related Issues or PRs
closes: https://github.com/trussworks/react-uswds/issues/1946
How To Test
The following components that used to have deprecated props do not issue any deprecation warnings:

Accordion
Alert
Button
CollectionHeading
Footer/Address
Footer/Footer
Footer/FooterNav
Footer/Logo
Search
Fieldset
TextInput
header/NavList
StepIndicator

The storybook components that previously relied on default heading levels render:

Accordion
Alert
CollectionHeading
StepIndicator

Screenshots (optional)

Jest: "global" coverage threshold for branches (87%) not met: 86.99%

😅


Import() creates non-deterministic images

Description
Import() creates non-deterministic images.
Blocker for:

https://github.com/containerd/nerdctl/pull/582

Steps to reproduce the issue
$ docker save ubuntu:21.10 -o ubuntu-21.10.tar

$ sudo ctr images import ubuntu-21.10.tar
unpacking docker.io/library/ubuntu:21.10 (sha256:1f9c791838f4137d059dfca394869dda9b77ee48edd82aeff252316a03999b6f)...done

$ sudo ctr images import ubuntu-21.10.tar
unpacking docker.io/library/ubuntu:21.10 (sha256:7cbda92a9f2d5f7be14314e742ce808a435c41f6cd35774b6510c2b890df4d1d)...done

$ sudo ctr images import ubuntu-21.10.tar
unpacking docker.io/library/ubuntu:21.10 (sha256:7cbda92a9f2d5f7be14314e742ce808a435c41f6cd35774b6510c2b890df4d1d)...done

The digest changes in the second iteration.
Describe the results you received and expected
Received: non-reproducible digests
Expected: reproducible digests
What version of containerd are you using?
containerd github.com/containerd/containerd v1.6.0-beta.3 1a88cf5242445657258e0c744def5017d7cfb492
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response

This media type assumption is wrong; happens on second import when the blob is already in the store. This generates a slightly different manifest the second time which has the gzip layer media type rather than the non-gzip variant of the media type, which of course generates a new hash for the image.


[SPARK-42445][R] Fix SparkR install.spark function

What changes were proposed in this pull request?
This PR fixes SparkR install.spark method.
$ curl -LO https://dist.apache.org/repos/dist/dev/spark/v3.3.2-rc1-bin/SparkR_3.3.2.tar.gz
$ R CMD INSTALL SparkR_3.3.2.tar.gz
$ R

R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(SparkR)

Attaching package: ‘SparkR’

The following objects are masked from ‘package:stats’:

    cov, filter, lag, na.omit, predict, sd, var, window

The following objects are masked from ‘package:base’:

    as.data.frame, colnames, colnames<-, drop, endsWith, intersect,
    rank, rbind, sample, startsWith, subset, summary, transform, union

> install.spark()
Spark not found in the cache directory. Installation will start.
MirrorUrl not provided.
Looking for preferred site from apache website...
Preferred mirror site found: https://dlcdn.apache.org/spark
Downloading spark-3.3.2 for Hadoop 2.7 from:
- https://dlcdn.apache.org/spark/spark-3.3.2/spark-3.3.2-bin-hadoop2.7.tgz
trying URL 'https://dlcdn.apache.org/spark/spark-3.3.2/spark-3.3.2-bin-hadoop2.7.tgz'
simpleWarning in download.file(remotePath, localPath): downloaded length 0 != reported length 196

> install.spark(hadoopVersion="3")
Spark not found in the cache directory. Installation will start.
MirrorUrl not provided.
Looking for preferred site from apache website...
Preferred mirror site found: https://dlcdn.apache.org/spark
Downloading spark-3.3.2 for Hadoop 3 from:
- https://dlcdn.apache.org/spark/spark-3.3.2/spark-3.3.2-bin-3.tgz
trying URL 'https://dlcdn.apache.org/spark/spark-3.3.2/spark-3.3.2-bin-3.tgz'
simpleWarning in download.file(remotePath, localPath): downloaded length 0 != reported length 196

Note that this is a regression at Spark 3.3.0 and not a blocker for on-going Spark 3.3.2 RC vote.
Why are the changes needed?
https://spark.apache.org/docs/latest/api/R/reference/install.spark.html#ref-usage

First, the existing Spark 2.0.0 link is broken.

https://spark.apache.org/docs/latest/api/R/reference/install.spark.html#details
http://apache.osuosl.org/spark/spark-2.0.0/spark-2.0.0-bin-hadoop2.7.tgz (Broken)

Second, Spark 3.3.0 changed the Hadoop postfix pattern from the distribution files so that the function raises errors as described before.

http://archive.apache.org/dist/spark/spark-3.2.3/spark-3.2.3-bin-hadoop2.7.tgz (Old Pattern)
http://archive.apache.org/dist/spark/spark-3.3.0/spark-3.3.0-bin-hadoop2.tgz (New Pattern)

Does this PR introduce any user-facing change?
No, this fixes a bug like Spark 3.2.3 and older versions.
How was this patch tested?
Pass the CI and manual testing. Please note that the link pattern is correct although it fails because 3.5.0 is not published yet.
$ NO_MANUAL=1 ./dev/make-distribution.sh --r
$ R CMD INSTALL R/SparkR_3.5.0-SNAPSHOT.tar.gz
$ R
> library(SparkR)
> install.spark()
Spark not found in the cache directory. Installation will start.
MirrorUrl not provided.
Looking for preferred site from apache website...
Preferred mirror site found: https://dlcdn.apache.org/spark
Downloading spark-3.5.0 for Hadoop 3 from:
- https://dlcdn.apache.org/spark/spark-3.5.0/spark-3.5.0-bin-hadoop3.tgz
trying URL 'https://dlcdn.apache.org/spark/spark-3.5.0/spark-3.5.0-bin-hadoop3.tgz'
simpleWarning in download.file(remotePath, localPath): downloaded length 0 != reported length 196

No, it was broken since Spark 3.3.0.

cc @HyukjinKwon and @viirya Note that I don't think this is a blocker for 3.3.2 RC1 vote.

Hmm, I think you will back port it to branch-3.3? But we don't need to cut RC2 for it? Do you mean that?

Yes, I'll land this after your release, @viirya .

Thank you, @viirya . Let me open this until Tomorrow. :)

Also, cc @xinrong-meng

Thank you, @viirya and @HyukjinKwon .
For the record, Apache Spark 3.3.2 RC1 vote passed. This patch will be delivered via Spark 3.3.3.

https://lists.apache.org/thread/krnpf0tv1jdxy6dlssho1cn7ckfjwk2m


Fix Core #85910

This should fix https://github.com/home-assistant/core/issues/85910

Replaced by 264


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/1025 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit de3f48f:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-source' (branch: Release_Archive_main_2022-02-08-05-31-18) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add sonic blaster remix by F-777

Song Name
sonic blaster remix
Artist Name
F-777
Source
Youtube
Youtube Link
Wb61pz4EA8Y3x3wQ
Direct File Link
No response
Song ID
574484
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 20705695

reject. The link does not work correctly due to an Auto Nong bug. To prevent this, I suggest testing the song in-game before sending it here.


⚠ Samsung has degraded performance

In 9c29209, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3201 ms

Resolved: Samsung performance has improved in 37629f6.


Formatter issue

This issue was originally filed by @mezoni

There is no reason to put (move down) a very long strint to the next line if this string also does not fits into next line.
BAD: String does not fit but moved down (looks worse).
 // =============================================================limit
 print(
    'very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_string');
GOOD: String does not fit and not moved down (looks better).
 // =============================================================limit
 print('very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_string');
P.S.
How did you get a salary?
Really for the improvement of the formatter are nothing underpaid?
The formatter very much  is not suitable for use.

This issue has been moved to dart-lang/dart_style#269.


Replace JSX with Jason

This PR replaces JSX with Jason and includes:

replacing JSX with Jason in the Tentacat module
implementing the Jason.Encoder protocol for Tuple (currently in Tentacat as that's where it is used - I'm not sure if it should be somewhere else?).
updating some fixtures for the Gists tests (using the payload examples from the Gtihub API docs) and updated some test values in the relevant tests
running the formatter and updating the README and Getting Started guide to reflect the changes

Closes #185.

Coverage increased (+0.02%) to 92.26% when pulling 31ac0106d827148208336d5a3cedba10d6a28fcd on niklaslong:jason_migration into b7d040713c729fdc0467bddc1bd197a5ee0054dd on edgurgel:master.

This is awesome ! I will need to bump 2.0.0 as this will change the behaviour of deserialisation options. We should get a new version soon! Cheers!


feat!: add postcss-hover-media-feature plugin

Description

How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.

Regression testing
Validate:

A legacy documentation page (such as accordion), including:

[ ] The page renders correctly
[ ] The page is accessible
[ ] The page is responsive

A migrated documentation page (such as action group), including:

[ ] The page renders correctly
[ ] The page is accessible
[ ] The page is responsive

Screenshots

To-do list

[ ] I have read the contribution guidelines.

[ ] I have updated relevant storybook stories and templates.

[ ] I have tested these changes in Windows High Contrast mode.

[ ] If my change impacts other components, I have tested to make sure they don't break.

[ ] If my change impacts documentation, I have updated the documentation accordingly.

[ ] ✨ This pull request is ready to merge. ✨

We'll be coordinating with SWC on when this should go in. Tracking that conversation here: https://adobedesign.slack.com/archives/CS22GNRU2/p1692889939067089

Closing in favor of #2467


Add ability to handle multiple files

It's quite confusing (https://github.com/Dakuan/gulp-jest/issues/14 for example) that this plugin cannot handle gulp.src which outputs list of files and not a directory.
I've added a very simple way to handle multiple files by using jest regex patch matching.

Fixed to used Jest 15.0.0


Toggle WiFi and 3G in Status menu

FEATURE REQUEST
Click on WiFi or 3G status line in Status menu should toggle WiFi or 3G on/off
DETAILS
Users would like to toggle WiFi on/off and 3G on/off directly from the Status menu. Currently, they can only see the current WiFi or 3G status but then need to go via Homscreen 3 > Settings > Android Settings > WiFi > Toogle On, which is much too cumbersome.
LIKELY MODULE
status/StatusApp.java

Comment : Instead of change WiFi & Mobile Data status (ON/OFF) from Settings, now user can change network status inside app only. Change WiFi status is working fine on all android API versions (Android 2.x to 5.x) but on Android Lollipop (5.x) user can't change Mobile Data status programmatically, there are security restrictions.
Please check below links for details.

Link 1
[Link 2] (http://stackoverflow.com/questions/26539445/the-setmobiledataenabled-method-is-no-longer-callable-as-of-android-l-and-later)


[Text Shortcuts] ...

Extension
https://www.raycast.com/koinzhang/text-shortcuts
Description
I need a function of text reverse order, I can't find how to implement it
Who will benefit from this feature?
No response
Anything else?
No response

This feature is not available at the moment.
What does text reverse order mean?
Is it reverse order by line or by letter?

For example, a string of characters "string," converted to "gnirts."
Hope you can add this function in the future, thank you.

在 2023年11月13日，10:24，koin @.***> 写道：
This feature is not available at the moment.
What does text reverse order mean?
Is it reverse order by line or by letter?


(PUP-7153) truncate extremely long messages for windows

This works, and so do the tests now!

CLA signed by all contributors.

Confirmed that prior to this PR a message that exceeds the character limit errors. After applying this patch, the message is truncated to the maximum length with a warning:


[Removal]:

Hotspot Name
Thankful Pickle Liger
Hotspot b58 Address
112ZUWjiGQKgrnUdEfGrUWCUaSfjSYh1tmgFBggu2jxKdkEgjFBG
Discord Handle
No response
Hotspot Manufacturer
Sensecap
Removal Reason
Hello, it's a real deploy. Could you please remove it from denylist? Thank you in advance. Regards
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
No response

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Compilation errors with recent nightly

There is various errors against stable:
error[E0432]: unresolved import `std::iter::range_inclusive`
 --> decoder.rs:3:5
  |
3 | use std::iter::range_inclusive;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_inclusive` in `iter`

error[E0432]: unresolved import `std::num::wrapping`
 --> decoder.rs:5:15
  |
5 | use std::num::wrapping::OverflowingOps;
  |               ^^^^^^^^ Could not find `wrapping` in `num`

error[E0433]: failed to resolve. Could not find `Error` in `byteorder`
   --> lib.rs:149:24
    |
149 |             byteorder::Error::UnexpectedEOF => Error::UnexpectedEof,
    |                        ^^^^^ Could not find `Error` in `byteorder`

error[E0433]: failed to resolve. Could not find `Error` in `byteorder`
   --> lib.rs:150:24
    |
150 |             byteorder::Error::Io(error) => Error::Io(error),
    |                        ^^^^^ Could not find `Error` in `byteorder`

error[E0412]: cannot find type `Error` in module `byteorder`
   --> lib.rs:146:22
    |
146 | impl From<byteorder::Error> for Error {
    |                      ^^^^^ not found in `byteorder`
    |
help: possible candidates are found in other modules, you can import them into scope
    |
68  | use Error;
    |
68  | use std::error::Error;
    |
68  | use std::fmt::Error;
    |
68  | use std::io::Error;
    |

error[E0412]: cannot find type `Error` in module `byteorder`
   --> lib.rs:147:31
    |
147 |     fn from(error: byteorder::Error) -> Error {
    |                               ^^^^^ not found in `byteorder`
    |
help: possible candidates are found in other modules, you can import them into scope
    |
68  | use Error;
    |
68  | use std::error::Error;
    |
68  | use std::fmt::Error;
    |
68  | use std::io::Error;
    |

warning: unused import: `std::num::wrapping::OverflowingOps`
 --> decoder.rs:5:5
  |
5 | use std::num::wrapping::OverflowingOps;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: #[warn(unused_imports)] on by default

error[E0599]: no method named `unwrap_or` found for type `&mut str` in the current scope
   --> encoder.rs:364:41
    |
364 |         let n = v.encode_utf8(&mut buf).unwrap_or(0);
    |                                         ^^^^^^^^^

error: aborting due to 7 previous errors

error: Could not compile `bytekey`.
warning: build failed, waiting for other jobs to finish...
error: build failed

std::iter::range_inclusive is gone. But what's the point of using that, why not do for i in a..(n+1) instead?

Personal backlog clean-up.


Only depend on required d3 packages

There are now different packages for D3 (d3-selection, d3-ease, etc..). I think it would be nice if we depend on those packages instead of the full d3 package.
Thanks

These modules are for the new D3 version 4 and aren't officially released yet, but does seem like a good idea.

I would agree. The modules are released on their own, independently from the top-level D3 package (e.g. see d3-selection releases), but D3 4.0 is not released yet. I think it's a pretty safe bet to migrate to the new packages.
I opened a similar issue for Scrollgrid https://github.com/PMSI-AlignAlytics/scrollgrid/issues/7


Wrap all methods of box2d's body to our PhysicalEntity

Add as many as you can methods. Please do not use box2d's types in our PhysicalEntity API

done


Trivy import closing wrong findings

Bug description
I have a Trivy Scan with 75 findings and a second scan with 74 total findings as one vulnerability was fixed.
When re-uploading a new scan with the 74 findings (subsequent scan) and "Close Old Findings" set to true there are numerous vulnerabilities set to "Inactive, Mitigated" that should not be. There is only 1 vulnerability fixed.
A diff -u of the files confirms this from a schema perspective. There is one vulnerability remediated.
Am I missing something fundamental here?
Steps to reproduce
Steps to reproduce the behavior:

Import trivy_scan-tf.json (produces 75 findings as expected)
Reupload the scan with trivy_scan-tf-remediated.json with "Close Old Findings" set to true (should set relevant finding to "Inactive, Mitigated")
Approximately 8 findings will be set to "Inactive, Mitigated" which is not expected behavior.

Expected behavior
Only the relevant finding is set to "Inactive, Mitigated"
Deployment method (select with an X)

[X] Docker Compose

Environment information

MacOs
DefectDojo version: 2.30

Sample scan files
These files were generated with trivy config <dir> against a Git repo.
trivy_scan-tf-remediated.json
trivy_scan-tf.json

@manuel-sommer hoping you may have some insight here :)

@FuzzyGophers see PR

Take also a look at this if you use this fix. It might help if you run into inconsitencies https://defectdojo.github.io/django-DefectDojo/usage/features/#hashcode-generation--regeneration

@FuzzyGophers see PR

Thank you, @manuel-sommer!
I have tested your fix here locally and it works as expected :)

This can be closed @mtesauro

Thank you @manuel-sommer & @mtesauro ! It is finally working!
Maybe the following examples can help a few people not wasting all to much time like me with not working implementation-approaches:
How i've setup my workflow:

scan your entity (git repo inside git project)
create DD Project (named like the git project)
create DD Engagement (name like the git repo)
import the scanresults via the reimport api
(The curl command handles Step 2-4)
curl -X POST https://<DD-Instance>/api/v2/reimport-scan/ -H 'accept: application/json' -H 'Content-Type: multipart/form-data' -H 'Authorization: Token <api-token>' -F 'minimum_severity=Low' -F 'scan_date=2024-02-06' -F 'scan_type=Trivy Scan' -F 'product_type_name=application' -F 'engagement_name=<git-repo-name>' -F 'product_name=<git-project-name>' -F 'auto_create_context=true' -F 'deduplication_on_engagement=true' -F 'close_old_findings=true' -F 'close_old_findings_product_scope=false' -F 'tags=["<tags-you-like>"]' -F 'push_to_jira=false' -F 'version=2024-02-02-17-16' -F 'service=<git-project-name>' -F 'group_by=component_name' -F 'file=@<your-scan-resultfile.json>;type=application/json'

Have a great day


spike: handling protocol mismatch between nodes

Description:
Problem
During testing of the latest release, a critical bug was discovered that caused the worker node to crash due to a panic. The panic occurs when there is an interface conversion error, specifically when an interface of type []workers.CID is being incorrectly converted to []interface{}.
panic: interface conversion: interface {} is []workers.CID, not []interface {}

goroutine 156 [running]:
github.com/masa-finance/masa-oracle/pkg/workers.updateRecords(0x140013c65b0, {{0x1400596e440, 0x3b}, {0x1400596e340, 0x35}, {0x14003a7eb00, 0x2aa, 0x2c0}, 0x3fce4db48909289e, {0xc192e90543693ec8, ...}})
        /Users/brendanplayford/masa-oracle/pkg/workers/workers.go:227 +0x574
github.com/masa-finance/masa-oracle/pkg/workers.MonitorWorkers({0x10220acc0, 0x14000146dc0}, 0x140013c65b0)
        /Users/brendanplayford/masa-oracle/pkg/workers/workers.go:449 +0x854
created by main.main in goroutine 1
        /Users/brendanplayford/masa-oracle/cmd/masa-node/main.go:97 +0x778

Further investigation revealed that this issue arises when older nodes (version 5 or lower) are still running, as there have been breaking changes in the worker code. To resolve this issue and prevent the bug from occurring, we need to explore mechanisms to force the upgrading of all nodes to version 6 or higher.
Currently, attempts to reach out to node operators through Discord and other platforms have been made, but a more robust solution is required at the protocol level to ensure that all nodes are running the compatible version.
Timebox:
This spike ticket should be time-boxed to 1 day

@jdutchak @Luka-Loncar I simplified the description to be a little more open ended for engineers (aka @jdutchak )

@restevens402 are you working on this card?

@restevens402 needs PR

@restevens402 still seeing this crop up on test today
ERRO[2441] Failed to open stream to 16Uiu2HAmMTA3pJRQLzic39A3KEZNBNymsPYZE2xCVBBKbvC9ph3f: failed to dial: failed to dial 16Uiu2HAmMTA3pJRQLzic39A3KEZNBNymsPYZE2xCVBBKbvC9ph3f: all dials failed
  * [/ip4/<IP_ADDRESS>/udp/4001/quic-v1] dial to self attempted
  * [/ip4/<IP_ADDRESS>/udp/4001/quic-v1] dial backoff
  * [/ip4/<IP_ADDRESS>/udp/14612/quic-v1] dial backoff
  * [/ip4/<IP_ADDRESS>/udp/37191/quic-v1] dial backoff
  * [/ip4/<IP_ADDRESS>/udp/42432/quic-v1] dial backoff
  * [/ip4/<IP_ADDRESS>/udp/4001/quic-v1] context deadline exceeded
  * [/ip4/<IP_ADDRESS>/udp/51827/quic-v1] timeout: no recent network activity
panic: interface conversion: interface {} is []workers.CID, not []interface {}

goroutine 863 [running]:
github.com/masa-finance/masa-oracle/pkg/workers.updateRecords(0x140012927e0, {{0x14005d7f580, 0x3b}, {0x14005d7f4c0, 0x35}, {0x1400190f500, 0x2e2, 0x300}, 0x3fd191878d8eaf97, 0x6682fe84})
        /Users/brendanplayford/masa-oracle/pkg/workers/workers.go:229 +0x564
github.com/masa-finance/masa-oracle/pkg/workers.MonitorWorkers({0x103dc2d50, 0x140005549b0}, 0x140012927e0)
        /Users/brendanplayford/masa-oracle/pkg/workers/workers.go:451 +0x81c
created by main.main in goroutine 1
        /Users/brendanplayford/masa-oracle/cmd/masa-node/main.go:100 +0x778
make: *** [run] Error 2

@teslashibe I have added code in the PR to fail on startup if you are on an old version. It's a simple update. It should prevent old nodes from participating on the active network. They could still be connected to old nodes that are also running old versions, but once they restart, they will have to upgrade to join back in.

@jdutchak small reminder about review here


perf: set build.write: false during scan

#445  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on  Graphite


update questionnaires description field and fixes content migration

fixes #639

add fields (heading, paragraph, image, list, numbered list, page) to the questionnaires description field
fixes content migration for the survey description field
refactor article and survey body mapping
pass through again to fix page links for articles, surveys, and banners

@geoo89
updated migrations so before pull run python manage.py migrate questionnaires 0019 and then pull


Fix type in pnpm command [EN]

What kind of changes does this PR include?
Replace npm with pnpm in https://github.com/withastro/docs/blob/main/src/pages/en/guides/publish-to-npm.md.

[x] Minor content fixes (broken links, typos, etc.)
[ ] New or updated content
[ ] Translated content
[ ] Changes to the docs site code
[ ] Something else!

Description
The PR fixes a type where npm is used instead of pnpm in one command.

Thanks for becoming a contributor the Astro Docs @JustinyAhin 💜


Error package.json since update to "mui-tel-input": "^3.2.1"

Since I've update to "mui-tel-input": "^3.2.1" from "mui-tel-input": "^3.0.2",
I've got the following error
Module not found: Error: Package path . is not exported from package /xx/node_modules/mui-tel-input (see exports field in /xx/node_modules/mui-tel-input/package.json)
My import is like that : import { MuiTelInput } from "mui-tel-input";
I have tried removing the package and install it again, deleting my node_modules folder and yarn install
Do you have any idea where it can come from ? My IDE doesn't raise errors only when I run yarn encore dev --watch
Hope you can help me,
Have a great day

My import looks like that in the IDE
export const MuiTelInput: React.ForwardRefExoticComponent<Omit<MuiTelInputProps, "ref"> & React.RefAttributes<HTMLDivElement>>

Ok I've just seen #82
on my version the latest via yarn add mui-tel-input
the package.json is still :
"exports": {     ".": {       "import": "./dist/mui-tel-input.es.js",       "types": "./dist/index.d.ts"     }   },

Let me release sorry @GuillaumeRoussin

Is the release working on your side ?
I've got this : Module not found: Error: Default condition should be last one

let me check

With 3.2.2, it's working on my side

I'm using it in a tsx file
I've deleted again the node_modules folder and yarn install everything just in case but I still got this error
I will try to figured out what's happening I keep you in touch

@viclafouch this is working for me with react in tsx and building with yarn
"exports": {
"./dist/mui-tel-input.es.js": {
"import": "./dist/mui-tel-input.es.js",
"default": "./dist/mui-tel-input.es.js",
"types": "./dist/index.d.ts"
},
".": "./dist/mui-tel-input.es.js"
},
You were using Vite ? Can you try this way ?  Should I make a pull request ?
Thanks for your time

Please give a repo or a codesandbox, I tried with a simple CRA..

I'm working with Symfony I will make a repo tomorrow


Fix issue when files/directory doesn't exist

I have got this problem right after version became 1.8.3.

https://github.com/tracker1/gulp-header/pull/38


Doc20240525

Metanorma PR checklist

[ ] Breaking changes (list related PRs)
[ ] Documentation update required (create task for this)
[ ] External dependency introduced (documentation update need)
[ ] Gem with native library introduced

@ronaldtse I cannot get the table of contents of the new Collections pages to expand out in the right sidebar when I click them. Please advise how to make that happen.


Add Decimal Type support for Between and Equality scalar functions

BETWEEN SCALAR Function
VectorFunction registration provides means to specify a Decimal Type signature.
Example: the DecimalArithemtic::Add has
exec::FunctionSignatureBuilder()
    .returnType("DECIMAL(r_precision, r_scale)")
    .argumentType("DECIMAL(a_precision, a_scale)")
    .argumentType("DECIMAL(b_precision, b_scale)")
    .variableConstraint(
        "r_precision",
        "min(38, max(a_precision - a_scale, b_precision - b_scale) + max(a_scale, b_scale) + 1)")
    .variableConstraint("r_scale", "max(a_scale, b_scale)")

However, scalar functions are registered using the CPP types and do not provide an
API to specify a signature. The function signature is automatically deduced using TypeAnalysis
in the registration code. Decimal types cannot be inferred from the CPP type alone due to
missing precision and scale values.
In this PR, we introduce a way to declare SCALAR functions for one or more decimal type inputs with same precision and scale. To achieve this, we inject default signatures SHORT_DECIMAL(a_precision,a_scale),
LONG_DECIMAL(a_precision,a_scale)  for all decimal types in the TypeAnalysis phase.
Here a_precision and a_scale represent precision and scale. These keywords will be same for all decimal input types indicating that they must evaluate to same values at the time of Signature Binding. Any rescaling must be done explicitly using the decimal cast function.
The Between function has been extended with this approach.
Note that a default DECIMAL(a_precision,a_scale) signature cannot be used here since the signature binder
needs to pick the right scalar function version (UnscaledShortDecimal vs UnscaledLongDecimal).
EQUALITY
The equality function is already implemented as a Generic function, which also supports DECIMALs.
Added some unit tests for equality on decimal type.

Not able to reproduce the test failure on the docker image:
[ RUN      ] ComparisonsTest.betweenDecimal
../../velox/functions/prestosql/tests/ComparisonsTest.cpp:302: Failure
Expected equality of these values:
  actual->valueAt(i)
    Which is: true
  expectedResult[i]
    Which is: 0
[  FAILED  ] ComparisonsTest.betweenDecimal (0 ms)
[----------] 9 tests from ComparisonsTest (1 ms total)

Running main() from ../../third_party/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = CastExprTest.decimalToDecimal
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from CastExprTest
[ RUN      ] CastExprTest.decimalToDecimal
WARNING: Logging before InitGoogleLogging() is written to STDERR
E0816 19:50:40.830755  2083 Exceptions.h:68] Line: ../.././velox/type/DecimalUtil.h:65, Function:rescaleWithRoundUp, Expression: Cannot cast DECIMAL '-1000.000' to DECIMAL(6,4), Source: RUNTIME, ErrorCode: INVALID_STATE
[       OK ] CastExprTest.decimalToDecimal (1 ms)
[----------] 1 test from CastExprTest (1 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (5 ms total)
[  PASSED  ] 1 test.

@karteekmurthys also update the documentation for scalar-function registration with the decimal type semantics in the description.
https://facebookincubator.github.io/velox/develop/scalar-functions.html#registration

@kagamiori just following up on this. Lmk if you need any help.

@kagamiori just following up on this. Lmk if you need any help.

Hi Karteek, Thank you for reaching out. There are some internal test failures after importing this PR. I'm investigating those issues and will let you know if something needs to be changed here.

Hi @karteekmurthys, I've looked into the internal test failure and here is what's going on.
A custom code retrieves all the registered Presto scalar functions, including the "between" function for Decimal introduced in this PR, and performs the following operations on each function signature.
for (const auto& arg : functionSignature->argumentTypes()) {
  // SignatureBinder::tryResolveType(arg, {}) converts a TypeSignature of "short_decimal(a_precision, a_scale)" into a TypePtr of ScalarType<TypeKind::SHORT_DECIMAL>.
  if (auto resolvedType =
          velox::exec::SignatureBinder::tryResolveType(arg, {})) {
    args.emplace_back(resolvedType);
  } else {
    resolved = false;
    break;
  }
}
...
if (resolved) {
  // FunctionRegistry::resolveFunction(fnName, args) calls SignatureBinder::tryBind(formalArgs[i], args[i]) to bind every pair of argument TypeSignature and TypePtr. SignatureBinder::tryBind() calls getDecimalPrecisionScale() on the TypePtr args[i]. getDecimalPrecisionScale() assumes the input type is a DecimalType<TypeKind::SHORT_DECIMAL> and does the casting type.asShortDecimal(). However, the TypePtr got from the code above is ScalarType<TypeKind::SHORT_DECIMAL>, so a bad dynamic_cast happens.
  auto fn = velox::exec::SimpleFunctions().resolveFunction(fnName, args)...
}

We think SignatureBinder::tryResolveType() should return a nullptr for "short_decimal(a_precision, a_scale)" unless a_precision and a_scale has been provided. I'm wondering if you're willing to make this fix?

/ SignatureBinder::tryResolveType(arg, {}) converts a TypeSignature of "short_decimal(
// a_precision, a_scale)" into a TypePtr of ScalarTypeTypeKind::SHORT_DECIMAL.

This is correct because DecimalType is a ScalarType (inherits). See: https://github.com/facebookincubator/velox/blob/main/velox/type/Type.h#L621
Here, creating a ScalarTypeTypekind::SHORT_DECIMAL and dynamic_cast to DecimalType, it works:
std::shared_ptr<ScalarType<TypeKind::SHORT_DECIMAL>> ret = std::make_shared<ShortDecimalType>(10, 5);
    auto& decimalType = ret->asShortDecimal();

In the above snapshot, decimalType is a valid object.
Lmk if I missed any step to reproduce the issue you mentioned.

for (const auto& arg : functionSignature->argumentTypes()) {
// SignatureBinder::tryResolveType(arg, {}) converts a TypeSignature of "short_decimal(
// a_precision, a_scale)" into a TypePtr of ScalarTypeTypeKind::SHORT_DECIMAL.
if (auto resolvedType =
velox::exec::SignatureBinder::tryResolveType(arg, {})) {
args.emplace_back(resolvedType);
} else {
resolved = false;
break;
}
}
...
if (resolved) {
// FunctionRegistry::resolveFunction(fnName, args) calls SignatureBinder::tryBind(
// formalArgs[i], args[i]) to bind every pair of argument TypeSignature and TypePtr.
// SignatureBinder::tryBind() calls getDecimalPrecisionScale() on the TypePtr args[i].
// getDecimalPrecisionScale() assumes the input type is a
// DecimalTypeTypeKind::SHORT_DECIMAL and does the casting type.asShortDecimal().
// However, the TypePtr got from the code above is ScalarTypeTypeKind::SHORT_DECIMAL,
// so a bad dynamic_cast happens.
auto fn = velox::exec::SimpleFunctions().resolveFunction(fnName, args)...
}

tryResolveType in above case would invoke this method to create ShortDecimalType obj and ends up being a Scalar Type.
template <TypeKind KIND>
std::shared_ptr<const Type> createType(
    std::vector<std::shared_ptr<const Type>>&& children) {
  if (children.size() != 0) {
    throw std::invalid_argument{
        std::string(TypeTraits<KIND>::name) +
        " primitive type takes no children"};
  }
  static_assert(TypeTraits<KIND>::isPrimitiveType);
  return ScalarType<KIND>::create();
}

We have 2 options:

Return nullptr (if you can confirm, it is ok in the above case if the args are not resolved).
Specialize createType template to return SHORT_DECIMAL type object with default prec, scale.

@majetideepak @mbasmanova

Return nullptr (if you can confirm, it is ok in the above case if the args are not resolved).

That should work. The method is already defined as best effort:
  // Returns concrete return type or null if couldn't fully resolve.
  static TypePtr tryResolveType(

Return nullptr (if you can confirm, it is ok in the above case if the args are not resolved).

That should work. The method is already defined as best effort:
  // Returns concrete return type or null if couldn't fully resolve.
  static TypePtr tryResolveType(

Addressed this by defaulting to null if TypeSignature has ShortDecimal or LongDecimal. Today, we don't have any functions whose return type is Short/Long decimal. For Decimal arithmetic, we use generic DECIMAL(a, b) signature format.

Hi @karteekmurthys, I believe https://github.com/facebookincubator/velox/pull/2544 has addressed that internal failure. Could you try rebasing this PR onto the latest main?

FYI, there are some internal failures (different from those before). I'm rebasing the diff internally in case they were caused by version control.

Hi @karteekmurthys, I rebased the diff onto the latest code and I'm seeing an error of velox_functions_test with the following stack trace:
Line: velox/type/Type.cpp:101, Function:mapNameToTypeKind, Expression: Specified element is not found : A_PRECISION, Source: USER, ErrorCode: INVALID_ARGUMENT
terminate called after throwing an instance of 'velox::VeloxUserError'
  what():  Exception: VeloxUserError
Error Source: USER
Error Code: INVALID_ARGUMENT
Reason: Specified element is not found : A_PRECISION
Retriable: False
Function: mapNameToTypeKind
File: velox/type/Type.cpp
Line: 101
Stack trace:
…
velox::detail::veloxCheckFail<velox::VeloxUserError, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(velox::detail::VeloxCheckFailArgs const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
                       ./velox/common/base/Exceptions.h:74
                       -> ./velox/common/base/Exceptions.cpp

velox::mapNameToTypeKind(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
                       ./velox/type/Type.cpp:101

velox::exec::(anonymous namespace)::validateBaseTypeAndCollectTypeParams(…)
                       ./velox/expression/FunctionSignature.cpp:132

velox::exec::(anonymous namespace)::validateBaseTypeAndCollectTypeParams(…)
                       ./velox/expression/FunctionSignature.cpp:137

velox::exec::(anonymous namespace)::validate(…)
                       ./velox/expression/FunctionSignature.cpp:169

velox::exec::FunctionSignature::FunctionSignature(std::vector<velox::exec::TypeVariableConstraint, std::allocator<velox::exec::TypeVariableConstraint> >, velox::exec::TypeSignature, std::vector<velox::exec::TypeSignature, std::allocator<velox::exec::TypeSignature> >, bool)
                       ./velox/expression/FunctionSignature.cpp:205

…
velox::functions::registerComparisonFunctions()
                       ./velox/functions/prestosql/registration/ComparisonFunctionsRegistration.cpp:57

On the other hand, I see all CircleCI tests are passed. Could you double check whether this PR has been rebased onto the latest code? Thanks!

@kagamiori thanks for trying. I will rebase again and test it out.

@kagamiori Rebase is good. Are you sure you didn't miss any changes from this PR when you rebased on your end. The error that you saw happens if velox/core/SimpleFunctionMetadata.h file changes are not picked up.

@kagamiori Rebase is good. Are you sure you didn't miss any changes from this PR when you rebased on your end. The error that you saw happens if velox/core/SimpleFunctionMetadata.h file changes are not picked up.

Thanks for double checking! I did made sure all changes of this PR were included. Let me give it another try.

@kagamiori is it the same test failure?

@kagamiori is it the same test failure?

No, those are warnings for tests. There are two linter warnings about the definition of kPrecisionVariable and kScaleVariable in SimpleFunctionMetadata.h though:
Using namespace-level static in a .h file is near-always a bad idea: for simple types, static is implied; for aggregate types, static linkage means that a copy of the aggregate will appear in every compilation unit that includes the header; and for functions, static means the function will have a separate body generated in each compilation unit including the header.

Variables should not be defined in headers.
Taking the address of a non-inline header-defined variable in two or more translation units is an ODR violation.

Might it be possible to avoid these warnings?

I am inlined the global constants. Hopefully this fixes the issue.
Some references I found on this: https://stackoverflow.com/questions/50488831/use-of-constexpr-in-header-file

I am inlined the global constants. Hopefully this fixes the issue. Some references I found on this: https://stackoverflow.com/questions/50488831/use-of-constexpr-in-header-file

Yep, it worked. Landing the diff now. Thank you very much for iterating on this PR!


@vue/cli-plugin-eslint installs/uses two versions of eslint-plugin-vue

Version
3.1.1
Reproduction link
https://github.com/JaZo/vue-cli-plugin-eslint-test
Node and OS info
Node 10.13.0 / yarn 1.12.1 / Windows 10
Steps to reproduce
See package.json and yarn.lock in link to minimal reproduction or run vue create vue-cli-plugin-eslint-test, choose for lint/format and extend plugin:vue/recommended in eslint config.
What is expected?
I would expect that @vue/cli-plugin-eslint installs/uses one version for eslint-plugin-vue.
What is actually happening?
Both version 4 and version 5 of eslint-plugin-vue are installed/used. The first as dependency of @vue/cli-plugin-eslint and the second injected in package.json by the generator of @vue/cli-plugin-eslint.

Having those two different (major) versions results in conflicts between vue-cli-service serve and vue-cli-service lint.
When having the following line in a component:
<component :is="itemComponent" v-for="item in items" :key="item.id" v-bind="item" />
Running vue-cli-service serve:

error: Attribute "v-for" should go before ":is" (vue/attributes-order)

Running vue-cli-service lint --no-fix:

No lint errors found!

When I reorder :is and v-for, i.e.:
<component v-for="item in items" :is="itemComponent" :key="item.id" v-bind="item" />
Running vue-cli-service serve:

Compiled successfully

Running vue-cli-service lint --no-fix:

error: Attribute ":is" should go before "v-for" (vue/attributes-order)

N.B. This issue is not about this particular bug in the eslint rule. This is about the usage of two different versions.

Current workaround is to manually roll back to<EMAIL_ADDRESS>in package.json in the project and settle with the 'vue/attributes-order' bug.

We intentionally keep two versions of eslint in v3.1, so as to make the plugin compatible with projects generated by v3.0.x, while making eslint v5 as a default option for new users.
The problem here is that we forgot to configure eslint-loader to use a newer version of eslint.
A workaround:
module.exports = {
  chainWebpack: config =>
    config.module
      .rule('eslint')
      .use('eslint-loader')
      .tap(options =>
        Object.assign(options, { eslintPath: require.resolve('eslint') })
      )
}

@sodatea thanks for your quick answer and the workaround, works like a charm!


Changes to use Leading/Trailing instead Left/Right

Fixes https://github.com/microsoft/FigmaSharp/issues/359

guys could you review in some of your documents, to ensure we don't have regressions with this change?


allow kafka poll tuning

Previously, we used the kafka poll defaults for the number of records
to pull (500), and how long to wait to process said records (5 min).
This seems to work fine for archive processing but does not work for
deletes. Deleting 500 inventory IDs can take longer than 5 minutes in
some cases. When this happens, our kafka client times out and puts the
delete messages back on the queue for reprocessing. This can result in
a pile-up of messages since we are unsuccessfully reprocessing the
same messages over and over.
This commit exposes two options: KAFKA_MAX_POLL_INTERVAL_MS (default
5 min) and KAFKA_MAX_POLL_RECORDS (default 500). We also now log the
values for these at startup.

Codecov Report

Merging #63 into master will decrease coverage by 0.00%.
The diff coverage is 52.38%.

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   50.14%   50.13%   -0.01%
==========================================
  Files          13       13
  Lines         357      373      +16
==========================================
+ Hits          179      187       +8
- Misses        178      186       +8

Impacted Files
Coverage Δ

historical_system_profiles/archiver.py
0.00% <0.00%> (ø)

historical_system_profiles/deleter.py
0.00% <0.00%> (ø)

historical_system_profiles/db_interface.py
64.44% <60.00%> (-2.23%)
:arrow_down:

historical_system_profiles/config.py
94.44% <100.00%> (+0.50%)
:arrow_up:

Continue to review full report at Codecov.

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


fix(BPDM): fixed the request structure of BPDM api

Description
Renamed the property OwnCompanyData to IsOwnCompanyData as per BPDM api specifications
Why
BPDM was having issues as this flag IsOwnCompanyData was always false as Portal was sending wrong flag
Issue
#927
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[x] I have created and linked IP issues or requested their creation by a committer
[x] I have performed a self-review of my own code
[x] I have checked that new and existing tests pass locally with my changes

@MaximilianHauer This is a very small bug to fix but it is very beneficial to the BPDM team. With this, BPDM can correctly identify the Catena-X members when we send records. Could you prioritize this ticket?
CC: @maximilianong @Sebastian-Wurm @nicoprow


No visible cursor

This issue pertains to the following package(s):

[ ] GraphQL Playground - Electron App
[x] GraphQL Playground HTML
[ ] GraphQL Playground
[ ] GraphQL Playground Express Middleware
[ ] GraphQL Playground Hapi Middleware
[ ] GraphQL Playground Koa Middleware
[ ] GraphQL Playground Lambda Middleware

What OS and OS version are you experiencing the issue(s) on?
Ubuntu 18.04 (under Firefox and Chrome).
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
graphql-playground-html 1.6.0 (as a dependency of apollo-server).
What is the expected behavior?
A cursor is displayed where I input the text.
What is the actual behavior?
No cursor is visible, I don't know where the text I type will be inserted.
In the HTML, the cursor is present and blinking, but with transparent background-color.
What steps may we take to reproduce the behavior?
Open GraphQL Playground.
Please provide a gif or image of the issue for a quicker response/fix.
(it's a static image, but a video gives the same result)

Inspecting the CSS, the element with the CodeMirror-cursors class does not have any attributes defining either width, height or color of the element. It appears that some CSS is getting swallowed somewhere. This should be marked as a bug @timsuchanek.

+1
Really inconvenient to work with this.

Is there a known workaround for this as yet?

Any news abou this?

Here's a work-around that I'm using:
Using the browser extension Stylus, add the following CSS to the page:
.CodeMirror-cursor {
    width: 1px;
    background: rgba(255, 255, 255, 0.6) !important;
}

It might not do everything the cursor is supposed to do, but at least you can see it.

Just upgraded to Apollo 2.0 and am running into this problem as well. :(

Definitely not ideal... but I figured out a way to have a visible cursor in the meantime.

Open the playground
Open the developer console and turn on device mode
Reload the page (the cursor shows up on mobile apparently)
Toggle device mode off and close the console.
Don't ever close the tab or refresh the page. 😝

The underline and block cursors work, might be simpler to just use those.

The underline and block cursors work, might be simpler to just use those.

For me it did not work either.

Also having this issue with apollo server 2.0

The css of @ryanwiesjahn works!
To use the css every time you open the playground create a bookmark and change the url of the bookmark to this:
javascript:var style = document.createElement('style'); style.type='text/css'; style.appendChild(document.createTextNode('.CodeMirror-cursor { width: 1px; background: rgba(255, 255, 255, 0.6) !important; }')); document.getElementsByTagName('head')[0].appendChild(style);void(0);

Then when on the GraphQL playground just push this bookmark to insert the css of @ryanwiesjahn.
Tested in Google Chrome.

Thanks @ryanwiesjahn, with your css it is possible to use the playground! 👍

Yes, I can confirm what @gnemtsov said, in my Google Chrome (latest stable release) settings don't work at all. They are saved in the localStorage but are not applied, also after a hard refresh, nothing change.

I am getting the same issue as you guys when using Playground as configured by apollo-server-express.
The issue seems related to the default settings for the property editor.cursorShape. If force a value in your configuration object, then the cursor becomes visible:
playground: {
            settings: {
                'editor.reuseHeaders': true,
                'editor.cursorShape': 'line', // possible values: 'line', 'block', 'underline'
            }
}

Same problem when upgrading from apollo-server 2.0.0-rc5 to 2.0.0.
As a workaround, you can paste your endpoint at https://legacy.graphqlbin.com/new and use that UI. The cursor is visible there.

Not sure if the issue is apollo-server or graphql-playground but seeing the same issue. Also you can't change to the light theme

Same here

+1 - encountered this issue when migrating from Apollo 1 -> Apollo 2

+1

+1

@lpellegr Would you mind explaining or give an example how I would force feed the setting into the configuration object?  I tried the following but it didn't work.
new ApolloServer({
    schema,
    playground: {
      settings: {
        'editor.cursorShape': 'line'
      }
    },
  });

@lpellegr strange, that code looks correct to me. It works for me with the following code on apollo-server 2.0.0:
  ... // set up typeDefs, resolvers, context
  const playground = {
    settings: {
      'editor.cursorShape': 'line',
    },
  };

  return new ApolloServer({ typeDefs, resolvers, context, playground });

Maybe #1516 above will help (if accepted)

@scf4 Yes. Quick hack is set settings as 'any' type.

The issue is also on koa server package :/
When you force the settings it works although
playground: {
    settings: { // Force setting, workaround: https://github.com/prisma/graphql-playground/issues/790
      'editor.theme': 'dark',
      'editor.cursorShape': 'line' // possible values: 'line', 'block', 'underline'
    }
  }

Anyone find a fix for hapi server pkg?

I can replicate the issue with Opera and Chrome on Windows 10

Ha, forcing the settings works. I suspect the issue is still with Playground, though, as it seems not to be reading from the saved settings.

Thank you for this!  This worked for me.  I was very disappointed to try GraphQLPlayground for the first time, only to find out there is no cursor in the editor.
This solved it for me.

For anyone with TypeScript errors:
  const playground = {
    settings: {
      'editor.cursorShape': 'line',
    } as any,
  };

It should be finally fixed. Sorry for troubles, if somebody encounters it open it again please.

I just encountered the problem. not sure what other info i can give you

@icoderight What version of playground do you use?

Personally, I stopped my Dark mode extension (Dark Reader) and the cursor came back. ;p

Personally, I stopped my Dark mode extension (Dark Reader) and the cursor came back. ;p

This one did the trick for me!


Read a settings file

Right the now the settings are hard coded.
https://github.com/spatie/ruby-ray/blob/5502024c2c99e13f378a4bd35315f8b279f28236/lib/ray.rb#L146
Before using the default, we should try to see if there is a config file that can be read in the project directory or any of the parent directories (much like what is being done in the other Ray packages)

Let's use initializers for this - I can take a stab at it!


Deploy components separately

Split application in separate deployable components:

Web (API)
Command Handler
List Projector

They are already separate


set password failed

Describe the bug
I can't set password.
To Reproduce
execute SET PASSWORD = PASSWORD('111')
Doris will execute failed with message "ERROR 1064 (HY000): User<EMAIL_ADDRESS>does not exist"
Server version: 5.1.0 Doris version 0.9.9-release

I try this logic in mysql:
case 1:

create user cmy@'%'
login using cmy from hostA,
select user(); returns cmy@'hostA', and select current_user(); returns cmy@'%'
now we can set password for cmy@'%'

case 2:

create user cmy@'hostA'
login using cmy from host
select user(); returns cmy@'hostA', and select current_user(); returns cmy@'hostA'
now we can not set password for cmy@'%', but we can set password for cmy@'hostA'

So the conclusion is:
user is allowed to set password for what current_user() returns


fix: improve form-control accessibility

Closes #3175
Description
improve form-control accessibility
Is this a breaking change (Yes/No):
No

@kaehehehe
I'm not confident in my understanding, so may I ask you some questions?
In what cases does helperMessageId become undefined?
When I checked in Storybook (components > forms > formcontrol > basic), a value is specified for aria-labelledby - is this expected behavior?

@taiseiiiii
Typically, there is no behavior where helperMessageId becomes undefined.
I don't see aria-labelledby; which tag are you referring to?"

Currently, since useFormControlProps is used in various components, adding describedby will cause it to be added to components that do not need it. Therefore, I would like to close this PR for now and improve the structure of useFormControlProps first.
I will create an issue for further details.　@hirotomoyamada  @taiseiiiii


Remove wildcards in the generic type

I know we have discussed it in PR #590, but I have changed my mind about wildcard generic Parameter in the return type of methods returning a List.
Reasons:

Have a consistency between the two kind of classes:

Wrapper classes not connected with Ruby internal model
(StructuredDocument, DocumentHeader, ContentPart...). => We have added the wildcard here.
Classes doing a bridge with JRuby (Document, StructuralNode, Title, ...) => We decided not to add them there, because modifications on list to modify the AST are allowed, and working with wildcard as consumer of the API do not make it easy.

Working with wildcard Generic is really a pain. I have encountered problem with:

Mockito
AssertJ

:+1:


Blinking light

A user suggested to add the blinking feature to the light, like
*1*11*32## (on for 1 minute)
*1*12*32## (on for 2 minutes)
*1*13*32## (on for 3 minutes)
*1*14*32## (on for 4 minutes)
*1*15*32## (on for 5 minutes)
*1*16*32## (on for 15 minutes)
*1*17*32## (on for 30 seconds)
*1*18*32## (on for 0.5 seconds)

I'd suggest to add also dimmer feature, like:
*1*2*32## (on at 20% power)
*1*3*32## (on at 30% power)
[...]
*1*9*32## (on at 90% power)
*1*10*32## (on at 100% power)

Also, the "blinking" feature listed above is actually the "timed on" feature.
Blinking is configured with the following commands:
*1*20*32## (blinking 0.5 seconds)
*1*21*32## (blinking 1.0 seconds)
*1*22*32## (blinking 1.5 seconds)
*1*23*32## (blinking 2.0 seconds)
*1*24*32## (blinking 2.5 seconds)
*1*25*32## (blinking 3.0 seconds)
*1*26*32## (blinking 3.5 seconds)
*1*27*32## (blinking 4.0 seconds)
*1*28*32## (blinking 4.5 seconds)
*1*29*32## (blinking 5.0 seconds)

Hi, thanks for the examples, there is already another open issue for the dimmer feature

[Hacktoberfest] Please contact me to have more info about this issue, any help would be very appreciated. Thanks

This would be another nice feature to have, indeed. Opening the gate now requires an on and off command to be issued, I'm always a bit scared that something goes wrong after issuing the ON command and let my gate's electromagnet on for too long, causing it (or the transformator) to burn...

It's in the to do list, but I've just finished to work on the backup and bus feature for the last few months, I doubt I will have more time soon to work on this unfortunately


Adding multiple @on directives only adds one handler

Bug description
Adding multiple @on directives only adds one handler
Steps to reproduce

Add multiple @on handlers (e.g. keydown, keyup)

Expected behavior
All handlers should be added
Information

Browser: Chrome 79
Version: 2.1.0 (f8aa174)

Additional context
https://csvs1.csb.app

@YouTwitFace 😑🤦♂


Detected Python versions are "version unique" due to HashMap

The function get_python_versions_from_path() returns a HashMap with keys being the detected Python versions. See https://github.com/nbigaouette/pycors/blob/9626571b4382abbdbfacc8435a694b8ed9256700/src/installed.rs#L129
This was used to de-duplicate, for example, python and python3 in the same path pointing to the same Python 3 interpreter but with different file names.
Unfortunately this prevent having two interpreters of the same version in different paths. For example having 3.7.3 installed by homebrew and the same version installed from python.org.
The case of the python and python3 pointing to the same interpreter should be handled specifically, by comparing version and path. Then, the HashMap should be replaced with a list instead.

PR #91 closes this.


i18n with array data

Environment
Operating System: Darwin

Node Version:     v14.19.1
Nuxt Version:     3.0.0-rc.11
Nitro Version:    0.5.4
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

"@nuxtjs/i18n": "^8.0.0-beta.7",
Reproduction
https://stackblitz.com/edit/github-lsfve7?file=app.vue
Describe the bug
Hi, i am just trying to use array in i18n json data
i just need an array to give component so i will not use v-for or something else
test: [
"the USA",
"the UK",
"Estonia",
"Germany",
"the Netherlands",
"Türkiye"
]
i have this in my en.json
when i try to console log {{$t('test')}} i see "test" string. I need to access all array data. What can i do can you help me?
Additional context
No response
Logs
No response

Thank you for your reporting!
This issue is same #1706
I mentioned about it
https://github.com/nuxt-modules/i18n/issues/1706#issuecomment-1345486351
The vue-i18n locale resources array can only be used in templates with rt. This is a limitation.
Thanks!


Watchers in vite-plugin

Clear and concise description of the problem
On a Laravel + Inertia/Vue project I am using unocss with vite, which works awesome.
But for some pages I still need to create views in blade.php without vue. Since it is not served through vite, in this scenario unocss does not extract classes from the blade.php-files, thus I cannot style these pages (or at least not without explicitly stopping the vite server and booting the unocss cli instead).
So I wonder if it is possible to add some kind of "safe includes" (similar to the safelist), which watches files and extracts classes using the same config as it is used for assets served by vite devserver otherwise?
Suggested solution
Add a config flag, similar to safelist, accepting a file list (e.g. glob/regex). These files are watched and classes are extracted on startup and on file change.
I hope you are willing to consider this :) Although, I understand that it is kind of against the concept of the "on-demand"-part of unocss.
Alternative
No response
Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Read the README.md of using the package.
[X] Already used the Interactive Docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

use extraContent on the unocss vite plugin
export default defineConfig(() => ({
  plugins: [
    UnoCSS({
      extraContent: {
        filesystem: ['resources/views/**/*.blade.php'],
      },
    }),
  ],
})

I did not even recognize, that there is a different config in the vite plugin than in the unocss.config.ts. It does make sense, though.
But the docs keep that confidential ;) There is no (comprehensive) information about the vite-plugin configuration, just about the mode.
Anyways: Thanks for pointing out @schelmo

Appearently I could also have configured it in unocss.config.ts, but did not see it, since the docs are silent about that


Fixed Thunar terminal open segfault

Fixes SEGFAULT on Openbox and  terminalExeName when terminal is launched from Thunar

Is it your method or the change it complains about?

Closing this because of inactivity.


This article requires monthly or at least quarterly update

This is a very useful comparison table. Please keep updating it regularly to show the new  services that are added, remove the Preview suffix for services which are now generally available

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

ID: 30d02f16-9621-d204-4132-8ce8db79b0af
Version Independent ID: 65b4385b-79f0-d842-d4a1-5d013615f9b1
Content: Azure and AWS services compared - multicloud
Content Source: docs/aws-professional/services.md
Service: guidance
GitHub Login: @lbrader
Microsoft Alias: pnp

Thanks - we try to keep it updated 😺
I've removed the "preview" label for Standard DDoS and WAF which are both GA


lightPush.send returns Generic error

This is a bug report
Problem
When calling lightPush.send and it fails sometimes it returns a Generic error, which contains no other information.
Proposed Solutions
It would be better if the returned error would be more informative, so that you can tell what was the cause of the problem.
Notes

js-waku version: 0.0.20
Environment (browser software and version, system software and version): Firefox and Chromium on Linux
Nodes connected to too (e.g. Status test fleet): private nwaku node

Link issue with #1694

@agazso Issue will be picked up in #1694, closing this issue as duplicate. Please feel free to reopen if theres anything remaining that is not working as intended.


0.14.17

Changelog: https://github.com/PyO3/maturin/releases
Requirements:

https://github.com/PyO3/maturin/blob/v0.14.17/setup.py
https://github.com/PyO3/maturin/blob/v0.14.17/pyproject.toml

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_4a54y44v81/clone/recipe/meta.yaml:36: host_section_needs_exact_pinnings: output "maturin": Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_4a54y44v81/clone/recipe/meta.yaml:61: host_section_needs_exact_pinnings: output "maturin-gnu": Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_4a54y44v81/clone/recipe/meta.yaml:62: missing_wheel: output "maturin-gnu": For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_4a54y44v81/clone/recipe/meta.yaml:62: host_section_needs_exact_pinnings: output "maturin-gnu": Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_e7rd3bxanl/clone/recipe/meta.yaml:36: host_section_needs_exact_pinnings: output "maturin": Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e7rd3bxanl/clone/recipe/meta.yaml:63: host_section_needs_exact_pinnings: output "maturin-gnu": Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_7dio2rw23l/clone/recipe/meta.yaml:36: host_section_needs_exact_pinnings: output "maturin": Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_7dio2rw23l/clone/recipe/meta.yaml:63: host_section_needs_exact_pinnings: output "maturin-gnu": Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_493kn9_6kg/clone/recipe/meta.yaml:36: host_section_needs_exact_pinnings: output "maturin": Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_493kn9_6kg/clone/recipe/meta.yaml:65: host_section_needs_exact_pinnings: output "maturin-gnu": Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_ed49io5zvx/clone/recipe/meta.yaml:36: host_section_needs_exact_pinnings: output "maturin": Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_ed49io5zvx/clone/recipe/meta.yaml:65: host_section_needs_exact_pinnings: output "maturin-gnu": Packages in host must have exact version pinnings, except python build tools.
Errors were found


Added NavigationViewItemHeader to sample code.

The sample code is missing entries for the NavigationViewItemHeader used in the demo. This adds the text to the two versions of code that get displayed.

This code no longer lives here.


Enhance Text Readability by Adding Glass Effect Background

Description:
The text in the navbar and center blends into the background due to similar color tones, making it hard to read while affecting overall design clarity.
Proposed Solution:
Add a glass effect background behind the text to improve visibility while maintaining the aesthetics. This solution will provide contrast and ensure the text is legible without disrupting the current design flow.

Thank you, will get started on it!
On Fri, Oct 11, 2024, 7:03 AM Anubhav Jain @.***> wrote:

Assigned #93 https://github.com/Anu27n/603work/issues/93 to @citruswhale
https://github.com/citruswhale.
—
Reply to this email directly, view it on GitHub
https://github.com/Anu27n/603work/issues/93#event-14600308122, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A62SEUT4OZ27LEDUN4HFVBDZ24THHAVCNFSM6AAAAABPXSELGCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGYYDAMZQHAYTEMQ
.
You are receiving this because you were assigned.Message ID:
@.***>


Feature request: Get event if button has been clicked

Hello guys
It would be nice to get notified when a share button has been clicked (with the name of the social network).
Keep up the great work!

Hi, thank you for the idea! I have created shareon with one feature in mind — creating customizable buttons that are being populated with links. You can easily implement this behaviour yourself using onclick attribute or adding a click event listener:

Thanks a lot for the hint @NickKaramoff!


ci: install pdg globally

Q
A

Branch?
main for features / current stable version branch for bug fixes

Bug fix?
yes/no

New feature?
yes/no

Deprecations?
yes/no

Tickets
Fix #...

License
MIT

Doc PR
api-platform/docs#...

Some guides still need some revamping for tests to pass (notably guides with filters, we probably need to rewrite a compiler pass in pdg)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
7920

Relevant Lines:
12075

💛  - Coveralls

Codecov Report
Base: 65.86% // Head: 65.86% // No change to project coverage :thumbsup:

Coverage data is based on head (91a8371) compared to base (6ea7229).
 Consider uploading reports for the commit fa4b9ae to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               docs      #68   +/-   ##
=========================================
  Coverage     65.86%   65.86%
  Complexity     5662     5662
=========================================
  Files           417      417
  Lines         14019    14019
=========================================
  Hits           9233     9233
  Misses         4786     4786

Flag
Coverage Δ

behat
65.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Tool to create svg path

Hello,
I would like to extend the library with some icons, what is the best tool to create a svg path eg: "M 136.67, .....".
Thanks for the support.

Hi @stefanobenedetti88
I personally like Inkscape: https://inkscape.org
Happy drawing
Tim


error when running tutorial script

$ python 01-vector-add.py
Traceback (most recent call last):
  File "01-vector-add.py", line 17, in <module>
    import triton
  File "pytorch/lib/python3.7/site-packages/triton/__init__.py", line 9, in <module>
    from .code_gen import cdiv, next_power_of_2, jit, autotune, heuristics, \
  File "<fstring>", line 1
    (num_warps=)
              ^
SyntaxError: invalid syntax

I am using:
$ gcc --version
gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ python --version
Python 3.7.5

$ pip list | grep -i triton
triton                            2.0.0.dev20220627

Can you update triton and try triton/master?

I think you might be using an old-ish version of Python that doesn't support f-strings

thank you @Jokeren Yes I also tried with master and get the same error... As noted I am using python 3.7 let me check what the status of f-strings is in this version. Else I believe we might consider increasing the minimum python version on triton...

@ptillet I believe you are right... the following f"{num_warps=}" fails in python 3.7

Thank you @kashif


release (prod): pull in new settings.ini deploy method

Issue

Link: #272
Summary: new deploy strategy

How

Implement new deploy strategy
Screenshots

References

#272
Checklist

[x] Tests added
[x] Cleaned up commit history (rebase!)
[x] Documentation added
[x] Thought about variable and method names

Currently seeing Diagnostics have not yet run on all testnet units. Needs resolving first

Hmm very strange indeed. Not sure what could have caused this. @kashifpk any thoughts?

Not sure but I can look that up. Right now I don't see this message on a couple of devices I checked on testnet. @KevinWassermann94 what messages am I looking at?
I see all containers running and the logs only have region override not set errors.

The above is from autumn-grass on testnet.

@kashifpk Opening the public device URL you will see the diagnostics page not being able to load

@kashifpk Opening the public device URL you will see the diagnostics page not being able to load

Yes just created https://github.com/NebraLtd/helium-miner-software/issues/343 is for addressing this.

@KevinWassermann94 should be working now?

@shawaj Yes looking good now. I'll quickly go through the QA checks with the team now

How's it looking @NebraLtd/developers @NebraLtd/tech-support ?

@NebraLtd/developers any thoughts?

Reviewing as we speak.


[IOTDB-6293] Use nanotime in cluster heartbeat

https://issues.apache.org/jira/browse/IOTDB-6293

Codecov Report
Attention: 31 lines in your changes are missing coverage. Please review.

Comparison is base (16c77d7) 48.97% compared to head (3299685) 48.95%.
Report is 10 commits behind head on master.

Files
Patch %
Lines

.../event/common/tsfile/PipeTsFileInsertionEvent.java
0.00%
6 Missing :warning:

...e/task/subtask/connector/PipeConnectorSubtask.java
0.00%
5 Missing :warning:

...e/task/subtask/processor/PipeProcessorSubtask.java
0.00%
4 Missing :warning:

...mon/tablet/PipeInsertNodeTabletInsertionEvent.java
0.00%
3 Missing :warning:

...ent/common/tablet/PipeRawTabletInsertionEvent.java
0.00%
3 Missing :warning:

...fignode/manager/load/service/HeartbeatService.java
0.00%
2 Missing :warning:

.../org/apache/iotdb/db/pipe/event/EnrichedEvent.java
50.00%
2 Missing :warning:

...c/handlers/heartbeat/DataNodeHeartbeatHandler.java
0.00%
1 Missing :warning:

...iotdb/confignode/manager/load/cache/LoadCache.java
0.00%
1 Missing :warning:

...e/manager/load/cache/node/NodeHeartbeatSample.java
0.00%
1 Missing :warning:

... and 3 more

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #11916      +/-   ##
============================================
- Coverage     48.97%   48.95%   -0.03%
+ Complexity    25732    25719      -13
============================================
  Files          2910     2910
  Lines        182203   182232      +29
  Branches      21839    21839
============================================
- Hits          89235    89212      -23
- Misses        92968    93020      +52

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I  have a question , why use nanotime ?  "To prevent the heartbeat bug caused by modifying server clock"

"To prevent the heartbeat bug caused by modifying server clock"

Yes

LGTM~ @liyuheng55555 Please notice if you need to change anything in the activation module!

I've checked activation module, and I'm ready (hope so)


centralized settings

It would be nice that there is centralized settings. I have used for that DNS, since this is standard part of every network (see: https://github.com/MutonUfoAI/pgina/issues/17#issuecomment-144688177).
Just first tought: avoid any form based settings that persists to obscure windows registry. Parse JSON string that commes from DNS. Easy as it is :)

that would be a security risk
import pgina setting as follow
export pgina regkey
and remove any password string like
"SearchPW"="AQAAANCMnd8BFdERjHoAwE/Cl..........ZSX6AMbZujkLYj0I="
You can now import this reg file on all your machines
If you need saved passwords in your setting use encryptsetting.exe (atm. its part of the source only)
encryptsetting   [GUID]
encryptsetting SearchPW "my p@asswor&" 0f52390b-c781-43ae-bd62-553c77fa4cf7
add setting SearchPW and assign "my p@asswor&" to pluging 0f523...f7
encryptsetting SearchPW "my p@asswor&"
add setting SearchPW and assign "my p@asswor&" to pgina config
call this program on the client after you've applied the reg file
If you need a free software deployment
http://www.opsi.org/en

I don't thik so. DNS server can be authoritative and secured.
Another option can be getting JSON config from other source, like http endpoint.


Add compiler error for duplicate enum values

In an :enum, we should raise an error if any two :member declarations have the same value.
Open Question:

[ ] Should there be an allowed way to intentionally have another alias :member for the same value (such as in the case of a library wanting to change the name of a member while temporarily keeping deprecated support for the old name)?

Would :alias work in this case?
:enum Colors
  :member gray 1
  :member red 2

  :alias grey gray

And what about exhaustiveness checks? Given two members of the same enum value, would exhaustiveness check still succeed when only using one of the members? E.g.
:enum Colors
  :member gray 1
  :member grey 1
  :member red 2

// I am assuming exhaustivness checks here...
case color == (
  | Colors.gray |
    ...
  | Colors.red |
    ...
  |
    unreachable
)


question: goimports randomly stop working

first, thanks for the awesome plugin. used vim-go for years and really happy to have nvim-go while working to convert everything to lua.
i'm sure it's something stupid in my config, but trying to figure out why...  i fire up neovim and goimports works great, adding/removing imports as needed.  after coding awhile, it stops working. no diagnostics above the insert point or anything obvious that should explain it.
have you seen anything like this? my config is largely based on yours with a bit of theprimeagen's. :-)
https://github.com/deadlysyn/dotfiles/tree/main/common/nvim/.config/nvim
TIA for any clues

Hi @deadlysyn thank you for using my configs and this plugin. TBH, I have the same issue and have some ideas about what happens. It happens only if there are errors with language server and neovim does not actually show them at that time. The post write event would not fire sometimes. But I haven't figured it out at the moment.
You may check whether it applies for your case.

@deadlysyn I think it is kinda solved by this commit cb903af, fixing error prompts. Now when it is not built, it will show goimports outputs. You may try updating to the latest version to see whether it occurs again.

thanks for the quick response. i've updated and will let you know how it goes.

haven't seen the imports issue, but got to code less than hoped over the weekend due to power outage :-(
i will gather more data through the week, but have also noticed another issue.  LSP diagnostic feedback seems to disappear at times.  i haven't noticed this in other langs, but not sure if it is due to nvim-go or my lsp config (still settling into lua).
not sure if you have seen this -- it will show at first, but disappear after save. making additional edits in the file makes it flash back, but disappears again.  i will do more testing on this as well, to see if it behaves the same with nvim-go disabled.

not sure if you have seen this -- it will show at first, but disappear after save. making additional edits in the file makes it flash back, but disappears again. i will do more testing on this as well, to see if it behaves the same with nvim-go disabled.

This is an (un)expected thing. When we enable auto format, it will write and then ":edit!" to reload the buf, which also triggers nvim-lspconfig's autocmd. BufReadPost fires the event to nvim-lspconfig and it re-attaches the lsp client. I think this is the reason.

thanks for the detailed response, that makes sense. glad to confirm it's not just me/my config.  feel free to close this issue if you like, not sure if you prefer that or keeping them open as "FAQ" :-)
keep up the good work!

thanks for the detailed response, that makes sense. glad to confirm it's not just me/my config. feel free to close this issue if you like, not sure if you prefer that or keeping them open as "FAQ" :-)
keep up the good work!

Thanks for your contribution to this issues. And I think this is not my bug, it looks like an upstream issue. Each time I :edit, the diagnostics disappear immediately. Maybe I should spend time on how it works.

@deadlysyn I think I have solved it by updating to the latest nightly version of nvim. 🤣
And also I made a commit slightly changed the write behaviors. You may check it if it's possible for to update nvim.

confirmed nightly (plus your latest commits) fixed it for me :+1:


inlude reflex id with morphs

This is not quite done yet, we're still missing the URL that should be passed with the morphs

oh, ready for review now @joshleblanc


LUA Error in Version 0.12.1

33x ...faceDragonflightUI/Mixin/ItemColor.mixin.lua:359: attempt to index global 'GuildBankFrame' (a nil value)
[string "@DragonflightUI/Mixin/ItemColor.mixin.lua"]:359: in function `UpdateGuildBankSlots'
[string "@DragonflightUI/Modules/UI.lua"]:102: in function <DragonflightUI/Modules/UI.lua:77>
Locals:
self =  {
AddOverlayToFrame =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:14
HookInspectFrame =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:112
HookCharacterFrame =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:81
UpdateGuildBankSlots =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:351
OnEvent =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:8
HookGuildbankBags =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:336
UpdateAllBags =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:217
HookBags =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:143
UpdateMerchantBuyback =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:317
UpdateBag =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:234
UpdateMerchant =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:275
UpdateOverlayQuality =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:57
UpdateBankSlots =  defined @DragonflightUI/Mixin/ItemColor.mixin.lua:257
}
activeTab = 1
itemButton = nil
buttonID = nil
texture = nil
itemCount = nil
locked = nil
isFiltered = nil
quality = nil
(for index) = 1
(for limit) = 7
(for step) = 1
c = 1
(*temporary) = nil
(*temporary) = "Column1"
(*temporary) = "1"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'GuildBankFrame' (a nil value)"

Hm, the error doesn't really make sense, so it might be something else. Or its some obscure blizzard bug.
Anyway, I added a simple guard to check if the GuildBankFrame exists: 4ec86f6dbde9ba0feca89801a9177a43be943203
Maybe you could test it out if you can reproduce the error, its a simple 1 line change.

Okay  i want test your fix

Ok it works :)


Exception thrown from a trigger and caught in the middleware has incorrect Source value

Description
When an exception is thrown from a function (ASB trigger) and is caught and handled in the custom middleware, the exception Source is set incorrectly to the middleware rather than the throwing function.

The source (1) is the namespace rather than the location where the exception was thrown, as indicated in the StackTrace (2)
Steps to reproduce
Function
public class AsbTrigger
{
    [Function("AsbTrigger")]
    public async Task Run([ServiceBusTrigger("myqueue", Connection = "AzureServiceBus")] ServiceBusReceivedMessage message, FunctionContext context)
    {
        var logger = context.GetLogger("AsbTrigger");

        logger.LogInformation("C# ServiceBus queue trigger function processed message: {MessageId}", message.MessageId);

        throw new Exception("boom!");
    }
}

Middleware
internal class ServiceBusMiddleware(IAzureClientFactory<ServiceBusClient> azureClientFactory, ILogger<ServiceBusMiddleware> logger) : IFunctionsWorkerMiddleware
{
    private readonly ServiceBusClient asbClient = azureClientFactory.CreateClient("default");

    public async Task Invoke(FunctionContext context, FunctionExecutionDelegate next)
    {
        try
        {
            await next(context);
        }
        catch (Exception exception)
        {
               logger.LogDebug("Failed at {Source}", exception.Source);
               throw;
        }
    }
}

This is aligned with normal exception handling. I got confused by the previous implementation where AggregateException has the source set (#993).


Flashed Smart Plug (1.3.5 oem_bk7231s_dltj) with ESPHome but pins don't activate the relay

Bought a generic smart plug from Ali and it had firmware 1.3.5. I started Tuya Cloudcutter and chose the only device that appeared for 1.3.5 firmware (oem_bk7231s_dltj). The flash was successful, and I installed ESPHome kickstart firmware on it.
Now, in ESPHome, when I try to figure out the pin mappings by going through the pins one by one and setting their output high and low to see if the plug reacts... but even after going through all the pin mappings, the plug doesn't turn on. It worked fine when it had Tuya on it, so I can rule out a hardware issue.
What can I try to get the relay to work? Is it because I just chose "oem_bk7231s_dltj" even though it's likely not accurate since dltj is probably not a plug?
Looking forward to some pointers. :)

Download ltchiptool (the Windows GUI version), go to UPK2ESPHome tab, and press "Grab from Kickstart" button. This will allow you to read the Tuya configuration that is stored on the device (it's a generic plug firmware, so 99% chance that your YAML config can be generated automatically this way).

I use a Mac but can organise a Windows machine soon. However, do you reckon that getting a YAML will change anything even though changing pin-mode for every pin available didn't turn on the relay?

Download ltchiptool (the Windows GUI version), go to UPK2ESPHome tab, and press "Grab from Kickstart" button. This will allow you to read the Tuya configuration that is stored on the device (it's a generic plug firmware, so 99% chance that your YAML config can be generated automatically this way).

Yes. It also depends on which Kickstart version you used - the v23.07.13 one had a bug in pin mapping, which made most pins unresponsive.

How interesting. I happen to have 23.07.13 kickstart. Let me update this first and report back.

That did it! Updating kickstart did it. Thank you for that pointer. Cheers!


Need to implement the ancestor and descendant filters for LOINC.

Need to implement the ancestor and descendant filters for LOINC.
Reference:

http://hapi.fhir.org/baseDstu3/CodeSystem?url=http://loinc.org#L69

Working branch: 1454-need-to-implement-the-ancestor-and-descendant-filters-for-loinc

Pull request: #1505

Moving implementation of ancestor filter with IN operator for LOINC to #1512.


Handle no root publishing

with these changes, it is possible to publish a volto site not in the domain root

i made some tests with different env vars configurations and ended up with a almost working thing with:
RAZZLE_API_PATH = http://my-domain.com/name
RAZZLE_PUBLIC_URL = http://my-domain.com/name

This is a snippet from Varnish where i do rewrites for backend/frontend:
    set req.backend_hint = volto;

    if (req.url ~ "/name/..api..") {
        set req.backend_hint = plone;

        if (req.url ~ "/..api../name") {
            set req.url = regsub(req.url, "/..api../name", "/++api++");
        }
        if (req.url ~ "/name/..api..") {
            set req.url = regsub(req.url, "/name/..api..", "/++api++");
        }
        set req.url = "/VirtualHostBase/http/" + req.http.host + "/Plone/VirtualHostRoot/_vh_name" + req.url;
        return(pass);
    }

There are some things to fix, for example Volto still publish static folder on the domain root and not under /name. I don't know where this is set and if it's possible to fix it @sneridagh

@tiberiuichim i have a problem with static resources: they're always served on the root (http://localhost:3001/static/whatever.js) but i need to tell volto to serve them with an additional prefix (http://localhost:3001/foo/static/whatever.js).
my guess was that problem could be here and can be fixed setting the custom name for static resources like this:
.use('/foo',express.static(process.env.RAZZLE_PUBLIC_DIR))
like explained in express documentation but it seems not working.
Any ideas? Maybe there is something else that is configured for static resources somewhere?

I was able to get a Volto master running on a subpath with the following docker-compose.yml:
env RAZZLE_API_PATH=http://water.ro/api yarn start:prod

version: '2'
services:
  apache-https:
    image: eeacms/apache:2.4-2.2
    ports:
      - "80:80"
    environment:
      APACHE_CONFIG: |-
        <VirtualHost *:80>
            ServerName water.ro

            ErrorLog /var/log/apache.log

            RewriteEngine On
            SSLProxyEngine on

            ProxyTimeout 1200
            Timeout 1200

            RewriteRule ^/static(.*) http://<IP_ADDRESS>:3000/static/$$1 [P,L]

            RewriteRule ^/api/\+\+api\+\+\/freshwater(.*) http://<IP_ADDRESS>:8080/VirtualHostBase/http/water.ro:80/Plone/VirtualHostRoot/_vh_freshwater$$1 [P,L]

            RewriteRule ^/api(.*) http://<IP_ADDRESS>:8080/VirtualHostBase/http/water.ro:80/Plone/VirtualHostRoot/_vh_freshwater$$1 [P,L]

            RewriteRule ^/freshwater(.*) http://<IP_ADDRESS>:3000/$$1 [P,L]

        </VirtualHost>
      TZ: Europe/Copenhagen

Related to https://github.com/plone/volto/issues/4290 , to determine which one is the canonical and if we can close this one.


BUG: Fix Responsive

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Khushi-Pushkar could you show or design the webpage for mobile ??

I have developed a website dedicated to fitness and gym services , so  you can review it across different devices / dimensions

@Khushi-Pushkar
How long u take to complete your task??

2-3 days

@Khushi-Pushkar
Do it and make sure that it is fully responsive.
And also make sure that don't remove anything from the current project.

@Satyam1923 @saurabhsingh720 I am having trouble running website locally. I followed the steps in the README file carefully, but when I run the npm run dev command, it takes a very long time. Also, when I click the localhost link, I see a blank black page.I cannot get the website to work on the live server and would appreciate your help to resolve this issue.

is anything showing in the console. Check that first

@Khushi-Pushkar make a dummy Firebase project and use it's config in firebase.js in frotend auth folder.


Make axon Threading heuristics MPI aware

It's better to do the threading settings in Axon, instead of setting GOMAXPROCS on infra. Allows us to change it more easily, and adapt to different model sizes.
This will get slightly more complex for cross machine (we'll have to do OMPI_COMM_TYPE_HOST comm splitting).

@rcoreilly @etuleu let's discuss here instead.
I'd prefer having the code have more knowledge about it's environment, that way it's much easier to update the heuristics and we don't need to touch infra code. We want to be able to do things like overallocate Goroutines, so adjusting down GOMAXPROCS may not even always be a bad idea.
Once https://github.com/emer/empi/issues/11 is implemented, the code would also become aware of SLURM environments and LVIS would continue working as is.

I think it would be much cleaner and simpler to have one clear way of parameterizing and understanding what axon does (n mpi procs x t threads per proc), and let the infra send in the appropriate params explicitly, rather than having axon try to figure things out on its own.  If we need an alternative to GOMAXPROCS then we can add that as a startup arg.