Exclude refine by default on BlockLength

Refine blocks necessarily become large as they end up effectively being mini class definitions.  This should be a default.

It seems reasonable default against a feature of refinements.
BTW, since rake generate_cops_documentation seems to have been forgotten, please run it and pass CI.
https://travis-ci.org/rubocop-hq/rubocop/jobs/394570087#L625-L635

@koic it's rerunning, should pass this time.

@kddeisz This looks good. Could you squash your commits into one?

That's a user-visible change, so it should have an entry in the changelog.

Added the CHANGELOG entry, squashed the commits.

Thanks!


[Improvement] Improve the judgment granularity of exception information in JDBC backend

What would you like to be improved?
Improve the judgment granularity of exception information of different databases in JDBC backend, current method of tracking exception classes is too coarse-grained and requires fine-grained judgment. see https://github.com/datastrato/gravitino/pull/1980#discussion_r1493656736
How should we improve?
No response

@xloya
Do you have time to work on it in release 0.5.0?

@xloya Do you have time to work on it in release 0.5.0?

@yuqi1129 Not yet. I'll try my best.

OK, If you do not have time, we can postpone it to release 0.5.1 or later since it's just an improvement.


Replace volatile by proper memory ordering in HIP

rocm-clang supports the GCC __atomic intrinsics, which we can use to implement the atomic operations instead of using volatile and memory fences.
This is a follow-up to #1344, so I requested reviews from the same reviewers

Relevant: https://github.com/ROCm-Developer-Tools/llvm-project/blob/6b9c186b2d4c8bd315034a9655a28d32bcf745ab/clang/test/SemaCUDA/atomic-ops.cu#L6

@yhmtsai The tests run fine, and this was a suggestion by an AMD engineer, so I'm confident we can use them. If the intrinsics weren't supported, it would fail to compile instead.


[Content section] v2 Epic

Epic to track Content section changes
Content section v2 will combine the Content section and Content block components.
Review notes

4/21
4/28
5/09

### Design
- [ ] https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10424
- [ ] Specs
- [ ] Website
- [ ] Figma

### Dev
- [ ] https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10454
- [ ] QA

closing epic in favor of new organization strategy


[Feature] Text Formula FINDB

Initial checklist

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Problem
Formula FINDB is not implemented
Solution
Implement formula FINDB
Reference https://support.microsoft.com/en-us/office/find-findb-functions-c7912941-af2a-4bdf-a553-d0d89b0a0628
@sagarwal3005 : I can solve it

Duplicate of https://github.com/dream-num/univer/issues/1812


How to set the onText and offText as blank

Is there a way to set the onText and offText as blank. I only need to show the toggles without the text. Currently I don't see an option to do this.

Set these options and it'll be blank.
onText: ' ',
offText: ' '


OCM-5428 | OCM-5414 |  OCM-5409: machine pool data source [WIP]

This PRs:

OCM-5414: add availability_zonese as a computed attribute to machinepool resource
OCM-5409: add aws_submet_ids as a computed attribute to machinepool resource
OCM-5428: add machine-pool datasource
Generate docs

output:

terraform state show data.rhcs_machine_pool.mp2
# data.rhcs_machine_pool.mp2:
data "rhcs_machine_pool" "mp2" {
    availability_zones      = [
        "us-east-2a",
        "us-east-2b",
        "us-east-2c",
    ]
    aws_subnet_ids          = [
        "subnet-0afdd90afd6008ff0",
        "subnet-04c6fcc2ce591fb4b",
        "subnet-0a437951b8b316357",
    ]
    cluster                 = "28k1v2l8pofsbmor1injvng0d8i7ie3q"
    disk_size               = 300
    id                      = "terr-cluster-machine-pool"
    machine_type            = "m5.xlarge"
    multi_availability_zone = true
    name                    = "terr-cluster-machine-pool"
    replicas                = 6
}

/approve
/lgtm


Add implementation of prefix array in Java

Add implementation of prefix array in ArrayList. Comment the code properly

@dubesar,
I'd like to help. When you say prefix array, what do you mean?
I am ware of prefix sum array.

Yes it's prefix sum array


End Stone Smelter UI bugged

Hello! I'm playing with the All of Fabric 5 1.1.5 modpack (on MC 1.18.1) plus Better End, Better Nether, Eden Ring, Paradise Lost, Slotlink, Falling Tree, and Earth2java. We've had no real issues up until trying to use the End Stone Smelter. The UI is unusable.
Any help with this would be appreciated, otherwise I'm just reporting this weird bug. :D Thank you!

This is not Smelter GUI, looks like another mod breaks GUI rendering

You will need to find this mod manually and report issue to its tracker

This is not Smelter GUI, looks like another mod breaks GUI rendering

I figured as much, but was hoping maybe by listing what I also had installed if I could be steered in the right direction.

maybe by listing what I also had installed if I could be steered in the right direction

This issue is not known, so you can only try to find conflicting mod manually

https://www.reddit.com/user/Sad_Palpitation700/comments/1elbp6n/end_stone_smelter_betterend_mod/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button


Upgrade Python and dependencies

I would like to update the version of Python required for this repository as some dependencies are starting to drop 3.7 (notably Django 4.2 is Python 3.8+). Also, I noticed that the production dockerfile used by fly.io is actually using Python 3.10 so we have a mismatch between dev and production which simply hasn't manifested as an issue because 3.7 and 3.10 are broadly compatible and the site is fairly simple. Standardizing on 3.10 seems fine for now.
The following things need to be updated (outlined here):

Tox (we should probably just make the command py3 instead of py37.
Pyproject.toml
.pre-commit-config.yaml
.ci.yaml
README.md
Remove runtime.txt. This file was used by Heroku but is not used now that we're running on fly.io. Fly uses a dockerfile which specifies the Python version.

Just a quick note that I tested this out and there are some issues with some dependencies (notably webob which is used for testing). Some dependencies will need to be updated as well.

Fixed by #143


[Snyk] Security upgrade io.swagger.parser.v3:swagger-parser-v3 from 2.1.13 to 2.1.16

Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):

pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue
Score
Upgrade

Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-7569538
  635
io.swagger.parser.v3:swagger-parser-v3:  2.1.13 -> 2.1.16  No Path Found No Known Exploit

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)

snyk rebase

snyk rebase

Closing - we are not going to release another 3.20.1


Use local mock server for testing git pull errors

This moves away from relying on real network connections, which speeds up tests locally (especially from overseas) and makes tests more robust. It also avoids some issues I was seeing where cloudfront is preventing me from running tests.
Unfortunately, I wasn't able to find a way to create a mock http handler that acts as a remote git server (the protocol is a little hard to follow). This would allow completely fixing the issues I'm having.

I think it makes full sense to make this change.

In practice I've experienced many occasions where real dependency behavior differed from mock/faked behavior and your tests lose value.

This is true, but the defined dependency isn't really well defined. That's explicitly obvious in the 403 handler, which previously had a note on why it couldn't use GitHub vs gitlab, so we already know there are problems. This switches to testing the actual intended behavior.

@chrisdostert I don't have permissions to merge this, with the codecov not passing.

It thinks project coverage went down; project coverage is the one (so far) we've decided to require not to go down in a PR

@chrisdostert I don't have permissions to merge this, with the codecov not passing.

It thinks project coverage went down; project coverage is the one (so far) we've decided to require not to go down in a PR

the defined dependency isn't really well defined. That's explicitly obvious in the 403 handler, which previously had a note on why it couldn't use GitHub vs gitlab, so we already know there are problems.

I already approved this so again; I'm not blocking the PR or anything but there is a difference of opinion and that's ok. To me the fact we had to use two providers to test the intended scenarios is not a sign of anything other than different providers have different behavior and we chose them according to what we wanted to test.


[Documentation] Umbrella ticket to update all-the-docs

Objective
Improve the poktroll docs to enable external contributors and 3rd party gateways.
Origin Document
The documentation in pokt-network/poktroll fell behind as development kicked off. The bar in pokt-network/pocket, and we want to get at least halfway there.
Goals

Create a better onboarding experience for anyone who comes by the pokt-network/poktroll repo.
Achieve "close to parity" with the prior "v1" repo
Enable 3rd party gateways to easily understand & integrate with Shannon TestNet
Share the development, work & research we have done with other projects in the ecosystem

Deliverables

[ ] [Everyone] Add missing architectural diagrams for this repo, where appropriate (new, migrated, etc...)
[ ] [Everyone] Move over diagrams from alpha repo
[ ] [@bryanchriswhite] Move over our best practices (code reviews, coding guidelines, etc..) from the v1
[ ] [@okdas] Make sure documentation related to DevNet, Telemetry & Observability is easily accessible
[ ] [@h5law] Add documentation related to the usage & integration of the SMT
[ ] [@red-0ne ] Provide documentation on the design and use of AppGate
[ ] [@RossiNYC] Identify which tool (e.g. GitBook, Docusaurus) we want to use to mirror our documentation in this repo.
[ ] [@Olshansk] Update the main entrypoint README

Creator: @Olshansk
Co-Owners: @red-0ne @bryanchriswhite @okdas @h5law @RossiNYC

Sharing notes from a team meeting today o how we'll distribute some of the work on documentation:

[ ] @bryanchriswhite @Olshansk: choose a platform for docs to make them more discoverable (gitbook, docusaurus, etc...) and decide how it should be organized
[ ] @Olshansk: Update the main README, developer resources, onboarding, education, etc...
[ ] @Olshansk: High-level architecture (i.e. component diagram) showing the interaction between pocket actors, the DA layer, sequencers, etc...
[ ] @Olshansk: E2E Claim & Proof lifecycle (docs & sequence diagram)
[ ] @bryanchriswhite: RelaySessionManager  + a few other /pkg (docs & component diagrams)
[ ] @bryanchriswhite + @red-0ne: E2E Relay Request & Response lifecycle (i.e. sequence diagrams)
[ ] @okdas: LocalNet Infra
[ ] @okdas: DevNet Infra
[ ] @okdas: Block explorer
[ ] @okdas: Observability, telemetry & Metrics
[ ] @h5law: Everything related to 💍
[ ] @h5law: How Shannon handles generic payloads
[ ] @h5law (review by @bryanchriswhite): Make sure depinject godocs are discoverable
[ ] @h5law (review by @red-0ne): appgatesever docs & component diagram
[ ] @red-0ne - Config files for the supplier, application & gateway
[ ] @red-0ne - Gateway onboarding (SDKs, APIs, etc...)

@red-0ne Moving comment from #205 regarding config documentation.
Staking configs:

App config -> for staking applications
Gateway config -> for staking gateways
Supplier config -> for staking suppliers

Operations configs:

AppGate config -> for operating a gateway or an application
RelayMiner config -> for operating a supplier

Been looking through some of the options and heavily leaning towards https://docusaurus.io/.
It'll require having a docs specific github repo, so we might need to migrate the docs from here to other to avoid some duplication, but seems to be the best standard so far.

@Olshansk - PNF already moving legacy POKT docs to Gitbook - wouldn't we just piggy back that? https://docs.pokt.network/

Closing this out as we already have a large portion of the docs in place.


Updated deprecated logger/ added try-catch

Changed the Run() parameter TraceWriter (deprecated) to ILogger.
Changed all log.Info() to log.LogInformation(). https://github.com/Azure/azure-functions-host/wiki/ILogger
Added try/catch to SQL insert query.

#sign-off @diberry
This sample works in Visual Studio at least, so I'll submit this PR for that. Still working on getting it work in Azure.


Refactor metrics and to_tile_catalog

optimize to_tile_catalog: achieve 30x speedup (on a full catalog of 4000x4000 image, the processing time decreases from about 21s to 0.7s)
refactor metrics to be agnostic to flux unit
update notebooks
delete old notebooks

The test coverage decreases because the test doesn't go throught some functions in metrics that are designed for notebook. This is not a significant issue.


Create Only Properties

I assume that the Domain Name is a Create-Only property since it becomes part of the domain's ARN?
https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-codeartifact/blob/master/aws-codeartifact-domain/aws-codeartifact-domain.json#L56

https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-createonlyproperties

Addressed by #13


Duplicated dev dependencies

In gemspec, remove dev dependencies since they are already declared in the Gemfile ? Or removing them from Gemfile ? See bundler and rubygems documentation

Based on my recent discussions, I realised that not everyone uses Bundler to develop their Ruby gems. Some developers even have a strong aversion to using it. Whether you like it or not, a few years from now Bundler may not be the tool that everyone uses to install their dependencies. But, you want to be able to continue building your gem. Because of this, I tend to include the most essential development dependencies necessary to test and build a gem.
— Writing a Ruby Gem Specification


Investigate and remove rootfsPropagation workaround

#70 introduced a workaround (mount --make-shared / on entry) to the cri and docker containers because we were seeing issues like:
time="2018-04-05T14:21:11.075653345Z" level=error msg="Handler for POST /v1.31/containers/2a2de13fe4203cfc33457b5e8d265a7bc6df303d4d4e4190c9ba9fcdb4c5e97a/start returned error: linux mounts: path /etc/ssl/certs is mounted on / but it is not a shared or slave mount"

There were other similar instances relating to binds (e.g. path /etc/kubernetes/pki/etcd is mounted on /etc/kubernetes but it is not a shared or slave mount, where /etc/kubernetes is a bind mount) but they were resolved by a newer linuxkit which included https://github.com/moby/tool/pull/210 switching all binds to shared by default (there are likely some explicit tags which can now be dropped).
The remaining issue with / needs investigation. Could be https://github.com/opencontainers/runc/issues/1755 ?

This was fixed in #84.


Update to clap 4.0.9

This migrates everything from structopt and clap 3.* to 4.0.9, while preserving the (sub)command syntax of all the binaries in all the crates in this repo.
Resolves #341

@alexcrichton not pressing, and I saw your polyfill PR has some arg parsing in it, so I'd happy to wait and rebase on top of that.

Looks good to me, thanks!


yarn develop is not successful

yarn run v1.10.1
warning ../package.json: No license field
error Command "develop" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I tried to run this repo, but the command yarn develop is not successful

Hi @ohkimchi!
Thanks for bringing this up, though I gonna have to get back to your issue tomorrow,
cause my wife and I are celebrating our 12th relationship anniversary,
so no coding for me today : )!
But if you were be so kind and would give me your results of running gatsby info,
I'd have a better starting point at once.
Read you tomorrow,
Tim.

lol no problem! Enjoy your time with you :D
Here is my logs for gatsby info
`gatsby info
System:
OS: macOS 10.14.3
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Shell: 5.3 - /bin/zsh
Binaries:
Node: 11.3.0 - /usr/local/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 6.5.0 - /usr/local/bin/npm
Languages:
Python: 2.7.15 - /usr/local/bin/python
Browsers:
Chrome: 73.0.3683.86
Firefox: 65.0.1
Safari: 12.0.3
npmPackages:
gatsby: ^2.3.3 => 2.3.3
npmGlobalPackages:
gatsby-cli: 2.5.4`

Hi @ohkimchi,
thanks for the good wishes to our family of 2 - was a nice evening / night (am still recuperating ; ).
But back to your issue: just tested with a fresh clone of gbitest and - am just guessing - might it be that you've missed running yarn (install) or npm install before trying to run yarn develop? Cause this I what I get before running either one of them with gatsby info:
  System:
    OS: Linux 4.15 Linux Mint 19.1 (Tessa)
    CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
    Shell: 4.4.19 - /bin/bash
  Binaries:
    Node: 11.13.0 - /usr/bin/node
    Yarn: 1.15.2 - /usr/bin/yarn
    npm: 6.9.0 - /usr/bin/npm
  Languages:
    Python: 2.7.15 - /usr/bin/python
  Browsers:
    Chrome: 73.0.3683.86
    Firefox: 66.0.1
  npmGlobalPackages:
    gatsby-cli: 2.4.17

with an error similar to yours when trying yarn develop - and this I get from gatsby info afterwards:
  System:
    OS: Linux 4.15 Linux Mint 19.1 (Tessa)
    CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
    Shell: 4.4.19 - /bin/bash
  Binaries:
    Node: 11.13.0 - /usr/bin/node
    Yarn: 1.15.2 - /usr/bin/yarn
    npm: 6.9.0 - /usr/bin/npm
  Languages:
    Python: 2.7.15 - /usr/bin/python
  Browsers:
    Chrome: 73.0.3683.86
    Firefox: 66.0.1
  npmPackages:
    gatsby: 2.3.4 => 2.3.4
    gatsby-background-image: ^0.2.8-alpha4 => 0.2.8-alpha4
    gatsby-image: ^2.0.35 => 2.0.35
    gatsby-plugin-manifest: ^2.0.25 => 2.0.25
    gatsby-plugin-offline: ^2.0.25 => 2.0.25
    gatsby-plugin-react-helmet: 3.0.11 => 3.0.11
    gatsby-plugin-sharp: 2.0.32 => 2.0.32
    gatsby-plugin-styled-components: ^3.0.7 => 3.0.7
    gatsby-source-filesystem: ^2.0.28 => 2.0.28
    gatsby-transformer-sharp: ^2.1.17 => 2.1.17
  npmGlobalPackages:
    gatsby-cli: 2.4.17

Am happy to help should this not have been the issue : )!

Hi @ohkimchi!
Did you already get the chance to further test this so we might close this issue - or is anything still running amiss and yarn develop doesn't work for you?
Thanks in advance,
Tim.

Hi @timhagn I am busy with some work tasks now. I will try as soon as I become available. Shouldn't be later than the end of today!

@timhagn hey you are right, I think this issue can be closed now. I was testing with the this repo https://github.com/timhagn/gatsby-background-image , then maybe messed up with this one. Sorry for the confusion, the problem is gone now!

@ohkimchi No problem at all, great it worked out : )!
Do you want to have the honors of closing this issue or shall I?

@timhagn sure. Thanks Tim!

You're welcome, I'm always happy to help : )!


Use a non-versioned API URL to mock analytics requests, too

Fixes

Fixes #915 by @obulat
Description

This PR creates two ApiService objects: one is versioned, for most endpoints, and an unversioned one for the analytics endpoints.
Some data services were also refactored to reuse code from other services (getMediaSlug, for example), and the bug-report was removed as it is unused.
The proxy port was also changed from 3000 to 3322 because when I was testing, the API was running in Docker, and 3000 port was busy.
It also renames the update-tapes to recreate-tapes, and adds an update-tapes script that does not completely delete all the tapes, but simply adds any tapes that are missing. This way, we can update a single tape when any e2e test changes, and don't have too many changes in a PR.
Testing Instructions

Enable internal analytics:
https://github.com/WordPress/openverse-frontend/blob/690f52360a6d7389f4015ed384b62d36b29b65e6/src/utils/env.ts#L9
Run pnpm run update-tapes. This will delete all the tapes files, and, more importantly, it will save any response that isn't found in test/tapes directory. You should see a lot of tapes for analytics responses. They are all 404, but they are there.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Oh I just noticed another tape was created when I ran pnpm ci:e2e-test locally.

Oh I just noticed another tape was created when I ran pnpm ci:e2e-test locally.

I just spent 15 minutes chasing these new tapes. There is often 1 image or audio request that's new. I think it's one of the related images  or audio that sometimes change. I guess we should open an issue to mock related image / audio requests...

I just spent 15 minutes chasing these new tapes. There is often 1 image or audio request that's new. I think it's one of the related images or audio that sometimes change. I guess we should open an issue to mock related image / audio requests...

I think the fix I have in the proxy to replace API results that reference the upstream server with proxy references will address this, so I wouldn't sweat it.


Allow JSX intrinsics to have generic call signatures

Search Terms
type checking, jsx intrinsics, generic type, signature
Suggestion
Allow JSX intrinsics defined in IntrinsicElements to support generic call signatures, as is supported for user-defined SFCs.
 You would need to model the primitive statements of the DSL. Your options are intrinsics and user-level components.
Intrinsics are clearly the more natural fit for this use case. Some reasons are:

they are immediately available without separate import statements,
the use of lower case makes them visually distinct from user-defined components,

However, intrinsics are not as capable as user-level components (pre-defined or user-defined). Currently they cannot be assigned generic type signatures. This makes them less expressive, and so, less useful.
The proposed change will bring parity between intrinsics and user-level components. In short, it will be possible to create a pre-defined set of intrinsics that are just as expressive as user-level SFCs.
Examples
Consider the following hypothetical DSL in JSX:
<for items={books} with={book => book.genre === 'scifi'}>
{book => (
    <b>{book.title}</b>
)}
</for>

Currently, the for intrinsic cannot be generic over the type of the items, unlike user-defined SFCs which may be generic. To bring this capability to intrinsics, we would need to allow JSX.IntrinsicElements to support generic signatures. Here is what it might look like for this example DSL:
declare namespace JSX {
    interface IntrinsicElements {
        for: <T>(props: {
            items: T[],
            with?: (item: T) => boolean,
            children?: (item: T) => Element | Element[]
        }) => Element;

        b: { children: string }
    }
}

The implementation of this change will require a small number of changes to src/compiler/checker.ts. A good starting point is the function resolveJsxOpeningLikeElement.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Request to work on this feature
I would like to work on this feature improvement.

@weswigham any thoughts/concerns?

@RyanCavanaugh and @weswigham, any thoughts on whether I can proceed with this work?
I proposed this improvement partly because it is a valuable change that elevates capability-parity between intrinsic and user-defined components, and partly because it is a small and focused area within which to make my first contribution to the project. I am keen to prepare a PR for consideration.

@RyanCavanaugh and @weswigham, any thoughts on whether I can proceed with this work?
I proposed this improvement partly because it is a valuable change that elevates capability-parity between intrinsic and user-defined components, and partly because it is a small and focused area within which to make my first contribution to the project. I am keen to prepare a PR for consideration.

I also have similar requirement. But cannot proceed due to this limitation.

Hi folks 👋 we are doing some work on custom React renderers (react three fiber) and have run into some use cases where having intrinsic elements be generic would enable some powerful workflows, specifically around handling ECS components.
As this issue goes into, creating custom components is the only way to enable generic behaviour currently. We would be interested in exploring this feature, is there any appetite from the TS team to get this feature added as a contribution?


Double-clicking the generated app does not respond

Describe the bug
The app generated by tauri dev or tauri build --debug is fine. But double click the the app generated by tauri build  has no response.
Platform and Versions (required):
Operating System - Windows, version 10.0.22000 X64
Webview2 - 95.0.1020.44

Node.js environment
  Node.js - 14.15.4
  @tauri-apps/cli - 1.0.0-beta.10
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("unexpected character 't' while parsing major version number")', src\info.rs:323:53
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  @tauri-apps/api - tauri-apps

duplicated #2867


docs: create main documentation

Add basic documentation:

[ ] Installation guide

[ ] Manual installation
[ ] Install script

[ ] Development guides
[ ] How to contribute

changed goals with v2


请教如何微调头部姿势

我训练出的所有模型，头部总是有轻微的前后晃动，感觉很不自然，很奇怪，请问这个有办法微调吗？

@kendo6666 You may check the type of flickering:

Flickering when you even fix the head pose: applying a larger lambda_dynamic during training.
Flickering caused by inaccurate head pose estimation: search the smooth_path option and use a larger smooth window size.

Hi, can you describe what is the lambda_dynamic? I wonder is it lambda_ambient since I cannot find a variable named lambda_dynamic

@yerfor Yes you are right. It's called dynamic loss in the paper.

@kendo6666 You may check the type of flickering:

Flickering when you even fix the head pose: applying a larger lambda_dynamic during training.
Flickering caused by inaccurate head pose estimation: search the smooth_path option and use a larger smooth window size.

第二参数找到了。第一个lambda_dynamic 从哪儿调整？没搜索到啊。


Java indexer: add MarkedSource INITIALIZER child to initialized variables [phab:D1720]

Created by schroederc at 2017-06-16 20:31:58:

schroederc wrote at 2017-06-16 20:45:26:
Limit INITIALIZER text size

zarko commented inline (context lost during migration) at 2017-06-16 20:51:33:
I would have expected this to look more like
(box (type (id String)) (context (id pkg) (id MarkedSource)) (id CONSTANT) (init "value"))

schroederc wrote at 2017-06-16 21:22:39:
Add INITIALIZER to end of MarkedSource; use only expression text

schroederc commented inline (context lost during migration) at 2017-06-16 21:26:05:
Done

jrtom commented inline (context lost during migration) at 2017-06-19 15:51:13:
If this can be null, it should be marked as Nullable.  (Same for msBuilder.)
However, I think it would be better for it not to be; you can then just pass an empty Iterable in (e.g., ImmutableList.of(), or for that matter an empty array).  That would be cleaner (you could dispense with the null check below).
Also consider just leaving getNode()'s signature alone entirely, adding a getNodeWithPostChildren() method, and letting the two share a private implementation method.  That way you don't have to add a "null" (or empty list, or whatever) argument to (AFAICT) every getNode() call but one.

schroederc wrote at 2017-06-19 20:25:06:
Nullable

schroederc commented inline (context lost during migration) at 2017-06-19 21:32:22:
As the above TODO implies, this really needs a larger refactoring to separate the MarkedSource generation from the EntrySet generation.  I'm going to leave this alone for now since the larger refactoring will make these points moot.

schroederc wrote at 2017-06-20 16:14:25:
Rebase

schroederc wrote at 2017-06-22 20:16:20:
Rebase

zarko accepted this revision at 2017-06-23 19:40:49

schroederc closed via commit a141b6daad89963fc3eaca90fb080b7953199401 at 2017-06-23 19:49:52


Update select-over-clause-transact-sql.md

CHECKSUM is not an aggregate function. I assume (and a quick test confirms) that the limitation is on CHECKSUM_AGG.

I noticed that there is actually a bigger error in the documentation. I will close this PR and make a new one.


Add logging of user actions: Issue 74

I added a logging functionality to the code that sent logs to another folder of the MongoDB database. Currently, it logs user sign-ups, user sign-ins, and changes in the nametag display state. Below are screenshots showing how each log entry appears in the MongoDB database. The log entries all follow the general format of:
userEmail: string;
action: string;
timestamp: Datetime at time of logging;
metadata: JSON string pertaining to the type of log;

The Vercel code works here, and the code successfully deploys. However, "npm ci" fails here but works on my local device. I've tried deleting package-lock.json and node-models and reinstalling them. I've used node versions 21.5, 20.17, and 18.20.4. I've also tried running "npm audit fix." Do you have any advice?


Changed module name

Sorry... this was a change I made to be able to migrate from PromiseKit4 to PK6 in our App (yep, we were still using PK4) and forgot to change the target branch to my local. 🙂


Works in apple intel cpu?

Hello, theflow,i want to know if this works on mac intel cpu(on macos system) before try your exploit

Hello, theflow,i want to know if this works on mac intel cpu(on macos system) before try your exploit

It should work on x86-64 processors.

Hello, theflow,i want to know if this works on mac intel cpu(on macos system) before try your exploit

It should work on x86-64 processors.

Ok thank you i will try on my intel macbook

ok


Terk

I'm new here

Please submit the correct information, invalid information will cause the issue to close


Assign IP Address to Interface from Interface List and Add IP addresses to the interface list

Fixes: Partially Fixes #1001  and #878

I've changed the connect and disconnect buttons to arrows as looked like Connecting and disconnecting a cable
I've also added the + which adds an IP address, could get rid of the IP address section if we added the delete button next to the IP Address?
I've had a good feedback from people I work with about the change

I have added the ability to edit the ip from within the device page, and made changes so that interface can be changed -https://github.com/digitalocean/netbox/pull/1040/commits/67ba5a59547ca6ed8d728e9dd9fd347c6384bb82
Fully Fixes #1001

Any comments on this / idea when may be pulled? :)

We need to avoid mixing interfaces and IPs in the same table. It's confusing and artificially constrains the columns. I played around a bit with using Bootstrap rows, but couldn't come up with anything that looked good. Ideally, the interface and its IPs should all appear in a single row, similar to what candlerb proposes here. Just need to work out the markup.

I also had a play making like that but it didn't look right at all, as I was thinking that could remove the IP Address table fully and have all on the interfaces so against the IP Address there would be delete and edit next to it but i guess it may get bit over crowded
Can you part merge just the edit functionality as it is SUPER handy!!

I tried a few different approach but ended up basically where you're at with the IP addresses. I'm going to close this PR because I'd rather handle #1001 separately, but this was my inspiration for d5c3f9e. Please comment on #878 with your thoughts. Thanks for your contribution!


Added tests for rounding elastic number

These should work but for most parts do not, thus develop needs fixes or these tests need correction.
So... do not merge as is ;)

Following develop, thus rebased from latest develop (203c6ed9d0c025e6a7)


Ensure the cursor updates and the task resumes from the point of termination when Sidekiq stops the task midway.

Summary
I am running MaintenanceTasks with Sidekiq.
But Sidekiq sometimes crashes unexpectedly.
This issue aims to ensure that tasks can resume from the cursor position at the time of termination, even when Sidekiq or other processes are abruptly terminated with SIGKILL.
Details
Here is an example of the data stored in the maintenance_tasks_runs table:
MaintenanceTasks::Run.last
=> #<MaintenanceTasks::Run:0x000000013e45ed88
 id: 9,
 task_name: "Maintenance::ForDiveIntoCodeTask",
 started_at: Sun, 07 Jul 2024 23:54:53.000000000 JST +09:00,
 ended_at: nil,
 time_running: 233.019,
 tick_count: 5,
 tick_total: 148,
 job_id: "17d2859b-f3f0-4a8b-8e20-6c94292cd11a",
 cursor: 12,
 status: "running",
 error_class: nil,
 error_message: nil,
 backtrace: nil,
 created_at: Sun, 07 Jul 2024 23:54:26.317306000 JST +09:00,
 updated_at: Mon, 08 Jul 2024 00:02:37.584857000 JST +09:00,
 arguments: {"dryrun"=>"1"},
 lock_version: 9,
 metadata: nil>

Current Behavior
The cursor is used to indicate the position from which a task should be resumed after being interrupted. However, the current implementation relies on the shutdown callback to update the cursor.
If Sidekiq is forcibly terminated or an exception occurs, this callback does not execute, and the cursor remains outdated. Consequently, the task resumes from an old cursor position instead of the latest position.
Requested Change
I thought I could solve this problem by executing @run.cursor = cursor_position within the each_iteration method.

This is expected, as mentioned in the README:

Idempotency of Task#process: it should be safe to run process multiple times for the same element of the collection. Read more in this Sidekiq best practice. It’s important if the Task errors and you run it again, because the same element that caused the Task to give an error may well be processed again. It especially matters in the situation described above, when the iteration duration exceeds the timeout: if the job is re-enqueued, multiple elements may be processed again.
https://github.com/Shopify/maintenance_tasks/blob/v2.7.1/README.md#considerations-when-writing-tasks

But really you should investigate why your Sidekiq processes are forcibly terminated. Typically you want to send SIGTERM and have a grace period longer than the time to process a single element. That way when the element is processed, the job notices the worker is shutting down, and stops iterating, recording the cursor, and re-enqueues itself. When a worker picks up the job, the task is resumed exactly where it stopped.


二阶段训练代码有错误

二阶段训练需要
from models.videochat2_pt import VideoChat2_pt
但是发布的版本是
from models.videochat2_it import VideoChat2_it
麻烦修改下。（是不是你们设置的小彩蛋）

Get it! Thanks for your reply!

二阶段训练需要 from models.videochat2_pt import VideoChat2_pt 但是发布的版本是 from models.videochat2_it import VideoChat2_it 麻烦修改下。（是不是你们设置的小彩蛋）

yea, definitely, guys from lab will make the code as ambiguous as they can, cuz they get the money, and they dont want to share the code with you, i understand.

二阶段训练需要 from models.videochat2_pt import VideoChat2_pt 但是发布的版本是 from models.videochat2_it import VideoChat2_it 麻烦修改下。（是不是你们设置的小彩蛋）

yea, definitely, guys from lab will make the code as ambiguous as they can, cuz they get the money, and they dont want to share the code with you, i understand.

I don't think so. I have tried my best to make all my jobs open-sourced and reproducible. I recognize that there may be some bugs when cleaning the code, but welcome to open an issue and I will give the answer.


FileDiff component display problem

Setup

Rancher version: v2.6.13
Rancher UI Extensions:
Browser type & version:

Describe the bug
When we upgraded from rancher 2.6.8 to 2.6.13, we found that there was a problem with the diff function of the yaml editor, as shown below
To Reproduce
Edit any resource using yaml
Result

Expected Result

Screenshots

Additional context

@TIEDPAG Can your provide details from the issue template, specifically what browser you're using and clear steps to reproduce?

I've managed to reproduce this. Seems like an issue with the older component we use to display diff

Recreated the issue with 2.6.13. Validated with v2.7-head

Component
Version

Rancher
v2.7-027246f77f03b82660dc2e91df6bf2cd549163f0-head

Dashboard
master "2f64abbdd"


UI is not acording to code or live instance

After running this code It appears like this not like shown in this repo or like live instance of the website. Probably css is not rendering properly

Please follow the readme and also clone the backend.
Both the backend and frontend should run at the same instant.

Closing this due to inactivity


Fix dependencies vs. devDependencies

@changesets/cli is only used for development and the build and release process; putting it under dependencies means that anything using prosemirror-docx gets many unneeded packages installed.

It is little that the lock file needs to be updated for this as well!

@rowanc1 , moving a package from dependencies to devDependencies doesn't affect what packages are installed, so the lockfile doesn't necessarily update.
If I run yarn, it does make a change:
diff --git i/yarn.lock w/yarn.lock
index e4707ba..48f5398 100644
--- i/yarn.lock
+++ w/yarn.lock
@@ -4541,7 +4541,7<EMAIL_ADDRESS>     array-includes "^3.1.5"
     object.assign "^4.1.2"

<EMAIL_ADDRESS><EMAIL_ADDRESS>   version "3.10.1"
   resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.10.1.tgz#34aee70eb18ea1faec2f589208a157d1feb091c2"
   integrity sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==
@@ -4966,7 +4966,6<EMAIL_ADDRESS>   resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.30.tgz#63f93cc548d2a113dc5dfbc63bfa09e2b9b64362"
   integrity sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==

-
<EMAIL_ADDRESS>   version "5.0.7"
   resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-5.0.7.tgz#6452e8c5a816861fd9d2b898399f7e5fd6944cc6"

However, I see these changes whether or not I change package.json, which suggests to me that the main branch ended up with its package.json and yarn.lock slightly out of sync. (Or, perhaps, the lockfile contents ended up being platform-dependent; this is with Yarn 1.22.22, Node 18.20.2, macOS.) Fixing that seemed out of scope for this PR.

Roger that, I am used to NMP package locks. Thank you for following up!

@dan-cooke, would you or another maintainer consider doing a new release of prosemirror-docx that contains this fix? I'm just wondering whether I should upgrade to 0.2.0 or wait for a fixed version.
Thanks!

@joshkel sure thing, let me just get the change sets automation working and we should be able to auto release in future

Thanks @dan-cooke for taking this on. 🚀


Use 'typeset -g' to avoid warning when WARN_CREATE_GLOBAL is set.

Description
Motivation and Context
'typeset -g' to avoid warning when WARN_CREATE_GLOBAL is set.
Related Issue(s)
Usage examples

How Has This Been Tested?
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

lgtm, thanks!


UITextView.backgroundColor overriden

Overriding UITextView.backgroundColor breaks our app's UI.

Could you please subclass UITextView and override that instead?

Hey, fixed in the latest version 4.0.2 :)!


Review PLSS

🐛 When reading an article with sparse text, the page looks really hard to parse:
- The left navigation bar does not clearly communicate it denotes different notes outside of the current one. Also, there probably needs to be more spacing between the left navigation bar and the main content.
- The title and the subheading needs to be bigger and clearer they are the title and subheading.

:bug: Clicking outside of this modal shouldn't automatically close the modal.

:bug: Random border in between sort/filter options and document list.


model->field changes to json type field in static::creating static::updating are not saved

Laravel Version
9.52.10
PHP Version
8.1.14
Database Driver & Version
MySQL 8.0.31 Linux
Description
/**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'user_id', 'school_id', 'group_id', 'paid_by_school_owner', 'status', 'changes'
    ];

    protected $casts = [
        'changes' => 'json',
    ];

    protected static function boot()
    {
        parent::boot();

        static::creating(function ($model) {
            Log::debug('Creating the record with ID ' . $model->id);
            $model->requested_at = date('Y-m-d H:i:s');
            $model->changes = ['test'=>1];
        });

this will save requested_at value but it will not save changes value, the same happens with static::updating(
what is interesting I have the same issue with overloading save() however if I set the value of changes from controller with
$object->changes =  ['test'=>1];
$object->save();
it will save() properly.
Steps To Reproduce
just use the json type field in boot() in static::creating or static::updating or in overload save()

Heya, thanks for reporting.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Please do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

Can we know about the requested_at type. Maybe it is filled automatically in DB side.
Also, do we need to determine $model type? For example if you are in Student model, so function (Student $model) is correct one.

@yodahack feel free to open a new issue with the repo, thanks!


Linuxbrew install of 5.2.0 fails

Not sure if this is the right place to report this issue, but when I try to install or upgrade to 5.2.0 I get:
brew install -f gdu
==> Downloading https://ghcr.io/v2/linuxbrew/core/gdu/manifests/5.2.0
curl: (22) The requested URL returned error: 404

Error: Failed to download resource "gdu_bottle_manifest"
Download failed: https://ghcr.io/v2/linuxbrew/core/gdu/manifests/5.2.0

Up until version 5.1.1 I didn't have any problems installing.

Same here :(

Looks like some problem in linuxbrew. I have created issue there - https://github.com/Homebrew/linuxbrew-core/issues/23920

It's fixed with version 5.3.0.


Items are not aligned properly in inline radiobuttonlist

I use the RadioButtonsFromEnum method and it all works fine. I am using the option DisplayInlineBlock(). The two items are not aligned properly. The first item goes down by almost 10 px. Html output is given below.

Sex*

<input id="Gender_0" name="Gender" type="radio" value="Male" />Male*

<input id="Gender_1" name="Gender" type="radio" value="Female" />Female*

Thanks,
Vanitha

The html rendered out looks consistent. There are no extra elements that would push first item down. This means the problem is the css. It may be the case that you have some special css rule that messes up the thing. In either case, all elements have classes that you can hook up into and fix the issue by couple lines of css. Notice classes input-list-container, and checkbox-inline. Work with them.


add a zh document: One-thousandth of storage space is realized by BRI…

add a zh document:
One-thousandth of storage space is realized by BRIN index, and time sequence data is retrieved efficiently.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.digoal zhou seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add documentation for building Logstash custom image with opensearch plugin

Description
This MR add a documentation to build Logstash custom image with opensearch plugin/
Issues Resolved
Follow-up to this question #209
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has documentation added

[x] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dblock @oeyh I integrate the comments and rebase. Thanks for taking another look.

@dblock I integrate the changes and generate a doctree. Thanks for the review :)

Thanks!
Would love more help on this project. There's a bunch of low hanging fruit documentation tasks like https://github.com/opensearch-project/logstash-output-opensearch/issues/234 or https://github.com/opensearch-project/logstash-output-opensearch/issues/141, but also plenty of meatier ones.


no longer uppercase since Gramps 4.x

That's what I get for running on older information...
Thanks again!


Suggestion only: When choosing a composite to create, a window showing the composite sidebar should open, instead of a dropdown

When creating composites with the "New Entity" window, you need to select the one you need and this is a bit difficult, because it is just a dropdown menu showing all  the composites, which are a lot most of the time. This makes the scrollbar sensitive and hard to move to the entity you want. A good replacement would be a window showing the composite sidebar that can always be seen on the main window. It will probably look something like this:

Reference photo from the NPC editor

I completely agree, will defo be in the next update! The dropdown is annoying 😆

This is now live on staging 👍


Best practices for TF state and handling encrypted passwords

Hello, when passing a clear-text password within a terraform configuration file, the resulting JunOS configuration will always differ due to the way it encrypts the password at commit.
resource "junos-ike_SecurityIkePolicyPre__Shared__KeyAscii__Text" "ike_policy_preshared" {
  resource_name = var.ike_apply_group_name
  name          = var.ike_policy_name
  ascii__text   = "juniper123"
}

resulting JunOS configuration
cdot65_ike {
    security {
        ike {
            policy cdot65_ike_policy {
                pre-shared-key ascii-text "$9$1UaESeLxdgoGvWoGDif5IEcyvWX7-w24"; ## SECRET-DATA
            }
        }
    }
}

This is fine and dandy, however it breaks Terrform's perspective of state regarding the configuration. Additional terraform plan operations will always show a diff.
Terraform will perform the following actions:

  # module.enterprise-fw1.junos-ike_SecurityIkePolicyPre__Shared__KeyAscii__Text.ike_policy_preshared will be updated in-place
  ~ resource "junos-ike_SecurityIkePolicyPre__Shared__KeyAscii__Text" "ike_policy_preshared" {
      ~ ascii__text   = "$9$1UaESeLxdgoGvWoGDif5IEcyvWX7-w24" -> "juniper123"
        id            = "<IP_ADDRESS>_cdot65_ike"
        name          = "cdot65_ike_policy"
        # (1 unchanged attribute hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Is there a best practice here for passing passwords to be encrypted by the host (JunOS device)

Hey @cdot65,
You can try the lifecycle block for this. It should ignore the identified tag. Try putting this undernearth the ascii__text key.
lifecycle {
    ignore_changes = [
        ascii__text,
    ]
}

Cheers,
D

Thanks @davedotdev, you're a world-class chap


Could set configuration to service on RHEL 7.5

When I start omnidb-server as:
omnidb-server -p 8000 -w 25482 -H <IP_ADDRESS>
No problem to connect from my PC browser so I modify omnidb.conf
listening_address = <IP_ADDRESS> the service don't use this config:
`[root@pgsqlmonitor-001 omnidb-server][0]# systemctl status omnidb.service

omnidb.service - OmniDB server daemon
Loaded: loaded (/etc/systemd/system/omnidb.service; disabled; vendor preset: disabled)
Active: inactive (dead)

Nov 29 09:18:42 pgsqlmonitor-001.pol.be bash[26736]: Checking port availability...
Nov 29 09:18:42 pgsqlmonitor-001.pol.be bash[26736]: Starting websocket server at port 25482.
Nov 29 09:18:42 pgsqlmonitor-001.pol.be bash[26736]: Starting OmniDB server...
Nov 29 09:18:42 pgsqlmonitor-001.pol.be bash[26736]: Checking port availability...
Nov 29 09:18:42 pgsqlmonitor-001.pol.be bash[26736]: Starting server OmniDB 2.12.0 at <IP_ADDRESS>:8000.
Nov 29 09:18:43 pgsqlmonitor-001.pol.be bash[26736]: User database version 2.12.0 is already matching server version.
Nov 29 09:18:43 pgsqlmonitor-001.pol.be bash[26736]: Open OmniDB in your favorite browser
Nov 29 09:18:43 pgsqlmonitor-001.pol.be bash[26736]: Press Ctrl+C to exit
As you can see in the screenshot ofsystemctl status omnidb.service`
I try also to execute omnidb-config-server -d /opt/omnidb-server
Regards,
Paul-Emmanuel Devadder
Originally posted by @PauloLaScience in https://github.com/OmniDB/OmniDB/issues/600#issuecomment-442790716

Hi @PauloLaScience ,
Thanks for reaching out, I replied to you in #600.
Regards,
William

Hi @PauloLaScience ,
We are releasing 2.13.0 today, and the omnidb server will use the configuration file /etc/omnidb.conf.
I'll keep this issue open in case you want to give us your valuable feedback.
Thanks in advance,
William

Closing this issue now.


Ensure panda is tagged for each Rakudo release

Testing Perl6 with Travis-CI suggests installing a versioned panda to match the rakudo version in use: http://docs.travis-ci.com/user/languages/perl6/
The suggested install method is rakudobrew build-panda ${TRAVIS_PERL6_VERSION}, e.g. 2015.07. However, panda currently has tags for 2015.03 – 2015.06, but not for 2015.07.
This is exacerbated because panda HEAD doesn't build with Rakudo 2015.07, so it's not feasible to leave off the version.
For an example of the problem using HEAD with older Rakudo, see https://travis-ci.org/softmoth/p6-Template-Mustache/jobs/77567891#L889
==> Installing panda from a local directory '/home/travis/.rakudobrew/moar-2015.07/panda'
Could not download module metadata: Too many positionals passed; expected 1 argument but got 2
  in sub die at /home/travis/.rakudobrew/moar-2015.07/install/share/perl6/runtime/CORE.setting.moarvm:1
  in method update at /home/travis/.rakudobrew/moar-2015.07/panda/lib/Panda/Ecosystem.pm:110
  in method init-projects at /home/travis/.rakudobrew/moar-2015.07/panda/lib/Panda/Ecosystem.pm:48
  in method get-project at /home/travis/.rakudobrew/moar-2015.07/panda/lib/Panda/Ecosystem.pm:119
  in method get-deps at /home/travis/.rakudobrew/moar-2015.07/panda/lib/Panda.pm:166
  in method resolve at /home/travis/.rakudobrew/moar-2015.07/panda/lib/Panda.pm:209
  in sub MAIN at bin/panda:18
  in block <unit> at bin/panda:95

To work around the lack of a tag for 2015.07, I hacked my .travis.yml config to force the checkout of an earlier commit:  https://github.com/softmoth/p6-Template-Mustache/blob/master/.travis.yml

Have just added the 2015.07 tag.  Hopefully it builds alright for you now.  Sorry for the omission!

Yes, it works now. Thanks!


Red dot of all the txn and accounts should go away .

All the transaction red dots go away as soon as I open that account. Same as red dot on the account tile.

Verified this issue on dev app v2.0(345)


Update App source link for sustainability

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

Hi @andreabichsel and @v-jkorsi and @ktoliver - I am closing this as Andrea and I decided to handle this via a fwlink rather than a hard-coded link.

Hi @andreabichsel and @v-jkorsi and @ktoliver - I am closing this as Andrea and I decided to handle this via a fwlink rather than a hard-coded link.


Render templates in subdirectories of templates_dir

closes #127

[x] Edited router to make the new file :id a glob after the dashboard/ route
[x] Added test coverage for changes in router.ex
[x] Added test coverage for changes in view.ex

I'll try to get it out tonight, otherwise tomorrow. Meanwhile you can point your mix.exs to master.


fix: issue #50

What does this PR do?
Clear All button in options page clears all bookmarks of scroll positions.

Any background context you want to provide?
A part of issue #50 is fixed

Screenshots and/or Live Demo

Hey, can someone review this PR? It is almost end of Hacktoberfest now. :)

@devcer #58 Already adds a delete all button and an individual delete button, so you'll have to do better than that to get this merged.

This was submitted 9 days ago for a single feature. You could have commented this before so that I can go ahead and done that too with all features in a single PR. Closing it now.


mac-install.md shows a Linux screenshot...

Thanks for reporting. This has now been fixed https://github.com/docker/docker.github.io/pull/15171


Use Java 1.8 for runtime.

Fixes for: EUCA-11925

A couple nitpicks:

We recently changed conventions for changelog entries in rpm spec files.  Please use your own name and e-mail address rather than the outdated eucalyptus.com address.
This pull request contains a frivolous merge commit.  Please rebase your work onto the current master branch.

@gholms, I've updated e-mail. I did merge with upstream/master before creating pull request. Now I did git rebase upstream/master but i don't think it did anything.

Superseded by PR 7.


The top text formating is off

The first text and text box's format bleeds to far right and run's into the "is the page helpful" question and "in this article" navigation sections on the right

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

ID: fbc06453-93e1-e616-9649-c1487c605a65
Version Independent ID: 76d52328-613f-bd5f-7daf-f62841300e2b
Content: az vm disk
Content Source: src/azure-cli/azure/cli/command_modules/vm/_help.py
Service: virtual-machines
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Thank you for your feedback. The bug has been confirmed. The doc text format has problems. We are fixing it.

Fixed.
https://docs.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest
https://docs.microsoft.com/en-us/cli/azure/vm/disk?view=azure-cli-latest
https://docs.microsoft.com/en-us/cli/azure/vm/unmanaged-disk?view=azure-cli-latest


KAFKA-17248: Override admin client to push metrics true, test for case where streams metrics [4/N]

This PR disables metrics push for the AdminClient as the default.  KafkaStreams enables metrics push for its internal AdminClient.
Tests are included that assert an error if a user disables either the main consumer or admin client metrics push but Kafka Streams metrics push config is enabled.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@mjsax I've responded to your comments

@mjsax updated for comments - there's a known checkstyle issue that I'll address, but the core logic from this update won't change (will be refactored to reduce cyclomatic complexity)

@mjsax - updated and it's ready for a review

Merged #17422 into trunk


TDD Project

General requirements

Make sure that there are no linter errors.
Make sure that you used correct Gitflow.
Make sure that you documented your work in a professional way.

Ruby requirements

Follow our list of best practices for Ruby

In this pull request, We implemented the following:
✔ Added Tests for Solver Class
✔ Added Methods in Solver Class
✔ Used Rspec for Unit Testing
✔ Followed TDD approach
✔ Followed Linters
✔ Followed Ruby best practices
✔ Followed Gitflow
✔ Documented work in a professional way

@algerina Thanks for your kind review and feedback.


Delayed revalidation in StaleWhileRevalidate

Library Affected:
workbox-strategies
When using StaleWhileRevalidate, some developers might want to delay the revalidation, perhaps on the order of a few seconds, to attempt to minimize contention with any other strategies that need to hit the network immediately afterward. (This might happen when, e.g., using workbox-streams and a StaleWhileRevalidate => NetworkFirst sequence.)
We could add an optional revalidationDelayInSeconds parameter that could be passed as an option to the StaleWhileRevalidate constructor to accomplish this.
Priority hints, if they're ever widely supported, might also be useful in this context.

Hi there,
Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:

For PRs, we closed everything that doesn't target the current v7 branch.
For Issues, we closed everything that was created before 2024.

Thanks, and we hope for your understanding!
The Workbox team


Increasing hubot process memory

Hi there,
Is there any way I can increase the hubot process memory ? I have been consistently seeing GCs recently. Our instance supports 2k+ users and has a good amount of redis brain data.
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

<--- Last few GCs --->

513860770 ms: Scavenge 1397.8 (1459.0) -> 1397.8 (1459.0) MB, 0.8 / 0 ms (+ 2.7 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].
513861989 ms: Mark-sweep 1397.8 (1459.0) -> 1372.8 (1457.7) MB, 1219.9 / 0 ms (+ 3.4 ms in 2 steps since start of marking, biggest step 2.7 ms) [last resort gc].
513863309 ms: Mark-sweep 1372.8 (1457.7) -> 1372.8 (1457.7) MB, 1319.6 / 0 ms [last resort gc].

I have not seen this personally, but I did some very brief ~googling~ researching on how to increase node memory in general. I found this article:

Just use the --max_old_space_size= command.

How to apply this will depend on how you run hubot. If you include the bin/hubot command that came with the original generator, it's calling node_modules/.bin/hubot, which is a coffeescript file with a #!/usr/bin/env coffee shebang.
The coffee has a --nodejs option for passing arguments to nodejs, so that could be updated with --max_old_space_size. The problem with that would be it'd be replaced if npm ever updated/re-installed the package.
You could call coffee with the arguments directly on node_modules/.bin/hubot to pass in the arguments you need. Just keep in mind that hubot itself was ported to javascript, so you might get an unobvious syntax error after upgrading past 3.0.

Thank you very much for the pointers @technicalpickles!


G9 Customize card backing (2 point)

Creating UI for Cards and Chips

Added card backing assets with card backing property added to player model on backend. Also added ability to change card backing with a set of backing options on frontend.


How to create nested components with links?

Hi, I have a nested data structure
#[derive(Properties, Clone)]
pub struct TreeData {
    pub text: String,
    pub children: Vec<TreeData>,
}

And would like to use it as Properties for a view Component:
pub struct TreeView {
    text: String,
    children: Vec<TreeView>,
    link: ComponentLink<Self>,
}

impl Component for TreeView {
    type Message = Msg;
    type Properties = TreeData;

    fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
        Self {
            link,
            text: props.text,
            children: props.children
                .iter()
                .cloned()
                .map(|p| TreeView::create(p, ComponentLink::new()))
                .collect(),
        }
    }
   ...
}

However it seems that the ComponentLinks created with new() are not really valid, as they cause a panic in the wasm module.
The root TreeView is created like this:
html!{
  <TreeView
  text={"Root".to_string()}
  children={vec![
      TreeData {
          text: "First Item".to_string(),
          children: vec![
              TreeData {
                  text: "Hello".to_string(),
                  children: Vec::new(),
              }
          ],
      },
      TreeData {
          text: "Second Item".to_string(),
          children: vec![
              TreeData {
                  text: "World".to_string(),
                  children: Vec::new(),
              }
          ],
      }
  ]
  }/>
}

So that is why the initial link is valid and can be used for callbacks.
How do I create valid ComponentLinks for the nested Components? Or how do I correctly create nested Components?

Hey @mankinskin, any particular reason you aren't using this approach for nested components? https://yew.rs/docs/concepts/html/components#nested

@jstarry I am not really sure how to apply it here. The Children type in Props seems to expect  the child nodes to be already constructed as components, but I wanted to build the root component and its children from a nested Properties datasructure. Basically I would like to take a file tree or anything alike as a Rust struct and pass it to a TreeView Component, which then can render itself recursively, depending on the data.
But the TreeView also stores whether the tree should render its children or not (an expanded: bool field) and I would like to keep that state for all of the children, even when they are not rendered. So just constructing new TreeView components from TreeData in view() does not work, because their state would be lost once their parent stops rendering them.
That is why I would like to create all child components in the Component::create() function, and store all of the components as children. If this is possible with the Children type, it would be great if you or someone else could tell me how.

I think you'll want to do something like:
impl Component for TreeView {
    type Message = Msg;
    type Properties = TreeData;

    fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
        Self { link, props }
    }

    fn view(&self) -> Html {
        html! {
            self.props.children.iter().map(|p| {
                 html_nested! { <TreeView children={p.children} /> }
            }).collect::()
        }
    }
   ...
}

@jstarry Yes, that is basically what I am doing right now, but the problem with this is that the children are conditionally rendered and also have state associated with them.
#[derive(Properties, Clone)]
pub struct TreeData {
    pub text: String,
    pub expanded: bool,
    pub children: Vec<TreeData>,
}

pub struct TreeView {
    props: TreeData,
    link: ComponentLink<Self>,
}
impl Component for TreeView {
    type Message = Msg;
    type Properties = TreeData;

    fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
        Self {
            props ,
            link,
        }
    }
    fn view(&self) -> Html {
        console!(log, format!("view: expanded: {}", self.props.expanded));
        html!{

 // here state gets changed
                    {if self.props.expanded {
                        "V"
                    } else {
                        ">"
                    }}
                    {self.props.text.clone()}

                {if self.props.expanded {
                    html!{

{
                            for self.props.children.iter().cloned().map(|child| html!{
                                <TreeView
                                text={child.text}
                                children={child.children}
                                expanded={child.expanded}
                                />
                            })
                        }

                    }
                } else {
                    html!{}
                }

                }

        }
    }

And the result of this is
VRoot
    VFirst Item
        VHello
    VSecond Item
        VWorld

When all are expaneded. But the state is not stored for the parents, so it is lost as soon as the children are not being rendered anymore. So I need some way to store child components as components or I need to propagate state up to parents before the children are destroyed.

When all are expaneded. But the state is not stored for the parents, so it is lost as soon as the children are not being rendered anymore. So I need some way to store child components as components or I need to propagate state up to parents before the children are destroyed.

I'm not sure I follow what you're trying to achieve. What state is lost?

I'm not sure I follow what you're trying to achieve. What state is lost?

Each TreeView stores an expanded: bool, which can be toggled by clicking on it. When the TreeView is destroyed this state is lost.

Got it, have you considered rendering the full tree in Yew and use CSS to hide/expand nodes?
Otherwise, you're going to have change how you store state. It's not possible to hold onto rendered components and their state within Yew. You'll need to find a way to work with the component lifecycle by storing the state elsewhere (most commonly higher in the tree).

You could use callbacks that you pass to children all the way down your tree. So that they can notify the parent components all the way back up.

You could use Rc<RefCell<boolean>> in your tree data structure and pass a copy to each child component so that it can write to its state directly.

You could try using this new approach: https://github.com/yewstack/yew/issues/1061

There's a thread about how to handle global state here: https://github.com/yewstack/yew/issues/576
Hope this is helpful!

Hope this is helpful!
Very much. Thank you!

Nice! Just for the record, this is how I got it working:
The props of each TreeView (TreeData) store an update_parent: Option<Callback<Msg>>. For the root component this is set to None. The props are the permanent state, in contrast to the state in the view components, and need to be updated explicitly.
Each parent creates this callback for each of its children when rendering them, so that their children can notify them about the messages they get. The callback takes a Msg so that the messages can be propagated up the hierarchy.
When a TreeView component is clicked, it catches a Msg in its update() method.  I actually moved the update() logic to TreeData, because I want parents to mirror the same updates in their props.children: Vec<TreeData>.
So the TreeData updates itself based on the received Msg and if it is a child of another TreeData, the update_parent field is Some(callback), and in that case it will invoke the callback by passing it the message it received using Callback::emit(), effectively propagating the message up to the parent.
I figured that there are two things happening here, which should be treated with different Message types. First, messages bubble up in the tree, to the root TreeData, which stores everything. Then the state is updated by updating the children that got messaged. If I used the same Message for both of these steps, the state would be updated twice, once when the message is passed upward, and once when it is passed downward. This is why I use an ChildMessage and an UpdateChild Message. The ChildMessage is just supposed to bubble up, the UpdateChild message tells a parent to update on of its children.
Here is the code:
#[derive(Clone)]
pub enum Msg {
    ToggleExpand,
    UpdateChild(usize, Box<Msg>),
    ChildMessage(usize, Box<Msg>),
}

#[derive(Properties, Clone)]
pub struct TreeData {
    pub text: String,
    pub expanded: bool,
    pub children: Vec<TreeData>,
    pub update_parent: Option<Callback<Msg>>,
}

impl TreeData {
    fn update(&mut self, msg: Msg) -> ShouldRender {
        match msg.clone() {
            Msg::ToggleExpand => {
                self.expanded = !self.expanded;
                if let Some(update_parent) = &self.update_parent {
                    update_parent.emit(msg);
                }
            },
            Msg::ChildMessage(child_index, child_msg) => {

                if let Some(update_parent) = &self.update_parent {
                    update_parent.emit(msg);
                } else {
                    self.update(Msg::UpdateChild(child_index, child_msg));
                }
            },
            Msg::UpdateChild(child_index, child_msg) => {
                if let Msg::ChildMessage(i, m) = *child_msg {
                    self.children[child_index].update(Msg::UpdateChild(i, m));
                } else {
                    self.children[child_index].update(*child_msg);
                }
            },
        };
        true
    }
}

pub struct TreeView {
    props: TreeData,
    link: ComponentLink<Self>,
}

impl TreeView {
    pub fn toggle_expand(&self) -> Callback<ClickEvent> {
            self.link.callback(|_| {
                Msg::ToggleExpand
            })
    }
    pub fn child_message(&self, child_index: usize)  -> Callback<Msg>{
        self.link.callback(move |msg| {
            Msg::ChildMessage(child_index, Box::new(msg))
        })
    }
}

impl Component for TreeView {
    type Message = Msg;
    type Properties = TreeData;

    fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
        Self {
            props,
            link,
        }
    }
    fn view(&self) -> Html {
        html!{

                    {if self.props.expanded {
                        "V"
                    } else {
                        ">"
                    }}
                    {self.props.text.clone()}

                {
                    if self.props.expanded {
                        html!{

{
                                for self.props.children.iter().cloned().enumerate().map(|(i,child)| html!{
                                    <TreeView
                                    text={child.text}
                                    children={child.children}
                                    expanded={child.expanded}
                                    update_parent={Some(self.child_message(i))}
                                    />
                                })
                            }

                        }
                    } else {
                        html!{}
                    }
                }

        }
    }
    fn update(&mut self, msg: Self::Message) -> ShouldRender {
        self.props.update(msg)
    }
}

and this would be how to create this component:
<TreeView
text={"Root".to_string()}
update_parent={None}
children={vec![
    TreeData {
        text: "First Item".to_string(),
        expanded: false,
        children: vec![
            TreeData {
                text: "Hello".to_string(),
                expanded: false,
                children: Vec::new(),
                update_parent: None,
            }
        ],
        update_parent: None,
    },
    TreeData {
        text: "Second Item".to_string(),
        expanded: false,
        update_parent: None,
        children: vec![
            TreeData {
                text: "World".to_string(),
                expanded: false,
                children: Vec::new(),
                update_parent: None,
            }
        ],
    }
]}
expanded={false}
/>

I'm trying to update this Tree View implementation, at the end, but I'm having trouble converting this code to the new Yew form.
@mankinskin, do you have an updated version, by any chance?
Thanks,

@robcsi Unfortunately I have not used this library in a long time, so I don't think any version I have would be directly work today.

I've managed to update it somehow, but I'm not really familiar with Yew yet, so I'm stuck.
I'm trying to call the update function of TreeData, but the context is not mutable in the update function...
ctx.props().update(msg);
See below:
use yew::prelude::*;

#[derive(Clone, Debug)]
pub enum Msg {
    ToggleExpand,
    ChildMessage(usize, Box<Msg>),
}

#[derive(PartialEq, Properties, Clone, Debug)]
pub struct TreeData {
    pub text: String,
    pub expanded: bool,
    pub children: Vec<TreeData>,
    pub message_parent: Option<Callback<Msg>>,
}

impl TreeData {
    fn update(&mut self, msg: Msg) {
        match msg.clone() {
            Msg::ToggleExpand => {
                self.expanded = !self.expanded;
            },
            Msg::ChildMessage(child_index, child_msg) => {
                self.children[child_index].update(*child_msg);
            },
        }
    }
}
pub struct TreeView;

impl Component for TreeView {
    type Message = Msg;
    type Properties = TreeData;

    fn create(_ctx: &Context<Self>) -> Self {
        Self
    }
    fn view(&self, ctx: &Context<Self>) -> Html {
        let onclick = ctx.link().callback(|_| {
            Msg::ToggleExpand
        });

        html!{

                    {
                        if ctx.props().expanded {
                            "V "
                        } else {
                            "> "
                        }
                    }
                    {ctx.props().text.clone()}

                {
                    if ctx.props().expanded {
                        html!{

{
                                for ctx.props().children.iter().cloned().enumerate().map(|(i, child)| html!{
                                    <TreeView
                                        text={child.text}
                                        children={child.children}
                                        expanded={ctx.props().expanded}
                                        message_parent={Some(ctx.link().callback(
                                            move |msg| {
                                                Msg::ChildMessage(i, Box::new(msg))
                                            }
                                        ))}
                                    />
                                })
                            }

                        }
                    } else {
                        html!{}
                    }
                }

        }
    }
    fn update(&mut self, ctx: &Context<Self>, msg: Self::Message) -> bool {
        if let Some(message_parent) = &ctx.props().message_parent {
            // self is child
            message_parent.emit(msg.clone());
            false
        } else {
            // self is root
            ctx.props().update(msg);
            // for mut child in ctx.props().children.iter().cloned() {
            //     child.update(msg.clone());
            // }

            true
        }
    }
}

#[function_component(App)]
fn app() -> Html {
    html!{
        <TreeView
                text={"Root".to_string()}
                expanded=true
                message_parent={None}
                children={vec![
                    TreeData {
                        text: "First Item".to_string(),
                        expanded: true,
                        message_parent: None,
                        children: vec![
                            TreeData {
                                text: "Hello".to_string(),
                                expanded: true,
                                message_parent: None,
                                children: Vec::new(),
                            }
                        ],
                    },
                    TreeData {
                        text: "Second Item".to_string(),
                        expanded: true,
                        message_parent: None,
                        children: vec![
                            TreeData {
                                text: "World".to_string(),
                                expanded: true,
                                message_parent: None,
                                children: Vec::new(),
                            }
                        ],
                    }
                ]
            }
        />
    }
}

fn main() {
    yew::start_app::<App>();
}

I suppose TreeView could be written so that it stores the Properties in TreeData, but then it becomes a property-less Component, which I couldn't figure out how to use.
Any ideas anyone?

I've managed to make it work, altough I'm not sure if it's very "rusty" and "yewy", so to speak. :)
use yew::prelude::*;

#[derive(Clone, Debug)]
pub enum Msg {
    ToggleExpand,
    ChildMessage(usize, Box<Msg>),
}

#[derive(PartialEq, Properties, Clone, Debug)]
pub struct TreeData {
    pub text: String,
    pub expanded: bool,
    pub children: Vec<TreeData>,
    pub message_parent: Option<Callback<Msg>>,
}

impl TreeData {
    fn update(&mut self, msg: Msg) {
        match msg {
            Msg::ToggleExpand => {
                self.expanded = !self.expanded;
            }
            Msg::ChildMessage(child_index, child_msg) => {
                self.children[child_index].update(*child_msg);
            }
        }
    }
}

impl TreeView {
    fn update(&mut self, msg: Msg) {
        self.root.update(msg);
    }
}
pub struct TreeView {
    pub root: TreeData,
}

impl Component for TreeView {
    type Message = Msg;
    type Properties = TreeData;

    fn create(ctx: &Context<Self>) -> Self {
        Self {
            root: TreeData {
                text: ctx.props().text.clone(),
                expanded: ctx.props().expanded,
                children: ctx.props().children.clone(),
                message_parent: ctx.props().message_parent.clone(),
            },
        }
    }
    fn view(&self, ctx: &Context<Self>) -> Html {
        let onclick = ctx.link().callback(|_| Msg::ToggleExpand);

        html! {

                    {
                        if !self.root.children.is_empty() {
                            if self.root.expanded {
                                // "↓ "
                                "↱ "
                            } else {
                                // "→ "
                                "↴ "
                            }
                        } else {
                            "↳ "
                        }
                    }
                    {ctx.props().text.clone()}

                {
                    if self.root.expanded {
                        html!{

{
                                for ctx.props().children.iter().cloned().enumerate().map(|(i, child)| html!{
                                    <TreeView
                                        text={child.text}
                                        children={child.children}
                                        expanded={child.expanded}
                                        message_parent={Some(ctx.link().callback(
                                            move |msg| {
                                                Msg::ChildMessage(i, Box::new(msg))
                                            }
                                        ))}
                                    />
                                })
                            }

                        }
                    } else {
                        html!{}
                    }
                }

        }
    }
    fn update(&mut self, ctx: &Context<Self>, msg: Self::Message) -> bool {
        match msg {
            Msg::ToggleExpand => {
                // self is root
                self.update(msg);
                true
            }
            Msg::ChildMessage(_child_index, ref _child_msg) => {
                if let Some(message_parent) = &ctx.props().message_parent {
                    // self is child
                    message_parent.emit(msg.clone());
                }
                false
            }
        }
    }
}

Basically, I'm cloning all the Props data into the TreeView as state, and having its Update function do the work and routing changes to its root member (TreeData). I also changed the Components Update method.
Any review, input, ideas are welcome...
Thanks


implement signal parsing

Hello author, thank you very much for open source such a powerful library, I think it fills the gap of opendrive official does not provide parsing library.
I find that the signal element of opendrive may represent the signal element differently. Is that why you didn't parse signal?

Thanks! Appreciate it. I simply didn't have time so far to implement signal parsing. It's the next thing on my list though.

we also need to parse signal. e.t.  traffic_light

I found that "signals" can be parsed on "odrviewer.io", Is there any related open source code？

I haven't had the time yet to add signals. I also don't parse them on https://odrviewer.io yet. Maybe you are mistaking road::objects for signals? Those are being parsed.

Hi,
I have implemented the parsing of the signals. Is there any interest in creating a pull request for that?


Quick start bosh installation instruction does not work

Describe the bug
The quick start installation instruction does not work.
https://bosh.io/docs/quick-start
To Reproduce
Steps to reproduce the behavior (example):

Create a new Ubuntu server VM with 32GM RAM and 8 CPUs
Follow instractions
sudo apt install virtualbox
sudo apt-get install -y build-essential zlibc zlib1g-dev ruby ruby-dev openssl libxslt1-dev libxml2-dev libssl-dev libreadline7 libreadline-dev libyaml-dev libsqlite3-dev sqlite3
git clone https://github.com/cloudfoundry/bosh-deployment.git
./bosh-deployment/virtualbox/create-env.sh

Expected behavior
Running bosh as described in quick start tutorial.
Logs
mikael@CloudFoundry:~/bosh-env/virtualbox$ sudo ./bosh-deployment/virtualbox/create-env.sh
==\
===> Creating BOSH Director
==/

Deployment manifest: '/home/mikael/bosh-env/virtualbox/bosh-deployment/bosh.yml'
Deployment state: '/home/mikael/bosh-env/virtualbox/state.json'

Started validating
  Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
  Validating release 'bosh'... Finished (00:00:01)
  Downloading release 'bpm'... Skipped [Found in local cache] (00:00:00)
  Validating release 'bpm'... Finished (00:00:01)
  Downloading release 'bosh-virtualbox-cpi'... Skipped [Found in local cache] (00:00:00)
  Validating release 'bosh-virtualbox-cpi'... Finished (00:00:03)
  Downloading release 'garden-runc'... Skipped [Found in local cache] (00:00:00)
  Validating release 'garden-runc'... Finished (00:00:02)
  Downloading release 'bosh-warden-cpi'... Skipped [Found in local cache] (00:00:00)
  Validating release 'bosh-warden-cpi'... Finished (00:00:00)
  Downloading release 'os-conf'... Skipped [Found in local cache] (00:00:00)
  Validating release 'os-conf'... Finished (00:00:00)
  Downloading release 'uaa'... Skipped [Found in local cache] (00:00:00)
  Validating release 'uaa'... Finished (00:00:02)
  Downloading release 'credhub'... Skipped [Found in local cache] (00:00:00)
  Validating release 'credhub'... Finished (00:00:00)
  Validating cpi release... Finished (00:00:00)
  Validating deployment manifest... Finished (00:00:00)
  Downloading stemcell... Skipped [Found in local cache] (00:00:00)
  Validating stemcell... Finished (00:00:03)
Finished validating (00:00:17)
No deployment, stemcell or release changes. Skipping deploy.

Succeeded
==\
===> Adding Network Routes (sudo is required)
==/

==\
===> Generating .envrc
==/

Succeeded
==\
===> Configuring Environment Alias
==/

Fetching info:
  Performing request GET 'https://<IP_ADDRESS>:25555/info':
    Performing GET request:
      Retry: Get "https://<IP_ADDRESS>:25555/info": dial tcp <IP_ADDRESS>:25555: connect: connection refused

Exit code 1

Versions (please complete the following information):

Infrastructure: Ubuntu 18 VM with 32Gb RAM and 8 CPU in Azure

Deployment info:
If possible, share your (redacted) manifest and any ops files used to deploy
BOSH or any other releases on top of BOSH.
If you used any deployment strategy it'd be helpful to point it out and share as
much about it as possible (e.g.  bosh-deployment, PCF, genesis, spiff, etc)
Additional context
Add any other context about the problem here.

It seems odd that  No deployment, stemcell or release changes. Skipping deploy. also happens.


Update ReadMe and Documentation

The register_application method of Clipper has been updated to take 5 arguments, but the GitHub ReadMe, and Clipper API documentation only mention 4 arguments.

Ahh good catch. It's actually the other way around: the old version took 5 arguments and we updated it. I did two things to address this:

I added a note to the README in #257 to clarify that the quickstart in the readme corresponds to the API version in that commit, not necessarily the released version.
I fixed the default documentation branch on readthedocs so that http://docs.clipper.ai redirects to the docs for the current release instead of the latest commit.


Mode

I need to have a State variable synched with Display mode.
I tried the following
 SideMenu(
            onDisplayModeChanged: (mode) {
              if (mode.name == 'compact') {
                setState(() {
                  tokenText = '';
                });
              } else {
                setState(() {
                  tokenText = 'Tokens';
                });
                ;
              }
            },

but throws the error:
The widget on which setState() or markNeedsBuild() was called was:
LoggedPage The widget which was currently being built when the offending call was made was:
KeyedSubtree-[GlobalKey#1a986]
How can I fix this?

This is a very common error. That means basically that the tree is currently been rendered so this is a bad timing for that call. You can use Future.delayed(...). However this will result that you have one renderer pass with the wrong content


Nlogin commands not on bungeecord server network

Hi, @ObsidianOS7!
What do you mean by that? Do commands not work on all servers?

the commands don't even appear

/nlogin brings up nothing
I was able to enter my server without needign to register or login


don't mention sync.Locker in package documentation

(*Flock).Lock and (*Flock).Unlock return errors, unlike the Lock and
Unlock methods specified by sync.Locker. Therefore, don't mention
sync.Locker in package-level documentation, to avoid confusion.
Fixes #33.

I'm going to cycle the PR quickly to get the build to be totally green.


[DOCFIX]docfix for docs/cn/Configuring-Alluxio-with-GCS.md

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16535/
Test PASSed.


After Sign In I get an error and the moskool.com/courses page stays blank

I sent you a picture of the errror - see below:

Hi Hans! That's a great catch!!
Just released a fix for that, and you should be able to see courses now
Thank you for your support :D


Persistent mode fuzzing with Intel-PT coverage

Hello,
I tried creating a project to fuzz in persistent mode (in_app persistent mode) using intel-pt for coverage.
It seems like this is not supported, I added while (__afl_persistent_loop()) to my harness and things seem to go astray.
Here some some details and examples:
This is an example for an harness:
#include "winafl/afl-staticinstr.h"
#include <stdio.h>
#include "Windows.h"

#pragma comment(lib, "user32.lib")

void write_to_log(const char *format, ...)
{
    va_list argptr;
    va_start(argptr, format);
    char output[0x100];
    HANDLE hFile = CreateFile("output.txt", FILE_APPEND_DATA, 0x0, NULL,
                              OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);

    DWORD dwBytesWritten = 0;
    vsprintf(output, format, argptr);
    WriteFile(hFile, output, strlen(output), &dwBytesWritten, NULL);
    CloseHandle(hFile);
    va_end(argptr);
}

typedef struct PACKET_INFO
{
    int a;
    int b;
    int c;
} PACKET_INFO;

void process_packet(PACKET_INFO *packet_info)
{
    write_to_log("Processing packet\n");
    return;
}

void main()
{
    PACKET_INFO packet_info;
    char input[sizeof(packet_info)];

    write_to_log("Harness started\n");
    while (__afl_persistent_loop())
    {
        scanf("%s", input);
        write_to_log("Recevied input: %s\n", input);
        process_packet(&packet_info);
    }
    write_to_log("Harness exiting\n");
}

And this is how I run the fuzzer:
afl-fuzz.exe -t 1000+ -i testcases -o findings -P -persistence_mode in_app -- -covtype bb -coverage_module harness.exe -target_module harness.exe -target_method process_packet -fuzz_iterations 10 -- harness.exe
I've also tried like this:
afl-fuzz.exe -t 1000+ -i testcases -o findings -P -persistence_mode in_app -- -covtype bb -coverage_module harness.exe -target_module harness.exe -target_method main -fuzz_iterations 10 -- harness.exe
I see 2 things happening:

The fuzzer yells cant't sync (The typo is in the fuzzer intself BTW)
The harness is constantly starting and exiting, only receiving input once every 10 iterations.

in_app persistent mode is currently not supported with the Intel-PT coverage

in_app persistent mode is currently not supported with the Intel-PT coverage

So my only options for persistent mode coverage guided fuzzing would be with either syzygy or DR?

Well, you could also add the support for in app persistent mode in winaflpt.c :-)


Improve optional parameters

Description
Update OptionalParameter and add several other parameter classes for other types.
Motivation and Context
Parameters raise warnings when their default value is None. As far as I know, it is only possible to use OptionalParameter for string type so I added optional classes for other types.
Have you tested this? If so, how?
I have included unit tests.

Hello
I come back to this since it seems the CI is working now. Can you try to trigger it please?


Formatting code does not work for me anymore !

VSCode Version: 1.17.2
OS Version: Ubuntu 16

Formatting code does not work for me anymore !
Reproduces without extensions: Yes

What language? Can you please provide some steps to reproduce this issue

@mjbvz Javascript, React JS .. Ctrl+Shift+i Doesn't work anymore, I tried it even manually, nothing happen

So you have tried using the Format Document command, and that also doesn't work. If you disable all of your extensions and restart VS Code, do you still see this issue?

I disabled all my extensions and restarted my computer, guess what, it works again :) thank you

Ok. If you see this issue again, please try tracking down the extension that caused this and opening an issue against them
Closing as caused by extension

Copy that


Add conversion of quint builtin boolean operator

Towards #2364
Also adds some clarifying renaming.

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[x] Documentation added for any new functionality
[x] Entries added to ./unreleased/ for any new functionality

Codecov Report

Merging #2418 (ce27588) into main (65a0f64) will decrease coverage by 0.02%.
The diff coverage is 75.00%.

:exclamation: Current head ce27588 differs from pull request most recent head be8b13b. Consider uploading reports for the commit be8b13b to get more accurate results

@@            Coverage Diff             @@
##             main    #2418      +/-   ##
==========================================
- Coverage   78.39%   78.38%   -0.02%
==========================================
  Files         441      441
  Lines       15314    15331      +17
  Branches     2519     2449      -70
==========================================
+ Hits        12006    12017      +11
- Misses       3308     3314       +6

Impacted Files
Coverage Δ

...ain/scala/at/forsyte/apalache/io/quint/Quint.scala
82.97% <75.00%> (-1.44%)
:arrow_down:

...a/at/forsyte/apalache/tla/lir/TlaLevelFinder.scala
93.75% <0.00%> (-2.09%)
:arrow_down:

...he/io/annotations/parser/CommentPreprocessor.scala
96.70% <0.00%> (-1.10%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


W11 / WSL2 stuck- reinstalling / rebooting not helpin

Windows Build Number
Microsoft Windows [Version 10.0.22000.168]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
Debian / Ubuntu
Other Software
Docker Desktop
Github Desktop
Terminal Preview
VSCode with WSL and SSH remote
Repro Steps
Two WSL - Debian and Ubuntu, both with docker and qemu inside running - connected and  opened by exteension in VSCODE for qute long developing time, connected 2 instances of VS Code via WSL and maby overall 6 Terminals via SSH
Setup was working 3 days without restart, yesterday noticed performance drops and sluggish response from Windows and Terminals, - there was dropdown in free disk space on C:/ so stashed local work and did restart. Afer restart issue. Very similiar I think to  #7363  and #7372.
Unfortunatly, rreinstalling wsl / rebooting computer did not work.
As Debian wsl was  \wsl$\Debian\home\ can't find any data of it.
Expected Behavior
wsl -l -v should work.
Debian / Ubuntu should work.
debian home location: \wsl$\Debian\home\lenovo should be accessible
Actual Behavior
Neighter Debian / Ubuntu not runnig (Black / blank terminal screen)
wsl -l -v or wsl --status freezes
\wsl$\Debian\home\lenovo doesnt point to any logical place / possible data los - did not found any changed files.
Diagnostic Logs
No response

I have seme problem with error code
[process exited with code<PHONE_NUMBER>]

update KB5006050 solved that

I had to also reinstall wsl - but confirmed. Works as used to.


partial fix to demo setup

functional, but partial fix to demo setup. Updated instructions rely on
https://github.com/RackHD/on-http/pull/56 and
https://github.com/RackHD/on-http/pull/57, and the on-http submodule to
be updated to include both of those commits.

resets the default SSH key for remote access (note: CoreOS SSH login not
working per these instructions - not sure what I'm missing and haven't
debugged login yet)

adding instructions and quick-links to download and unpack ESXi and
CentOS7 iso images, and link them into the vagrant install

in support of the annotations in
https://github.com/RackHD/docs/pull/203 to point readers to this
local README for quick-setup instructions

adds a script to make it easier to update the submodules to 'master' for
demo work

:+1:

:+1:

+1