OpenShift support, minor fixes

The first two commits are small fixes I found along the way to writing the third commit, which implements OpenShift support for the deployment script. Said commit also moves around some files to make it clear which templates are for which container platform.

For some reason the commits are display out of order in the GitHub interface. Their proper order (and I believe this is maintained in the git history) is:
be4464e Add OpenShift support.
7c19df8 Improve search for heketi-service-account secret.
12df060 Wait for heketi service URL to be active.

Oh... it seems when I push override a new commit over the old one, any comments that were made inline get deleted. Sorry. :(
@obnoxxx asked why I had a line TEMPLATE="openshift", I explained that that was a development hard-coded shortcut and fixed it.

@jarrpa my comment is still there... :-)


XS✔ ◾ TEST

Summary

Testing
Test Types

[ ] Unit tests
[ ] Manual tests

Unit Test Coverage

Other Test Details

Screenshots

/AzurePipelines run


compatible with latest version of bsc

updated bsc to the current version, and added bslint; no logic change, just fixes for various warning/errors with latest version.

@ZeeD somehow I totally missed seeing this PR. If you have a chance to update the PR and resolve the conflicts, I'm happy to merge this PR this week.

@TwitchBronBron updated (sorry, I also am a bit busy in these days)


Clear user filter after pressing enter. Fixes #360

As discussed in #360 , the input box is cleared after pressing enter.

Automated message from Dropbox CLA bot
@yashmehrotra, it looks like you've already signed the Dropbox CLA. Thanks!

@yashmehrotra, how have you tested this?  It seems to me like it should this be using exports.escape_search instead so that it'll actually update the buddy list section as well...

@yashmehrotra just wanted to follow up on this

Merged the escape_search fix for this as 8df58432f6616a6001e76d24d589873b7d073ebd, closing.  Thanks @yashmehrotra for working on this!


Correct handling of scp paths

Previously, we converted relative paths into absolute paths (and
unintentionally threw an extra leading slash on already absolute paths).
The following two examples are not equivalent:
host.xz:path/to/repo.git
host.xz:/path/to/repo.git

We no longer treat them as such. Instead, relative paths come out the
other side of Parse still relative, and absolute paths are not
manipulated at all.
Update tests to match.

First reported by @jpoler in https://github.com/whilp/git-urls/pull/2.

Looks correct to me FWIW. Thanks for taking a look!

Thanks, @jpoler -- git URLs are deceptively subtle. ;)


GitHub: Fixed XAML formatting checker

Resolved / Related Issues
None
Steps used to test these changes
None

@yaira2 Fixed the xaml formatting checker and the xaml formatter. Up for review & merge.
I'll run the xaml formatter later in another PR after this is merged since issue_comment event is fired based on the default branch (the main branch) while pull_request event is based on the head branch.

LGTM


read_through_cache does not cache when parent is specified

I wrote the following code to test if it can be cached with read_through_cache and read from cache with read_cached_only.
pub async fn init_db_cache(db: &FirestoreDb, cache_name: &str, collection_path: &str, parent_path: ParentPathBuilder, listener_target: u32, max_capacity: u64) -> Result<FirestoreCache<FirestoreMemoryCacheBackend, FirestoreMemListenStateStorage>, FirestoreError> {
    let conf = FirestoreCacheCollectionConfiguration::new(
        collection_path,
        FirestoreListenerTarget::new(listener_target),
        FirestoreCacheCollectionLoadMode::PreloadNone,
    ).with_parent(parent_path);

    let mut cache = FirestoreCache::new(
        cache_name.into(),
        db,
        FirestoreMemoryCacheBackend::with_max_capacity(
            FirestoreCacheConfiguration::new().add_collection_config(&db, conf),
            max_capacity
        )?,
        FirestoreMemListenStateStorage::new(),
    ).await?;

    cache.load().await?;

    Ok(cache)
}

async fn main() -> Result<()> {
    let db = FirestoreDb::new(&config_env_var("PROJECT_ID")?).await?;
    let parent_path = db.parent_path("p", "c").unwrap();
    let cache = init_db_cache(&db, "mem-cache", "mydoc", parent_path, 1000, 32 * 1024 * 1024);

    let _ = db.read_through_cache(&cache)
        .fluent()
        .list()
        .from("mydoc")
        .parent(&parent_path)
        .order_by([
            (path!(MyDoc::last_update_millis), FirestoreQueryDirection::Descending),
        ])
        .obj()
        .stream_all_with_errors()
        .await?
        .try_collect::<Vec<MyDoc>>()
        .await;

    let list = db.read_cached_only(&cache) // Should be able to get list.
        .fluent()
        .list()
        .from("mydoc")
        .parent(&parent_path)
        .order_by([
            (path!(MyDoc::last_update_millis), FirestoreQueryDirection::Descending),
        ])
        .obj()
        .stream_all_with_errors()
        .await?
        .try_collect::<Vec<MyDoc>>()
        .await;
}

I expected to be able to retrieve the list in the subsequent read_cached_only because it is cached in read_through_cache, but I could not retrieve it.
I also tested PreloadAllDocs with a different code, and it worked fine!

Hey,
This is not related to parent per see, more like the cache update supports only two sources right now:
Described here:
https://github.com/abdolence/firestore-rs#how-a-cache-is-updated

Reading using get by IDs
Listener updates
Preload

So, the results from list actually is not cached at least right now, mostly because they might be incomplete, etc. This is not implemented at least yet.
I'll think about it.
PS. Also, I recommend avoid using list for big collections, since for some reason Google doesn't like the idea with big page sizes, and this operation is slower than just select.

Currently I recommend using PreloadAll if you want to work with querying/listing ready-to-use caches.

I see and understand!
I guess I was mistaken!

Let's leave the issue reopened, to make it more visible and remind me about this limitation :)


variable-full.css is gone for Inter font

Describe the bug
I include @fontsource/inter in my project and use @fontsource/inter/variable-full.css to have the fully functional variable Inter font version. When upgrading from version 4.5.12 to 4.5.13 the variable-full.css file seems to be completely gone, without replacement. variable.css is still in the repository, but as far as I can tell it does not support italic font style, only different weights.
To Reproduce

Install v4.5.13 of @fontsource/inter
Compare to v4.5.12 of @fontsource/inter, where variable-full.css still exists with the necessary fonts

Thanks for letting me know, I made an accidental breaking change here with a new update from google-font-metadata that is more suited for the v5 release (and would include variable-italic). Should get a fixed version out soon!

Great thanks, and thanks in general for making the font easily available, it is very useful!

I've pushed a fix and a GH Action is currently rebuilding the repository with the new update. I'll double-check if the fixes were applied successfully before publishing the packages. The process should take a couple hours.
Also, thank you so much for sponsoring me! I really appreciate it. ❤

Reopening because it didn't work and I'll have to try again tomorrow 😭

Resolved successfully now! Just update your font to the latest version.


Allow clients to be identified by key comment

It would be a cool feature idea to leverage the ssh "comment" field in authorized_controllee_keys to identify clients.
For clarity, the SSH comment field is the string after the key material, specified in the -C argument to ssh-keygen. I.e.
$  ssh-keygen -C 'foo bar' -t ed25519
Generating public/private ed25519 key pair.
Enter file in which to save the key (...): /tmp/test
...
$ cat /tmp/test.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH9vRi33xryjFf63mmQhjMIkPxxPtpxBtVNBl4xitU5K foo bar

"foo bar" in this case is the "comment".
I propose that in ls and ls -t, if there is a comment field present in the authorized_controllee_keys entry, it should display it in-place of the public key hash.
Ontop of this, I think the link command should also allow -C, similar to ssh-keygen. I.e. link -c "my boi", then, when the newly generated key is created, it should include this comment.

Ahhhhhh thats a fantastic idea, thank you for this. I'll add this after doing the powershell colors.

This is now on unstable


How to extract the region feature?

Can OV-DINO extract the corresponding region feature?
Or in other words, is the corresponding region feature meaningful like GLIP? GLIP aligns each region to a caption, which contains much more info about textual, behavior...

The region feature are the first stage output on the two stage detector, OV-DINO follows the DINO framework adopting the two stage framework, the enc_outputs in ovdino.py#L332 may meet your demand.


2a979f5 breaks package-installed passnger

When passenger is installed form a package (eg apt-get), passenger is not available in the path so can't get the version number. You can specify this in env variables, however in this instance, running passenger -v, still wouldn't return anything.
Perhaps the option to specify which version of passenger is being used, rather than trying to detect. (or a command that lets you specify the version) eg dpkg -l | grep passenger or similar.

Can you submit a PR that addresses this?

https://github.com/capistrano/passenger/pull/19

@yule Am I correct that 33b5c676245601e6f580c4b50acbfd2f3b124d98 addresses this sufficiently?

@betesh 33b5c67 would be a work around for  versions under 4.0.33, and would solve my initial issues.
However those above this version, where you can't run passenger -v from command line (perhaps needing sudo?), this would still fail. I'm not sure whether this is a feasible scenario as I've not yet played with passenger 5.

If you need sudo, that's going to require additional configuration anyway.  If you don't run into problems early in deployment, you will later in deployment, so that's really just a matter of giving the user the most useful error message, as early as possible.  Not within the scope of this ticket but feel free to submit a new PR.
Since your issue is resolved, I'm closing this and #19.


The peerDependencies for react in @hookform/devtools do not match react-hook-form

The peerDependencies for react in @hookform/devtools do not match react-hook-form.
node version = v16.15.1
npm version = v8.11.0
We are using react v16 and we can install react-hook-form but with npm v8 trying to install @hookform/devtools throws an error.
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>
The peerDependencies for react-hook-form
  "peerDependencies": {
    "react": "^16.8.0 || ^17 || ^18"
  },

The peerDependencies for @hookform/devtools
"peerDependencies": {
    "react": ">=17.0.2",
    "react-dom": ">=17.0.2",
    "react-hook-form": "^7.13.0"
  },

Please make the peerDependencies of @hookform/devtools match react-hook-form

want to send us a PR?


Fix Broken GPG Key location

Summary
Our GPG key in Keybase is expired and currently we host that key at our repository.
Ticket Link
Jira: https://mattermost.atlassian.net/browse/DOPS-945

@nab-77 Yes probably we should generate more generic link to publish it. And it is already mentioned at those pages and used at our repo scripts.

https://docs.mattermost.com/install/installing-mattermost-omnibus.html
https://docs.mattermost.com/guides/deployment.html

@spirosoik @iyampaul Do you know any place that we can put/publish our gpg key?

@nab-77 could you elaborate a bit more for "generic"? do you mean something like keys.mattermost.com/*?

i'm 0/5 on the URL @spirosoik but I am sure that since it's to be used across the packages we should remove the Debian reference from the link or....
we follow the format of https://{platform}.mattermost.com/pubkey.gpg
I guess the latter approach minimises any downstream impacts of changes in the what is live for Mattermost Omnibus, the new Debian Desktop packages (but does create the need to update keys over time in the various areas).
I think either works but a CenOS/RHEL/Rocky/Alma package using deb.packages.mattermost.com link would be interesting ;-)

So instead of deploying our public key, how about creating a one dedicated keys page and publish our keys in that page in plain text format. So users may copy from it whenever they need. And we may refer to that page internally whenever needed?
cc @nab-77 @spirosoik @iyampaul @phoinixgrr

i'm 0/5 on the URL @spirosoik but I am sure that since it's to be used across the packages we should remove the Debian reference from the link or....
we follow the format of https://{platform}.mattermost.com/pubkey.gpg
I guess the latter approach minimises any downstream impacts of changes in what is live for Mattermost Omnibus, the new Debian Desktop packages (but does create the need to update keys over time in the various areas).
I think either works but a CentOS/RHEL/Rocky/Alma package using deb.packages.mattermost.com link would be interesting ;-)
Also worth noting that the OS vendors like RH, SUSE, all have their various keys published to a security page (plain txt versions to copy).

I am sure that they have URLs for these keys too. The reason is that I want to use an orchestration tool (ansible, simple bash) and I want to download the key from the URL of the provider (Mattermost) instead of copying it because the key can be updated right?
We can of course put it in a single page but still for automation reasons we need it. cc @pfltdv

We updated our keys at keybase. Shall we crate another topic to have common location and pipeline to store keys, common scripts etc.


Add documentation for new cross-compile tool

Point cross-compile documentation to new cross_compile repo. Legacy instructions are preserved and marked as such.
Closes https://github.com/ros-security/aws-roadmap/issues/59
Signed-off-by: Prajakta Gokhale<EMAIL_ADDRESS>

@maryaB-osr thanks for the approval! The upstream dependency has been merged, can you merge this PR?


can't change ownership of folder

Hi All, I have the cnpg opperator running in my EKS cluster. I have that connected to an EFS storage class.
I want to change the PGDATA to be /data how can I achieve that?
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: dev
spec:
  instances: 1
  startDelay: 300
  stopDelay: 300
  primaryUpdateStrategy: unsupervised
  bootstrap:
    initdb:
      database: app
  storage:
    pvcTemplate:
      accessModes:
        - ReadWriteOnce
      resources:
        requests:
          storage: 2Gi
      storageClassName: postgresql
      volumeMode: Filesystem

This is so I can run postgresql on the efs system as it cant change the ownership of the /var/lib/postgresql/data/pgdata\”
If I do a normal deployment as seen below with the PGDATA value changes it works, so now I am looking to reproduce it in the operator?
      - name: PGDATA
          value: /data
        ports:
        - containerPort: 5432
          name: postgres
        volumeMounts:
        - name: postgres-persistent-storage
          mountPath: /var/lib/postgresql/data
      volumes:
      - name: postgres-persistent-storage
        persistentVolumeClaim:
          claimName: postgresql-pvc

Hi @eolouw
Changing the path of PGDATA is not something the operator allows.
If you can't change the ownership of the FS probably you may want to start looking into another solution. Also, probably looking into EFS and check if it properly support PostgreSQL fs.
Closing since this is not an issue on the operator but rather a problem with an external storage driver.
Regards,


New event: if device supports color

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

New feature

What is the current behavior? (You can also link to an open issue here)

Users can't differentiate if the device the game is running supports Color or not. Games with specific color features like animations using palette cycling look bad in non-color devices. Similarly for games that depend in 2xCPU as they'll run very slow in non-color devices.

What is the new behavior (if this is a feature change)?

A new event that checks if the device supports color and runs scripts accordingly.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No

Other information:

Good idea, works great, thanks @pau-tomas 👍


additional countries

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[ ] Your submissions are formatted according to the guidelines in the contributing guide
[ ] Your additions are ordered alphabetically
[ ] Your submission has a useful description
[ ] The description does not end with punctuation
[ ] Each table column should be padded with one space on either side
[ ] You have searched the repository for any relevant issues or pull requests
[ ] Any category you are creating has the minimum requirement of 3 items

Hi @xnekv03 , can you please resolve all merge conflicts? Also, that title is going to be simply too long - can you also shorten it? Thanks.


Add urlencode to endpoint urls

We got http 400 error when we crawled Japanese hashtag.
This is caused by un-encoded url parameter at src/InstagramScraper/Endpoints.php.
However, whole url parameters should be urlencoded when this library sends request to instagram.
This pull request and diff fixes the problem.
I hope this would help.
Thank you,
Shota

Thans you very much for contribution


W-10698859 [SE-24326] app-name not consistent with ingress template

@kmendiratta-crm  this is for [SE-24326]
I took at stab at the possible change, but I'm not sure it's correct. Needs review

@hegderohit89 can you please help review this?


atfbooru.ninja can not be guessed and will not show image no matter what type.

i tried every type but every time when i hit enter it says zero images.

The type guessing is included in issue #655, and will be fixed next version.
As for which type it is, I tried to add it just now as a Danbooru 2.0 board and could use it properly?

i'll do a clean reinstall and try again.

All's good then, I'm closing the issue.
As for the "cannot guess" part, feel free to follow the status of #655. 😄

Actually, I'm pretty sure it was able to guess it for me.
On Sat, Nov 12, 2016 at 6:19 PM, Jack Vasti<EMAIL_ADDRESS>wrote:

Closed #662 https://github.com/Bionus/imgbrd-grabber/issues/662.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Bionus/imgbrd-grabber/issues/662#event-856876884, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AS2t8H9Umd_7HGhTkt9K01dLV-5KpLXeks5q9kmfgaJpZM4KwjP0
.


comment out the docker and curl lines we'll run later

Docker-DCO-1.1-Signed-off-by: Sven Dowideit<EMAIL_ADDRESS>(github: SvenDowideit)
a follow on for #9952
to test the examples in the https.md documentation, I run
make certs ; make run in one terminal, and then make client in another.

@fredlf @jamtur01
this is an attempt to work out how to make the docs examples testable - and its not going to be trivial.

Cool. What are you using as test criteria? That a command is run-able? That it runs AND does what we say it will? Just curious...
Do you need this merged or is it still WIP?

success atm is that make certs; make run and then make client in another terminal succeeds - and gives output that does not make me worried.
painfully, make certs requires interactive data entry, and you need to get the answers just right.
yes, I'd like it merged so that I don't lose it :)

LGTM


Update alfred version

Thank you for the contribution. It was merged directly as 103f5f3fc3ec62c51e21516d647fd0f14d039465 to keep commit history cleaner. Your contribution is still credited to you.


tf.math.reduce_prod aborts when keepdims contain large values

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below):2.1.0
Python version:3.7.6
Bazel version (if compiling from source):N/A
GCC/Compiler version (if compiling from source):N/A
CUDA/cuDNN version:N/A
GPU model and memory:N/A

Describe the current behavior
tf.math.reduce_prod aborts when keepdims contain large values
Describe the expected behavior
expect an exception message if the input is not expected, instead of crash.
Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np
tf.math.reduce_prod(input_tensor=1, keepdims=np.array([63600, 1], dtype=np.float16))

Output:
2021-01-26 17:02:24.497049: F ./tensorflow/python/eager/pywrap_tensor_conversion.h:58] Check failed: !PyErr_Occurred()
Aborted (core dumped)

@ymodak
I ran the code on tf 2.4 and nightly but colab crashes, please find the gist here.

@ymodak
I ran the code on tf 2.4 and nightly but colab crashes, please find the gist here.

Added a PR #46741 for the fix.

Added a PR #46741 for the fix.


github.com/hashicorp/consul/api v1.1.0 is vulnerable

github.com/hashicorp/consul/api v1.1.0 is vulnerable , consider moving to safer one. You can find more details here
https://search.gocenter.io/github.com/hashicorp/consul/api?version=v1.1.0
https://search.gocenter.io/github.com/ajvb/kala?tab=dependencies

gocenter.io doesn't appear to be a thing.  Feel free to reopen if you have more details.


Adding PyGameZero Workshop

@Cheukting any updates on your side here? Could you please to the rebase?

PR updated, please final check


[FEATURE] Contextual button colors

🚀 Feature request
Is your feature request related to a problem?
We are in need of contextual buttons that indicate success or danger.
Describe the solution you'd like
Buttons appearance mode should also support "Success" and "Error" and use the colors already defined in the current colors set.
Additional context

This can be achieved by custom buttons. Check out the last example:
https://taiga-ui.dev/tui-button#custom
Buttons, like many other components, use tui-wrapper component under the hood. It is responsible for displaying interactive state for different Appearances. You can extend it by adding your custom appearances and defining them in global styles, as shown in example.
I will cover that in Customization guide I plan to add this week.

This can be achieved by custom buttons. Check out the last example:
https://taiga-ui.dev/tui-button#custom
Buttons, like many other components, use tui-wrapper component under the hood. It is responsible for displaying interactive state for different Appearances. You can extend it by adding your custom appearances and defining them in global styles, as shown in example.
I will cover that in Customization guide I plan to add this week.

Perfect, this solves my use case.

Perfect, this solves my use case.


add a new category spark with the draft version of intro page

👷 Deploy Preview for chipper-lily-6467e4 processing.

Name
Link

🔨 Latest commit
6080b69eee0b2b2cb51d2b47d69c71559dc2dbf2

🔍 Latest deploy log
https://app.netlify.com/sites/chipper-lily-6467e4/deploys/64dc8c628384bd00081739ca


Clarifying stale UUID behavior

Clarifying stale UUID behavior with new disks

Why:
Closes request in ZD#1731 for documentation of stale UUID behavior.
Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

ในวันที่ ส. 10 ก.ย. 2022 00:16 น. github-actions[bot] <
@.***> เขียนว่า:

Automatically generated comment ℹ
This comment is automatically generated and will be overwritten every
time changes are committed to this branch.
The table contains an overview of files in the content directory that
have been changed in this pull request. It's provided to make it easy to
review your changes on the staging site. Please note that changes to the
data directory will not show up in this table.
Content directory changes
You may find it useful to copy this table into the pull request summary.
There you can edit it to share links to important articles or changes and
to give a high-level overview of how the changes in your pull request
support the overall goals of the pull request.
Source Preview Production What Changed
admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance.md
https://github.com/github/docs/blob/73ed611ff7c4d75518228d02bb4a2bf5f6b22a56/content%2Fadmin%2Fconfiguration%2Fconfiguring-your-enterprise%2Fconfiguring-backups-on-your-appliance.md
ghes@ 3.6
@./admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance>
3.5
@./admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance>
3.4
@./admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance>
3.3
@./admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance>
3.2
@./admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance>
ghes@ 3.6
@./admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance>
3.5
@./admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance>
3.4
@./admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance>
3.3
@./admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance>
3.2
@./admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance>
fpt: Free, Pro, Team
ghec: GitHub Enterprise Cloud
ghes: GitHub Enterprise Server
ghae: GitHub AE
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/20514#issuecomment-1242240313, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A2KET5HLIJVLLAGSDWVZGJTV5NWFTANCNFSM6AAAAAAQI3IUWU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Previous looks okay to me.

👋 @ronnie Thanks for opening a PR! I'll get it triaged for review ⚡

LGTM- Thanks @vgrl!

Looks good!


Running CoreMark benchmark on Windows

I'm trying to run some more of the benchmarks on Windows, I've done a little bit of investigation into the possibility running the CoreMark benchmark there.
I have successfully compiled and run it in the default single-threaded mode using MSVC and have a little patch to implement multi-threading using the win32 threading APIs (the coremark source files have a couple of 'implement multi-threading here' gaps in their 'core_portme' code that I filled in).
I'm not certain of whether it will be a problem to put that patch into the source tree, or even if this is something you would think is worth doing, or is problematic for any other reason.
I would welcome your input before I invest too much time into creating a benchmark implementation for it ...

I have emailed someone at  EEMBC to see if they can clarify the license terms RE including a patch like that in an open source project.

Did you get an answer from EEMBC?  At one point I asked them to opensource Coremark since they have a new Coremark2 benchmark.  In its current form it really is just a CPU burner test.  Perhaps we should just replace it with sysbench.


Update Debian runtime files

debsources: Add word boundaries around keyword match patterns
debversions.vim: Move lunar to unsupported release

Co-authored-by: James Addison<EMAIL_ADDRESS>

thanks!


Implement archive cleaning service

Remove archives older than a given age threshold.

This is conceptually part of the maintenance service.


Outline or solid is not quit clear

Hi, thanks for wonderful icons!
the icon preview from website, is not same with I set in flutter app:

As you can see, the grin icon it not solid, while website is like this:

I want it to be solid so that fits the style of my app. Do u know why it's not same?

Which Icon library is it ？

I knew it should set weights as SLOID now.


Bug report: was following "Create Simple VRM" tutorial, could not export a default cube

Describe the bug
I was following the tutorial for creating a simple VRM, but every time would get an error upon exporting.
To Reproduce
Follow the "Create Simple VRM" tutorial with Blender 4.3.0
Screenshots

Desktop (please complete the following information)

OS: Windows 11
Blender 4.3.0
Addon Version 2.28.0, 2.28.1, 2.29.0

Additional context
Managed to fix (?) it by commenting out lines 143 and 144 in external/io_scene_gltf2_support.py:
    gltf2_io_debug = importlib.import_module("io_scene_gltf2.io.com.gltf2_io_debug")
    export_settings["log"] = gltf2_io_debug.Log(loglevel)

Thanks for your report!
The bug has been fixed in the latest version 2.30.0 just released. Please try it.

Thank you, it works now!


std snippet

const std = @import("std");

very useful

Sure! You can see now updating the extension


expose: Use resource builder

Plus:

Rename flag --service-name to --name
Some refactoring

Integration tests are failing. Tests are still using service-name
NAME       LABELS    SELECTOR        IP(S)     PORT(S)
frontend       name=frontend             80/TCP
Successful get service frontend {{(index .spec.ports 0).port}}: 80
Error: unknown flag: --service-name
Run 'kubectl help' for usage.
!!! Error in ./hack/test-cmd.sh:536
'kubectl expose service frontend --port=443 --service-name=frontend-2 "${kube_flags[@]}"' exited with status 1
Call stack:
1: ./hack/test-cmd.sh:536 main(...)
Exiting with status 1
+++ [0513 14:14:25] Clean up complete

@rjnagal don't know what I was thinking while submitting the PR yesterday. Updated all --service-name instances to --name. Thanks

@kargakis Is there an issue I can refer to for context?

@kargakis Is there an issue I can refer to for context?

@bprashanth if I knew of any I would have added it in the commit message;)

LGTM. Needs rebase.

rebased

rebased vol.2
can we get this merged now?

Shippable is flake, but travis green. Merging.

Sorry, not merging. There's a freeze in place, will merge afterwards. Kicking shippable in the meantime.

hmmm. hack/test-cmd.sh appears to be failing on shippable.
I0520 17:49:30.970537   21142 manager.go:151] Version: {KernelVersion:3.13.0-43-generic ContainerOsVersion:Ubuntu precise (12.04.5 LTS) DockerVersion:Unknown CadvisorVersion:0.13.0}
I0520 17:49:30.971377   21142 plugins.go:69] No cloud provider specified.
W0520 17:49:31.519457   21142 server.go:535] No api server defined - no events will be sent to API server.
!!! [0520 17:49:36] Timed out waiting for http://<IP_ADDRESS>:10248/healthz
!!! Error in ./hack/test-cmd.sh:43
  'return 1' exited with status 1

If it's passing for you locally, you may want to rebase again :/

Still that fail on shippable? It's confusing that travis is green.

Kicked shippable. LGTM.


Hardening Pub/Sub to BigQuery template

Testing templates with up to 5TB of data and up to 1 GBs throughput

Encountered BigQuery API limit error , increased the batch size to align with API Hit limit.
Was able to test upto 750 Gb of data .
Will publish the test document by the end of this week .

Hi @akhilkurapati12, Could you provide an update on this issue?


v2.0.4 issue with missing childs

After updating to 2.0.4 all my charts with passthrough are not working any more.
Example:
I have three sections with
Left:

solar
grid
battery

Middle:

passthrough solar to grid
remaining_parent_state solar to house
passthrough grid to house/battery
passthrough battery to house/grid

Right:

house
grid
battery

Section config
    sections:
      - entities:
          - entity_id: sensor.senec_solar_generated_power
            color: '#FFB732'
            name: Photovoltaik
            children:
              - sensor.template_senec_to_grid
              - sensor.template_senec_to_battery
              - dummy
          - entity_id: sensor.template_senec_from_grid
            color: '#D06568'
            name: Netz
            children:
              - sensor.template_senec_from_grid
          - entity_id: sensor.template_senec_from_battery
            color: '#4CA64C'
            name: Speicher
            children:
              - sensor.template_senec_from_battery
      - entities:
          - entity_id: sensor.template_senec_to_grid
            type: passthrough
            color: '#4CA64C'
            children:
              - sensor.template_senec_to_grid
          - entity_id: dummy
            type: remaining_parent_state
            color: '#FFB732'
            children:
              - sensor.senec_house_power
          - entity_id: sensor.template_senec_from_grid
            type: passthrough
            color: '#D06568'
            children:
              - sensor.template_senec_to_battery
              - sensor.senec_house_power
          - entity_id: sensor.template_senec_from_battery
            type: passthrough
            color: '#4CA64C'
            children:
              - sensor.senec_house_power
              - sensor.template_senec_to_grid
      - entities:
          - entity_id: sensor.template_senec_to_grid
            color: '#4CA64C'
            name: Netz
          - entity_id: sensor.template_senec_to_battery
            color: '#4CA64C'
            name: Speicher
          - entity_id: sensor.senec_house_power
            color: '#4AB2E5'
            name: Haus

Error messages
Error: Missing child entity sensor.template_senec_from_grid
Error: Missing child entity sensor.template_senec_from_battery
If I add the missing entities to the third section it works, but they should not be shown there.

Don't know what this showed before but this config is not supposed to work and the error is as intended.
Passthrough is supposed to have only 1 child that is the same as its entity_id. If you remove your passthroughs and let the card auto add them they will work

Thx for the quick reply. 👍
Hmmm, this worked for round about a year. Going back to 2.0.3 and it works again.
I cannot show the chart, at the moment I have only grid to house. I´m a little bit confused, because this config worked for me. It was a bit tricky, but I solved it with the right order of the entities in the sections.
My battery always sends some watts to grid while discharging and I had a chart battery one flow to house and the other to grid (4th passthrough).
I will keep an eye on it.

This chart has the same errors.
Screenshot with 2.0.3

Config
        sections:
          - entities:
              - entity_id: sensor.generated_power_daily
                color: '#FFB732'
                name: Photovoltaik
                children:
                  - sensor.exported_power_daily
                  - sensor.power_to_battery_daily
                  - dummy
              - entity_id: sensor.imported_power_daily
                color: '#D06568'
                name: Netz
                children:
                  - sensor.imported_power_daily
              - entity_id: sensor.power_from_battery_daily
                color: '#4CA64C'
                name: Speicher
                children:
                  - sensor.power_from_battery_daily
          - entities:
              - entity_id: sensor.exported_power_daily
                type: passthrough
                color: '#4CA64C'
                children:
                  - sensor.exported_power_daily
              - entity_id: sensor.power_to_battery_daily
                type: passthrough
                color: '#FFB732'
                children:
                  - sensor.power_to_battery_daily
              - entity_id: dummy
                type: remaining_parent_state
                color: '#FFB732'
                children:
                  - sensor.power_hausverbrauch_daily
              - entity_id: sensor.imported_power_daily
                type: passthrough
                color: '#D06568'
                children:
                  - sensor.power_hausverbrauch_daily
              - entity_id: sensor.power_from_battery_daily
                type: passthrough
                color: '#4CA64C'
                children:
                  - sensor.power_hausverbrauch_daily
          - entities:
              - entity_id: sensor.exported_power_daily
                color: '#4CA64C'
                name: Netz
              - entity_id: sensor.power_to_battery_daily
                color: '#4CA64C'
                name: Speicher
              - entity_id: sensor.power_hausverbrauch_daily
                color: '#4AB2E5'
                name: Haus

The way passthrough is intended to work is that you don't add the passthroughs yourself in most cases. The card will handle it and you only add explicit passthrough if you need to change the path or color of the connection.
I changed how it is calculated because it didn't work in many cases before where it should have. Seems like it did work for your case but that was unintended.

your last config should work like this:
        sections:
          - entities:
              - entity_id: sensor.generated_power_daily
                color: '#FFB732'
                name: Photovoltaik
                children:
                  - sensor.exported_power_daily
                  - sensor.power_to_battery_daily
                  - sensor.power_hausverbrauch_daily
              - entity_id: sensor.imported_power_daily
                color: '#D06568'
                name: Netz
                children:
                  - sensor.power_hausverbrauch_daily
              - entity_id: sensor.power_from_battery_daily
                color: '#4CA64C'
                name: Speicher
                children:
                  - sensor.power_hausverbrauch_daily
          - entities:
              - entity_id: sensor.exported_power_daily
                type: passthrough
                color: '#4CA64C'
                children:
                  - sensor.exported_power_daily
              - entity_id: sensor.power_to_battery_daily
                type: passthrough
                color: '#FFB732'
                children:
                  - sensor.power_to_battery_daily
              - entity_id: sensor.power_hausverbrauch_daily
                type: passthrough
                children:
                  - sensor.power_hausverbrauch_daily
          - entities:
              - entity_id: sensor.exported_power_daily
                color: '#4CA64C'
                name: Netz
              - entity_id: sensor.power_to_battery_daily
                color: '#4CA64C'
                name: Speicher
              - entity_id: sensor.power_hausverbrauch_daily
                color: '#4AB2E5'
                name: Haus

Though the middle section is not really needed since it is just passthroughs

your last config should work like this:
        sections:
          - entities:
              - entity_id: sensor.generated_power_daily
                color: '#FFB732'
                name: Photovoltaik
                children:
                  - sensor.exported_power_daily
                  - sensor.power_to_battery_daily
                  - sensor.power_hausverbrauch_daily
              - entity_id: sensor.imported_power_daily
                color: '#D06568'
                name: Netz
                children:
                  - sensor.power_hausverbrauch_daily
              - entity_id: sensor.power_from_battery_daily
                color: '#4CA64C'
                name: Speicher
                children:
                  - sensor.power_hausverbrauch_daily
          - entities:
              - entity_id: sensor.exported_power_daily
                type: passthrough
                color: '#4CA64C'
                children:
                  - sensor.exported_power_daily
              - entity_id: sensor.power_to_battery_daily
                type: passthrough
                color: '#FFB732'
                children:
                  - sensor.power_to_battery_daily
              - entity_id: sensor.power_hausverbrauch_daily
                type: passthrough
                children:
                  - sensor.power_hausverbrauch_daily
          - entities:
              - entity_id: sensor.exported_power_daily
                color: '#4CA64C'
                name: Netz
              - entity_id: sensor.power_to_battery_daily
                color: '#4CA64C'
                name: Speicher
              - entity_id: sensor.power_hausverbrauch_daily
                color: '#4AB2E5'
                name: Haus

This works except of the part how much solar the house has consumed.

First I will stay on the v2.0.3, which is working for me Thx for the help!

Same issue here with two of my more complex charts.
I'll also stay on v2.03 until I find some hours to fiddle around. Setting it up like that did take quite some time and automatic functions did not work when I did it.

  - height: 300
    unit_prefix: k
    round: 1
    min_box_height: 3
    min_box_distance: 5
    show_states: true
    show_units: true
    show_names: true
    energy_date_selection: true
    sections:
      - entities:
          - entity_id: sensor.e3dc_hist_today_production
            type: entity
            name: Dach
            color: yellow
            children:
              - pvtotal
              - sensor.e3dc_hist_today_akku_in
          - entity_id: sensor.pv_garagenseite_taglich
            type: entity
            color: yellow
            name: Garagenseite
            children:
              - pvtotal
              - sensor.e3dc_hist_today_akku_in
          - entity_id: sensor.solaredge_lifetime_energy
            type: entity
            name: Garage
            color: yellow
            children:
              - pvtotal
              - sensor.e3dc_hist_today_akku_in
          - entity_id: sensor.e3dc_hist_today_akku_out
            substract_entities:
              - sensor.e3dc_hist_today_akku_in
            type: entity
            color: var(--success-color)
            children:
              - sensor.e3dc_hist_today_akku_in
              - pvtotal
          - entity_id: sensor.e3dc_hist_today_consumption_net
            type: entity
            name: Netz
            color: red
            children:
              - sensor.e3dc_hist_today_consumption_net
      - entities:
          - entity_id: sensor.e3dc_hist_today_akku_in
            substract_entities:
              - sensor.e3dc_hist_today_akku_out
            type: entity
            name: Akkuladung
            color: var(--success-color)
            children: []
          - entity_id: pvtotal
            type: remaining_parent_state
            color: yellow
            name: PV Gesamt
            children:
              - sensor.luftung_hauptzahler
              - sensor.netzwerkschrank_zwischenzahler
              - sensor.klingel_ladegerat_energy
              - sensor.shellyplugpc_energy
              - sensor.klima_zwischenzahler
              - sensor.backofen_zwischenzahler
              - sensor.trockner_zwischenzahler
              - sensor.herd_zwischenzahler
              - sensor.kuche_zwischenzahler
              - sensor.wohnen_zwischenzahler
              - sensor.spulmaschine_zwischenzahler
              - sensor.waschmaschine_zwischenzahler
              - sensor.e3dc_hist_today_prouction_net
              - remaining
              - sensor.e3dc_hist_total_consumption_wb
              - sensor.s10e_additional_consumption_total
          - entity_id: sensor.e3dc_hist_today_consumption_net
            type: passthrough
            name: Netz
            color: red
            children:
              - sensor.luftung_hauptzahler
              - sensor.klingel_ladegerat_energy
              - sensor.netzwerkschrank_zwischenzahler
              - sensor.shellyplugpc_energy
              - sensor.klima_zwischenzahler
              - sensor.backofen_zwischenzahler
              - sensor.trockner_zwischenzahler
              - sensor.herd_zwischenzahler
              - sensor.kuche_zwischenzahler
              - sensor.wohnen_zwischenzahler
              - sensor.spulmaschine_zwischenzahler
              - sensor.waschmaschine_zwischenzahler
              - remaining
              - sensor.e3dc_hist_total_consumption_wb
              - sensor.s10e_additional_consumption_total
      - entities:
          - entity_id: sensor.s10e_additional_consumption_total
            type: entity
            name: Heizung
            color: red
          - entity_id: sensor.luftung_hauptzahler
            type: entity
            name: Lüftung
            color: red
          - entity_id: sensor.netzwerkschrank_zwischenzahler
            type: entity
            name: Netzwerkschrank
            color: magenta
          - entity_id: sensor.klingel_ladegerat_energy
            type: entity
            name: Wandtablets
            color: magenta
          - entity_id: sensor.shellyplugpc_energy
            type: entity
            name: Schreibtisch
            color: CornflowerBlue
          - entity_id: sensor.klima_zwischenzahler
            type: entity
            name: Klima DG
            color: CornflowerBlue
          - entity_id: sensor.herd_zwischenzahler
            type: entity
            name: Herd
            color: teal
          - entity_id: sensor.backofen_zwischenzahler
            type: entity
            name: Backofen
            color: teal
          - entity_id: sensor.spulmaschine_zwischenzahler
            type: entity
            name: Spülmaschine
            color: teal
          - entity_id: sensor.kuche_zwischenzahler
            type: entity
            name: Küche Rest
            color: teal
          - entity_id: sensor.wohnen_zwischenzahler
            type: entity
            name: Wohnen
            color: Turquoise
          - entity_id: sensor.waschmaschine_zwischenzahler
            type: entity
            name: Waschmaschine
            color: red
          - entity_id: sensor.trockner_zwischenzahler
            type: entity
            name: Trockner
            color: red
          - entity_id: remaining
            type: remaining_parent_state
            name: Rest
            color: '#870082'
          - entity_id: sensor.e3dc_hist_today_prouction_net
            name: Einspeisung
            color: var(--success-color)
          - entity_id: sensor.e3dc_hist_total_consumption_wb
            type: entity
            name: Wallbox
            color: gray
    type: custom:sankey-chart


Notification visible on the lockscreen

I don't know whether it is because of my poor knowledge of the plugin or what but I'm not able to hide the notification of my running foreground service on the lockscreen. Is there any solution for that?

The currently uploaded plug-in is developed so that notification can be seen on the lock screen. I will add more options in the future.

@darshansatra1
Update this plugin and try setting the visibility option value to NotificationVisibility.VISIBILITY_SECRET.
  void _initForegroundTask() {
    FlutterForegroundTask.init(
      notificationOptions: NotificationOptions(
        channelId: 'notification_channel_id',
        channelName: 'Foreground Notification',
        channelDescription: 'This notification appears when a foreground task is running.',
        channelImportance: NotificationChannelImportance.LOW,
        priority: NotificationPriority.LOW,
        visibility: NotificationVisibility.VISIBILITY_SECRET,
        iconData: NotificationIconData(
          resType: ResourceType.mipmap,
          resPrefix: ResourcePrefix.ic,
          name: 'launcher',
        ),
      ),
      foregroundTaskOptions: ForegroundTaskOptions(
        interval: 5000,
        autoRunOnBoot: true,
      ),
      printDevLog: true,
    );
  }


VS Code extension API for registering pointer down and up and translating coordinates to line/character position

I have developed a VS Code Box Drawing extension which works by using selection's start and end positions to work out a level rectangle between the two positions in the text and replaces the edge characters of the rectangle with Unicode box drawing characters.
This works great with a selection start and end positions provided, but it also requires at least white space to already extend all the way to the right edge of where the box is supposed to end, otherwise the selection cannot be made that far.
I would like to achieve two things:

Be able to use mouse events and figure out would-be positions from them even if they extend beyond the length of the lines, so that I can back-fill the missing line length with white-space as I go drawing the box.
Be able to draw arrows (simple enough using the Bresenham's line algorithm).

I have read the Visual Studio Code API Reference and it has only one mention of the mouse pointer in this section underneath the languages header:

The rest, like tracking the mouse, positioning the hover, keeping the hover stable etc. is taken care of by the editor.

I have also read through the Extensibility Reference finding nothing relevant to what I aim to achieve.
This extension only makes sense for monospaced fonts, so additionally, I'd like to find out if there is a way to tell if the editor font is monospaced so I can reject extension activation with an error if that's not the case.
(I have also asked this as a Stack Overflow question, but seeing how most question even weeks back in the vscode and vscode-extensions tag get zero activity, I figured this would be a better place to ask.)

I think that exposing mouse events to the extension API is not something that we'd be likely to add but I don't think there's another issue tracking it.

Be able to draw arrows (simple enough using the Bresenham's line algorithm).

What are you asking for from us for this one?

I'd like to find out if there is a way to tell if the editor font is monospaced

I don't think there is a generic way to do this unfortunately.

Both points would be served by the mouse events, sorry for the confusion. I understand why this is not getting exposed. Closing the issue so it can be reopen were this to change.


Deployment guide: Digital Ocean App Platform

A deployment guide for Digital Ocean, similar to the guides that we already have.

We're currently not planning to add this to our docs but people who need this can find a deployment guide here: https://www.digitalocean.com/community/tutorials/how-to-build-a-graphql-api-with-prisma-and-deploy-to-digitalocean-s-app-platform


[doc-improvement][In-app purchases]

Whats new update and removing dev preview info

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/deploy-and-publish/appsource/prepare/in-app-purchase-flow.md
93
3
link
:white_check_mark:

msteams-platform/whats-new.md
93
35
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 2a595d5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/prepare/in-app-purchase-flow.md
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
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.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


MPU6886::calibrateAccelGyro() failure

Hi,
trying Calibrated_sensor_output.ino with an esp32 and an MPU6886
MPU6886::calibrateAccelGyro() fails to read back the FIFO sample count here - the readBytes() request is NAK'd, hence fifo_count is zero, resulting in a divide-by-zero here

not sure what to do about it, short from replacing gyro calibration with averaging
thanks!
 When I remove the calibration, I get data but they're extremely noisy.

I'll see if I can get my hands on an MPU6886 again to properly fix that IMU.

Please check if my PR #25 solves this Issue.
It works for me, but I'm not sure if the calibration is working properly now.


Add a '.clear session' command or support for aliases ?

Good evening,
Today, we have a .clear messages to clear the message history, which is really convenient.
But if we are in a session and within a role, and we want to exit it, we need two actions:  1° clear the message, and 2° exit the role (note that there is little inconsistency here, after clearing the messages, the autocompletion, does not propose you to '.exit role').
So an idea to ease that workflow is to add a  .clear session that will at the same time, clear the session messages and exit the role.
One another idea, instead of adding too many special, and potentially confusing commands, is to provide the ability for the users to create aliases (This could open the door to chain generations too!).
For my exemple, it could be something like the following:

alias ".clear session"=".clear messages >> .exit role"

I will fix the missing .exit role completion after .clear messages.
I won't add .clear session as it may be confused with .exit session.
I won't support aliases because AIChat has less than 10 commands so it's not worth it.

Hop,
There is a related issue here (tell me if you prefer that I open a new one @sigoden )
.clear messages delete the "system" prompt when you are in a role. It should not be the case as .clear messages does not clear the role as discussed.

.clear messages will not remove the system prompt (which will be automatically generated from the role), please build from the latest commit and try again. @dtrckd

I will fix the missing .exit role completion after .clear messages.

.exit role seems to not be available (in 0.19.0), even if the session is cleared/empty.


[spark] Add show tags sql syntax

Purpose
Add show tags sql syntax like show partitions.
show tags table_identifier

Tests

API and Format

Documentation

Could you add this syntax in doc https://paimon.apache.org/docs/master/spark/sql-ddl/ ?

Could you add this syntax in doc https://paimon.apache.org/docs/master/spark/sql-ddl/ ?

doc added. and addressed comments, thanks @wwj6591812

+1


Private Tangle with Autopeering

Description of change
Enables Autopeering on Private Tangle
Type of change
Choose a type of change, and delete any options that are not relevant.

Enhancement (a non-breaking change which adds functionality)

How the change has been tested
Manual Testing.
Change checklist
Add an x to the boxes that are relevant to your changes, and delete any items that are not.

[x] My code follows the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[] I have added tests that prove my fix is effective or that my feature works
[] New and existing unit tests pass locally with my changes

For https://github.com/iotaledger/one-click-tangle/blob/c0d19ac4126a1d37aa8811d639fc350bb8ffd50b/hornet-private-net/extra-nodes/private-hornet.sh#L16 and https://github.com/iotaledger/one-click-tangle/blob/c0d19ac4126a1d37aa8811d639fc350bb8ffd50b/hornet-private-net/extra-nodes/private-hornet.sh#L30 apart from peer address there should also be autopeering address

The link to the file Readme_AWS seems to be missing here, hence it leads to a dead link https://github.com/jmcanterafonseca-iota/one-click-tangle/blob/c0d19ac4126a1d37aa8811d639fc350bb8ffd50b/hornet-private-net/extra-nodes/README.md#L3

With this fixes, this should sort out the problem. Tested it out and it works well. Both peering and autopeering
./private-hornet.sh install  node002 e2e3bd296e6f15301316bba5230d196d455dd2ddf7b4a659cdaa0c65c8d9d815 "\/dns\/node-autopeering\/udp\/14626\/autopeering\/6amaq5p2Bt2pzPHBTZyXRsZn5ZqxojhKtew2jJeEHc3F"
and
./private-hornet.sh install node001 e2e3bd296e6f15301316bba5230d196d455dd2ddf7b4a659cdaa0c65c8d9d815 "\/dns\/spammer\/tcp\/15600\/p2p\/12D3KooWQk6fsW2FCP224tkk1CAL6eKi9uuf8NDbrQ4BC8HCnXDF"
The nodes connected and synced with each other. And the milestones add up/are the same.


Fixes assertion for SetVolumeForUsersPlaybackRequest.volume_percent

Thanks! Could you please do a quick search through the code if this occurs somewhere else too?

Looks fine for all others <= and >= as well as for < and >

Oops, I've merged right when you added the second commit. That one is not indented correctly and thus one cannot easily see what was changed exactly. But no problem though, just create separate branches for each fix and send separate pull requests. I'll tell you when I've reset the merged changes.

Reverted and fixed in #133 & #134.


linking with json

When building with current version of libjson (0.9 from https://s3.amazonaws.com/json-c_releases/releases/index.html or with latest code at https://github.com/json-c/json-c), linking fails since library names have changed from json-c to json. For release 0.12, current linking works.

Thanks for the feedback!  I'll modify the configure script accordingly.


Update code to Separate Editor & Sidebar only for this theme only

For issue https://github.com/sdras/night-owl-vscode-theme/issues/177#issue-429244499

Good catch, thank you :)


Add the snapshot repository for com.saveourtool.save:save-common snapshots

me myself and I

me myself and I


Change github-repository-standards from Ruby to Python

Background
The first part of the github-repository-standards repo process is in Ruby, this can be changed to Python and use the Python code implemented on other repos.
The plan will be to merge this new Python code with the existing Python code so that it is one Python Application rather than a Ruby App and a Python script.
The final Python application will be fully tested.
At the end of this the Gemfile, .rspec, Gemfile.lock, .github/workflows/rspec.yml and .ruby-version files and the spec folder should be removed.
The readme will need updating.
The .github/dependabot.yml will need the bundler section removed.
Consider moving this new Python code to the operations-engineering repository, but keep the repo's README.md as reference material as the repo will have been linked to in the past. Remove all the other non needed files from the repo if we go ahead with this change.

This ticket can finally be closed. We have:

re-written the Ruby code into Python
integrated it into our operations-engineering lifecycle
re-written the API backend to accept a more efficient way of storage and retrieval
archived the old code and deployed a brand new reports dashboard.


Docker compose build fails in local development

Following the guide on the readme, after running
sudo docker-compose up -d --build
this command resulted in this output:
 => [php-cli internal] load .dockerignore                                                                    0.0s
 => => transferring context: 2B                                                                              0.0s
 => [php-cli internal] load build definition from Dockerfile                                                 0.0s
 => => transferring dockerfile: 381B                                                                         0.0s
 => [php-cli internal] load metadata for docker.io/library/composer:latest                                   0.8s
 => [php-cli internal] load metadata for docker.io/library/php:8.2-cli                                       0.8s
 => CACHED [php-cli stage-0 1/4] FROM docker.io/library/php:8.2-cli@sha256:e0941c06b8a4f6e48c7c57672dce608d  0.0s
 => CACHED [php-cli] FROM docker.io/library/composer:latest@sha256:6d19e1002b091908fc4654725d4055125f181c1b  0.0s
 => ERROR [php-cli stage-0 2/4] RUN apt-get update && apt-get install -y zip unzip git curl default-mysql-c  0.0s
------
 > [php-cli stage-0 2/4] RUN apt-get update && apt-get install -y zip unzip git curl default-mysql-client libicu-dev:
------
failed to solve: process "/bin/sh -c apt-get update && apt-get install -y zip unzip git curl default-mysql-client libicu-dev"
did not complete successfully: failed to create endpoint seq8o7cblxs6mpcqw4w6t3sui on network bridge:
failed to add the host (vethf4b2ba4) <=> sandbox (vethb5c1d57) pair interfaces: operation not supported

Docker issue, reboot fixed it


Adapt to atan2 -> atan change

I expect this to be pretty uncontroversial, so I'll go ahead and merge this.


Hayaku Bundle for Atom

Hello!
Do you plan to support @atom editor?

1

+1   Hayaku is a must have!

Also looking forward for Atom support

+1

:+1:

+1

+1

+1

+1

+1

+1

+1

+1

+1

:+1:

+1

:+1:

+11

Looks like this is quite in demand, would be cool to get info on this from a dev.

Yeah that'd be great, I tried to use atom again today and hayaku was the first plugin I tried to install.
There's no way to "port" this other than a complete rewrite (Python vs JS)

Either way, no one will listen, so you're wasting your time. A better use would be to write the extension yourselves.

rekt

Hey everyone!
I have started an implementation of Hayaku in JS, so there is a chance I would make both Atom & VS Code versions. Just don't expect it to be made soon, or to be a full-fletched implementation.
Speaking of the implementation: it would be nice to hear what are the Hayaku features you like the most and would miss the most in case they would be absent?
For example: there are limitations in VS Code snippet implementation which prevents me from doing postexpands there. I didn't yet look at Atom's API, but there is a chance it could have a similar issue. Are postexpands used by you? Or you could live without them at least until they would be possible to implement?
Tell me any thoughts you have about Hayaku, it would a) motivate me, b) make it possible to prioritize which features to implement first!

@kizu, I suppose that postexpands can be covered buy native editor features or other existing plugins, but the killer feature of Hayaku is the fuzzy search. Thanks for your amazing work, it really speeds up writing css code.


[lightgbm] Add open-source library lightgbm to vcpkg

Add open-source library lightgbm to vcpkg
LightGBM GitHub Repo: https://github.com/microsoft/LightGBM

[x] Changes comply with the maintainer guide.
[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[x] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx.
[x] The versioning scheme in vcpkg.json matches what upstream says.
[x] The license declaration in vcpkg.json matches what upstream says.
[x] The installed as the "copyright" file matches what upstream says.
[x] The source code of the component installed comes from an authoritative source.
[x] The generated "usage text" is accurate. See adding-usage for context.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is in the new port's versions file.
[x] Only one version is added to each modified port's versions file.

De-vendored dependencies listed in vcpkg.json. "Fast double parser" is not a vcpkg port, however "Fast float parser" is which is the successor to "Fast double parser". Do not want to alter lightgbm to utilize the new library. Pulled sub-module git commit and copied into expected folder as seen done elsewhere in this repo.

Feature passed with following triplets:
x86-windows
x64-windows
x64-windows-static

Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review". That way, I can be aware that you've responded since you can't modify the tags.

Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review". That way, I can be aware that you've responded since you can't modify the tags.

Thanks for the review. Made the requested changes. Let me know if the description isn't condensed enough.

Thanks for the new port!

Thanks for the new port!

Thanks for taking the time to review!


[WFLY-18967] Require SE 17+ to build, 17 to deploy, but SE 11 source/…

…target/release level
https://issues.redhat.com/browse/WFLY-18967
Just a draft while we sort the issues discussed in https://wildfly.zulipchat.com/#narrow/stream/174184-wildfly-developers/topic/SE.2017.20as.20base.20compiler In the meantime I expect a lot of CI failures.

More information about the wildfly-bot[bot]

Thanks @jamezp


Add node-armhf and document template store

Adding node-armhf template since it was missed by me
also adding tempalte store heading and how to apply
your own custom template
Signed-off-by: Martin Dekov (VMware<EMAIL_ADDRESS>Added node-armhf since I missed it adding it and in the process saw that. Also added how to add your own template to the store and what the store is.
Closes #46

@martindekov are you still aiming to incorporate these changes?  It'd be good to have the readme reflect the progress with the template store.

Sorry @rgee0 missed the comments, I will amend the changes ASAP

Ok now the PR is updated, thanks again for the feedback @rgee0 and I apologize for the delay 👍

I will actually add some sort of
Approved custom templates
csharp added by ...

Also added field showcasing the custom templates that were created by members of the community

@martindekov can you check once more that this is still relevant and required? I ask because I made some edits to the README.md file recently.

Hey  Alex I believe this is needed as we don't have steps for how to submit community templates, the README.md contains information how to add functions, not templates.

Please can you rebase and resubmit?

Of course will do it in a minute


TensorFlowInferenceInterface: readNodeFloat error

This is part of my Tensorflow frozen graph, I have named the input and output nodes.
>>> g.ParseFromString(open('frozen_graph.pb','rb').read())
>>> g
node {
  name: "input"
  op: "Placeholder"
  attr {
    key: "dtype"
    value {
      type: DT_FLOAT
    }
  }
  attr {
    key: "shape"
    value {
      shape {
        dim {
          size: -1
        }
        dim {
          size: 68
        }
      }
    }
  }
}
...
node {
  name: "output"
  op: "Softmax"
  input: "add"
  attr {
    key: "T"
    value {
      type: DT_FLOAT
    }
  }
}

I ran this model by the following code
(CELL is name of directory where my file is located)
final String MODEL_FILE = "file:///android_asset/" + CELL + "/optimized_graph.pb" ;
final String INPUT_NODE = "input" ;
final String OUTPUT_NODE = "output" ;
final int[] INPUT_SIZE = {1,68} ;
float[] RESULT = new float[8];

inferenceInterface = new TensorFlowInferenceInterface();
inferenceInterface.initializeTensorFlow(getAssets(),MODEL_FILE) ;
inferenceInterface.fillNodeFloat(INPUT_NODE,INPUT_SIZE,input);

and finally
inferenceInterface.readNodeFloat(OUTPUT_NODE,RESULT);

But I get this error in Log
12-28 16:42:48.622 9890-12178/com.getfocus.signalsimilarity I/native: tensorflow_inference_jni.cc:151 Initialization done in 52.275ms
12-28 16:42:51.048 9890-12178/com.getfocus.signalsimilarity E/native: tensorflow_inference_jni.cc:170 Output [output] not found, aborting!

I have searched a lot for the solution but nothing seems to solve this. Thanks in advance

Please pay attention to the issue template (https://github.com/tensorflow/tensorflow/issues/new) . Please provide all the information it asks.
In particular, it would be helpful to know more about the version of TensorFlow you're using. It seems the Android code is from an older version of TensorFlow (1.0 or prior? since tensorflow_inference_jni.cc was removed by version 1.1).
Anyway, from the error message it seems that perhaps the model file being used by your Android application (optimized_graph.pb) is different from the model you described earlier (frozen_graph.pb). It is possible that the graph in the Android asset does not have any node named output?

Thanks for your response, I have solved it, the problem was in inference interface.run() which I had did not execute in an orderly manner.


Fix broken Django Compressor setup and enable static files minification

Description
To change the django compressor setup as well as the startup script for django when required (if using Whitenoise).
Rationale
I am propsing to change the django compressor setup for 2 reasons:

It currently does not work except when chosing S3 cloud storage
Currently no minification is performed on files, making it mostly redundant as this is a major feature of compressor.

The start script is modified when whitenoise is also enabled as compress must then run at start (part of the reason it currently doesn't work).
Use case(s) / visualization(s)
It will improve site speed by minifiying static resources on app start and also fixes a broken setup.
Fixes #2336

Fixes issue #2336

I gave this a try, but it's not working out of the box. If I choose to use compressor, the compression doesn't run by default. I think we're just missing one piece, it's to change the default environment variable here, which is unset:
https://github.com/pydanny/cookiecutter-django/blob/530868d072248b4472fb09a42e511c6024f361dd/{{cookiecutter.project_slug}}/.envs/.production/.django#L34-L38
Since the default value is already specified in the settings, and this is not anything secret, I suggest to remove the above part from the .envs/.production/.django entirely. Thoughts?

I gave this a try, but it's not working out of the box. If I choose to use compressor, the compression doesn't run by default. I think we're just missing one piece, it's to change the default environment variable here, which is unset:
https://github.com/pydanny/cookiecutter-django/blob/530868d072248b4472fb09a42e511c6024f361dd/{{cookiecutter.project_slug}}/.envs/.production/.django#L34-L38
Since the default value is already specified in the settings, and this is not anything secret, I suggest to remove the above part from the .envs/.production/.django entirely. Thoughts?

Strange, hadn't noticed that part but it makes sense to just remove it from the .django entirely (can't see any reason why someone would want it unset? probably a bug). I'll update tomrrow when at a PC.

Thanks for the quick reply.

Thanks 🎉


update to latest abapGit

update to latest abapGit

@se38 any thoughts on this PR?

Sorry, somehow missed the PR. Will merge the changes now. (currently I don't have a running system at home where I could test your changes. A build on 100% trust :-) )


Cross server chatlink no longer works

Describe the bug
As title says, the cross server chat is no longer working in game. Tested it with Centuron in atlas and me in Orion/titan, no messages were received. Ran /chatlink toggle to see if it was left on, but it was enabled.
To Reproduce

Go to Any of the 3 servers, and have another test dummy on a different server
Try to talk to them
See error

Has been fixed since yesterday. Thanks for the report!


[iOS] Visual Course Completion Improvements

### Tasks
- [ ] https://github.com/openedx/openedx-app-ios/issues/122

Marking this closed, but put linked task into Q3 cleanups epic


Implement Windows XP fallback mechanism for thread pools

This is necessary to ensure that compatibility libraries that use Autowiring are still dynamically linkable on Windows XP without delay loading.  Hopefully this is the last LH+ API that needs to be refactored.

SystemThreadPoolWinLH.cpp looks equivalent to the old functionality and the tests pass so I assume this is safe for Win7+. Will merge then test off develop to find the next XP roadblock if there is one.


[Feature] Design biography page for the site

Description
design one good biography page with all the required content
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the [Contributing Guidelines]
[X] I have read the discussion tab thoroughly and got the project idea
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

@karthiknadar1204 i'll work on this issue

@rohansx please add labels accordingly


Feature: Selectable font-family

TODO
/admin/customize

Add radio button to select System Default Font

preset 1: font-family: Lato, sans-serif;
preset 2: font-family: Lato, 'Noto Sans JP', sans-serif;
custom

Add checkbox Allow customize font by users

Add radio button to select System Default Monospace Font

preset 1: font-family: Roboto Mono, monospace;
preset 2: font-family: Roboto Mono, 'MS Gothic', monospace;
custom

Add checkbox Allow customize font by users

/me

Add radio button to select Default Font

Use System Default Font
preset 1: font-family: Lato, sans-serif;
preset 2: font-family: Lato, 'Noto Sans JP', sans-serif;
custom

Add radio button to select Default System Monospace Font

Use System Default Monospace Font
preset 1: font-family: Roboto Mono, monospace;
preset 2: font-family: Roboto Mono, 'MS Gothic', monospace;
custom

Create a swig widget to add <link> tag

Load google fonts according to selected system fonts and selected user custom fonts

weight: 400 and 700

Migration

Set system font-family according to the system language

@yuki-takei has funded $100.00 to this issue.

Submit pull request via IssueHunt to receive this reward.
Want to contribute? Chip in to this issue via IssueHunt.
Checkout the IssueHunt Issue Explorer to see more funded issues.
Need help from developers? Add your repository on IssueHunt to raise funds.

Is the preset font added to style like how custom css is added to style? https://github.com/weseek/growi/blob/master/src/server/views/layout/layout.html#L104

Is the preset font added to style like how custom css is added to style?

Yes, the preset font styles selected on admin page must be injected into a swig file somewhere.


Raw JSON keys used everywhere.

Raw strings are used for JSON keys all over the place.  These need to be replaced with constants.

Hi @cmeiklejohn , I would like to work on this issue , can you please elaborate it ?


Unable to build due to spaces in file names

Originally reported by: Anonymous

I'm using Slackware Linux and GNU make to try and build the tutorials.
I can build the glsdk and the framework both in Release and Debug mode.
The tutorials fail with this kind of error:
#!log

==== Building Tut 08 Gimbal Lock (debug) ====
Creating obj/Debug/Tut 08 Gimbal Lock
GimbalLock.cpp
g++: error: 08: No such file or directory
g++: error: Gimbal: No such file or directory
g++: error: Lock/GimbalLock.d: No such file or directory
make[1]: *** [obj/Debug/Tut 08 Gimbal Lock/GimbalLock.o] Error 1
make: *** [Tut 08 Gimbal Lock] Error 2

Delving a little deeper, the problem is caused by this line (3rd) in the makefiles:
#!makefile

$(OBJDIR)/GimbalLock.o: GimbalLock.cpp
    @echo $(notdir $<)
    $(SILENT) $(CXX) $(CXXFLAGS) -o "$@" -MF $(@:%.o=%.d) -c "$<"

that produces this kind of command:
#!log

g++ -MMD -MP -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DTIXML_USE_STL -DFREEGLUT_STATIC -DLOAD_X11 -D_LIB -DFREEGLUT_LIB_PRAGMAS=0 -DDEBUG -D_DEBUG -I../framework -I../glsdk/glload/include -I../glsdk/glimg/include -I../glsdk/glm -I../glsdk/glutil/include -I../glsdk/glmesh/include -I../glsdk/freeglut/include  -g  -o "obj/Debug/Tut 08 Gimbal Lock/GimbalLock.o" -MF obj/Debug/Tut 08 Gimbal Lock/GimbalLock.d -c "GimbalLock.cpp"

The problem is caused by the whitespace here: '-MF obj/Debug/Tut 08 Gimbal Lock/GimbalLock.d', adding quotes to $(@:%.o=%.d) in the Makefiles would solve the problem.
I couldn't find anyone else with this problem, but I have reproduced it in several machines.

Bitbucket: https://bitbucket.org/alfonse/gltut/issue/96

The Bitbucket repo for Premake is gone. The change that fixed this problem was checked in to the Github Premake-4 repo here:
https://github.com/premake/premake-4.x/commit/a9141dee8f470f624574f4e7a0fadac20a83a0db
Unfortunately that was after the last Premake 4.4 beta was cut 5 years ago.

If anyone else runs into this issue (especially if you're using VS instead of GNU to build the project), I updated all the project files and .lua files in my fork to no longer include spaces, and added build instructions to the readme; I also added premake4 and glsdk to the main directory so that it's all in one place.
Here's the fork: https://github.com/Zaela24/gltut

fixed by #134


fixed styling on ipad and changed text

https://trello.com/c/aQUqy9pH/213-traumatic-events-section-looks-bad-on-tablet
https://trello.com/c/xcHVw6TN/165-traumatic-events-text-in-taking-the-test-page

Is the paragraph here meant to be aligned to the left?

Will ask Tag

FeelingSection.js line 28: max-width 90% here would make the paragraph the same width as the header text. We should ask design what they want this to look like.


Add back example output images as lfs tracked files

Part of https://github.com/opencv/opencv_zoo/issues/165

The images in each model readme file are not ready since the path is change

Fixed.


UP-4861, UP-4881, UP-4882: Gradle Build Cleanup

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines
[x] tests are included

Description of change

UP-4681: Enables error prone compiler checks for Java.
UP-4881: Use plugins block to load Gradle plugins
UP-4882: Move linting to allprojects block so grandchild projects are checked.

:question: Why all together in one PR?
:a: Because they all turned out to be interrelated, it would have been more effort to do these separate.

Linux build is running into Travis CI's resource limit.
https://discuss.gradle.org/t/gradle-check-fails-but-tests-finish-with-success/10214

Invoking lazy consensus, if there are no objections this will be merged later this week.


Moved to meshkit's new gitwalker which doesn't use api.github.com

Signed-off-by: ashish<EMAIL_ADDRESS>Description

Removed the old Gitwalker function from meshery which should not be used anymore as it has been centralized in meshkit.
The only place that was being used was to import content using github URL. Replaced that with new gitwalker which clones the repo in order to avoid any API calls.

Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #4667 (040346d) into master (fd880f7) will decrease coverage by 7.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4667      +/-   ##
==========================================
- Coverage   32.97%   25.97%   -7.01%
==========================================
  Files          60       60
  Lines        5082     5082
==========================================
- Hits         1676     1320     -356
- Misses       2967     3433     +466
+ Partials      439      329     -110

Flag
Coverage Δ

gointegrationtests
?

unittests
25.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/start.go
1.11% <0.00%> (-58.52%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
2.50% <0.00%> (-47.50%)
:arrow_down:

mesheryctl/internal/cli/root/system/status.go
0.00% <0.00%> (-47.44%)
:arrow_down:

mesheryctl/internal/cli/root/system/update.go
1.05% <0.00%> (-34.74%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
1.78% <0.00%> (-23.22%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.39% <0.00%> (-22.38%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
3.29% <0.00%> (-20.88%)
:arrow_down:

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 659ea89...040346d. Read the comment docs.

@DelusionalOptimist will you review this in context of your latest PR?

Merge conflict

Merge conflict

@utkarsh-pro will you review?


Fixing disable-tls1 & disable-tls1_1 not working (1.0.2)

Fixes #7048

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

As per my comments in #7048, you should use disable-tls1_1-method and disable-tls1-method instead.

As per my comments in #7048, when I had tried that before, it didn't work because it required recompilation of all programs that use openssl libraries.

how did you disable TLS1 and TLS1.2 ? can you please share me those changes ?

@DhineshGobu  please open a new issue if you have a question.
That would also give you the opportunity to describe what you have tried already and what the behavior is that causes you to believe it's not working properly.

Hi @kaduk,
I have tried this change in my bbappend file -> openssl_1.0.2u.bb
PACKAGECONFIG[no-tls1] = "no-tls1"
PACKAGECONFIG[no-tls1_1] = "no-tls1_1"


When running testssl.sh on www.hisa.co.nz

FInding is TLS session ticket RFC 5077 valid for 7200 seconds (PFS requires session ticket keys to be rotated at least daily)  but priority is LOW (and it shouldn;t be)

Old version of testssl.sh on the server. Nothing wrong with Seccubus


Scrolling error

when i try to scroll the files while using the atom text editor, it is not scrolling down
atom version : 1.21.1

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests so if you can open a new issue with the template filled out, that would be helpful for us. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:


Bower.json file missing css in 'main' block

The 'main' block of the bower.json file used to contain the main css file, but that was been removed with a recent version. This causes build tools like grunt wiredep to not add the css file automatically (which it should). Was this removed intentionally?

@tonypatton:
See #16663
Bower has changed their spec and we will be following their spec which no longer allows compiled resources in main and uses one entry point of sources.
Issues should be brought to bower.


Fix typos

Hi, here's an attemps to correct a few typos in chapter 3. Hope this helps. Best, assia

Many thanks!
I have integrated all corrections.


Incorrect return value for req.hostname

express: 4.16.4
node: 10.15.3
req.hostname returns <IP_ADDRESS>, most likely because I am behind a reverse proxy. Is this an express error or is there something that I'm not doing right?

Does this page help? http://expressjs.com/en/guide/behind-proxies.html#express-behind-proxies

I've tried setting the X-Forwarded-For in my NGINX reverse proxy, but It's still responding with <IP_ADDRESS> for the hostname

The value of req.hostname is derived from the value set in the X-Forwarded-Host header, which can be set by the client or by the proxy.

I've tried setting it to my host with no luck
proxy_set_header X-Forwarded-For $host;

It's X-Forwarded-Host.

OHHHHHHhhhhhh jesus I'm blind lol, it works now, much thanks

hehe, it's no problem. Their name is so similar. I'm glad you got it working 💃


[SPARK-43242][CORE][3.4] Fix throw 'Unexpected type of BlockId' in shuffle corruption diagnose

What changes were proposed in this pull request?
port to 3.4 for [SPARK-43242][CORE] Fix throw 'Unexpected type of BlockId' in shuffle corruption diagnose
Why are the changes needed?
3.4 conflict with master, see #40921
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests

Thanks, merged to branch-3.4.


New API Proposal - IoT SMS send

Which issue(s) this PR fixes:

Fixes #97

As agreed in https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/46268427/2024-11-28+API+backlog+minutes, this proposal is withdrawn.


Fix typo

Thank you for this awesome package.👏
The README was very clear and easy to understand.
It seems that I found a typo in the README, so I send this pull request to fix it.

@ftnext nice spot, thanks for fixing that :grin:

@all-contributors please add @ftnext for doc


Adjust search bar, avoid negative margins

search bar nav item is no longer a submit button
avoid negative margins on icon section and category section

Deploy preview for dds-mil ready!
Built with commit 7a43eb14a253e6f146f0ff8b9af078716cb0ba37
https://deploy-preview-211--dds-mil.netlify.app


Remove failing test

The test in question depends on NativeHelpers::Array's copy-to-carray, which apparently now silently coerces values to the given type (if possible).
See also: https://github.com/rakudo/rakudo/issues/5584#issuecomment-2135774020

@lizmat
Hi,
Thanks for your PR!


Memory leak with pendingReceipts with continuous PING frames

Version
4.3.7
Context
Our applications were having memory issues.
Upon analyzing the heapdump, it appears that the StompClientConnectionImpl had accumulated over 58k pending receipts.
I have created a reproducer, that simply creates the StompClient and StompClientConnection.
Using a Timer and Reflection, it prints out the current number of pending receipts every second.
When running this reproducer it appears the StompClientConnectionImpl is adding a pending receipt every second.
These receipts come from PING frames, that never get handled.
According to the code, when a PING frame is received, nothing is being done - not even removing the pending receipt.
Due to this the pendingReceipts Map is getting bigger and bigger every second.
Do you have a reproducer?
fun main() {
    val vertx = Vertx.vertx()
    val client = StompClient.create(vertx)
    client.connect(port, host) { connectionResult ->
        println("Connected!")
        val connection = connectionResult.result()

        Timer().schedule(1_000, 1_000) {
            val pendingReceiptsField = connection.javaClass.getDeclaredField("pendingReceipts")
            pendingReceiptsField.trySetAccessible()
            val pendingReceipts = pendingReceiptsField.get(connection) as Map<String, Promise<Void>>

            println("There are currently ${pendingReceipts.size} pending receipts")
        }
    }
}

Screenshots

It seems something has changed in a later version here.
Receipt handler used to be null in some cases. This library consider PING as a Frame and thus using send which creates a non-null field for receiptHandler, which can't be handled because "PING" is just \n. And this will make sure this will stack up with every PING


Licesing the Project

Hey! 👋
I noticed the project is not under any licenses. Would you mind choosing one, I'd like to code a open source Minecraft implementation based of this, to help kids learn coding.

Hey, thanks for reaching out
Added the license, feel free to use anything for your implementation!


General variable substitution

Coverage decreased (-0.01%) to 97.778% when pulling 77d98feb266502798f4c2b84eaaa9ffd67dcfa35 on feat/general-variable-substitution into 3e554f1b8d01aeb1c63d1ffe9ad234ec9a445601 on master.


throttler: First version which supports throttling by a fixed rate across multiple threads.

@alainjobart
Next steps (outside of this PR) will be:

use Throttler in vtworker and filtered replication
implement MaxReplicationLag module
implement a read-only webinterface which displays the actual and throttled rate
make the webinterface read-write e.g. to override the fixed rate limit

This change is

LGTM

@dumbunny
Please review this change as well.

Dean, I'm merging the PR now because I have pending changes which depend on it.
Please still do the review to get your feet wet with Go :) If you have any comments, I'm happy to fix them forward in the next PRs.


can i concate condition latents only by this "hidden_states = torch.cat([hidden_states, condition_latents], dim=1)"

i see a comment in code [# hidden_states = torch.cat([hidden_states, condition_latents], dim=1)].
have you tested the results by concate the condition latents like the above way?  or what is the difference between above way and the new way in your code?

The same question, looking forward to the author's response!

Hi! @SuXuping @sd0809
Currently, the module can't directly concatenate the condition latents with hidden states this way. While it's technically possible to concatenate them and train a new model with that approach, we chose a different implementation for a few key reasons:

Processing them separately makes it easier to implement LoRA adapters that only apply to the condition tokens.
This separate processing approach provides more flexibility, particularly for future support of multiple conditions.


⚠ Bofrost.lu has degraded performance

In 322bd77, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1187 ms

Resolved: Bofrost.lu performance has improved in 4d89d82 after 54 minutes.


Whitelist localhost for development

Embedding URL's don't work on local host for development. This is annoying because I can't test locally. I have to push to our development URL and wait for cloudformation to get around to refreshing the cache. Any recommendations?

Hi joninsky, we have no official recommendations, but as a developer I have used this in the past:
https://ngrok.com/ - helps to convert your server to https + assigns a temporary domain (which you can whitelist in QuickSight)
There are also some other blog posts which help you run the localhost server on https:
[1] https://medium.freecodecamp.org/how-to-get-https-working-on-your-local-development-environment-in-5-minutes-7af615770eec
[2] https://codeburst.io/running-local-development-server-on-https-c3f80197ac4f
The requirements in QuickSight for whitelisting are:

You should have a domain name or ip address for your server
It should use https

Thanks you for the links! I'll check them out.

I'm using windows 10 and follow this article to grant https in my localhost : https://medium.com/@richardr39/using-angular-cli-to-serve-over-https-locally-70dab07417c8
But, when I add https://localhost domain to QuickSight, they said that

This Domain is not supported. QuickSight dashboards can only be embedded in valid https domains.

I thought I have to create a fake domain in host file to fake it.

You can use the IP address of the local host with the port number to whitelist the domain and access the URL with your IP address and port number

I had to add a host to my hosts file and run my Angular app using ng serve --ssl --host my-app.localhost

@ajkulkarni i installed ngrok and was able to satisfy https, validdomain checks. But I still gets "us-east-1.quicksight.aws.amazon.com refused to connect." error message in chrome. any idea how to solve this?

@mayunike Hi, I'm encountering the same issue here, did you figure out how to solve such issues? Thanks

Do we have support for local development?


Protocole princeton

Brute forcing princeton 24 bits
433mhz is it possible ? And how ? 🤔

Only specific remotes that are using dip switches, we already have this in the app
or you can use your file via BF Existing dump
then you can select two or 4 bytes to bruteforce
but not 24!
24 bit bruteforce will take 800+ hours, do you want to wait ~800 hours?

I'm new, I wanted to try to brute force my house bell. I know the security
protocol but I didn't know the BF application. Thank you for your help
anyway. Isn't there a way to reduce the possibilities?
Le ven. 28 avr. 2023 à 20:11, MX @.***> a écrit :

Only specific remotes that are using dip switches, we already have this in
the app
or you can use your file via BF Existing dump
then you can select two or 4 bytes to bruteforce
but not 24!
24 bit bruteforce will take 800+ hours, do you want to wait ~800 hours?
—
Reply to this email directly, view it on GitHub
https://github.com/DarkFlippers/flipperzero-subbrute/issues/19#issuecomment-1527922080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7O3QJ7DBQJOC5NFEXZ3THLXDQB6LANCNFSM6AAAAAAXPRO2CA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Can you explain how to use the BF existing dump because I don't quite understand the maneuver. I select up to x6 and I launch but it doesn't find anything...

It's impossible. I understood 😪


run(ctrl+enter) is not working in this challenge

Challenge Target the same element with multiple jQuery Selectors has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

jQuery Playground

#left-well

        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>

#right-well

        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>

@lordzuko thanks for the issue but the problem is that your code is incorrect and causing unintended consequences. Please reread the instructions carefully to solve your problem:

Now you know three ways of targeting elements: by type: $("button"), by class: $(".btn"), and by id $("#target1").

In the future if you get stuck with a challenge, please first ask questions to the Help Room. Happy coding!

@erictleung thanks for quick reply. I get the syntax was wrong, but for the should not the platform indicate the errors after all it's for the beginners to start with. Someone like us can easily get that there was javascript error, but in my opinion the error should have been shown there.
I hope you are getting the point I am raising here !!

@lordzuko thanks for the feedback. It wasn't clear from the original post that you were bringing up constructive criticism rather than a coding issue.
I agree that it can be frustrating. For now, when something weird like this happens, you can open up your browser's developer tools and will see the issue. Somewhere in the curriculum, there is an explanation on how to open these. It'll tell you the error.


Missing import statement

Tested with IntelliJ IDEA Community Edition IC-143.2287.1

Hi. i know it's a small change, but can you sign the contrib ?
https://github.com/antlr/jetbrains/blob/master/contributors.txt


Create a way to have a keyboard shortcut for the calendar note views in NotePlan: Monthly, Quarterly, Yearly, etc.

NotePlan currently provides keyboard shortcuts for some views: e.g. today, tomorrow, yesterday, and this week.
However, there is no way to quickly navigate to "this month", "this quarter", or "this year" and similarly "next month", "next quarter", "next year", and even potentially "last month", "last quarter", "last year".
The only way to do that is either to navigate by clicking, or by looking up the specific month/quarter/year in the command bar.
This is a problem for users who choose to use only specific views. For example, using only Daily, Monthly, and Quarterly means that I cannot easily navigate to 2/3 of the views I use consistently.
It's worth noting that it's also not possible to write "this month", "this quarter", "this year" etc. in the command bar either. The specific month/quarter/year itself must be typed out (although, for the "Year" part, this is less of an issue, because you just type out the 4 digits and it's usually the first result).
A solution I'd love to see is have these options become menu items that users can manually assign keyboard shortcuts for. This could be part of a plugin, but eventually, I think it should be part of the core product.
I originally asked about this in Discord
Thank you!

I will pick this up, but you also want to press for Eduard to add it into the main app.

A solution I'd love to see is have these options become menu items that users can manually assign keyboard shortcuts for. This could be part of a plugin, but eventually, I think it should be part of the core product.

@danieldanilov Agreed that @EduardMe should add these to the app as menu items. In the meantime, you could just do this with keyboard shortcuts and x-callbacks.
noteplan://x-callback-url/openNote?noteDate=today&timeframe=month
noteplan://x-callback-url/openNote?noteDate=today&timeframe=quarter
noteplan://x-callback-url/openNote?noteDate=today&timeframe=year
See details:
https://help.noteplan.co/article/49-x-callback-url-scheme#opennote

In the meantime, you could just do this with keyboard shortcuts and x-callbacks.
noteplan://x-callback-url/openNote?noteDate=today&timeframe=month
noteplan://x-callback-url/openNote?noteDate=today&timeframe=quarter
noteplan://x-callback-url/openNote?noteDate=today&timeframe=year

Ah, great, thank you! I tried to find a way to link to them, but could not find the generic way to open the current month/quarter/year. Thank you for that! I'll use them for now in my workflows.

Thanks for the idea, have noted it!
On Sun, Aug 13, 2023 at 11:15 AM Daniel Danilov @.***>
wrote:

In the meantime, you could just do this with keyboard shortcuts and
x-callbacks.
noteplan://x-callback-url/openNote?noteDate=today&timeframe=month
noteplan://x-callback-url/openNote?noteDate=today&timeframe=quarter
noteplan://x-callback-url/openNote?noteDate=today&timeframe=year
Ah, great, thank you! I tried to find a way to link to them, but could not
find the generic way to open the current month/quarter/year. Thank you for
that! I'll use them for now in my workflows.
—
Reply to this email directly, view it on GitHub
https://github.com/NotePlan/plugins/issues/475#issuecomment-1676402934,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZCAYTAUU7GZ3HZKNFZJBLXVD4T3ANCNFSM6AAAAAA3ON4CZY
.
You are receiving this because you were mentioned.Message ID:
@.***>

OK, I've added new commands to NoteHelpers plugin:
"Show This Month" (alias /stm)
"Show This Quarter" (alias /stq)
"Show This Year" (alias /sty)
which can have keyboard shortcuts, though the aliases are very easy.
To be released soon.