added contribution and governance documents

This pull request contains the shared repository governance document and contribution model to ensure easy collaboration between MITRE and the transition organization.
Pull requests into cqm-execution require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.
Submitter:

[x] This pull request describes why these changes were made.
[x] Code diff has been done and been reviewed

Bonnie Reviewer:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose

Cypress Reviewer:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose

Before Merge

[ ] Governance doc has been updated with company names as appropriate
[ ] Governance doc has been updated with mailing lists, etc., as appropriate

Codecov Report

Merging #64 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #64   +/-   ##
=======================================
  Coverage   87.11%   87.11%
=======================================
  Files           6        6
  Lines         706      706
  Branches      212      212
=======================================
  Hits          615      615
  Misses         91       91

Continue to review full report at Codecov.

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


Empty outDir on dev

When running npm run dev, is it possible to clear out the production build?
Here's my use case:

Run npm run build to test that the production assets are used correctly.
Laravel will use the production assets.
Run npm run dev to do some dev work.
Laravel notices the hot file, so it uses dev assets.
Cancel the watcher (maybe accidentally)
Laravel doesn't see the hot file, so it (correctly) serves the outdated production assets, and I get confused as to why things are acting weird.

If there was an option to empty the production build directory when we run npm run dev, that would solve this minor issue.

@jasonvarga we are aiming to keep the Laravel plugin as lightweight as possible and focused on making Vite work smoothly with Laravel. Although I can see that this feature being beneficial to some, it isn't directly related to Laravel and is more of a generic Vite plugin / feature - so leaning on composition of plugins is the way to go here I reckon.
One great thing about Vite is you can write tiny inline plugins for yourself. Here is a custom     plugin you can place in your vite.config.js file to achieve the functionality you are after. It essentially does an rm -rf on the build dir, so here is a big old disclaimer for anyone who sees this...

Warning Use with extreme caution. This custom plugin will recursively delete directories on your machine which cannot be undone.

import { defineConfig } from 'vite'
import fs from 'fs'
import laravel from 'laravel-vite-plugin'

export default defineConfig({
  plugins: [
    laravel({
      input: 'resources/js/app.js',
      ssr: 'resources/js/ssr.js',
    }),

    {
      configureServer() {
        process.on('exit', () => {
          console.log('Removing build directory.')

          if (fs.existsSync('public/build')) {
            fs.rmSync('public/build', {
              recursive: true,
              force: true
            })
          }
        })
      },
    },

  ],
})

Even simpler. Thanks!


MD5 tls-auth warning on android

On the android openvpn official client, every time I connect to my profile, I get the warning that my server uses an MD5 certificate for tls-authentication. It also reminds me that it will loose support in April 2018. I was wondering if there is anyway to force a more secure cypher, or if there is any development in the future that might improve this.
Congratulations to the developers of PIVPN as I really enjoy using it and believe they are true professionals that really make our job easy when implementing an Openvpn server.

Hi there!
Thank you for using and enjoying PiVPN.
About the encryption... tbh my understanding about encryption methods, and ciphers which ones are what ... well ... I just know a bit about that!
however, I don't think we are generating any certificates with MD5! think everything is using RSA and TLS ... and the support for the elliptic curve is in the loop I guess ( at least OpenVPN already supports it ).
but well ... will leave this one for someone with more understanding of the matter than me!!
@redfast00 wanna give a hand here?

That doesn't really make sense to me: in both the client and server config, we are using SHA256. I don't know if that's the algorithm used for tls-authentication though. Anyway, I looked through our codebase, there is not a single mention of md5. I don't really know what caused this.

open file /etc/ssl/openssl.cnf
change "default_md" = default to "default_md" = sha256
regenerate all your certificates and android openvpn will play nice

Thanks!
@evildarknight ... checked in mine config files .. both in the laptop I am using right now ( Ubuntu 16 ) and in a Raspbian Strech with manually installed OpenVPN and both have
default_md = default
so it makes me wonder ... if that is the correct parameter to change .... but definitely should be something similar to that!

Could br just a false warning, try to update the appl

yup thats the line that's need changing sorry was busy


Split UI and Payment Backend from core cart

Would you be interested in splitting the UI and Payment backend from the core functionality of the cart?  If so I would be interested in helping out.

can you expand on what you are thinking here?  i suppose a pattern like what the useraccounts package does could be nice.  eg cart-core, cart-stripe, cart-balanced, etc
is that what you had in mind?

That is what I had in mind.

ok - i'm game for this - shouldn't be too hard actually - just need to pull
out the 'pay' button behavior and have that be a separate package
On Sun, Feb 22, 2015 at 2:56 PM, jimmiebtlr<EMAIL_ADDRESS>wrote:

That is what I had in mind.
—
Reply to this email directly or view it on GitHub
https://github.com/nate-strauser/meteor-cart/issues/4#issuecomment-75454159
.

i'll split the package into 2 parts soon - how do you want to help out after that?  want to add another payments backend?  balanced would be a good choice, i really only went with stripe b/c they provide the credit card form which i didn't want to manually build - could use something like http://jessepollak.github.io/card/

I was thinking balanced.  Card looks great.  It may also be good to separate out the UI, to more easily allow other styling frameworks.

i think this sounds good and will get to it soon - been wrapped up with
some other things lately
On Wed, Feb 25, 2015 at 2:10 PM, jimmiebtlr<EMAIL_ADDRESS>wrote:

I was thinking balanced. Card looks great. It may also be good to separate
out the UI, to more easily allow other styling frameworks.
—
Reply to this email directly or view it on GitHub
https://github.com/nate-strauser/meteor-cart/issues/4#issuecomment-76032998
.

@jimmiebtlr Do you have a PR, or a custom implementation for this? I'm interested in doing something similar for my shop.

Not currently

I've created a cart only package (no ui or payment) at https://github.com/ElevateDev/meteor-cart.


Made sure all validate methods go through the same call chain

Right now when a schema is validated, we perform a different call path
depending on which of the validate methods is called. Schema validation
has it's own path too.
I've changed this so everything is validated via
JSON::Validator#validate!, all other validate methods ultimately call
that. This means that the varied validate class methods on Validator
are simplified and just add or remove validation options.

:+1: +2 actually, I like tidy code.


Puppetdb Client ALWAYS uses token header even when cert/key is configured

Describe the Bug
In the case a token AND cert based auth methods are configured for puppetdb, the client always includes the token in the header for puppetdb requests. This results in the case where puppetdb queries fail even when a valid cert/key pair is configured.
Expected Behavior
Puppetdb client should be able to use either token or cert/key auth.
Options:

Client could have cert/key take precedence over token
Client could try with token, on 401/403 response could retry with cert/key

I think what is a bit confounding is that if cert/key are invalid it will fail regardless of the token. If this were net-new I would just choose to prefer cert based auth when both are specified (IE only include token if cert/key are not specified). But in order to not break anybody relying on token being included in header even if certs are configured I wanted to not disturb that (specifically thinking of the case where you would prefer the identity piece of an rbac token if possible). I bring this up in response to 2, specifically i think that the configuration will get a bit out of control with complexity if we try to use token only even if cert/key are incorrectly configured. We are not currently at risk of breaking anybody with a change today in this regard (if you have bad certs configured, regardless of your token config its not going to connect).

I'm tempted to simplify this to follow the pattern in the puppetdb CLI. Specifically, if cert is configured, do not use token. I think that really simplifies things and is easier to understand. It also probably helps as a forcing function to ensure there is not ambiguous config files in practice. I can put up a separate PR with that approach and make sure to add a log message to warn that token wont be used when cert based auth is configured.


Policy: Increment revision using atomic.

This commit move the BumpPolicyRevision and GetPolicyRevision to use
atomic operations instead of locking the PolicyRepo.
With this change, the policy increment metric will work correctly due to
there is no lock in BumpPolicyRevision.
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

This change is

test-me-please


GH-2485 fix failing test in RDFCollections

GitHub issue resolved: #2485
Briefly describe the changes proposed in this PR:

make sure test for cycle detection uses a collection that is well-formed (apart from the cycle obviously)

PR Author Checklist (see the contributor guidelines for more details):

[x] my pull request is self-contained
[x] I've added tests for the changes I made
[x] I've applied code formatting (you can use mvn process-resources to format from the command line)
[x] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change
[x] every commit has been signed off

Note: we merge all feature pull requests using squash and merge. See RDF4J git merge strategy for more details.

Ok. So it looks as if the guava version bump was not directly responsible for this problem: even when going back to the old version, we still have a failing test.

I'm going to take a closer look at the test itself.

🤨

So you think it's the test that's actually broken, and not the underlying code?

I don't know what to think. I reorganised the tests not because I thought that would fix it, but to isolate the failing function (cycle detection).
Then again I can't spot anything in the code that would make this test fail in some circumstances but not others. There's no IO involved, no concurrency, so no possible race conditions that I can see.

I found out the issue only occurs when the head node is lexicographically after the other nodes in the rdf list. So I pushed a commit where the head node is "z", which on my computer is always after since the other blank nodes all start with node... .

I found out the issue only occurs when the head node is lexicographically after the other nodes in the rdf list. So I pushed a commit where the head node is "z", which on my computer is always after since the other blank nodes all start with node... .

That is an interesting find, thanks! Gives us a good lead (though why lexicographic order of bnods should play a role in this is currently a mystery to me - perhaps a hash issue in the specific Model implementation we use?)

Part of the problem is that the test introduces a cycle by adding a second rdf:rest statement for the head node. The original rdf:rest statement is not replaced. If the head node is lexicographically behind the object node of that original rdf:rest statement, the algorithm just ignores the second statement.

Since the utility function is documented as expecting a well-formed collection, I've fixed this in the short term as a problem in the test, rather than in the code itself. The test now replaces the rdf:rest relation, rather than adding a second one, so that (apart from the introduced cycle) the collection is well-formed.

! I really hate it when the build fails on failing to download a dependency... multiple times.

Alright, build is green, I'd appreciate a final review (and if possible, a green tick :)


Add buildpad

Hello,
This is my first time working on any hardware-ish stuff. This took me way longer than it should have because there are many versions that I scrapped (I didn't even push) and because I had to learn how to use KiCad and Fusion360. I initially planned on having two rotary encoders but I decided that IO expansion was a little too difficult to deal with especially to be within the size constraint and without SMD parts (since I am not comfortable soldering them). I also wanted to have Neopixels for the underglow but that never ended up happening because I designed a solution and later realized the need for resistors and decoupling capacitors which I tried adding, but I also later decided that I did not want to solder SMD components. My best solution to still get the RGB effect I wanted was to use these color changing LEDs in my BOM below.
Thanks,
Urjith Mishra

Hey @TheScientist101! I was reviewing your CAD files and noticed that I can't tell if your case is going to work without having the PCB inside that .step file. Do you have a PCb 3d model and if so, can you please add a new file with the PCB inside of your case? Thank you very much!

Hey @Hyatt-B, it seems that Fusion 360 doesn't want to let me export imported meshes with other bodies designed in the app. Do you know any way to do this or would it be ok if I uploaded an F3D file instead?

You should be able to export it all as one step file within Fusion. When you open a mesh it opens it in a new window. You need to copy the bodies from the new window ie. Your imported PCB, and paste those bodies into the original file with the case. Then you should have both meshes in one file and exporting should export the whole file with both files in it.

Alright, @Hyatt-B and @scooterthedev, I believe this should have fixed the issue if you want to take a look on your end.

Use normal global labels for these. Otherwise, PCB seems good!

@AverseABFun I believe I fixed it now, thanks for the review!

@qcoral Yep, I believe they should work without resistors, since the ones I want are 3.0-3.4V w/ 20mA.

You'll want a 165ohm resistor.
https://www.wolframalpha.com/input?i=Ohm's+law+calculator&assumption={"FS"}+->+{{"OhmsLaw"%2C+"R"}%2C+{"OhmsLaw"%2C+"V"}%2C+{"OhmsLaw"%2C+"I"}}&assumption={"F"%2C+"OhmsLaw"%2C+"I"}+->"20mA"&assumption={"F"%2C+"OhmsLaw"%2C+"V"}+->"3.3+V"
On Fri, Oct 25, 2024 at 2:42 PM Urjith Mishra @.***>
wrote:

@qcoral https://github.com/qcoral Yep, I believe they should work
without resistors, since the ones I want are 3.0-3.4V w/ 20mA, and they are
connected to 3V3 on the rp2040.
—
Reply to this email directly, view it on GitHub
https://github.com/hackclub/hackpad/pull/262#issuecomment-2438665259,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATOOUFTUKGI4S3SJCVV4TQTZ5KNK7AVCNFSM6AAAAABQOADEEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZYGY3DKMRVHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

After doing some more research, I wouldn't need resistors, but I would be safer with 15 ohm resistors so I added those for each LED.


Update Du Novo to 3.0.2.

New Du Novo release.
I updated the tool on both Test and Main - I've tested it locally and I think it should be good to go. But let me know if I should roll it back on Main and proceed more cautiously.
I also removed a duplicate repository from Test - duplex is a deprecated repository and is basically just the old version of dunovo.

You can only update one server at a time per PR unfortunately, maybe drop the usegalaxy.org change and put that in a separate PR?

Close in favor of #477.


Update quick start

First-time contributors' checklist

[ ] I've signed Contributor License Agreement that's required for repo owners to accept my contribution.

What is changed, added, or deleted? (Required)
更新 quick start，对用户快速使用的旅程进行了优化

使用 tiup 进行部署后，文档中相关的命令行操作操作使用 tiup dmctl 而不是 dmctl
给出更加清晰的引导步骤：

部署 dm
创建数据源
按照场景选择如何创建数据迁移任务

在以上引导步骤中，增加关键改变的学习机会，比如 source-id
丰富创建数据迁移任务

按照场景区分数据迁移任务配置教程
修正数据迁移任务配置教程内容，使用户更容易使用和理解

Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v3.0 changes)
[x] v2.0 (TiDB DM 2.0 versions)
[ ] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):

Do your changes match any of the following descriptions?

[ ] Delete files
[x] Change aliases
[ ] Need modification after applied to another branch
[ ] Might cause conflicts after applied to another branch

@TomShawn @lance6716 @CharLotteiu  PTAL

/merge


Update http4s-core, http4s-dsl to 0.21.21

Updates

org.http4s:http4s-core
org.http4s:http4s-dsl

from 0.21.14 to 0.21.21.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch

Superseded by #252.


YouTube livestream mutli thread download (livechat+video/audio)

Checklist

[X] I'm reporting a feature request
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2<IP_ADDRESS>. (update instructions)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
Essentially add the live chat download to this functionality: https://github.com/yt-dlp/yt-dlp/pull/1036
Right now on live stream without any rewind/time shift function the video is lost since it will get "stuck" on downloading the livechat, and after try to grab any video and fail at that.

Requests for multithreading are tracked in https://github.com/yt-dlp/yt-dlp/issues/1918. Specifically, see point 3 of https://github.com/yt-dlp/yt-dlp/issues/1918#issuecomment-988071897


Bug 2076637: Scrape CSI driver + syncer metrics

The CSI driver does not have configurable port for the metrics and due to hostNetwork they will be exposed on the node.
I opened https://github.com/kubernetes-sigs/vsphere-csi-driver/issues/1720 upstream.

cc @openshift/storage


Onenote addin + React + Edge, I dont signin loginPopup method

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

[ ] Chrome version XX
[ ] Firefox version XX
[ ] IE version XX
[x] Edge version 44.18362.387.0
[ ] Safari version XX

Library version

Library version: .1.1.3

Current behavior

I use Msal in Onenote addin. Onenote addin is app on iframe .
My app use loginPopup method.
Chrome is signin and auto close window.
althought have window with white screen that  not display signin screen incase of Edge browser .
Expected behavior

open window and move signin(choose) screen.
Minimal reproduction of the problem with instructions

onGetToken() {
    const requestObj = {
        scopes: ["user.read", "Files.ReadWrite"]
    };

    myMSALObj.acquireTokenPopup(requestObj)
        .then((response1) => {
           --snip--
        })
        .catch(() => {
            myMSALObj.loginPopup(requestObj)
                .then((response2) => {
                })
                .catch((x2) => {
                });
        });
}

I found incident location that
about 930 line in UserAgentApplication.ts
that's "navigateWindow.location.replace(urlNavigate);"
Edge does not implement "navigateWindow.location.replace" member in iframe window.
I think to trouble in openWindow + navigete.replace that open and navigate method.
"acquireTokenAuthority.resolveEndpointsAsync"
I moved open popup block to urlNavigate declared next line.
in about 525 line UserAgentApplication.ts
const urlNavigate = UrlUtils.createNavigateUrl(serverAuthenticationRequest) + Constants.response_mode_fragment;
when open and signin screen(!!!).
but I get error message "Nonce is not matching"
I think change Nonce matching logic that  change it diffcult by me.

it see with https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/1006

It works fine with Chrome.

@nakawankuma Thanks for the information, we'll take a look. We are already working on improving the functionality of our library when used in iframes, and we're aware of some issues with about:blank that we will be investigating. FYI @pkanher617 @sameerag

@nakawankuma Can you please let us know if this is still an issue in 1.2.0?

Closing due to inactivity. Let us know if this is still an issue.


Add files via upload

@BradHay Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


added matrix-rank calculator

@Awesomeasma Add the calculator in the home page.

@Awesomeasma Add the calculator in the home page.

@Srijita-Mandal
It's done, please review.


Render table in Markdown format on unicode(dataset). Closes #41.

Added a unicode method along with unittest for it.

This is awesome. Sorry that it's taken so long for me to see this.


fix: updating components to access secret key with new method get_secret_value()

Description:
This pull request introduces an update to the components for accessing secret keys. The method for retrieving secret keys has been refactored to use the new get_secret_value() function.
Key Changes:
Replaced existing methods of accessing secret keys with the new get_secret_value() function across relevant components.

Anyone have a clue why one of the frontend tests is failing? I can't make sense of the error...

Anyone have a clue why one of the frontend tests is failing? I can't make sense of the error...

It was an update on the openAI lib, the URL of the embedding_model.client.base_url now must start with HTTP or HTTPS protocol and the component text_embedder was using this and had to be updated as well :)


Auto-answer

I would like an option to answer phone calls automatically, on speakerphone, with zero user interaction. Would you be interested in offering this option, or accepting a PR for it?

I'm not completely sure what the use of this would be. Because it answers based on proximity, you will have it near your ear when you answer. Sounds like a good way to hurt your ears by the volume difference if it would activate speakerphone?

I want it to automatically answer without needing any proximity.
A friend of mine is in a coma in the hospital. If it wasn't for covid, a lot of us would be there next to her. But since we can't, we want to keep a phone by her bed and be able to call it, so she can hear our voices.
This is a narrow use-case, but I'm sure there are others as well. If you don't want to offer this feature, I'll try and figure out how to host a fork on f-droid myself.

I am so sorry about that, that must be awful. I really hope the best for her.
Regarding your feature request, I don't think it makes much sense to add this to Raise To Answer as it is so different from the rest of the app and would likely cause confusion to many users.
There is already an apps on F-Droid which claim to answer automatically by the way, it is called AutoAnswer. Have you tried that yet?
If AutoAnswer doesn't work, making Raise To Answer do what you want would mostly involve simply removing the sensor listener and calling the pickUp code on an incoming call. For publishing on F-Droid you could go the RFP route on
https://gitlab.com/fdroid/rfp, which means you won't have to learn F-Droid yourself.
While I won't accept code for your feature in this app myself, I am willing to answer questions you may have about this codebase. Therefore, I will close this issue but feel free to ask more questions here anyway.

Thanks for your help. AutoAnswer is many years out of date and doesn't work on any phone I've tried it with. I will let you know if I need help forking. :)

@yardenac what about this app?

Lol! I made that app myself as an experiment and I did a terrible job. I should probably delete it.


feat: Allow to set transit cache-config

Overview
This MR fixes #2462 to set the cache-config of the secrets engine
Notes for reviewer

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

When can I expect a new release? @ramizpolic


SeaTunnel community meeting Topic collect

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
hailin0 invites you to a meeting on Tencent Meeting
Meeting Topic: SeaTunnel Community Meeting
Time: 2024/10/15 20:00-21:00 (GMT+08:00) China Standard Time - Beijing
Click the link to join the meeting or to add it to your meeting list:
https://meeting.tencent.com/dm/cQCCo7ssmcGo
#TencentMeeting: 373-7902-7471
Copy this invitation and open in Tencent Meeting app (V2.13 or later) to join the meeting
Everyone is very welcome to join:
If you have an issue, please submit it one day before the meeting, and provide a specific issue link and context.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

2.3.8 release
@liunaijie

https://github.com/apache/seatunnel/blob/2.3.8/release-note.md

zeta log manage

https://github.com/apache/seatunnel/pull/7787

support flink application mode on yarn @TyrantLucifer

https://github.com/apache/seatunnel/pull/7762

zeta submit job scheduling support pending @zhangshenghang

https://github.com/apache/seatunnel/pull/7693

zeta manage UI @QiaoJ-Chen

https://github.com/apache/seatunnel/pull/7602

zeta api v2 for jetty @liugddx

https://github.com/apache/seatunnel/issues/7725

[Feature][connector-hive] hive sink connector support overwrite mode
https://github.com/apache/seatunnel/issues/7843

https://github.com/apache/seatunnel/issues/7735


Problem with combine reducer.

This is a...

[ ] feature request
[ ] bug report
[ X ] usage question

What toolchain are you using for transpilation/bundling?

[ X ] @angular/cli
[ ] Custom @ngTools/webpack
[ ] Raw ngc
[ ] SystemJS
[ ] Rollup
[ ] Other

Environment
NodeJS Version: 8.5.0
Typescript Version: 2.3.3
Angular Version: 4
@angular-redux/store version: 6.5.7
@angular/cli version: (if applicable) 1.3.0
OS: Ubuntu 16.04 (64bits)
Link to repo showing the issus
(optional, but helps a lot)
Expected Behaviour:
Actual Behaviour:
Im trying to combine reducers with the combine reducer function im an getting this error
ERROR in /home/luis/Documentos/MLS/BoilerPlate/src/app/app.module.ts (107,28): Argument of type 'Reducer<{}>' is not assignable to parameter of type 'Reducer'.
Type '{}' is not assignable to type 'AppStoreInterface'.
Property 'layoutInterface' is missing in type '{}'.
Stack Trace/Error Message:
Additional Notes:
What is the problem and how can i fix it ?
I've been looking in the entire docs and found no example of how to to this.

Can you post your code or a repo URL?

I Stop using the combine reducers function and build a custom one.
That was my solution.

you could do combineReducers - although sounds like there was a type issue


Pls change the player 🙏

And also pls add the thing where you double click the side to either skip 10 seconds or go back

Hi. I think Artplayer works fine, but I'll check some other video players. As for the double click/tap, that's something I forgot to implement to be honest, I'll add that soon.

Hi. I think Artplayer works fine, but I'll check some other video players. As for the double click/tap, that's something I forgot to implement to be honest. I'll add that soon.


NME: Add CustomBlock to node materials

This PR is adding the CustomBlock block to node materials. It allows to use straight glsl code as a node material block.
The custom blocks are located right below the custom frames:

The description of a custom block is a json file.
Ex:

Perlin2D

{
    "name": "Perlin2D",
    "comments": "Generates a Perlin noise single value given a vec2 and time",
    "target": "Neutral",
    "inParameters": [
        {
            "name": "p",
            "type": "Vector2"
        },
        {
            "name": "dim",
            "type": "Float"
        },
        {
            "name": "time",
            "type": "Float"
        }
    ],
    "outParameters": [
        {
            "name": "output",
            "type": "Float"
        }
    ],
    "functionName": "perlin",
    "code": [
        "float rand(vec2 co){return fract(sin(dot(co.xy ,vec2(12.9898,78.233))) * 43758.5453);}",
        "float rand(vec2 co, float l) {return rand(vec2(rand(co), l));}",
        "float rand(vec2 co, float l, float t) {return rand(vec2(rand(co, l), t));}",
        "",
        "void perlin(vec2 p, float dim, float time, out float result) {",
        "   vec2 pos = floor(p * dim);",
        "   vec2 posx = pos + vec2(1.0, 0.0);",
        "   vec2 posy = pos + vec2(0.0, 1.0);",
        "   vec2 posxy = pos + vec2(1.0);",
        "   ",
        "   float c = rand(pos, dim, time);",
        "   float cx = rand(posx, dim, time);",
        "   float cy = rand(posy, dim, time);",
        "   float cxy = rand(posxy, dim, time);",
        "   ",
        "   vec2 d = fract(p * dim);",
        "   d = -0.5 * cos(d * 3.14159265358979323846) + 0.5;",
        "   ",
        "   float ccx = mix(c, cx, d.x);",
        "   float cycxy = mix(cy, cxy, d.x);",
        "   float center = mix(ccx, cycxy, d.y);",
        "   ",
        "   result = center * 2.0 - 1.0;",
        "}"
    ]
}

multiply

{
    "name": "CustomMultiply",
    "comments": "Multiplies the left and right inputs of the same type together",
    "target": "Neutral",
    "inParameters": [
        {
            "name": "left",
            "type": "AutoDetect"
        },
        {
            "name": "right",
            "type": "AutoDetect"
        }
    ],
    "outParameters": [
        {
            "name": "output",
            "type": "BasedOnInput",
            "typeFromInput": "left"
        }
    ],
    "inLinkedConnectionTypes" : [
        {
            "input1": "left",
            "input2": "right",
            "looseCoupling": false
        }
    ],
    "functionName": "multiply_{TYPE_left}",
    "code": [
        "{TYPE_output} myHelper_{TYPE_left}({TYPE_left} l, {TYPE_right} r) { return l * r; }",
        "void multiply_{TYPE_left}({TYPE_left} l, {TYPE_right} r, out {TYPE_output} result) {",
        "   result = myHelper_{TYPE_left}(l, r);",
        "}"
    ]
}

The CustomMultiply block does the same thing than the existing Multiply block but I have used it as an example to demonstrate using auto-detect / BasedOnInput types: when using these special types, you must use the {TYPE_XXX} syntax inside the glsl code because the types are known only at runtime when connecting inputs to the block in the NME.
We will probably need at some point a UI to create/modify custom blocks: for the time being you must handle the json file by hand (see how Unity is doing it: https://docs.unity3d.com/Packages/com.unity.shadergraph@6.7/manual/Custom-Function-Node.html).
Example of a node material using Perlin2D: https://nme.babylonjs.com/#3WEKUZ#1

Why is the code an array ? vs a string ?

Because it's easier/more readable when doing the file by hand :)
In any case, you can always do "code": ["all the code here"] if you want to have the code in a single string. So I thought using an array was somewhat ok. We could also allow both a string or an array of string as two valid formats for "code".

Because it's easier/more readable when doing the file by hand :)
In any case, you can always do "code": ["all the code here"] if you want to have the code in a single string. So I thought using an array was somewhat ok. We could also allow both a string or an array of string as two valid formats for "code".

it could also be a string a ppl use literals ?
cons shader = `void main() {
  gl...
};`

it could also be a string a ppl use literals ?

`...` syntax is not allowed in a json file.

This will deserve its own doc for sure ;) with several examples like the ones you shared

Yes, documenting this is on my todo list.

it could also be a string a ppl use literals ?

... syntax is not allowed in a json file.

Mouahahahahah how did I miss this :-) This is all perfect then

@Popov72 seems like something is not compiling ?


code for generating psd

Hello, sir, I'm very interested in the code of your paper. Could you send me the code for generating psd? Thank you very much

作者您好，我是拜读了您的《EEG-Based Emotion Recognition Using 4D Convolutional Recurrent Neural Network》受到感悟，目前也正在研究脑电情绪识别，关注到您做了特征融合的操作，您能分享一下PSD的提取和与DE融合的代码么？非常感谢您！

Hello author, why can I use the file DEAP_1D.py to generate PSD files, but not DE files?

what the exactly file DE_s01 is?


[Request] Update Google Fonts

Material icons are being updated right now:
https://github.com/flutter/flutter/pull/76607
https://github.com/flutter/flutter/pull/78311
This is a request to update Google Fonts as well.
This would resolve these missing font issues #156 #127 #128 #126 #120 #108 #105 #159.
Current: http://fonts.gstatic.com/s/f/directory002.pb is outdated.. this has ~960 fonts.
On https://fonts.google.com/ there are ~1040 fonts right now.
Tagging @willlarche who has done this request before (Material Icons) 🙏

Thanks for filing and looking for relevant issues! cc @johnsonmh @clocksmith

+1

+1

They updated now.

Thanks for updating it @johnsonmh.
The referenced issues can be closed as well.
I've noticed that some language-specific fonts were not added in that update (e.g. Noto Serif JP)
https://fonts.google.com/?query=noto+sans
https://fonts.google.com/?query=noto+serif


sway/workspaces added current_output CSS class to buttons.

All workspace buttons that are visible on the same output as the current waybar can be styled with the current_output css class.
This is really only useful in combination with the "all-outputs": true. Then the workspaces that are on the current output can be styled
differently than the workspace on other outputs, while all workspaces are visible in every waybar.

Thanks! can you update the wiki?

Sure. I updated the wiki.


[Bug]: Documentation error

🔎 Search Terms
const combinedLogs = logger.transports.filter
The problem
In readme.md there is this sample to remove transports here: https://github.com/winstonjs/winston/blob/1c8c65fd9b8a2762c8fb93b3c2e0a8730faf1a9c/README.md?plain=1#L713
const combinedLogs = logger.transports.find(transport => {
  return transport.filename === 'combined.log'
});

logger.remove(combinedLogs);

Above code does not work as logger.remove does not seem to handle an array.
What version of Winston presents the issue?
3.9.0
What version of Node are you using?
v18.12.1
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
I propose changeing the sample to this:
const combinedLogs = logger.transports.filter(t => {
  return transport.filename === 'combined.log'
})
combinedLogs.forEach(t => logger.remove(t))

Additional information
No response

I'm a little confused by this report - the documentation for find says it returns a single element. The example is labeled / described as "to remove one of these transports." What am I missing about where arrays come in?

Hm, you are right. In my solution i filtered out all but one transport resulting in an array to be deleted witch did not work missing the difference in "find" and "filter".

OK to close then?

Yes it is ok to close


Added Resource Policy for sqs Queue

Hi Vijay!
Thank you for the contribution.
I am not sure whether this PR is complete and should be reviewed in details because:

It creates IAM resources, which is not the purpose for such SQS resource module.
It does not putting created policy as a parameter to the created SQS queue resource. Consider using aws_sqs_queue_policy resource for that.

BR,
Anton.

I disagree, efficiency is not gained by mixing them in one module. Sorry, I have to close this one.


Feature Request - plugin for AbuseIPDb.com firewall filtering and reporting

Is your feature request related to a problem? Please describe.:
Currently I must filter these IPs at my web-server. That means that all other services are NOT filtered with this service. I want to be able to add this protection to my entire network with this service.
Describe the solution you'd like:
I want to be able to use abuseipdb.com's API in the form of a plugin to filter IP's that are known for abuse. It needs to use the API of AbuseIPDB.com to collect a list of IP's based on a specified confidence value (Percentage) and a scheduler to update that list. It should NOT check every IP in real-time by default which is a service they provide. This would use way too much bandwidth/throughput and even worse create high delay times in connections. It would however be nice to have the option to filter in real-time if desired. This feature should work on both incoming and outgoing connections. This helps protect users inside the network as well when getting email viruses/malware an the user accidentally activates it, as well as device based viruses/malware. Stopping the attack at the network level (No calling out to malware, trojan, or scammer networks from within your network).
This plugin should also have the ability report offending IPs to AbuseIPDB.com if desired.
Describe alternatives you've considered:
I don't have any. The only other way to use this service is write scripts that download the list and manipulate the firewall on each back-end server. You are also not able to setup a script to filter with windows servers at all unless you are a PowerShell wizard. This option is too difficult to maintain and very unrealistic.
Additional context:
AbuseIPDB.com's API also allows for reporting of IPs which are offenders. Actively participating in threat notification is essential to fast reaction times of 0 day threats. I really believe this would give OPNSense a real boost in the IT network security world because I have had really good luck with using this service and it's natively awesome at filtering email scammers.
Helpful API documentation for AbuseIPDB.com in order of most valid to least valid:
https://docs.abuseipdb.com/#introduction
https://www.abuseipdb.com/api.html
https://www.abuseipdb.com/pricing
https://www.abuseipdb.com/csf
Possible GitHub project that may help implementation
https://github.com/vsecades/AbuseIpDb

Why dont you use firehol alias to block them?

I do use firehol as well as 5 other lists, but we still have issues with spam and web site attacks. Only when adding abuseIPDB lists with it do we actually filter about 98% of offending IPs. Without it, it's about 60%. Their lists update very quickly and cool down slowly so this seems to work very well.

I do use firehol as well as 5 other lists, but we still have issues with spam and web site attacks. Only when adding abuseIPDB lists with it do we actually filter about 98% of offending IPs. Without it, it's about 60%. Their lists update very quickly and cool down slowly so this seems to work very well.

So is this request dead in the water or is anyone at least looking into it?

I'm not sure who is in charge here so I don't know who to call on. I have a script installer I just finished writing that utilizes the API of OPNsense to install a cron job and an alias after downloading the IP blacklist form AbuseIPDB. Is anyone interested in helping develop a frontend for this in OPNsense so I can get an actual interface in the webui for it? I could work that out on my own but I'm a noob at OPNsense DEV. Not even sure how I would install the plugin once it's written on other OPNsense firewalls my company has running. Where would I submit it for review by the OPNsense team to get into the repositories? Please is anyone interested?

Wrote my own software to do this and control it through cron jobs. Very disappointed that no one responded to this request. I really expected more from a project this big. I love this software but I do not like DEVs who don't listen or respond to customer requests. Let me ask....why should I keep paying for support if no one is listening or responding? Part of paying for that is for development. I run an IT business and we are/were using your product with our customers. I'm seriously asking myself if we should keep paying for your product. I'm closing this issue since it wasn't worth the time I spent to open it or the time I'm spending now to comment on it.

Instead of writing your own software you could have created a community plugin. This would have been beneficial for other users too.

Thing is, this issue did not get much attention, so your request for help wasn't heard. Besides that it's a good idea to ask precise questions, i.e. describing exactly which issue you are facing when trying to develop something on/for OPNsense. This makes it much easier for others to help. However, asking for help in an issue tracker tends to get unnoticed. I think it's not the right tool for the job.
I'd suggest to use the forums to ask for help, including questions regarding plugin development. Besides that a lot people are available in the #opnsense IRC channel and many of them have contributed code in the past (but it's recommended to linger for several days, because people live in different timezones). I've also found the example plugin a good description to learn how to code on OPNsense.
From my personal experience the developers and contributors are friendly and try to help as much as they can. It didn't work out this time, that's a pity, but to be honest, that's understandable if you consider just how many requests are coming in. I was reacting to your comment because I think it was unfair towards the OPNsense project and developers. Not getting enough attention for my personal proposal or issue is possible in any open-source project. Yes, it may lead to frustration, but that's an obstacle to take when using free software, at least in my personal experience.
That being said, this request does cover topics that I'm not familiar with, so I can't help with that. But others in the forum or IRC channel may very well be able to help. Or people on the forums may provide workarounds or alternatives, it tend to be more chattier in the forums.

Now that comment was worth gold. I'll try hopping on the forums then and see what happens. Thank you for pointing me in the right direction. That in it self is a big help.


use ratatui modularized crates

See https://github.com/ratatui/ratatui/issues/1388 for details

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (88e3bdd) to head (8eb251a).

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #47   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          2       2
  Lines        190     190
=====================================
  Misses       190     190

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


Fix interrupted creation issue

Fixes #21
[NOTE: this is based off of #20]
conda clean --index --yes
conda create -n testchild1 --yes -c https://repo.anaconda.com/pkgs/fakechannel fakepackage
conda install -n testchild1 xz

Without this PR, the install command will fail with an error that says $CONDA_ROOT/envs/testchild1 is not a valid conda environment. The conda clean --index command is important to reproduce the issue, because if the cache is fresh, no requests to channels will be made, and no token will be generated, so the bug will not be exercised.
With this PR the install command will still fail, but because that environment directory doesn't exist. That's the way it should be. You can then do this:
conda clean --index --yes
conda create -n testchild1 --yes -c https://repo.anaconda.com/pkgs/fakechannel fakepackage
conda create -n testchild1 xz

This works by deferring the creation of the environment token file until exit. Here's what a typical debug log looks like. HOWEVER, note that if the indices are all cached, conda may never attempt to create tokens, so the error won't
(base) m1mbp:anaconda-anon-usage mgrant$ ANACONDA_ANON_USAGE_DEBUG=1 conda create -n testchild1
Applying anaconda_anon_usage context patch
Applying anaconda_anon_usage cli.install patch
Collecting package metadata (current_repodata.json): done
Solving environment: done
Client token path: /Users/mgrant/.conda/aau_token
Retrieved client token: dHfzsOSb6GIo5_krE6ykqA
Generated session token: jcLutgUzwPaSR7maIBwkNA
Environment token path: /Users/mgrant/miniconda3/envs/testchild1/etc/aau_token
Generated environment token: _oPYRySJjssKbEe5Gk4vCA
Directory not ready: /Users/mgrant/miniconda3/envs/testchild1
Deferring token write
Full client token: aau/0.3.0+15.g45a4574 c/dHfzsOSb6GIo5_krE6ykqA s/jcLutgUzwPaSR7maIBwkNA e/_oPYRySJjssKbEe5Gk4vCA

## Package Plan ##

  environment location: /Users/mgrant/miniconda3/envs/testchild1

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate testchild1
#
# To deactivate an active environment, use
#
#     $ conda deactivate

Token saved: /Users/mgrant/miniconda3/envs/testchild1/etc/aau_token

I've opened #24 to track this "deferred-by-default" idea above.


Add feature to create a package based on an existing one

Since it often happens that the packages are similar (ie almost the same actions must be performed) would be a way to copy a package well.
Example: A button "Add copie" in the package administration which adds a package with the same actions and files but this package will not be saved but will just open as a dialog. Now you make only minor adjustments and saves the package.

You may implement this for the next version and provide a pull request.


⚠ Samsung has degraded performance

In 07c5af3, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2825 ms

Resolved: Samsung performance has improved in 1b93b72.


Improve error handling in get_setting function

type:
Refactoring

description:
This PR refactors the get_setting function in pr_agent/algo/utils.py to improve error handling. Previously, exceptions were silently caught and ignored. Now, when an exception occurs, a warning message is logged with the key that caused the exception and the exception message.

main_files_walkthrough:
 files:

pr_agent/algo/utils.py: Added logging of warning message in the get_setting function when an exception is caught. The warning message includes the key that caused the exception and the exception message.

/describe

/review


update_chroot.sh is deprecated.

It seems update_chroot.sh is deprecated and we get a warning message.
12:00:21.373 WARNING : ./update_chroot: This script is deprecated and will be removed.
12:00:21.379 WARNING : All users must migrate to update_chroot in chromite/bin.
12:00:21.385 WARNING : You can simply change all references of ./update_chroot to `update_chroot` from $PATH (in
 chromite/bin/).
12:00:21.391 WARNING : This old script will be removed by June 2024.                                            12:00:21.396 WARNING : If you have questions or found code that needs updating, please contact chromium-os-dev@,
 or file a bug at go/cros-build-bug.

So use chromite/bin/update_chroot.

~/chromiumos/chromite/bin/update_chroot will work.


Animations being very slow

I'm trying to do so animations with the library but the loading time for even a single frame is very slow, are there any plans for improving performance such that animations would be possible? :)

Yes, you're right.
As explained in the readme, The library is designed with texture quality in mind, and may only be suitable for high-resolution artworks, not real-time interactive pieces.
If we ever want to improve performance, it would need to be via gl shaders, but I don't have the technical knowledge to do so!

right - makes sense!


docs: A pointer from each large topic to a resource

Some examples:

Gasper basics from eth2book.
Validator features from the specs.
Slot lifecycle from the "anatomy of a slot" video.

Hello @Arkenan I would Love to work on this but to make sure I totally unnderstand this
Essentially, my job is to map major topics in the project to helpful resources, so that users can quickly understand or learn more about those topics by following the provided links.
If this is the case I have a few questions:
Structure and Format: How should the pointers be organized?
Content Guidelines: What level of detail is expected in the descriptions?
Resource Selection: Are there preferred sources or types of resources to link to?
Style and Tone: Should the documentation follow a specific style guide?
Examples and Templates: Are there existing examples I should model my work after?


Generated application.bulma.scss file leads to undefined variable error when commenting out customizations

With the default app/assets/stylesheets/application.bulma.scss file generated from the cssbundling-rails gem, we get an error when commenting out the proposed code for customizing global variables such as $primary.
In particular, the yarn css:build process fails with:
Error: Undefined variable.
   ╷
91 │   @return $background
   │           ^^^^^^^^^^^
   ╵
   bulma/sass/utilities/functions.sass 91:11           findLightColor()
   bulma/sass/utilities/derived-variables.sass 26:17   @import
   bulma/sass/utilities/_all.sass 6:9                  @import
   bulma/bulma.sass 3:9                                @import
   app/assets/stylesheets/application.bulma.scss 45:9  root stylesheet

Instead, either import individual Bulma components (commented out), or all of it via direct imports of the _all files in each component directory (proposed change).
Steps to Reproduce:

Install Rails 7.0.2.alpha2 via gem install rails --pre
Generate a new application with "Bulma" option: rails new hello-rails7 --css bulma
Redefine $primary: "#FFAADD"; in app/assets/stylesheets/application.bulma.scss anywhere above `@import "bulma/bulma"
Start dev server via bin/dev
Observe css process fail with above error message.

Yes, didn't have enough coffee today apparently... works perfectly fine with the imports as currently is. Please disregard pull-request.


Fix full access keys by updating to nearlib with hotfix

@janedegtiareva needs yarn.lock

@janedegtiareva needs yarn.lock

done.
I am confused, I though we were removing .lock files from everywhere?

Verified fix works on https://near-wallet-pr-134.onrender.com/

@janedegtiareva we totally shouldn't remove lock files from apps to keep deployments deterministic. Libraries is more debatable as lock file would only affect dev experience and CI.

There are some arguments to keep them for all projects though (e.g. https://yarnpkg.com/blog/2016/11/24/lockfiles-for-all/).


fix: resolve catalog and schema in dist planner

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Currently the planner will fill default catalog/schema when converting plan.
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

We'd better add some integration tests to ensure this working on non-default catalog/schema.

We'd better add some integration tests to ensure this working on non-default catalog/schema.

Ahh I have written a sqlness case but forget to check it in.


Explanation on DQN needed

Hello! Can you please clarify on what you meant in the README by "DQN+CTS after 80M agent steps using 16 actor-learner threads"? DQN isn't a distributed algorithm, it uses a single thread. Did you mean to write A3C instead of DQN? Thank you very much!

The paper Asynchronous Methods for Deep Reinforcement Learning actually evaluates n-step q-learning as well as a3c algorithms so async training doesn't necessarily imply a3c. In the README I referred to the algorithm used for Montezuma's Revenge as "DQN+CTS" as it seemed like the simplest way to reference the Double DQN algorithm applied in Unifying Count-Based Exploration and Intrinsic Motivation. In that paper they use a single-threaded implementation, but it still makes sense to apply q-learning updates from multiple agents acting in parallel, which is what I do since it trains faster and leads to better performance on the experiments I've performed.
Sorry for any confusion.

Got it, thanks a lot! Referring to it as DQN was a bit confusing.


Remove hardcoded format

The current decorator hard codes 'jpg' as the format. Can we make that setting configurable? Probably two ways of doing this

(Easiest) Set all savefig configurations with matplotlib.rcParams
(Harder, but more user friendly) Alter the decorator so it can receive arguments

This seems fair. Open to implementation suggestions for sure.
I guess practically, is there a good reason why some charts need to be png and other charts need to be jpg? I can imagine SVG being a use-case, though.

I just had an instance where I needed the background to be transparent. All documented examples of creating a transparent output failed until I switched the format to png. SVG would probably work great too!


New stuff

This might have some old stuff.. i added a nnew page tho

Still checking this out @skillzl ?


Enhancement: Extract ViewAction from TalksController

This PR

[x] extracts a Reviewer\Talk\ViewAction from the Reviewer\TalksController

Follows #912.

Thank you, @BackEndTea!


Fine tuning

Hi, thank you for making your code available. The latest model release (v4.6) works really well for my project.
I would like to fine tune the model on my dataset.
Do you plan to make the script for the fine tuning available any time soon?
Thank you.

Thank you for your reply.
The train and evaluate functions that you defined in the file train.py don't seem to be compatible with the new files RIFE_HDv3.py and IFNet_HDv3.py, for instance the loss functions are different.
Do you have any suggestions on how to modify those functions?
Many thanks.

Hello, I am also trying to retrain or fine-tune the v4.6 model on my own data set recently. I also found that RIFE_HDv3.py and IFNet_HDv3.py are different from the original version. I modified a lot of codes, such as removing After using loss_cons, I found that the effect is very poor after successful training. Did you fine-tune successfully? How did you solve these problems? Thanks!


Implement Duels

Implement Method for Duels

Use same strategy as HypixelBedWars (Using statsPrefix variable).
Create methods for most common stats for every duel gamemode.
Create methods for overall duels stats information. (Coins, sprays, ect.)

Request my review

Request my review


Cant fetch user profile

[CHECKED] Python version is 3.6;
[DONE] Updated Twint with pip3 install --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;
[NO] I have searched the issues and there are no duplicates of this issue/question/request.

Command Ran

twint -u iamsrk --user-full

Description of Issue
doesnt give any output.
rest twint commands running fine
Environment Details
Linux 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic
Python 3.6.7

I tested and I can confirm that's not working


option to disable this

i want disable value:
https://imgur.com/a/wtHWPa8

This is the feature called Inlay Hints. Technically I can add the flag to disable the feature in this extension, but normally that should be configured on the editor side. If I remember correctly, you can disable it through VSCode settings editor.inlayHints.enabled.


Mock do_return does not work with "any_*" parameter matcher

*The used GdUnit4 version:
4.1.1
The used Godot version:
standard 4.1.1
OS including version:
Ubuntu, intel integrated gpu
Describe the bug
Custom mock returns do not work with "any" paramter matchers. Same for type float, assume all any matches will behave the same
Steps to Reproduce

Run testsuite in editor

Minimal reproduction project:
class_name MyMockTest
extends GdUnitTestSuite
@warning_ignore('unused_parameter')
@warning_ignore('return_value_discarded')

class MyClass:
	func give_back(value:int) -> int:
		return value

func test_mock_return_any_paramter():
	var mock_my_class = mock(MyClass)
	do_return(7).on(mock_my_class).give_back(any_int())
	assert_int(mock_my_class.give_back(5)).is_equal(7)
	# fails, returns 0

func test_mock_return_exact_parameter():
	var mock_my_class = mock(MyClass)
	do_return(7).on(mock_my_class).give_back(5)
	assert_int(mock_my_class.give_back(5)).is_equal(7)
        # success

Hi the any functions are matchers and not designed to use as a argument for return types.
see https://mikeschulze.github.io/gdUnit4/advanced_testing/mock/#argument-matchers-and-mocks
You are using the mock incorrectly, the any functions are only for verification.
To override a return value, if the function has an argument, it must be specified correctly.
Say you expect a call give_back(5) then you write
	var mock_my_class = mock(MyClass)
	do_return(10).on(mock_my_class).give_back(5)
	do_return(12).on(mock_my_class).give_back(6)
	assert_int(mock_my_class.give_back(5)).is_equal(10)
	assert_int(mock_my_class.give_back(6)).is_equal(12)

Thus, multiple return values can be defined for the same function.
The any matchers on the other hand are used to test object interactions more easily.
Here is an example
func test_example_verify():
	var mocked_node = mock(Node)

	# verify we have no interactions currently checked this instance
	verify_no_interactions(mocked_node)

	# call with different arguments
	mocked_node.set_process(false) # 1 times
	mocked_node.set_process(true) # 1 times
	mocked_node.set_process(true) # 2 times

	# verify how often we called the function with different argument
	verify(mocked_node, 2).set_process(true) # in sum two times with true
	verify(mocked_node, 1).set_process(false)# in sum one time with false

	# verify total sum by using an argument matcher
	verify(mocked_node, 3).set_process(any_bool())

It also makes no sense to use any_int() since mocked objects always return a default value.
func test_mock_return_any_paramter():
	var mock_my_class = mock(MyClass)
	assert_int(mock_my_class.give_back(5)).is_equal(0)

https://mikeschulze.github.io/gdUnit4/advanced_testing/mock/#mock-working-modes

close as clarified

thanks for the response!
I understand your point that you may want different return variables for different parameters, but this is an overly trivial example.
The real problem I face is that I have a child class that I mock so that I only test the parent in isolation. There are functions on the child mock that require parameters and I don't really care about the parameters the parent sends, because they may change over time. Currently to modify the default return requires you to know what is passed exactly to the mock function, In some cases I don't really care as long as the return value can derive some meaning to the tested code. If there is a control structures with different outcomes to the return value it makes it pretty easy to test different pathways without having to maintain the parameters the parent needs to send.
...Would this be bad practice to ignore what parents pass?
Deep in my mind I don't find the prospect of updating expected parameters on mock calls enticing.
As I think about this more, maybe it might be wise to rewrite some of the code so that I can control  what is passed in the test case. Although, it also seems like its inevitable that this will be unavoidable, that the parent code will need to pass its own value and the mocked default return value may not be meaningful, or problematic, to the code that utilizes it, unless I'm willing to maintain the test code to match the parent code.
I've only ever used google test framework, so I'm slightly spoiled using that overly complicated mess which allows you to do almost anything you can think of.
I may not have a need for this yet, but if I become stuck in the hard place I promise I will attempt to contribute a fix for this.

Ok, I understand your problem, you don't want to explicitly define a return value for every possible call.
So I would suggest an improvement that meets the following criteria.
a) define the default return value yourself.
b) define a return value for a specific set.
I will propose a new feature to better handle mock return values and would like to invite you for comments and suggestions .


Update README.md

mirach-json-server.typicode.com/typicode/demo

Unity Script Collection
A maintained collection of useful & free unity scripts / libraries / plugins and extensions.
If you want to suggest a link, then read the Contribution Guidelines first.
Please report broken links, outdated assets and spelling mistakes. The links are in no particular order. This list is licensed under the GNU General Public License v3.0 and does only apply to this repository.
I collect links over time in Issue #1, once a month I will categorize them and add them to this list. If you want to get notified about updates, watch this repository or follow me on Twitter.
Navigation:

GameObjects & Transforms
Movement & Animation
Controls & Input
Character Controller
AI & Pathfinding
Physics
Particles
Meshes & Construction
Materials & Shading
2D
Networking
VR
Sound & Music
UI
Post-Processing & Rendering
Mobile
Debug
Editor

Tools
Editors
Inspector Extensions
Importer

Serialization & Web
Social SDKs
API Extensions & Helper
Design Patterns
Utilities
Other

GameObjects & Transforms

RecyclerKit - pooling system
UnityOctree - octrees
In-Game Replay System - record and replay transforms
Unity Scene Query - library to traverse and query the Unity scene to find particular objects
UnityTools - Runtime transformation gizmos
Unity3DRuntimeTransformGizmo - Another runtime transform gizmo

Movement & Animation

List View Framework - create dynamic, scrollable lists
Reaktion - audio reaction toolkit
DOTween - tween engine
Camera Path Creator - create complex camera paths
Cinemachine BaseRig - procedural camera system
UnitySpritesAndBones - skeletal sprite animations
spine-unity - import spine animations
ikccd - IK Solver using Cyclic Coordinate Descent
Aim-IK - Procedural orientate character head (and chest) in a direction without using any animation data

Controls & Input

InputManager - a powerful input manager
TouchScript - multitouch library

Character Controller

Unity 2D Platformer Controller - 2d platformer character controller
CharacterController2D - 2d character controller
SuperCharacterController - 3d character controller

AI & Pathfinding

A Star Pathfinding for Platformers - A* for platformers
Astar for Unity - A* pathfinding
A* Pathfinding Project - A* pathfinding
UnitySteer - steering, obstacle avoidance and path following behaviors
SimpleTraffic - A simple traffic simulation using Nav Mesh.

Physics

Mario Galaxy Gravity for Unity - mario galaxy gravity
Ocean Community Next Gen - water physics/shader
Voxel GPU Physics - GPU accelerated voxel physics
Interactive Erosion - Runtime fluid erosion for terrain

Particles

KvantSpray - gpu accelerated particles
NVIDIA Hair Works Integration - Nvidia hair works
Ember Particles - turbulent ember particles
SPHFluid - Interactive 3D Fluid Simulation based on SPH

Meshes & Construction

ProceduralToolkit - procedural mesh toolkit/generator
Draw - draws primitives with lines
VolumetricLinesUnity - volumetric lines
giles - 3d runtime level editor
Voxelmetric - voxel framework
Procedural Shapes for Unity - procedural shapes
ICO Sphere Mesh Creator - procedural ico spheres
Vertex Painter - paint information onto vertices
FacePaint - paint triangles of meshes
Simplygon - mesh optimization & lod generation
TextMesh Pro - generate text with custom styling
meshcombinewizard - combines all meshes on the chosen gameObject and its children that share the same material
RoadArchitect - road system creator featuring dynamic intersections, bridges, etc.
DrawLine - procedural line mesh tool.
Deform - a framework for deforming meshes in the editor and at runtime in Unity.
2.5D Destruction - breaks 2D sprites into 2.5D fragments
MetaBalls Liquids - liquid simulation using MetaBalls

Materials & Shading

Projects by RM - wet surface & skin shader
Ocean Community Next Gen - water physics/shader
Flow Map Shader - flow map shader working with sprites
VertexPaint - additional vertex streams
ShaderProject - shader collection
Skybox Plus - a collection of skybox shaders
Outline Shader - outline shader which accomodates screen width and camera distance
Unity Sprite Uber Shader - 3D shading for sprites (e.g. normal mapping)
Low Poly Shaders - material shaders optimized for Low Poly stylized meshes
Lux Shader Framework - Lux 2.02 pbr Shader Framework
Unity Wireframe Shaders - general purpose wireframe shaders
Hologram Shader - simple hologram shader
Kamakura Shaders - a collection of shaders and components focusing on Non-Photorealistic Rendering
Facepunch.Highlight - Mesh outline effect

2D

UnitySVG - svg renderer
UnityStbEasyFont - text mesh generator
SpriteLightKit - 2d sprite lights
2D Light of Sight Unity - 2d flat geometric lightning
Unity Sprite Uber Shader - 3D shading for sprites (e.g. normal mapping)
Fungus - 2d interactive storytelling game framework
PolyMesh - 2d shape editor
Unity Tilemap - 2D tilemap editor
2D Extras - reusable 2d scripts (tilemaps, etc.)
Vector Graphics Samples - samples of the Vector Graphics features to be used with Unity 2018.1 and newe

Networking

UNet Authoritative Networking - authoritative networking implementation
MLAPI An alternative to Unity's UNET high level API, allows for separate server/client projects and more
Barebones Master Server - Host your own custom master server setup, avoid CCU fees

VR

SteamVR - VR SDK
The Lab Renderer - VR renderer by Valve
VRTK - contains useful scripts for building VR games
NewtonVR - VR physics and interactions
Cutie Keys - VR keyboard
Punchkeyboard - Another VR keyboard
Hover UI Kit - a complete VR input framework
VRLineRenderer - glowing lines renderer optimized for VR

Sound & Music

usfxr - procedual audio effects
Reaktion - audio reaction toolkit (mac only)
DefaultMicrophone - gets the default microphone (windows only)
Lasp - Low-latency Audio Signal Processing plugin for Unity

UI

Unity UI Extensions - collection of ui extensions
Book Page Curl - page curl transition
Open Pause Menu - read-to-use pause menu
Lunar Mobile Console - debug console for mobiles
InfinityScroll - infinite scrollrects
TextMesh Pro - generate text with custom styling
EasyButtons - create buttons in the inspector using annotations
UI Extensions - various NGUI extensions/helper/scripts
NGUI Extensions - a few NGUI extensions
Webview CSharp - render websites
Typogenic - an easy to use, fast and high-quality 3D text renderer

Post-Processing & Rendering

kode80SSR - screen-space reflections
KinoObscurance - screen-space ambient obscurance
SMAA - subpixel morphological anti-aliasing
Temporal Reprojection Anti-Aliasing - anti-aliasing solution used in INSIDE
kode80CloudsUnity3D - realtime volumetric clouds
PixelRenderUnity3D - pixelized rendering
PixelCamera2D - pixel-perfect rendering
KinoMotion - motion blur using motion vectors
KinoContour - edge detection
KinoMirror - kaleidoscope effect
KinoFringe - chromatic aberration
KinoBinary - 1-bit monochrome effect
KinoFeedback - retro framebuffer feedback effect
KinoRamp - color ramp overlay
KinoSlitscan - slit-scan effect
KinoGlitch - glitch effect
KinoDatamosh - datamosh
unity vhsglitch - vhs glitch effect
Scanline Shader - scanline effect
KinoFog - global fog
KinoBloom - bloom
KinoBokeh - bokeh effect
KinoVignette - vignette
KinoVision - frame information visualizer
Unity5Effects - post-processing collection
LightShafts - light shafts
VolumetricLights - volumetric lights
SonarFx - wave patterns
Cinematic Image Effects - cinematic image effects
Post-processing Stack - multiple image effects in one pipeline
Moments - gif recorder
uDesktopDuplication - realtime screen capture as Texture2D
Heat Distortion Effect - a shader which distorts the image behind, using a normal map
Clear Flags Effect - Image Effect to reproduce the Clear Flags camera effect
DeLightingTool - tool to remove lighting information from textures in a photogrammetry asset pipeline
unity-lut-generator - LookUpTable generator for Unity
SEGI - Sonic Ether's voxel-based global illumination system
Aura - a local simulation of the light scattering into the surrounding medium

Mobile

Toast - android toast notifications
FBSucks - android share image & text
UnityShowAndroidStatusBar - android show statusbar
Google VR SDK - google mobile vr sdk
Unity Webview - webview overlay
CUDLR - remote debugging and logging console
Simplygon - mesh optimization & lod generation

Debug

uREPL - runtime evaluation of c# expressions
UberLogger - advanced logging API, improved editor console & ingame console
Unity File Debug - enhanced Debug.Log with file export and web viewer
Immediate Window -- Type code and get immediate feedback with object inspection like chrome console debugger.

Editor
Tools

REX Diagnostics - runtime evaluation of c# expressions
Better Defines - platform dependent preprocessor directive manager
MissingReferencesUnity - find missing references
Unity Resource Checker - resource analyzer
Compile Time Tracker - compile time tracker
UnityStudio - unity asset export tool
Screen Shooter - takes screenshots with multiple resolutions at once
Script Templates for Unity - script templates
Unity 2D Destruction - sprite destruction
CurveTexture - bake curves into texture
Unity3D Rainbow Folders - folder icons
Unity Themes - editor themes
Tree Randomizer - randomize unity trees
Render Settings Duplicator - clones the render settings from one scene to another
Piviot Transform Helper - adds piviot creation shortcuts to the context menu
ScriptExecutionOrder Attribute - attribute to specify execution order
Simple Editor Shortcuts Tools Collection - small collection of simple tools to help in scene editing workflows
Mulligan Renamer - bulk renaming tool for game objects and assets

Editors

Brainiac - behaviour tree & (behaviour-)node-based visual editor
Node Editor - (calculation-)node editor
BrotherhoodOfNode - (more graphical-)node editor for visual things
VisualNoiseDesigner - visual noise designer
SimpleGeo - simple geometry painter
Curves and Splines - curve & spline editor
Unity 2D Joint Editors - 2d joint editors
PolyMesh - 2d shape editor
VertexPaint - vertex data painter
SabreCSG - a set of level design tools for building complex levels
Constants Generator Kit - generates static classes for layers, scenes, tags and resources
Unity Tilemap - 2D tilemap editor
Node Editor Framework - Node Editor Framework for creating node based displays and editors
Unity Event Visualizer - graph editor for viewing all UnityEvents

Inspector Extensions

Reorderable Lists - reorderable list field
Ordered Dictionary - ordered dictionary field
ClassTypeReference - class type reference field
Unity3D ExtendedEvent - extended event selector
Property Drawer Collection - collection of property drawers
Node Inspector - node based inspector
ColorBands - color bands
QuickEvent - persistent event handlers with static or dynamic values
Reorder Components - reorder components on your GameObjects
AwesomeComponent - auto load assets on SerializedFields
ScenePreview Inspector - view scene preview in inspector

Importer

Unity Excel Importer Maker - excel
Unity Psd Importer - advanced psd import

Serialization & Web

Full Serializer - custom serializer
Json.Net - Newtonsoft Json.NET
SQLite4Unity3d - sql lite
UnityHTTP - http library
Unity QuickSheet - import data from google/excel sheets
Odin Unity Serializer - Arguably the best serializer for Unity out there

Social SDKs

Google Analytics Plugin - Google Analytics
Google Play Games Plugin - Google Play plugin
Facebook SDK - Facebook sdk
Reign Unity Plugin - unified mobile api
GetSocial SDK - community api
SOOMLA Framework - store api
Steamworks.NET - c# wrapper for valve's Steamworks API
Facepunch.Steamworks - Steamworks C# API (not all features implemented, but better API)
twitter-for-unity - Twitter API Client for Unity

API Extensions & Helper

Camera Extension - a better way of manipulating the culling mask
Download Manager - simple file downloads
UnityMainThreadDispatcher - main thread dispatcher
UnityBitmapDrawing - texture2d drawing extensions
Unity3D ComponentAttribute - auto component referencing
Unity3D ExecutionOrderAttribute - execution order attribute
LINQ to GameObject for Unity - gameobject linq querys
Chained Works - coroutine chained procedures
TeaTime - timer queue for coroutines
Smart Tags and Layers - generates static values for your tags and layers
DTValidator - finds broken and unassigned references
xNode - easily create node-based plugins

Design Patterns

Unity Singleton MonoBehaviour - powerful singleton
Signals - simple event/signal system
Unity3d Finite State Machine - simple finite stata machine
stateless - more complex state machines
Design Patterns in Unity Example - collection of design patterns
Entitas CSharp - entity component system framework
strangeioc - inversion of control framework
Zenject - depedency injection framework
UniRx - unity reactive extensions implementation
Ring_Buffer - simple implementation of a RingBuffer

Utilities

demilib - various utilities and tools for Unity
Excessives - General purpose C# and Unity3D utility scripts

Other

Unity Right Click - windows context menu extension: 'open with unity'
No Hot-Reload - prevent unity hot-reloads
Unity C# 5.0 and 6.0 Integration - c# 5 & 6 integration for unity
FLUnity - flash to unity
Projeny - project management
CUDLR - remote debugging and logging console
WebGL - Simple Loading Fix - custom loading bar for the webgl loader
UtilityKit - SerializationUtil, SpriteAnimator, SpriteAnimator, MathHeloers, AutoSnap, ...
Remove Boo.Lang and UnityScript Hints - Project Generation Hook to remove references to Boo.Lang and UnityScript assemblies
Asset Store Batch Mode - API for uploading Unity Asset Store packages
Unity Size Explorer - analyzes the disk space usage of your build
Better Unity Script Templates - improved Script templates
UnityCsReference - Unity C# reference source code
Shader Calibration Charts - Unity StandardShader calibration charts
Save Game Free - cross platform, encrypted, online-stored saves
UCompile - Runtime compilation and execution of CSharp code
UDBase - module-based game template for Unity
Hull-Delaunay-Voronoi - Hull, Delaunay and Voronoi algorithms in Unity
YTranslate - Machine translation using Yandex Translate


backport: merge bitcoin#19521, #22047, #21796, #21767, #24133, #24921, #27988, partial #24117, #24138, #27405 (assumeutxo: part 5)

Additional information

Depends on https://github.com/dashpay/dash/pull/5492

A test failure occured because changes brought on by knst's review set the subsidy value for the genesis block to what was set in chainparams (which is correct behaviour, unlike earlier behaviour, which assumed that the genesis block's reward is defined by GetBlockSubsidy).
Remnants of earlier behaviour were still left over in feature_coinstatsindex.py, which resulted in the test failing. The same has been fixed and changes pushed.


Compile on Alpine linux arm

I think this issue is similar to #8899 . But I am not sure so I need conformation about that.
I am trying to build a docker image with alpine linux arm 3.5 but when installing the grpcio package with pip it just get stuck and keeps repeating: Running setup.py install for grpcio: still running.... Its been doing that for about 2 hours.
Here is the full log:
Sending build context to Docker daemon 3.072 kB
Step 1/6 : FROM hypriot/rpi-alpine
 ---> 9bfa7f1a8edd
Step 2/6 : WORKDIR /web
 ---> Using cache
 ---> 9dac7c0ee0a7
Step 3/6 : RUN apk add --update --no-cache python py-pip python-dev gcc musl-dev make linux-headers &&     python -m pip install grpcio
 ---> Running in 63ce6e183fed
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/armhf/APKINDEX.tar.gz
(1/28) Installing binutils-libs (2.27-r1)
(2/28) Installing binutils (2.27-r1)
(3/28) Installing gmp (6.1.1-r0)
(4/28) Installing isl (0.17.1-r0)
(5/28) Installing libgomp (6.2.1-r1)
(6/28) Installing libatomic (6.2.1-r1)
(7/28) Installing pkgconf (1.0.2-r0)
(8/28) Installing libgcc (6.2.1-r1)
(9/28) Installing mpfr3 (3.1.5-r0)
(10/28) Installing mpc1 (1.0.3-r0)
(11/28) Installing libstdc++ (6.2.1-r1)
(12/28) Installing gcc (6.2.1-r1)
(13/28) Installing linux-headers (4.4.6-r1)
(14/28) Installing make (4.2.1-r0)
(15/28) Installing musl-dev (1.1.15-r6)
(16/28) Installing libbz2 (1.0.6-r5)
(17/28) Installing expat (2.2.0-r0)
(18/28) Installing libffi (3.2.1-r2)
(19/28) Installing gdbm (1.12-r0)
(20/28) Installing ncurses-terminfo-base (6.0-r7)
(21/28) Installing ncurses-terminfo (6.0-r7)
(22/28) Installing ncurses-libs (6.0-r7)
(23/28) Installing readline (6.3.008-r4)
(24/28) Installing sqlite-libs (3.15.2-r0)
(25/28) Installing python2 (2.7.13-r0)
(26/28) Installing py-setuptools (29.0.1-r0)
(27/28) Installing py2-pip (9.0.0-r1)
(28/28) Installing python2-dev (2.7.13-r0)
Executing busybox-1.25.1-r0.trigger
OK: 129 MiB in 39 packages
Collecting grpcio
  Downloading grpcio-1.3.0.tar.gz (8.9MB)
Collecting six>=1.5.2 (from grpcio)
  Downloading six-1.10.0-py2.py3-none-any.whl
Collecting protobuf>=3.2.0 (from grpcio)
  Downloading protobuf-3.3.0.tar.gz (271kB)
Collecting futures>=2.2.0 (from grpcio)
  Downloading futures-3.1.1-py2-none-any.whl
Collecting enum34>=1.0.4 (from grpcio)
  Downloading enum34-1.1.6-py2-none-any.whl
Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from protobuf>=3.2.0->grpcio)
Installing collected packages: six, protobuf, futures, enum34, grpcio
  Running setup.py install for protobuf: started
    Running setup.py install for protobuf: finished with status 'done'
  Running setup.py install for grpcio: started
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    Running setup.py install for grpcio: still running...
    and on and on and on...

Docker file:
FROM hypriot/rpi-alpine

WORKDIR /web

RUN apk add --update --no-cache python py-pip python-dev gcc musl-dev make linux-headers && \
    python -m pip install grpcio

COPY ./server .
CMD ["python", "/web/main.py", "-p 50051"]

EXPOSE 50051

Maybe I missed something. Hope you can help me.

Okay I let it run over night and it seems to have finished successfully. I am going to close this for now.

I met the same issue while building docker image from python:2.7-alpine3.6, within x86_64 host.
The pip-installation is extremely slow and keeps printing Running setup.py install for grpcio-tools: still running...

This issue is due to a fundamental limitation of "manylinux1" wheels, which are the supported method of distributing binary packages for linux: https://github.com/pypa/pip/issues/3969.
This will cause the installation to fallback to source, which is slow.


Hide Passive Effect option

Is your feature request related to a problem? Please describe.
with automation of condition, gear, and so on, we can have multiple passive effect wich can not be relevant to this panel
Describe the solution you'd like
An option in the configuration menu to hide passive effect

Exists in v1.1.0


Ruby 3.2 autocompletion in console

I've update my rails 7 app with ruby 3.2. When I launch console and up arrow to search in my history some line crash with this error
whenever-1.0.0/lib/whenever/job_list.rb:41:in respond_to?': undefined method has_key?' for nil:NilClass (NoMethodError)
I've fix this with a dirty workaround initializer :
https://gist.github.com/hirogeek/1c6d511a77ec3b15dea8a0db0a11fb1c

what is the code that make it crash?

After re-try it's seems, at lest, crash when I write dot after non existente var. So launch console, type : test.to_s

I can't re-pro this

same problem, when I write in rails console MyModel.last.created_at
crashed when I was starting write created_at
adding this https://gist.github.com/hirogeek/1c6d511a77ec3b15dea8a0db0a11fb1c to initializers solved a problem, but console autocompletion started working slower

I ran into this issue as well. Love Whenever, but this definitely annoying 😞

@buncis Try with just gem "whenever" in your gemfile so that it's required to see the issue.
Same issue for me here, Rails <IP_ADDRESS> with ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x86_64-darwin22] and whenever 1.0.0.

use "require: false"
gem 'whenever', require: false

Please take a look at #830

I can confirm behaviour @DavidAmyot sees with an identical set-up, save for the fact that gemfile versions gem 'whenever', '~> 1.0'.  This did not emerge under Ruby 3.1.2
If one is adamant about versioning gems,  thus
gem 'whenever', '~> 1.0', require: false
will remove the described behaviour.


luci-base: Show a hint when WiFi key is from MAC

Display a hint alerting about WiFi SSIDs configured using
the default key generated from label-mac or eth0-mac.
When all SSIDs are configured using a different key, the default_key
value is removed from system config and the alert gets disabled
completely for better performance.
This PR is related with https://github.com/openwrt/openwrt/pull/2408
Signed-off-by: Manuel Giganto<EMAIL_ADDRESS>

Please fix your indentation first in the lua callback wifi.checkkey.
Does https://github.com/openwrt/openwrt/pull/2408 needs to be merged first for this feature?

Does openwrt/openwrt#2408 needs to be merged first for this feature?
That PR sets the alert so the hint will be triggered. Both PRs can merge anytime in any order, they collaborate, but without that PR, this change won't do anything...

Okay, got it.
Thanks.
But we should wait until the pullrequest is merged.
Because if not then we have a change in the LuCI that never comes to wear.

I don't like this code. You'll instantiate the network model class on every single view render. This adds a massive amount of overhead to every single LuCI operation.
We need to find a more lightweight way to check the default key condition.

I don't like this code. You'll instantiate the network model class on every single view render. This adds a massive amount of overhead to every single LuCI operation.

I agree with you @jow-, but when the user changes the key, it gets completely disabled, it will only check if<EMAIL_ADDRESS>and because it's null it ends. Isn't this enough?

@jow- , although it was implemented as I mentioned before, it was removed from my last commit when I was testing it...
Anyway it is back and this version also includes a method to cache the config and check if it is changed since it lasts check, avoiding to go through network model class...
I thought about doing wireless md5sum but most probably it would be heavier than this implemented method based on checking the file modification time...
Please let me know your excellent thoughts :)

Closing this as the related PR in OpenWrt core has been rejected.


Handling of special Unicode

some Unicode encodings look the same to humans but they fail to get parsed

can be seen as a duplicate of #249 right?
Wrong input such as usually coming from users shouldn't crash the system. Additionally information that shows "what went wrong" will be helpful.

Everything is a replicate to you
patham9<EMAIL_ADDRESS>schrieb am Sa., 19.05.2018, 0:05:

Closed #250 https://github.com/opennars/opennars/issues/250.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/opennars/opennars/issues/250#event-1635407408, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABBLkEV4uoO6BDAJbrxW2IzdehnV9ARjks5tz5oBgaJpZM4T8_SY
.


merge from template-sync/template-github-action

package.json

chore(deps): add ^24.1.0 remove ^24.0.0 (devDependencies.semantic-release)

.github/workflows/ci.yml

chore: (jobs.test-node.steps)
chore: (jobs.release.steps)

.github/workflows/codeql_analysis.yml

chore(actions): merge from template .github/workflows/codeql_analysis.yml

.github/workflows/update_package_lock.yml

chore(actions): merge from template .github/workflows/update_package_lock.yml

.github/workflows/update_readme_api.yml

chore(actions): merge from template .github/workflows/update_readme_api.yml

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

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

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
392

Relevant Lines:
411

💛  - Coveralls


Allow dynamic resizing

Hi @mrubli,
i didn't start working on this yet.
So any working solution is welcome :)
I changed the base to development.
will have a look at this later.
cheers

Hi @mrubli,
I tested your changes and as always have things to complain about 😬.
You seem to be much more comfortable with d3 than myself so maybe you can give me your thoughts
(if it's feasible or can be easily done):

adjust legend labels with resizing

set reasonable minimum value for width/height

I tested your changes and as always have things to complain about 😬.

That's what PRs are for. 😉

You seem to be much more comfortable with d3 than myself so maybe you can give me your thoughts
(if it's feasible or can be easily done):

I wouldn't call it comfortable, I really just read the API doc and try stuff ... 😄 The issues you mentioned also caught my eye while testing:

adjust legend labels with resizing

This was going to be the next item I wanted to attack. It has little to do with dynamic resizing itself and you can reproduce it simply by specifying too small a size when creating the height graph. Let me think about how this is best fixed. I might make it a separate PR though, if that's okay with you.

set reasonable minimum value for width/height

This one is also not unique to dynamic resizing. Luckily this is really easily addressed on the client side where the resizing is implemented to begin with. So with JQuery UI you'd just add the minWidth and minHeight attributes:
$('.heightgraph').resizable({
	handles: 'w, s, sw',
	minWidth: 180,
	minHeight: 90,
	resize: function(event, ui) { … }
	stop: function(event, ui) { … }
});

I can add that to the sample, though I was wondering whether you have a better suggestion for organizing multiple samples than the simple file duplication I used.

It has little to do with dynamic resizing itself

also not unique to dynamic resizing

I agree to both.
A heightgraph with width and height = 10 px doesn't make much sense though.
So we might want to have an internal minimum limit to both width and height instead of having to specify the minimum limit from outside the plugin.
But that's also something for another PR then.
I'm not sure yet what's the best way for having different examples.
In general if it doesn't break other stuff or doesn't introduce huge additional dependencies, i would put it in the main example.
I will use the resize function in this vue2-leaflet plugin to make it easily resizable.
thanks a lot for this 👍

https://github.com/GIScience/Leaflet.Heightgraph/commit/3174eb125b9f623f06b725f416bc0b5307754f70
Integrated

Thanks for merging!
I've created another small PR to show how clients can address the "reasonable minimum size" problem: https://github.com/GIScience/Leaflet.Heightgraph/pull/86
And I've created https://github.com/GIScience/Leaflet.Heightgraph/issues/87 to track the overlapping axis labels.


Added a step to validate rest api spec location before release

The purpose is to gate on the REST API specifications used to release SDK are from the main branch of Azure/azure-rest-api-specs repository.
Added a step for the validation to the release pipeline.
The common script and pipeline are merged by another PR.
https://github.com/Azure/azure-sdk-tools/pull/7451
FYI - The same change has been added to dotnet release pipeline.
https://github.com/Azure/azure-sdk-for-net/pull/40783

I believe the script checks for both TypeSpec and Swagger source.
I can fix (if not already fixed) the case for TypeSpec.
From a scan run by Ray (email "REST API spec location validation for Azure SDK packages") there is some "commit not from main branch" in Swagger case.
Some of them are legacy and we probably won't release again (e.g. synapse, formrecognizer). But some may need fix from dev (e.g. communication, azure-storage-file-share).
Do we plan to require them do the fix before next release?
@srnagar @alzimmermsft

/check-enforcer override


[QUERY] Handling data integrity and acknowledgement

Hi thank you so much for this awesome library!
I am trying to send multiple motor point messages from esp32  to slave esp32. I am using this library on the slave end to receive the data . The total data is around 44 Bytes.
    memcpy(spi_master_tx_buf, point->mastercmd, 5);
    memcpy(spi_master_tx_buf + 5, point->pos, 3 * sizeof(float));
    memcpy(spi_master_tx_buf + 5 + 3 * sizeof(float), point->velo, 3 * sizeof(float));
    memcpy(spi_master_tx_buf + 5 + 6 * sizeof(float), point->accel, 3 * sizeof(float));
    memcpy(spi_master_tx_buf + 5 + 9 * sizeof(float), &point->vacc, sizeof(float));

    // Log buffer contents if needed
    logBuffer(spi_master_tx_buf, sizeof(spi_master_tx_buf));

    hspi->beginTransaction(SPISettings(spiClk, MSBFIRST, SPI_MODE0));
    digitalWrite(HSPI_SS, LOW);

    uint8_t ack = 0;
    for (int i = 0; i < sizeof(spi_master_tx_buf); i++) {
        hspi->transfer(spi_master_tx_buf[i]);  // Send data
    }
    ack = hspi->transfer(0);  // Send dummy byte to receive the ACK/NACK

    digitalWrite(HSPI_SS, HIGH);
    hspi->endTransaction();

Slave code -
void loop() {

   if (slave.wait(spi_slave_rx_buf, spi_slave_tx_buf, BUFFER_SIZE)) {
       // Deserialize data
       while (slave.available()) {
           // show received data
           Serial.println("Command Received: ");
           //  data = spi_slave_rx_buf[0];
           // Deserialize data from the SPI receive buffer to the `trajPoint` structure
           memcpy(point.mastercmd, spi_slave_rx_buf, 5);  // Adjusted size to 5
           memcpy(point.pos, spi_slave_rx_buf + 5, 3 * sizeof(float));
           memcpy(point.velo, spi_slave_rx_buf + 5 + 3 * sizeof(float), 3 * sizeof(float));
           memcpy(point.accel, spi_slave_rx_buf + 5 + 6 * sizeof(float), 3 * sizeof(float));
           memcpy(&point.vacc, spi_slave_rx_buf + 5 + 9 * sizeof(float), sizeof(float));

           // Print the received data
           Serial.print("Command: ");
           Serial.println(point.mastercmd);  // Should print "EXEC"
           Serial.print("Positions: ");
           Serial.print(point.pos[0]);
           Serial.print(", ");
           Serial.print(point.pos[1]);
....
#Remaining print
           slave.pop();
       }
   }
}

When i check the data on the slave end, it seems to drop a message after every 3 or 4 points, and the message drop seems random, it just shows all zeroes on the slave end. I logged the master end before the transfer, even the byte data after serialization is proper. I tried sending messages after 1 second and still the messages after a random interval get dropped. Hers the sample data -
  Command Received:
  Command: EXEC
  Positions: 133.45, 133.45, 216.19
  Velocities: 500.00, 500.00, 338.35
  Accelerations: 0.00, 0.00, 0.00
  Vacc: 92.00
  Raw buffer content:
  45 58 45 43 0 7 EE D 43 7 EE D 43 D3 F2 5D
  43 6F 60 EE 43 6F 60 EE 43 9 2D A9 43 0 C0 DA
  C5 0 C0 DA C5 0 0 0 0 0 0 BA 42 0 0 0
  Command Received:
  Command: EXEC
  Positions: 141.93, 141.93, 221.95
  Velocities: 476.75, 476.75, 338.35
  Accelerations: -7000.00, -7000.00, 0.00
  Vacc: 93.00
  Raw buffer content:
  45 58 45 43 0 61 8 15 43 61 8 15 43 AA B5 63
  43 53 C8 B2 43 53 C8 B2 43 9 2D A9 43 0 C0 DA
  C5 0 C0 DA C5 0 0 0 0 0 0 BC 42 0 0 0
  Command Received:
  Command: EXEC
  Positions: 149.03, 149.03, 227.71
  Velocities: 357.57, 357.57, 338.35
  Accelerations: -7000.00, -7000.00, 0.00
  Vacc: 94.00
  Raw buffer content:
  45 58 45 43 0 33 1B 1A 43 33 1B 1A 43 BC C1 68
  43 6F 60 6E 43 6F 60 6E 43 6F 60 6E 43 0 C0 DA
  C5 0 C0 DA C5 0 C0 DA C5 0 0 BE 42 0 0 0
  Command Received:
  Command: EXEC
  Positions: 154.11, 154.11, 232.76
  Velocities: 238.38, 238.38, 238.38
  Accelerations: -7000.00, -7000.00, -7000.00
  Vacc: 95.00
  Raw buffer content:
  45 58 45 43 0 7E 26 1D 43 7E 26 1D 43 7 CD 6B
  43 6F 60 EE 42 6F 60 EE 42 6F 60 EE 42 0 C0 DA
  C5 0 C0 DA C5 0 C0 DA C5 0 0 C0 42 0 0 0
  Command Received:
  Command: EXEC
  Positions: 157.15, 157.15, 235.80
  Velocities: 119.19, 119.19, 119.19
  Accelerations: -7000.00, -7000.00, -7000.00
  Vacc: 96.00
  Raw buffer content:
  45 58 45 43 0 42 2A 1E 43 42 2A 1E 43 CB D0 6C
  43 0 0 0 0 0 0 0 0 0 0 7A A9 0 0 0
  0 0 0 0 0 0 0 0 0 0 0 C2 42 0 0 0
  Command Received:
  Command: EXEC
  Positions: 158.17, 158.17, 236.82
  Velocities: 0.00, 0.00, -0.00
  Accelerations: 0.00, 0.00, 0.00
  Vacc: 97.00
  Raw buffer content:
  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  Command Received:
  Command:
  Positions: 0.00, 0.00, 0.00
  Velocities: 0.00, 0.00, 0.00
  Accelerations: 0.00, 0.00, 0.00
  Vacc: 0.00
  Raw buffer content:
  24 27 A6 A2 80 0 0 0 0 0 0 0 0 0 0 0
  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  Command Received:
  Command: $'⸮⸮⸮
  Positions: 0.00, 0.00, 0.00
  Velocities: 0.00, 0.00, 0.00
  Accelerations: 0.00, 0.00, 0.00
  Vacc: 0.00

vacc is the point number.
What could be causing this random message drops?
Is there a  way to implement ack nack such that if the slave doesn't receive the proper msg it sends a NACK and the master can try to send the same point once more.
I checked the transfer time, and it is taking around 3 to 4 ms, hence even a transfer time of 7 to 8ms after ack nack every 4th or 5th message is still tolerable, not okay but workable.

I'm sorry for not getting back to you sooner. How about hardware noise? Please refer to the README https://github.com/hideakitai/ESP32SPISlave?tab=readme-ov-file#notes-for-communication-errors

If you still need help, please reopen this issue.


jaeger doesn't work in the demo profile

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
#49615 removed the default zipkin backend for tracing, which was (counter-intuitively) required to make Jaeger work.
The instructions for installing Jaeger don't adequately reflect this, and as a result when you follow option 1 in the Jaeger docs, you don't have working tracing.
The upgrade notes tell you to use the Telemetry API instead, but they then give a Zipkin example.
Now that Jaeger uses OpenTelemetry as its default protocol, we should update the docs to tell someone how to configure sending traces in OTLP format.
The demo profile has an otel-tracing provider set up to the OpenTelemetry collector, which logs to stdout.  I think it would be much more useful if it had a tracing provider set up which delivers traces to tracing.default.svc.cluster.local:4318 (or whatever equivalent works with the jaeger.yaml add-on we ship.
Version
1.22+

Additional Information
No response

me too

how to use with telemetry api?

I fixed the Istio docs on that:
https://istio.io/latest/docs/tasks/observability/distributed-tracing/jaeger/
(This bug is about fixing the installation default.)

Message ID: @.***>


[ci] sync template files

This PR syncs the specified GitHub template files from the central repository.
Changes:

Merge pull request #34 from trueberryless-org/changeset-release/main - (8dd8d74)
add show-latest version starlight plugin - (87c5ecd)
apply same changes to template file - (473dbc7)
only make deployment latest if no publish - (f294bf4)
add .astro to .gitignore - (26c923f)

The branch has been updated with the latest changes.

The branch has been updated with the latest changes.