Rm 65 add sphinx argparse

`389: tests/integration/*****
381: records_mover/db/postgres/copy_options/date_input_style.py
365: setup.py
Reduce total number of bigfiles violations to 1132 or below!
Tasks: TOP => quality
(See full trace by running task with --trace)
Existing violations: 1132
Found 1135 bigfiles violations
`
Why did these changes trigger these failures?? And why do I need to use docker to run the bigfiles check...

389: tests/integration/*****
381: records_mover/db/postgres/copy_options/date_input_style.py
365: setup.py

Reduce total number of bigfiles violations to 1132 or below!

Tasks: TOP => quality
(See full trace by running task with --trace)
Existing violations: 1132
Found 1135 bigfiles violations

Why did these changes trigger these failures?? And why do I need to use docker to run the bigfiles check...

So, all of our quality checks are based on a repo put together called quality, which is completely separate from all of our other testing:
https://github.com/apiology/quality
I can buy the idea that we might be better off having the code for our quality checks actually built into the repo. Let's talk at our weekly meeting!


Fixes error in test

The test is checking for lowercase world instead of the World that the README.md file calls for.

Thanks to point it out!
Would you mind to squash the commits so that the PR has only one commit to merge? Thanks

squashed for your merging pleasure

Thanks for the contribution and the squashing


Support for internationalized domain names

Support for internationalized domain names was introduced in 2.4, but broke again with the index.php reshuffling in 2.5.0.
Here's a fix to bring it back.

@brendo Ok for me to merge this into 2.6.x for an upcoming 2.6.2 release?

Same here. +1


Using @routes results in: Uncaught ReferenceError: Ziggy is not defined

Currently installed Laravel version:
5.6.39
Currently installed Ziggy version
0.6.9
I've included the @routes directive in the header of my template.
Here is the output in the header.
<script type="text/javascript">
    (function() {
var routes = {"api.mailgun.cases.test":{"uri":"api\/mailgun\/cases\/test","methods":["GET","HEAD"],"domain":null}};

        for (var name in routes) {
            Ziggy.namedRoutes[name] = routes[name];
        }
    })();
</script>

Perhaps a file got corrupted during install. Reinstalled the project and it works seamlessly now.

What do you mean with "reinstalled the project", I'm having the same issue, already ran compoer install and npm install

Deleted ./vendor and ./node_modules directories then composer install and npm install. That resolved the issue for me.

I think I might be confused by which javascript has to be inluded as well, is it enough to have
import route from 'ziggy
Or do we have to import the main library as well?

import route from 'ziggy' only imports the helper function.
If you've generated the routes file with artisan command, e.g. php artisan ziggy:generate "resources/js/ziggy", you'll need to import that file as well.
To use the route helper function, you need to make the generated routes accessible. I've just bound to the window object below, but you can import it into your Vue components as described in the docs if your prefer.
// resources/js/app.js

import route from 'ziggy'
import { Ziggy } from './ziggy'

window.Ziggy = Ziggy;

console.log('route', route);
console.log('Ziggy', Ziggy);
console.log('test', route('blog.index'));

Hopefully that clears things up for you!

Perfect! That solves it for me, thank you!


Set CICompilerCount based on the container cores

Fixes #24

For review @dhirajsb @rhuss (based on https://issues.jboss.org/browse/OSFUSE-307?focusedCommentId=13483286&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-134832860).

Yes, #29 should be merged after this one is.


Parse Coins

This should be the last PR before the next release. It changes the logging verbosity for exempt operations and adds support for parsing the new Coin model when matching operations in the parser.
Changes

[x] don't log exempt ops
[X] parser support for coin model

Pull Request Test Coverage Report for Build 3119

11 of 17 (64.71%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 65.489%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

parser/match_operations.go
11
17
64.71%

Totals

Change from base Build 3101:
-0.02%

Covered Lines:
2021

Relevant Lines:
3086

💛  - Coveralls


Update README files

The README files all need updating now that this repo is a workspace.

Closed via #226


fix: prevent clearing global interval for ping-pong loop after client…

… disconnects

Nice! Probably explains why I wasn't able to reproduce this locally with single client :smile_cat:


'@sveltejs/vite-plugin-svelte' does not provide an export named 'default'.

import svelte from '@sveltejs/vite-plugin-svelte';
is giving me this SyntaxError '@sveltejs/vite-plugin-svelte' does not provide an export named 'default'.  anyone have any idea how I should resolve this error?
> The requested module '@sveltejs/vite-plugin-svelte' does not provide an export named 'default'
file:///C:/Users/.../node_modules/@sveltejs/kit/dist/chunks/index4.js:6
import svelte from '@sveltejs/vite-plugin-svelte';
       ^^^^^^
SyntaxError: The requested module '@sveltejs/vite-plugin-svelte' does not provide an export named 'default'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:127:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:191:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
    at async file:///C:/Users/.../node_modules/@sveltejs/kit/dist/cli.js:607:22
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: failed to run `yarn svelte-kit build` with `cmd /C`

I am also getting what appears to be the same error:
import svelte from '@sveltejs/vite-plugin-svelte';
       ^^^^^^
SyntaxError: The requested module '@sveltejs/vite-plugin-svelte' does not provide an export named 'default'

After this error message the process continues and finally opens an empty window.
This happens immediately after cloning and installing the application. I am working on a 2020 M1 MacBook Air running macOS Mojave 12.3. Any help would be greatly appreciated, if I can provide additional information please let me know.
Regards,
Daryl


How to deploy this ?

Hey,
Want to know how to install & run this in vercel app? or any other server.

Hello, the backend server is running on Render and static site is running on Vercel at this url: https://min-chat-gpt-3-open-ai-codex-app.vercel.app/

Do you have any installation docs?


Does not work in VSCode 1.17

Extension can't be enabled in 1.17. It seems to be locked to 1.16.1.
Extension is not compatible with Code 1.17.0. Extension requires: 1.16.1.

I wonder if it's just a matter of bumping the version? @jchavarri are you on 1.16.1 as well?

My version also updated and saw the same problem, but uninstalling and reinstalling the extension fixed it :man_shrugging:
The engine value is 1.16.1, the problem should go away if we change it to ^1.16.1. I created a branch to fix it but then realized it would require publishing a new version. cc @freebroccolo

Should be fixed now. Thanks for letting me know.


feat: make onDetect nullable field

relate #939

This is no longer needed with #916 , as that PR removes the argument altogether.


stm32: Fix STM32 storage partition for compatibility with NVS

Collections of fixes for NVS/flash related tests failed on STM32 boards.

CI Failing due to: https://github.com/zephyrproject-rtos/zephyr/pull/81565


BigInt.modInverse() result error

This tracker is for issues related to:

Dart core libraries ("dart:core")
Dart SDK Version: Dart VM version: 2.3.0 (Fri May 3 10:32:31 2019 +0200) on "macos_x64"

I found BigInt.modInverse() result sometimes is error, you can reproduce error by the code below:
main() {
  var q = BigInt.parse(
      "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
      radix: 16);

  var n = BigInt.parse(
      "28ea16430c1f1072754aa5ebbfda0d790605a507c6c9758e88697b0b5dd9e74c",
      radix: 16);

  var nInverse = n.modInverse(q);

  var result = (n * nInverse) % q;

  print('result=$result');
}

the result should be 1, but it is<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007908834671662, which is wrong.

The two numbers are relatively prime (according to BigInt.gcd), so there is no reason this should not work.
Also seems to affect the dart2js BigInt code (unsurpricingly, since it's mostly a copy of the original VM code).

Thanks for the report!
The digits of the returned modInverse were actually calculated correctly, but its sign was wrong. It should have been negative in this particular case.
Since positive modInverse values are preferred, adding the modulus to bring the result positive is a better way to fix this bug.
I'll send a CL shortly.

https://dart-review.googlesource.com/c/sdk/+/103664 is under review.


Cannot get both IP address of IPv4 and IPv6 when calls Cellular_GetIPAddress  function

I use a connectiivitiy module with this cellular lib.
I met a trouble about getting IP address when using SIM card that supports both IPv4 and IPv6.
Cellular_GetIPAddress function only gets IPv4 address when using both IP protocol.
The module returns below IP data. The first one is IPv4, and second one is IPv6.
"<IP_ADDRESS>","1111.2222.3333.4444.5555.6666.7777.8888"
However, Cellular_GetIPAddress function only get "<IP_ADDRESS>" of IPv4.

@chinglee-iot  Is there any update about this ticket?

Sorry for late reply. We look into this issue and fix it. If you already have a fix, you are welcomed to create an PR. We will also discuss with you in the PR.

@KeitaKashima
We create #142 to fix this issue. You are welcome to feedback in the PR or in this thread.
This issue will be closed once it is merged.

@chinglee-iot
Thank you. I am afraid I don't have fixed code.
I will check the #142 ticket.

The PR #142 is merged. Thank you for your feedback.


Validation errors when using anyOf with properties field

What version of Ajv are you using? Does the issue happen if you use the latest version?
6.12.2, Yes, it happens with 8.8.2 too
Ajv options object

{ allErrors: true, removeAdditional: "all", useDefaults: true, strict: 'log' }

JSON Schema

{
    "type": "object",
    "required": [
      "some_array"
    ],
    "properties": {
      "some_array": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "code"
          ],
          "anyOf": [
            {
              "properties": {
                "code": {
                  "const": "some_const"
                },
                "type": {
                  "type": "string"
                },
                "value": {
                  "type": "object",
                  "required": ['a'],
                  "properties": {
                    "a": {
                      "type": "number",
                      "validate": {}
                    }
                  }
                }
              }
            },
            {
              "properties": {
                "code": {
                  "const": "some_const2"
                },
                "type": {
                  "type": "string"
                },
                "value": {
                  "type": "object",
                  "required": ['b'],
                  "properties": {
                    "b": {
                      "type": "number",
                      "validate": {}
                    }
                  }
                }
              }
            }
          ]
        }
      }
    }
}

Sample data

{
  "some_array": [
    {
      "code": "some_const",
      "value": {
        "a": 1
      },
      "type": "object"
    },
    {
      "code": "some_const2",
      "value": {
        "b": 2
      },
      "type": "object"
    }
  ]
}

Your code

const Ajv = require("ajv")
const ajv = new Ajv(options);

const validate = ajv.compile(schema);
const isValid = validate(data);
if (!isValid)
    console.log({errors: validate.errors});

Validation result, data AFTER validation, error messages
{
  errors: [
    {
      instancePath: '/some_array/1/code',
      schemaPath: '#/properties/some_array/items/anyOf/0/properties/code/const',
      keyword: 'const',
      params: [Object],
      message: 'must be equal to constant'
    },
    {
      instancePath: '/some_array/1/value',
      schemaPath: '#/properties/some_array/items/anyOf/0/properties/value/required',
      keyword: 'required',
      params: [Object],
      message: "must have required property 'a'"
    },
    {
      instancePath: '/some_array/1/value',
      schemaPath: '#/properties/some_array/items/anyOf/1/properties/value/required',
      keyword: 'required',
      params: [Object],
      message: "must have required property 'b'"
    },
    {
      instancePath: '/some_array/1',
      schemaPath: '#/properties/some_array/items/anyOf',
      keyword: 'anyOf',
      params: {},
      message: 'must match a schema in anyOf'
    }
  ]
}

What results did you expect?
Both schema and data seem ok to me. Also I have noticed some funny thing.
If I remove schema.properties.some_array.items.anyOf[1].properties.value.required ( required: ["b"], I've made a typo to highlight it in schema json), there are no errors.
If I swap items of anyOf array and remove the second one again (required: ["a"] in this case), there are no errors
if I remove the first item of anyOf, i still get errors
P.S. sorry for the mess, in my real code both data and schema are automatically generated, did my best to clean the result

I don't believe this is a bug, but it is a result of using removeAdditional: "all" in your options object. If you check out this guide and scroll a bit, you can see a warning label which mentions that there are unexpected results when you use removeAdditional with anyOf/oneOf and additionalProperties.
While you're not using additionalProperties here, and so this seems like it wouldn't apply to you, it actually still does apply because you're using "all" for your removeAdditional option. Because "all" removes additional properties across the board, it's basically equivalent to your subschemas additionalProperties: false. Thus, anyOf/allOf will function unexpectedly.
In either case, the solution is still the same, at least if your use case can allow it: Utilize the discriminator keyword here instead.

@MatthewPinheiro oh yes, you are right, thank you.
But I still cannot get the desired result by adding discriminator: true to constructor and discriminator: { propertyName: 'value' (or 'code') } to schema, same errors appear.
Perhaps you can suggest how I can refactor the code to avoid this problem?
the schema is generated like this
anyOf: Object.entries(myObject).map((code, schema) => (
  code: { const: code },
  value: schema,
  ...someOtherFieldThatDoNotVary,
))


Improve docs

You can preview this. Let's access https://crystal-doc-new-design.herokuapp.com/ .

More contrast on sidebar
No expanding animation on types list.

This is not important animation. but this is interfere when changing pages.

Fixed arrow issue on Firefox w/ Linux, probably.
Expands module on clicking.
Searchable Methods List by #1792
Fuzzy Search(Alpha) by #1791
Keep search words when changing pages by #1621
Smartphones ready(Alpha)

Preview images
Fuzzy Search

Method Search

Smartphone

Looks great!

@rosylilly Awesome!! Looks really nice :-)
I really like the method list, showing the type it belongs to below it.
I have some comments:

I don't find "fuzzy search" very useful. For example I search "base64" and "OpenSSL::DigestBase" also comes as a result. In the method list it becomes even less useful, I search "concat" and I get "combinations", "truncate" and other results which are definitely not relevant. Instead of "fuzzy search" I would just compare case insensitive and maybe inclusion in the target (target.downcase.includes?(search_value.downcase)) or something like that. Or maybe the fuzzy search needs to be adjusted, if it uses levenshtein distance in the compiler the tolerance is max(1, number_of_chars / 5) so for short words you usually show results that are within one character distance, and longer strings allow for more errors (although I search "semd" and I don't get "send" as a result, so maybe it's not using levenshtein distance). If fuzzy search remains, I would make it be turned off by default.
If I disable "fuzzy search" and then click on a method or type, after the page loads the "fuzzy search" is active again
If I have the Methods tab selected and I click on a method, when the page loads the Types tab appears selected and then the Methods tab becomes selected. It would be nice to somehow prevent this.
If I click on a method on the right side, going from the summary to the detail, and then I scroll up and click on a different method, I end up in the same method as before (the anchors seem broken). In fact, if I click on any link in the right hand side, it always scrolls to this old anchor.
If I search "gets" on the Methods tab (without fuzzy search) there are many "same" results for IO. This is because there are many overloads. Maybe just show one and when you hover on it show the overloads (for example see File and search with the browser "gets", the hover it). This is something optional to do, the current way is fine but could be improved.

Oh, and a separate issue that is a bigger concern: generating the docs for the compiler now takes 22s instead of 1.5s. For another project I have the time went from 0.72s to 2.4s. Do you see an obvious reason for this performance decrease?

Hmm... the performance decrease seems to come from the huge increment in the size of files. Base64/Error.html used to be 2382 lines, now it's 40351 lines. Is there some way we can avoid this increase?

Fuzzy search is useful when having a few letters off (bcrt => Crypto::Bcrypt), or typing just some letters or each namespace (digmd => Digest::MD5).
Yet, it would play better with a flatten list of types, and by returning exact matches first, then fuzzy (with matching text in bold).
I don't think the tree is any useful anyway. I'd really prefer a flat list of "Crypto::Bcrypt" than having to click on "Crypto" that reload the whole page, which always make me click somewhere else than I intended next, or try and hit the tiny arrow to search for something...
Ie. I think http://api.rubyonrails.org got it right.

Page size increase: it pushes methods along with types, and its duplicated on each and every page.
Either we return to iframes (but we'd lose the per-type URL), or we generate each page twice: once with the types and methods, and another one without. Loading the page loads the full page, clicking a link fetches the light page throught XHR, updating the DOM, the URL history, and the page title.

Thank you for reviewing.
but, I'm busy. Please give me rome time.

@rosylilly Sure, take your time :-)
@ysbaddaden I also think some sort of ajax and having the data in json in some file will eventually be the solution to reduce the amount of hardcoded text.
I also wouldn't mind at all doing this with [the recommended JS library/framework of these days]. Writing vanilla JS is no fun.

[the recommended JS library/framework of these days]

That would likely be React, but I personally find it overkill for this situation. What about jQuery, with CoffeeScript if you don't like JS's syntax?

I agree that fuzzy search by default is good thing. To make it work well one needs to sort by the best match first though (eg. the smallest levensthein distance at the top), results with the same score should be sorted alphabetically. That would automatically put exact matches at the top.

I think eventually the best thing to do, maybe, is to generate a json file with all the data and let a user browse them, using javascript. This will make the docs really compact, and searching content should be very easy to do. I'm closing this for now.

I'm agree.


CI: update actions to run on Node 16

Closes #4154.

remove use of actions-rs/cargo

actions-rs/cargo is currently inactive and has an issue like https://github.com/actions-rs/cargo/issues/216

remove use of actions-rs/toolchain

actions-rs/toolchain is currently inactive and has an issue like https://github.com/actions-rs/toolchain/issues/219

Swatinem/rust-cache should happen after the toolchain. See https://github.com/Swatinem/rust-cache
fix rust-cache cache conflict. See Post Run Swatinem/rust-cache@v2
replace actions-rs/install with cargo install, since with Swatinem/rust-cache the binary can be cached

actions-rs/install is currently inactive and has an issue like https://github.com/actions-rs/toolchain/issues/219

Check CI here:

CICD
GnuTests

thanks!


The scraper does not show that the job page has a 404 error message

ENVIRONMENT:
https://admin.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
Enter url in browser
In go to "https://admin.peviitor.ro/" and click to jobs for "ADP"
Click on "Billing Analyst with Italian" tab on "Catre Job "option
EXPECTED RESULTS:
The page shows the full description of the job
ACTUAL RESULTS:
The page shows a 404 error message, followed by "Sorry, we couldn't find the page you requested.
If this is a job link, the position might be closed."
See below the screenshot
Attachment:
Page from Validator for ADP

jobul nu mai este disponibil


Add feature flag

Is still required, @viveksyngh? I remembered we were considering this feature flag due to some issues we were facing with the metrics middleware, now it should have been solved with changes addressed with #226.

Closed due to inactivity.


Added default shell for every job in the workflow

This issue solves the problem in issue #4005  , the problem was , in every job or run command there was a need for mentioning which shell do we need to run the command in .

To solve this issue , I used a default to create a map of the settings that will apply to every job in the workflow and gave a default value for shell as bash since every run command in the workflow runs in bash

Checks

[ ] All commits in this Pull Request are signed and Verified by Github.
[ ] All commits in this Pull Request follow the Ockam commit message convention.
[ ] I accept the Ockam Community Code of Conduct.
[x] I have accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository. The easiest way to do this is to edit the CONTRIBUTORS.csv file in the github web UI and create a PR, this will mark the commit as verified.

Thank you for spending time on this, before we can merge please

[ ] Accept the Ockam Contributor License Agreement by adding your Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository.

The easiest way to do this is to edit the CONTRIBUTORS.csv file in the github web UI and create a PR, this will make the commit as verified.

Done

Close to getting this merged. Seems the email used to sign this commit is<EMAIL_ADDRESS>---- from the lint CI log ---- and a different email was indicated in the contributors list, can we create a PR in the build-trust/ockam-contributors repository adding the other email address?

@metaclips So do I have to change my email in that file or add another entry with a different email ?

@metaclips So do I have to change my email in that file or add another entry with a different email ?

ok nvm I can add another email beside the one already there


Run Dynomite-manager locally

Is there any way to run dynomite-manager without AWS? As we have our own Data Center.

Yes you can run it locally. There is some development effort, i.e. you probably need to implement some interfaces.
For example the InstanceDataRetriever, IMembership, and ICredential. The instance the InjectedWebListener you can bind your implementation of these interfaces. If you plan to go through this way please feel free to file PRs as others maybe interested.

@patademahesh I am closing this issue as it was a question and has been inactive for more than 15 days.

@patademahesh were you able to get this running local? We're trying to use dynomite-manager with google cloud and obviously running into the same issues.

I am doing a major refactoring that will simplify a lot of the interfaces so as to be able to run across platforms easier, and yes it can be run locally. @bgabler What is your time frame?

@ipapapa just sent you an email. Thanks!

We have a similar setup, using our own data centers. Is there any example available for local setup?

We do not currently have the interfaces implemented for local data centers. However, the new DM which I am yet to publish (have been lazy about it) will run locally because it will have a main() class.

When do you expect to publish the new version? It would be great if we can get it running locally.

@namita13 sorry, I missed this. I am 70% done with the changes. I will shortly start doing PRs from tomorrow. It may take a week or so.

@ipapapa Is that changes done?

@gobijagan yes

@imlit I would love to see others contributing to this effort.

I think this has been addressed overall. I would love to see any further issues from the community.

@ipapapa , Has this been done and delivered? Can you please guide me what are things need to be done for local deployment.?
thanks, santos

Hi, has this already done ? I can not find any guide for local deployment, if something exist its can be very helpful for me,
Thanks,
Tomas

I am trying to understand why do you need to run Dynomite-manager locally? The point of Dynomite-Manager is to provide all these functionalities to manage a cluster (may instances). If you are just running Dynomite, you can spin it up without the need of a sidecar.
I think the work that I did the past would enable to bootstrap DM locally for testing but I did not completely test it. There was some other work in the following issue.
Finally, all the work to abstract the reusable parts has been completed. Adding support for different environments (other than AWS) should be fairly straight forward, but if something is blocking you (in the sense that it is not abstracted properly), please let me know and I can help.

i have offline servers so i can not use AWS this is reason why i want to use it localy

@ipapapa  I am trying to run DM on my local stack for PoC purpose.   Can you list items to be implemented in doing it ?Thanks !

@namita13  are able to run dynomite Manager without AWS ?

@ipapapa  im trying to run dynomite manager without AWS . how do i do it ? can i find example some where?

+1 to running dynomite manager without AWS in private datacenters

I do not believe there are any instructions that ever wrote about this. As I mentioned above, most of the work in terms of development and abstracting interfaces has been done. There might be a few more to be done. We would love someone from the OSS community to pick up this effort and develop instructions and documentation. A stunning example is @diegopacheco who created similar instructions to run on AWS and we published them on the Wiki.

@ipapapa Thank You for responding quickly. If we create a work-around for the cold bootstrap feature and the health discovery feature for a 4 node Dynomite cluster (DC =1 , RF =4), what else do you think are absolute essentials that we will be missing from dynomite manager. All we care about is that there shouldnt be any single point of failure in our system and down time should be close to zero.
Currently, we have tested our 4 node set up successfully by hardcoding the TokenMapSupplier and the Config provided to dynoclient is also static.
Incorporating dynomite manager directly is also on our list and we will be exploring that soon.

@abhinav0101 Were you able to implement this configuration without Dynomite manager? Is it running successfully? Can you share the steps?

@guru1306 this might give you some ideas https://github.com/diegopacheco/dynomite-docker

Hey Diego and guru1306
Yes, Dynomite is running for our production setup for about 3 months now.
We haven't introduced the Dynomite manager yet. Thanks, Diego for putting
this link-up, will read about this.
Abhinav Porwal
Int. M.Tech, IIT Roorkee 2020
Tel: (+91)8989706687
On Thu, 17 Jun 2021 at 05:29, Diego Pacheco @.***>
wrote:

@guru1306 https://github.com/guru1306 this might give you some ideas
https://github.com/diegopacheco/dynomite-docker
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/dynomite-manager/issues/52#issuecomment-862810017,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALJCYRLYVEVKZDTEGO7QQ23TTE3GTANCNFSM4CTXZQDA
.

Yes, Dynomite is running for our production setup for about 3 months now.
We haven't introduced the Dynomite manager yet. Thanks, Diego for putting
this link-up, will read about this.


fix flush and close

This supersedes #6 .

Current coverage is 84.88%

Merging #8 into master will decrease coverage by -5.06% as of e740267

@@            master      #8   diff @@
======================================
  Files            3       3
  Stmts          169     172     +3
  Branches         0       0
  Methods          0       0
======================================
- Hit            152     146     -6
  Partial          0       0
- Missed          17      26     +9

Review entire Coverage Diff as of e740267

Powered by Codecov. Updated on successful CI builds.


[TickTick] Wrong dates for 'today' and 'tomorrow' keywords

Extension
https://www.raycast.com/appest/ticktick
Description
TickTick extension stopped setting correct dates for today and tomorrow keywords. See screenshots below. It was working some time ago but I'm not able to say exactly since when it's broken.

Steps To Reproduce
Invoke Add task command and start typing words Today or Tomorrow in Due date field.
Current Behaviour
Suggested dates are one day off
Expected Behaviour
It should set correct dates for today and tomorrow.

Currently, we don't support creating all-day tasks. The option today means at 00:00

I'm confused. On my screenshot there is a clear discrepancy: on April 17 (see top right corner) if I enter today it shows April 16, which is effectively yesterday.

It seems to be the raycast issue. Please upgrade it to the latest version. If the issue persists, please contact the raycast team.


Usage with buildkit

Docker buildkit added RUN --mount=type=cache to docker builds. It looks like with this capability we could just do this:
RUN --mount=type=cache,sharing=private,target=/usr/local/cargo/git \
    --mount=type=cache,sharing=private,target=/usr/local/cargo/registry \
    --mount=type=cache,sharing=private,target=/build/target \
    cargo build

With this, the target directory and cargo registry are preserved between the builds. So... Does it mean cargo chef is replaced by this feature? I don't see how it even fits into this particular example 🤔

That feature can be used to speed up your builds, but the problem remains: how do you build that cache?
You also end up with a Docker build that is no longer self-contained - you are now importing data from the environment.
In a nutshell, I don't think buildkit replaces cargo-chef. But you should use it together with cargo-chef because, among other things, it makes Docker itself faster 😁


The integration of outside temperature sensor

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The outside temperature is not integrated.
Expected behaviour
The outside temperature is displayed near (above) pv_total
Possible Solutions
New sensor
outside_temp
Mode
Both
Context / Reason
It would be nice to know if the snow on the panels melts or freezes ;)
Thanks for considering this option.

Thanx. Great!


RE2 VR Mod - Can't see Leon's Body out of Right Eye

Hi There,
I downloaded the game and added the mod folders, and everything seems to be working perfectly fine. The only issue I am having is that I can't see Leon's body out of my right eye. I can see him in both eyes when the game is paused, but not during gameplay. I tried messing with the graphic settings, but nothing seems to be working. Has anyone else had this issue before? Any help would be appreciated. Thank you in advance.

Duplicate issue #400.
This is fixed in the pd-upscaler branch builds which you can download from the Actions page.

Hello,
Strangely enough the issue fixed itself after I got the Police outfit. It seems to only affect the jacket outfit at the beginning. Thank you for your help.


:sparkles: Feature - Optional hash-based routing

Problem
Hash routing isn't popular in modern frameworks, but there are scenarios where it's quite useful, most notably when the desired (or only) hosting stack is a very simple one that only serves static files (e.g. github pages, S3, etc)
Solution
This PR creates a new config setting: app.options.useHashRouting that will cause the generated routing modules to parse the URL fragment as if it is the path, query and fragment.  The url property on route objects still reflects the real browser URL, however.
Notes
This is currently still a work-in-progress, but I wanted to share the basic approach for feedback before I continue to polish it. There are a number of failing tests that need to be resolved, the example is not a useful example, and of course probably some code to clean up in a few places.
A brief overview of the changes:
A new HashRouting module is generated that provides the transformation from the browser URL to a Url value appropriate for hash-based routing. This gets it's own module because it ends up being referenced in several places:

Route.Path, so that fromUrl matches against segments in the browser URL hash
Route.Query, so that fromUrl matches against query-like strings in the URL hash
Route, so that the generated Route' record's hash field is taken from the hash within the hash (yo dawg)

I initially considered updating just Route, but Route.Path.fromUrl is called directly by elm-land in several places, and is useful on it's own for users.  IMO, it would be strange and confusing if Route.Path and Route.Query did something different from route when imported and used directly.
One alternate option might be to move it all into a single module, although I having the HashRouting module separate might have some value in documenting how to set up hash-triggered redirects in the event that an app wants to transition from hash routing to push-state routing.
Did I say this overview would be brief? :sweat_smile:

I think that apart from the terrible example this is now in a spot that I'm happy enough with it to start getting feedback.  Things I am particularly wondering are:

Should there be an example at all? What should it look like?
Is there a reasonable way to test this that doesn't involve writing E2E tests for the generated apps?

I had an idea for a silly Vite plugin/server trick where enabling hash routing would send a message to the browser Vite client and trigger an update to window.location to add/remove the hash so the app stays on the same logical page, but decided to table it in the interest of simplicity for now.


DRILL-7716: Create Format Plugin for SPSS Files

DRILL-7716: Create Format Plugin for SPSS Files
Description
This PR adds the ability for Drill to query SPSS files.
Documentation
Format Plugin for SPSS (SAV) Files
This format plugin enables Apache Drill to read and query Statistical Package for the Social Sciences (SPSS) (or Statistical Product and Service Solutions) data files. According
to Wikipedia: 1

SPSS is a widely used program for statistical analysis in social science. It is also used by market researchers, health researchers, survey companies, government, education researchers, marketing organizations, data miners, and others. The original SPSS manual (Nie, Bent & Hull, 1970) has been described as one of "sociology's most influential books" for allowing ordinary researchers to do their own statistical analysis. In addition to statistical analysis, data management (case selection, file reshaping, creating derived data) and data documentation (a metadata dictionary is stored in the datafile) are features of the base software.

Configuration
To configure Drill to read SPSS files, simply add the following code to the formats section of your file-based storage plugin.  This should happen automatically for the default
cp, dfs, and S3 storage plugins.
Other than the file extensions, there are no variables to configure.
"spss": {
          "type": "spss",
          "extensions": [
            "sav"
          ]
        }

Data Model
SPSS only supports two data types: Numeric and Strings.  Drill maps these to DOUBLE and VARCHAR respectively. However, for some numeric columns, SPSS maps these numbers to
text, similar to an enum field in Java.
For instance, a field called Survey might have labels as shown below:

Value
Text

1
Yes

2
No

99
No Answer

For situations like this, Drill will create two columns. In the example above you would get a column called Survey which has the numeric value (1,2 or 99) as well as a column
called Survey_value which will map the integer to the appropriate value. Thus, the results would look something like this:

`Survey`
`Survey_value`

1
Yes

1
Yes

1
Yes

2
No

1
Yes

2
No

99
No Answer

Testing
There are unit tests attached to this PR.
This PR also includes DRILL-7600 (https://issues.apache.org/jira/browse/DRILL-7600)

@vvysotskyi
Thanks for the quick review!  I addressed all your review comments.  Regarding updating the website, I will be happy to do so, but I've never done it before.  I'll create a JIRA to do so and add this to it.

@paul-rogers
Thanks for the review.  I believe I addressed all your comments.


Fix cache behavior on case-insensitive file systems

This PR fixes an edge case on Windows where some cache entries are not recorded properly due to the case insensitivity of the filesystem. The problem was detected during a debugging session where some module filenames had a drive letter in a different casing than the one returned by process.cwd() (e.g. c:\path\to\project vs. C:\path\to\project\file.js).
The fix introduces a new module platform in the util package that exports the function caseSensitiveFs(). This option is more portable and easier to test than explicitly relying on process.platform from within DirectoryRequireCache.

Great find! I understand what you did here, just a very small remark. If you don't have the time for it, I can do it as well.


Remove this conditional structure or edit its code blocks so that they're not all the same in admin/mod_reports/index.php

All branches in a conditional structure should not have exactly the same implementation. So, changes should be made.If they need to be same, just delete the switch and case block.

It is solved.


use hashicorp/golang-lru expirables

Description
We are currently using github.com/hnlq715/golang-lru which is a fork of https://github.com/hashicorp/golang-lru
As part of #6643 we noticed that:

The forked package has a bug with the way it handles expiry
The forked package isn't actively maintained
The Base package now handles expiry

We should replace  github.com/hnlq715/golang-lru with https://github.com/hashicorp/golang-lru

Note that the expiry mechanism is also used in cache/cache.go which is used in multiple graveler packages. We should handle it with some urgency


Not working for me in new Firefox build

No longer works in the new Firefox build for me, I tried reinstalling and also  giving permission again, can you use the current Edge build to update?

It seems updates can break it, it no longer works for me either.

Same for me

Same for me

I am really sorry but after arguing about it, Mozilla still refuses to sign the new version of the extension, which means I can't generate an xpi package for people to download. Although I cannot update the plugin, in fact older versions of the plugin still work since the unavailability due to updating the iCloud Client is simply because the new version of the iCloud Client has changed the location of the install and the program I provided to grant local interaction permissions automatically looks for the location of the currently installed iCloud Client. I suggest trying to re-enable iCloud Passwords for Edge and then re-run the program for granting permissions.

Is there a way for users to solve it by themselves?

So it partially works for me actually.  It will autofill usernames but not passwords

So here's where we're at:

Mozilla half-bakes feature support
Mozilla allows developers spend their valuable time fully baking that support
Mozilla actively develops updates to break it
Mozilla refuses to let those volunteer developers fix what Mozilla broke

Mozilla has officially become a sad, petty, child of a company. They're upset that they're losing the browser war (that they should be winning) and refusing to do what's necessary to improve their footing.
Chromium browsers are becoming nearly unusable for power-users. Forced Efficiency Mode is crippling my daily workflows, so what's the natural course of action? Use an alternative browser, like Firefox. But wait, now you lose one of the most convenient and reliable password security features available to consumers, and the one option to regain it is getting a big "f*ck you" from Mozilla itself.

So here's where we're at:

Mozilla half-bakes feature support

Mozilla allows developers spend their valuable time fully baking that support

Mozilla actively develops updates to break it

Mozilla refuses to let those volunteer developers fix what Mozilla broke

Mozilla has officially become a sad, petty, child of a company. They're upset that they're losing the browser war (that they should be winning) and refusing to do what's necessary to improve their footing.
Chromium browsers are becoming nearly unusable for power-users. Forced Efficiency Mode is crippling my daily workflows, so what's the natural course of action? Use an alternative browser, like Firefox. But wait, now I lose one of the most convenient and reliable password security features available to consumers, and the one option to regain it is getting a big "f*ck you" from Mozilla itself.

This is a philosophical masterpiece. It's a shame what happend to the world of browsers..

Do we need to have a signed version?
Couldn’t you provide an unsigned version that we can install?

Can’t believe we’re still in this situation. I’m STILL wrestling with Edge. I’m going above and beyond trying to force this application to perform as it should, with limited success.
Firefox would be gaining users if they spent one f*cking day solving this ridiculous problem.

Actually, my suggestion would be just escape from FF. As it lacks so much on new feature support (HDR for Win, HEVC decoding even with hardware that can handle it natively) and such a limited addon ecosystem.
Being a free software promoter, Mozilla actually refuses to provide sufficient freedom to its users, that is pathetic and irony.
If you are a normal user, just select any of those blink based browsers and it really brings you better experiences. And for opensource software lovers, Chromium could be a better choise.
Frankly speaking, FF is NEITHER a GOOD nor FREE browser today.

Here's what I did recently, and it's my recommendation.  Move all your passwords out of iCloud and into BitWarden. BitWarden has apps for iOS, Mac, Windows, and Android. It has browser extensions for Chrome, Firefox, etc. It syncs between them all too, and since iOS allows for various password managers to be set up system wide, this seems to work pretty seamlessly. And it's free, but they do have paid plans for extra features, none of which I've found that I need.

Now if only apple would port the plug-in themselfs when they already got the bookmarks one covered, but then again i also wish that they would just have ported Safari again to windows, would have made it much easier.

Here's what I did recently, and it's my recommendation. Move all your passwords out of iCloud and into BitWarden. BitWarden has apps for iOS, Mac, Windows, and Android. It has browser extensions for Chrome, Firefox, etc. It syncs between them all too, and since iOS allows for various password managers to be set up system wide, this seems to work pretty seamlessly. And it's free, but they do have paid plans for extra features, none of which I've found that I need.

Well, if I want to use iCloud passwords is because of how easy is to use it with iPhone, Mac and Windows with Chromium browsers... I don't understand why they would just not launch an extension for firefox browsers..


Prevent pruning of consensus node connection.

Thank you for contributing to Mina! Please see CONTRIBUTING.md if you haven't
yet. In that doc, there are more details around how to start our CI.
Explain your changes here.
Add Handshake protocol to exchange consensus node data.
Reserve connection slots for consensus node.
Explain how you tested your changes here.
Checklist:

[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

Closes #0000
Closes #0000

This conflicts with the current libp2p_helper, and will require re-working to function correctly with bitswap, if still desired. Closing.


Error injecting service to APIView Class

I'm working on a django project using django rest framework
I've implemented a simple service as follows:
@service
class RegisterService:

    def random_token(self, size) -> str:
        alphabet = string.ascii_lowercase + string.digits
        return ''.join(choices(alphabet, k=size))

    def random_username(self) -> str:
        return "gu_" + self.random_token(9)

and then in views file:
class FastRegisterView(APIView):
    @container.autowire
    def __init__(self, register_service: RegisterService):
        self.register_service = register_service

    def get(self, request, username: str = None):
        username = self.get_username(username=username)
        return Response({'username': username})

    def get_username(self, username: str = None) -> str:
        if username is None:
            return self.register_service.random_username()
        return username.lower()

everytime endpoint is called it throws this error:

FastRegisterView.init() missing 1 required positional argument: 'register_service'

I'm new to wireup and I'm not sure if I am doing anything inappropriately, I also changed the class to View class to check if the problem is caused by Rest Framework but same error appeared again

Hi. Can you check that wireup is correctly initialized on application startup? You need to tell it where your services are so that it knows what to build.
If Django Rest Framework supports the same application/plugin system as Django then you may be able to use the Django Integration, alternatively just follow the guide in the Getting Started Docs.
Let me know if this helps.

Hi there thanks for your response, it was all my fault, I had a folder called services where I had initiated my services inside that where I had to put them in a package rather than folder, so after adding init.py file to folder everything started to work, thanks for your great package

Hi there thanks for your response, it was all my fault, I had a folder called services where I had initiated my services inside that where I had to put them in a package rather than folder, so after adding init.py file to folder everything started to work, thanks for your great package


Add support for VEHICLE_CMD_DO_VTOL_TRANSITION in missions

Should have this for VTOLs at some point.

Note that #3251 needs to be fixed first.

I suggest adding a MIS_FAILS_TRANS or VT_FAILS_TRANS parameter that controls the behavior of a failed transition in mission mode. RTL seems like a reasonable default setting.

https://github.com/PX4/Firmware/blob/master/src/modules/navigator/navigation.h#L66
NAV_CMD_DO_VTOL_TRANSITION needs to be added.

@LorenzMeier said:
"Although I believe the better pattern would be to add support to DO_SET_SPEED and perform the transition automatically based on the desired travel velocity (and distance to the next waypoint with hover time). That would allow to auto-script something."
I think this would be a good option for tiltrotors, tiltwings and tailsitters. But for standard VTOL i think it would be problematic. When for example a DO_SET_SPEED of 5m/s is set and a transition speed of 10m/s the vehicle would tilt forward (nose down). If after that a DO_SET_SPEED of 15m/s is given the vehicle would transition with it's nose still down. Not a desirable situation i think.
I do think that LAND (at least in failsafe) should transition back to MC as the home position might not be suitable for FW landings.

I don't see the argument with nose down. Its up to the transition controller to get that right, and its always a consideration for any transition (be it manually triggered or autonomous). Transitioning depends on desired speed and expected distance to cover and is something that the vehicle can do significantly better than the operator. You're over-burdening the operator during flight planning by assuming he will pre-plan the velocity profile in his head.
It means you're assuming a very technical operator, which spoils the whole concept of autonomous flight to a significant degree.

Thats also true. The vtol mixer could level the vehicle before transitioning and the navigator could decide to transition if speed and distance meet the criteria. Is there already a distance estimator for an entire mission? Or should it only be based on the next waypoint?
i would suggest entire mission as that would give the operator the option to direct the plane into the wind to transition.

I quickly sketched a 4D concept for a mission. The integral defines when to transition.

I must be misreading your sketch, i don't see any transition?

What I forgot to draw is the minimum transition profile and the transition cost: The minimum transition profile is the minimum distance you need to accelerate, transition, fly, transition back, decelerate. That is (modulo wind) a known fixed quantity of N seconds / N meters. The second metric is transition cost: The whole action likely has an energy premium to it compared to a multi rotor mode hover at slower speed. When both metrics are met the system would transition forward. The back transition is way easier: If the system sees the need to get below a certain minimum speed, it has to transition back.

Could the cost factor not be a part of the airframe's params?
MIS_VT_TRANS_SPEED=10m/s // minimum airspeed to consider transition
MIS_VT_MIN_DISTANCE=500m // minimum distance at speeds > transition speed to consider transition
MIS_VT_MIN_TRANS_DIST=20m // minimum distance to next waypoint to consider transitioning

and perhaps;
MIS_VT_MC_TRANS_DIST=10m // distance required to transition back to MC
this one in case of only a LAND instruction at the end of a long high speed stretch, the navigator could look ahead and anticipate the land by transitioning back a few meters before the waypoint is reached and proceeding in MC mode for the final meters before landing.

The later might be better expressed in seconds as this would of course depend on speed

Just FYI for QGC support: QGC now tracks which mission commands are supported by firmware type. So if new commands are added to PX4 Stack you need to notify me so I can update the list in QGC and have them show up.

Done. I have renamed and moved this to a next release.

We do it explicitly right now. removing it.


Dockerd-exporters are always down

Good day. And thanks for the great project. I really admire this one.
I run your stack on cluster with 1 manager and 2 workers. Everything looks good, but in Prometheus dashboard I see the next one:

As you write here, I update /etc/docker/daemon.json and restart docker service:
{
  "experimental": true,
  "metrics-addr": "<IP_ADDRESS>:9323"
}

I check my DOCKER_GWBRIDGE_IP:
$ ip -o addr show docker_gwbridge

3: docker_gwbridge    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global docker_gwbridge\       valid_lft forever preferred_lft forever

If I curl this endpoint with next IPs, everything works:
$ curl http://<IP_ADDRESS>:9323/metrics
$ curl http://<IP_ADDRESS>:9323/metrics
$ curl http://localhost:9323/metrics

But in Prometheus dockerd-exporter statuses are always down.
$ docker service logs mon_dockerd-exporter

mon_dockerd-exporter.0.ofok9t4isfk9@node-1    | Activating privacy features... done.
mon_dockerd-exporter.0.ofok9t4isfk9@node-1    | http://:9323
mon_dockerd-exporter.0.ofok9t4isfk9@node-1    | 03/Apr/2018:07:36:34 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.ofok9t4isfk9@node-1    | 03/Apr/2018:07:36:49 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.ofok9t4isfk9@node-1    | 03/Apr/2018:07:37:04 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.ofok9t4isfk9@node-1    | 03/Apr/2018:07:37:19 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.ofok9t4isfk9@node-1    | 03/Apr/2018:07:37:34 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.ofok9t4isfk9@node-1    | 03/Apr/2018:07:37:49 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.rfzakmu3h1ml@node-2    | Activating privacy features... done.
mon_dockerd-exporter.0.rfzakmu3h1ml@node-2    | http://:9323
mon_dockerd-exporter.0.rfzakmu3h1ml@node-2    | 03/Apr/2018:07:36:37 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.rfzakmu3h1ml@node-2    | 03/Apr/2018:07:36:52 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.rfzakmu3h1ml@node-2    | 03/Apr/2018:07:37:07 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.rfzakmu3h1ml@node-2    | 03/Apr/2018:07:37:22 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.rfzakmu3h1ml@node-2    | 03/Apr/2018:07:37:37 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.rfzakmu3h1ml@node-2    | 03/Apr/2018:07:37:52 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.z9ud5s9c2u2s@node-3    | Activating privacy features... done.
mon_dockerd-exporter.0.z9ud5s9c2u2s@node-3    | http://:9323
mon_dockerd-exporter.0.z9ud5s9c2u2s@node-3    | 03/Apr/2018:07:36:36 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.z9ud5s9c2u2s@node-3    | 03/Apr/2018:07:36:51 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.z9ud5s9c2u2s@node-3    | 03/Apr/2018:07:37:06 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.z9ud5s9c2u2s@node-3    | 03/Apr/2018:07:37:21 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.z9ud5s9c2u2s@node-3    | 03/Apr/2018:07:37:36 +0000 [ERROR 502 /metrics] context canceled
mon_dockerd-exporter.0.z9ud5s9c2u2s@node-3    | 03/Apr/2018:07:37:51 +0000 [ERROR 502 /metrics] context canceled

Same issue here.
Using stefanprodan/dockerd-exporter does not solve the issue in my case. I also find it hard to believe it has something to do with a firewall since the metrics endpoint is dead from the dockerd-exporter container itself. That would not pass any firewall, would it?

Yeah, this is some magic. It works last time on my dev host, but doesn't work in prod :)

Ubuntu 18.04.1 LTS - docker server version: 18.09.1

filtering docker through ufw

i opened port 9323 in firewall for docker_gwbridge net with command:
ufw allow from <IP_ADDRESS>/16 to any port 9323
Problem with dockerd-exporter fixed!

@ioagel At first I thought it had nothing to do with the firewall, but when I opened up the port from the Docker bridge network IP that error [ERROR 502 /metrics] context canceled changed into dial tcp <IP_ADDRESS>:9323: getsockopt: connection refused. I got it to work when I also change the metrics IP address to one reachable from my Prometheus container. Glad it works now. :)

Interesting... Will try smth like this next week too.

@ioagel At first I thought it had nothing to do with the firewall, but when I opened up the port from the Docker bridge network IP that error [ERROR 502 /metrics] context canceled changed into dial tcp <IP_ADDRESS>:9323: getsockopt: connection refused. I got it to work when I also changed the metrics IP address to one reachable from my Prometheus container. Glad it works now. :)

@ioagel, how did you change the metrics IP address to one reachable from your Prometheus container? I don't have problems with firewall, because it's inactive. I'm using Linux Ubuntu. I'm getting the same Error 502.

I simply change:
environment:       - DOCKER_GWBRIDGE_IP=<IP_ADDRESS>
into
environment:       - DOCKER_GWBRIDGE_IP='<IP_ADDRESS>'
It listened to http://:9323 so I guess the environment variable is wrong
Sorry for my english

@rljoia I was getting the same errors as @ioagel but I'll explain the config:
started with the error ERROR 502 /metrics] context canceled

verify the address is <IP_ADDRESS>
make sure your firewall allows connections to the port 9323 from the virtual network (ufw allow from <IP_ADDRESS>/16 to any port 9323 works for me)

This resulted in the error dial tcp <IP_ADDRESS>:9323: getsockopt: connection refused.
My fix for this was to verify the json file located /etc/docker/daemon.json to be:
{
  "metrics-addr" : "<IP_ADDRESS>:9323",
  "experimental" : true
}

because I had set the address to be <IP_ADDRESS> per the instructions on Docker's website, but that was incorrect.
Also, because these are in global mode, make sure you do this .json file on every node of your cluster so it properly reads out the data.

@rljoia I was getting the same errors as @ioagel but I'll explain the config:
started with the error ERROR 502 /metrics] context canceled
1. verify the address is <IP_ADDRESS>

2. make sure your firewall allows connections to the port 9323 from the virtual network (`ufw allow from <IP_ADDRESS>/16 to any port 9323` works for me)

This resulted in the error dial tcp <IP_ADDRESS>:9323: getsockopt: connection refused.
My fix for this was to verify the json file located /etc/docker/daemon.json to be:
{
  "metrics-addr" : "<IP_ADDRESS>:9323",
  "experimental" : true
}

because I had set the address to be <IP_ADDRESS> per the instructions on Docker's website, but that was incorrect.
Also, because these are in global mode, make sure you do this .json file on every node of your cluster so it properly reads out the data.

This solution worked for me aswell, thanks a lot!

Get docker ip addres
ip addr show docker0
Enter docker ip in prometherus.yml configuratin
   static_configs:       - targets: ['<IP_ADDRESS>:9323']

Get docker ip addres
ip addr show docker0
Enter docker ip in prometherus.yml configuratin
 static_configs: - targets: ['<IP_ADDRESS>:9323']

Try to do it when you have 3 dedicated servers in a swarm, but not single localhost machine. Does it still work?

Same problem... Docker Swarm & Traefik.

configuration problem ?

After all I just removed dockerd-exporter from my setup 😆


fix profile ID locator

updates the profile ID locator function to extract the profile ID from the page. It looks like Strava updated their website and the previously used element was removed.
Also, instead of hardcoding own profile ID, the function will just inform the user that the profile ID was not found.

Sveiki! 👋 Thank you for the fix.

Happy to help! 🚀


Data either disappears or showing the same data when using Sort function

Hello,
My application has 4 tabs on 1 page, you can imagine it like Gmail, where in the Inbox it has Primary, Promotion, and Socials. After implementing the Sort function, the data on each tab either becomes exactly the same or completely disappears. If the initial is the same data on each tab, then after reload the data will disappears on each tab, and vice versa. Here are the screenshots of the problem:
Same data on each tab:

Data disappears on each tab:

Here are the codes I'm using:
TableSort.svelte :

 handler.sort(orderBy)} class:active={$sorted.identifier === identifier}>

        <slot />

Index.svelte (the same for Published, Drafts, and Trash):

<TableSort {handler} orderBy="system" class="white-space-nowrap align-middle ps-4" scope="col" style="width: 350px;">SYSTEM</TableSort>

Is this a bug or there is something wrong with my code? Thank you.

Hello
That's quite strange. I see no reason for the rows to disappear when a sort is applied.

Or do you reload data?

@vincjo No, I don't apply filter (you can see that by looking at the number 0 with red background). The number besides All, Published, Drafts, and Trash are how many data from back end. When the user change tabs, the data is reload. This is my back end if this might help:
    public function index(Request $request)
    {
        $countAll = ProductAndSolution::all()->count();
        $countPublished = ProductAndSolution::where('published_at', '!=', null)->count();
        $countDrafts = ProductAndSolution::where('published_at', null)->count();
        $countTrash = ProductAndSolution::onlyTrashed()->count();

        if ($request->get('tab') === 'published') {
            return inertia('ProductsAndSolutions/Published', [
                'productsAndSolutions' => ProductAndSolution::where('published_at', '!=', null)
                    ->orderByDesc('id')
                    ->get()
                    ->map(fn ($productAndSolution) => [
                        'id' => $productAndSolution->id,
                        'image' => $productAndSolution->image,
                        'image_size' => $productAndSolution->image_size,
                        'starred' => $productAndSolution->starred,
                        'system' => $productAndSolution->system,
                        'description' => $productAndSolution->description,
                        'featured' => $productAndSolution->featured,
                        'updated_at' => $productAndSolution->updated_at,
                        'published_at' => $productAndSolution->published_at,
                    ]),
                'countAll' => $countAll,
                'countPublished' => $countPublished,
                'countDrafts' => $countDrafts,
                'countTrash' => $countTrash,
            ]);
        } elseif ($request->get('tab') === 'drafts') {
            return inertia('ProductsAndSolutions/Drafts', [
                'productsAndSolutions' => ProductAndSolution::where('published_at', '=', null)
                    ->orderByDesc('id')
                    ->get()
                    ->map(fn ($productAndSolution) => [
                        'id' => $productAndSolution->id,
                        'image' => $productAndSolution->image,
                        'image_size' => $productAndSolution->image_size,
                        'starred' => $productAndSolution->starred,
                        'system' => $productAndSolution->system,
                        'description' => $productAndSolution->description,
                        'featured' => $productAndSolution->featured,
                        'updated_at' => $productAndSolution->updated_at,
                    ]),
                'countAll' => $countAll,
                'countPublished' => $countPublished,
                'countDrafts' => $countDrafts,
                'countTrash' => $countTrash,
            ]);
        } elseif ($request->get('tab') === 'trash') {
            return inertia('ProductsAndSolutions/Trash', [
                'productsAndSolutions' => ProductAndSolution::onlyTrashed()
                    ->orderByDesc('id')
                    ->get()
                    ->map(fn ($productAndSolution) => [
                        'id' => $productAndSolution->id,
                        'image' => $productAndSolution->image,
                        'image_size' => $productAndSolution->image_size,
                        'starred' => $productAndSolution->starred,
                        'system' => $productAndSolution->system,
                        'description' => $productAndSolution->description,
                        'featured' => $productAndSolution->featured,
                        'updated_at' => $productAndSolution->updated_at,
                        'deleted_at' => $productAndSolution->deleted_at,
                    ]),
                'countAll' => $countAll,
                'countPublished' => $countPublished,
                'countDrafts' => $countDrafts,
                'countTrash' => $countTrash,
            ]);
        } else {
            return inertia('ProductsAndSolutions/Index', [
                'productsAndSolutions' => ProductAndSolution::orderByDesc('id')
                    ->get()
                    ->map(fn ($productAndSolution) => [
                        'id' => $productAndSolution->id,
                        'image' => $productAndSolution->image,
                        'image_size' => $productAndSolution->image_size,
                        'starred' => $productAndSolution->starred,
                        'system' => $productAndSolution->system,
                        'description' => $productAndSolution->description,
                        'featured' => $productAndSolution->featured,
                        'updated_at' => $productAndSolution->updated_at,
                        'published_at' => $productAndSolution->published_at,
                    ]),
                'countAll' => $countAll,
                'countPublished' => $countPublished,
                'countDrafts' => $countDrafts,
                'countTrash' => $countTrash,
            ]);
        }
    }

Ok so each tab's click returns a new set of data with same structure, re-injected into the DataHandler instance.
That's ok. The sort should be re-applied after data updates. I'm gonna look what happens with a repro

@vincjo Here is what happen when the user first visit the page:

And here is what happen when the user visit another tab:

That is for the same data problem. For some unknown reason, the disappearing problem doesn't exist anymore after I'm using your code, but the same data problem still exist.

There is a side effect somewhere and i don't figure out where it happens.
Dupplicate consoles in landing page is normal cause there is the new Datahandler instantiation which use setRows() under the hood.
Is it ok for you to copy/paste the code in your tab component here?
Still not sure where the issue happens but it could give an overview

Sorry for the late reply, but it's already been resolved for now. I don't know what is the differences, but when I just copy pasted your code from your example here: https://vincjo.fr/datatables/tutorial/sort-data
It works just like that. The only differences should be the class, styles, and I don't put  inside the strong tag; honestly, that shouldn't create this kind of bug. But I don't think there are any other differences.


[DOC] Update collaborators page and correct terminology KPIP usage

Why are the changes needed?

Partly fix #876
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

please link  #876, cc @yanghua

Codecov Report

Merging #932 (43df476) into master (c060671) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #932      +/-   ##
============================================
+ Coverage     79.10%   79.12%   +0.01%
  Complexity       11       11
============================================
  Files           146      146
  Lines          5414     5414
  Branches        653      653
============================================
+ Hits           4283     4284       +1
+ Misses          758      756       -2
- Partials        373      374       +1

Impacted Files
Coverage Δ

...org/apache/kyuubi/ha/client/ServiceDiscovery.scala
44.62% <0.00%> (+0.82%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks for the review, merging to master.

@yaooqinn The doc site seems out of date, would you please have a check?


fix:Warn about Glitch incompatibility with metric-imperial converter project #51569

Checklist:

[x ] I have read and followed the contribution guidelines.
[ x] I have read and followed the how to open a pull request guide.
[x ] My pull request targets the main branch of freeCodeCamp.
[ x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Hello,
Firstly, thank you for submitting this pull request!
As you navigate through the process, we have a PR checklist to ensure consistency and quality in our contributions. We kindly ask that you genuinely follow through with each point. This not only facilitates the review process but also demonstrates a mutual respect for the community's efforts.
If you're unfamiliar with certain aspects, our contributing guidelines are a helpful resource to get you up to speed.

**Friendly Pointers (click to expand)**

Editing on GitHub: While it's possible to edit files directly on GitHub, it's typically better not to. This helps avoid inadvertent mistakes like typos that can disrupt tests.

Linking Issues: Please ensure you link issues using the designated method. Simply update the XXXXXX in the PR description to include the issue number. This keeps our records organized and clear.

Engaging with the Team: We know you're eager, but kindly keep mentions and review requests limited. Our maintainers are always on the lookout and will attend to PRs in the order they come in.

Branch Management: It's a good practice not to work directly off your main branch. Creating separate branches for different changes allows you to smoothly update your PR even as the main repository progresses.

Please note, there's no need to close this PR. If you have questions or need guidance refining your contribution, don't hesitate to ask. Our community is here to assist.
Thank you for your enthusiasm in contributing to our project. We eagerly await more contributions from you!
Happy Contributing! 🌟

Hey @lalithasj
Thank you for opening this pull request.
As there was different PR - #51577 - making all necessary changes, merged recently, we are going to close this one.
Thank you and happy coding! 😊

If you have any questions, feel free to ask questions on the 'Contributors' category on our forum or the contributors chat room.


Change Saturn table - FAKE CHANGE

Hi this is a comment!
Woohoo!

Branch deployed to staging: http://staging.pds.seti.org/pull_requests/rf_240715_fake1

Branch deployed to staging: http://staging.pds.seti.org/pull_requests/rf_240715_fake1


gulp dist-install

Attach (recommended) or Link to PDF file here:
https://raw.githubusercontent.com/mozilla/pdf.js/ba2edeae/web/compressed.tracemonkey-pldi-09.pdf
Configuration:

Web browser and its version: Chrome/67.0.3396.99
Operating system and its version: macOS 10.13.6
PDF.js version: 2.0.943
Is a browser extension:

Steps to reproduce the problem:

install the pdf.js module which version is 2.0.943
run the demo in

What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

It works using node.js version 14.15.0.


docs(release.md): document release process

Fixes #7

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: maxgio92
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [maxgio92]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/cc @falcosecurity/peribolos-syncer-maintainers

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, maxgio92
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,maxgio92]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


bump version for jsng for 11.0b12

Description

use latest version of js-ng

Checklist

[ ] Pre-commit hook is installed to do formatting checks before committing code...etc
[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings

poetry.lock changes are needed, can be done via: poetry update js-ng

poetry.lock changes are needed, can be done via: poetry update js-ng

poetry.lock changes are needed, can be done via: poetry update js-ng

thanks, done

poetry.lock changes are needed, can be done via: poetry update js-ng

thanks, done


How to fit QR Code in one tile?

I used exactly your example but if the dashboard is in full window size the qr code is growing and doesn't fit in one tile. How to stop scaling if you resize the browser window or better how fit the qr code in the remaining space of one tile?

What browser are you using? The QR-code image is supposed to be fixed to a (w-48 h-48) square.

Tested a lot. Safari, Chrome, Firefox and Brave. All the same


fixed prod build issue with missing test assets

This fixes issue when building with --environment=production.
Previously it failed due to lack of test/index.html.

whoops, sorry @H1D, didn't see this PR when I opened #53 🙈
I guess we can close this now though 😅


Added MarriedOutOfRangeWarning

MarriedTooOldWarning has been renamed to MarriedOutOfRangeWarning to allow wanring on marriages where the individuals are too young as well.

This change is

Codecov Report

Merging #256 into master will increase coverage by 0.03%.
The diff coverage is 94.44%.

@@            Coverage Diff             @@
##           master     #256      +/-   ##
==========================================
+ Coverage   64.25%   64.29%   +0.03%
==========================================
  Files         202      202
  Lines        6446     6453       +7
==========================================
+ Hits         4142     4149       +7
  Misses       2176     2176
  Partials      128      128

Impacted Files
Coverage Δ

document.go
78.41% <ø> (ø)
:arrow_up:

family_node.go
90.53% <100%> (+0.34%)
:arrow_up:

married_out_of_range.go
85.71% <85.71%> (ø)

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 f245b71...a626921. Read the comment docs.


Write a Kotlin program to find volume of a sphere

Description
Write a Kotlin program to find volume of a sphere
Volume of sphere = 4/3 × π × Radius^3
Radius : 2

Volume : 33.510321638291124

How to contribute

Save the solution in FindVolumeOfASphere.kt file
Add FindVolumeOfASphere.kt file in find-volume-of-a-sphere folder

!assign


IMPROVE: Reshare feature

The reshare feature was very complicated to understand for the user, why to do it and when.
We updated the flow in figma to make it more clear. Please get a overview in figma first.
Logic flow for the screens:
Start screen:

Join button opens camera view

[ ] For option Renew:

normal keygen, verify that amount of current vault setup is present, e.g. in a 2/2, two devices are present.
If threshold is not met, display error and bring user back to Renew screen

[ ] For option Change Vault Setup:

[ ] Check if 2/2 vault. If yes, display 2/2 setup view, else 2/3 setup view.

[ ] Option Add Device:
Check current Vault setup and display. If user selects Add one device look for 1 more device than current setup. If selected Add multiple have dynamic but minimum current setup before proceeding to keygen.

[ ] Option Remove Device:
Check current Vault setup and display. If remove one device hard enforce old setup -1 devices present, else make dynamic but minimum threshold of old setup.

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."


'element' option does not work properly

flag_icon('es', element: :sup, class: 'custom-flag-icon')
#=>

This feature currently is in master branch only and hasn't been released yet.
As flag-icons-rails uses the same versions as flag-icon-css (where the flags are from), so 3.4.6 is the current version.
We have two options:

I build and release a <IP_ADDRESS> version to rubygems.
You reference the master branch in your Gemfile like this until the next version comes out: gem 'flag-icons-rails', git: 'https://github.com/evgenygarl/flag-icons-rails'

I'd prefer number 2 to not change the current versioning if it can be avoided.

@rhugo Version <IP_ADDRESS> released.


Zero-Sized values in code gen

We ran into some issues with lists of elements with size zero, for instance [ {}, {} ]. What should the runtime representation of the list be here? How is List.get supposed to work

@folkertdev is this still an issue?

not this case. Zero-sized types and our builtins probably have additional bugs but the fuzzing will take care of them eventually


@playwright/test & vitest browser mode aren't happy together!

Describe the bug
Since  https://github.com/microsoft/playwright/blob/207086180781e1daee52bcba0aefe3bed1b87b2e/docs/src/release-notes-js.md?plain=1#L167-L170, @playwright/test requires that the plain playwright package won't be installed.
Vitest browser mode, for playwright driver, the plain playwright package must be installed.
https://github.com/vitest-dev/vitest/blob/8693449b412743f20a63fd9bfa1a9054aa74613f/packages/vitest/src/node/browser/playwright.ts#L31-L33
Thus preventing using this tools on the same project.
I've opened a similar issue on the playwright repo:
https://github.com/microsoft/playwright/issues/24385
Reproduction
N/A
System Info
N/A

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Should we check for installed @playwight/test, @Aslemammad ?

We can check, but @Bnaya your aim is to use both these tools at the same time? I'm just trying to understand.

Yes, We use playwright test for e2e and vitest-browser for unit test

I think that playwright are mistaken for erroring if "playwright" is installed,
As it's a valid use case to use playwright as a library and playwright/test on the same project, even unrelated to vite
But it would be great to have a solution/workaround also from vitest side


Hotfix - durable exchange should inherit from publisher

Codecov Report

Merging #52 into master will increase coverage by 2.22%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
+ Coverage   82.18%   84.41%   +2.22%
==========================================
  Files           7        7
  Lines         567      648      +81
  Branches       19       19
==========================================
+ Hits          466      547      +81
  Misses         98       98
  Partials        3        3

Impacted Files
Coverage Δ

sdc/rabbit/test/test_publisher.py
100% <100%> (ø)
:arrow_up:

sdc/rabbit/publishers.py
97.67% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Wrap createServerComponentClient in React.cache

This ensures you only create the supabase client once per request.

There is a build error right now, the dts build fails because it doesn't know how to find @types/react/experimental. I'm not sure why this would be failing considering I've added it to dev dependencies. Does it need to be a peer?

Using cache on this function has no effect because the argument is an object, it will be different every call

Damn, you're right.
I think this can be fixed by moving cookies into it's own argument and documenting that the options should be defined outside of render. Not sure if it's worth the breaking change.
Maybe we can add a curried form as a non breaking change? (function name to be bikeshedded)
const createServerComponentClientFactory = (options: Options) =>
  cache((cookies: Cookies) =>
    createServerComponentClient({ cookies }, options),
  );

Of course this function would need to be initialised once, but I think this is common with these kinds of clients.
Another options would be to stop accepting cookies as a param and just call cookies() inside, I'm not sure why this is wasn't done in the first place tho - maybe there's a constraint I'm not seeing.

In my projects I wrap functions so the argument gets serialized before using cache using this package https://www.npmjs.com/package/fast-stable-stringify
But this function is cheap enough that cache shouldn’t be needed at all imo

It's not the work this function does that's the issue, it's that creating multiple supabase clients uses more memory and can potentially lead to duplicate fetches where they're not expected.


Add PDP Faceoff Deluxe+ Audio controller

This controller (0e6f:0184) is similar to the "non-deluxe" PDP Wired controller for Switch which is already listed (0e6f:180). I tested this change and as far as I can tell, the controller works as expected in Steam.
Note that 0184 also includes a USB audio interface, connected to a 3.5mm jack on the controller. This audio interface "works for me" in Windows, but in Linux (Ubuntu 22.04), I can see the audio interface listed in my Sound control panel but I have not been able to make audio come out of it. Also, this audio interface seems to only expose itself to the host when a headset is physically connected to the jack - with nothing connected, neither Windows nor Linux seems to recognize the controller as an audio interface. I don't think solving this mystery is required to add support for the device as a gamepad.
There are some other minor differences between the two controllers, but all of that functionality seems to be handled "inside the hardware" so it is transparent to the host. For reference, 0180 includes "turbo" features, while 0184 has remappable back paddles that can be configured to act as any of the "regular" buttons on the controller.
I have both controllers in my possession so if anyone has more questions about them, I am happy to experiment and provide direct information.

If you run
~/.steam/root/ubuntu12_32/steam-runtime/run.sh steam-runtime-input-monitor

with these devices unconnected, wait for it to finish describing all your other devices (it should say {"all-for-now": true} at the end), and then connect each of these devices, what additional information is displayed after the {"all-for-now": true} marker?
Press Ctrl+C to stop the input monitor when it has finished displaying the new device(s). Having that information will help to avoid regressions in SDL for these devices.

This appears to be a third-party controller intended for Switch. SDL already knows about it.
@slouken, do we want this in src/joystick/SDL_gamepad_db.h, or is generic support for Switch controller clones enough to handle it?

Apologies for the delay. Here is the output of
~/.steam/root/ubuntu12_32/steam-runtime/run.sh steam-runtime-input-monitor

for each of these controllers, after the all-for-now stanza.
controller-0180.txt
controller-0184.txt
also, here's what it looked like with a headset connected to the 0184 controller, in case that's relevant:
controller-0184-with-headset.txt

@slouken, do we want this in src/joystick/SDL_gamepad_db.h, or is generic support for Switch controller clones enough to handle it?

Yes, we want Nintendo Switch controllers in SDL_gamepad_db.h with the button label hint so the face buttons can be reversed.

@ravikanodia: thanks, it's useful to have this information for multiple controllers. I assume this:
    "input_ancestor" : {
      "sys_path" : "/sys/devices/virtual/input/input32",
      "name" : "Microsoft X-Box 360 pad 0",
      "bus_type" : "0x0003",
      "vendor_id" : "0x28de",
      "product_id" : "0x11ff",
      "version" : "0x0001"
    }

is the virtual controller created by Steam Input, and doesn't appear if you plug in these controllers while Steam is not running?

For Steam and SDL's purposes, all three of your reports are equivalent: as you say, extra functionality of these controllers seems to be handled internally.

also, here's what it looked like with a headset connected to the 0184 controller

This appears to be reported by ... changing a 0 to a 1 in the serial number?! Bizarre.

This audio interface "works for me" in Windows, but in Linux (Ubuntu 22.04), I can see the audio interface listed in my Sound control panel but I have not been able to make audio come out of it.

Steam and SDL both do audio routing via the OS's usual audio paths (PulseAudio, Pipewire or occasionally ALSA) so if the kernel handles this audio interface, it should work in Steam and SDL too, and if the kernel doesn't handle it, there's little that Steam or SDL can do about it.


why not support the static methods?

Both contain not better? I want to hook all the methdos 😆

I have a demo that deals with your problem, and you can search for mrthodaspects on github, which is my demo.

厉害了哥, 这都能被你找到..


Investigate Minideb

Just learned about Minideb. Should investigate this and see if it's a better fit than the debian slim images we're using today.

After looking into it the space savings are minimal. The main benefit I see is the "install_packages" script which enables using apt non-interactively. Not a benefit for me at this point so I think I'll stick to debian-slim.


Hooks firing when manually change the selection

I am developing an extension that working with user selections. But I get a problem when manually changing my selection. Here is my problem.
I want to select some lines and highlight another lines with an another color via my extension. But I also want to hide these highlighted colors when the user click or select some texts.
here is my codes in the command.
activeTextEditor.selections = selectedTags;

activeTextEditor.setDecorations(selectionDecoration,decorations);

// onDidChangeTextEditorSelection hook is executing after this and hiding all decorations created by this line

This is the callback in onDidChangeTextEditorSelection hook.
function hideSelections():void{

	updateStatusBarItem(0);

        // Disposing all decorations
	selectionDecoration.dispose();
	currentSelectionDecoration.dispose();

	selections = [];
	currentSelections = [0];
	foundSelections = false;
}

Sorry for the distrub. I have fixed it using the first argument of the callback.
function hideSelections(e:vscode.TextEditorSelectionChangeEvent|undefined=undefined):void{
	if(typeof e !== 'undefined'){
		if(typeof e.kind!=='undefined'){
			if(e.kind===3){
				return;
			}
		} else {
			return;
		}
	}
   // My codes

}


Scrolling the year in DOB using mouse wheel fast last few dropdown values are not showing

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Click on “Profile avatar”
Click on “Profile” link
Click on “Personal details” link
Click on “Date of birth” link
Click on calendar picker icon
Click on year arrow icon
Click on mouse scroll wheel and scroll to the top section of the dropdown options
Quickly scroll down to the bottom of the dropdown options using the mouse scroll wheel

Expected Result:
Dropdown values upto 2018 should be visible
Actual Result:
last few dropdown values remain invisible unless the user left-clicks to exit scrolling state
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.2.88-1
Reproducible in staging?: Need reproduction
Reproducible in production?: Need reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/227054476-a0ef3f7c-a77d-40ae-8700-d8291ff4fd0a.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Natnael-Guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1679515814620569
View all open jobs on GitHub

Triggered auto assignment to @johncschuster (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@johncschuster 10 days overdue. Is anyone even seeing these? Hello?

@johncschuster 12 days overdue now... This issue's end is nigh!

This issue has not been updated in over 14 days. @johncschuster eroding to Weekly issue.

@johncschuster this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

John is OOO, reassigning so this gets actioned. thanks!

Triggered auto assignment to @abekkala (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@kavimuru @Natnael-Guchima
I was not able to reproduce this. It is functioning as intended. When I attempted I was able to see up to 2018.
If you are still seeing this on your end can you provide another current screen recording? and reopen


Fix ruby builds for bundler

When doing a gem install baml we work correctly, but when doing it via gemspec files, we fail, as bundler expects certain architectures.
To support this, BAML must compile for all of these:
aarch64-linux, aarch64-linux-gnu, aarch64-linux-musl, arm-linux, arm-linux-gnu,
arm-linux-musl, arm64-darwin, x86-linux, x86-linux-gnu, x86-linux-musl, x86_64-darwin, x86_64-linux, x86_64-linux-gnu, x86_64-linux-musl

See #956


Showcase additions

[x] I have followed (at least) the PR section of the contributing guide.

Long time user and sponsor of MUI here! 👋Thanks for all you do!

Thanks for the proposal but we will decline it per the selection criterions we document on the showcase page.


Missing hyphen in nginx-wsgi-flask readme

Description
In awesome-compose/nginx-wsgi-flask/README.md, docker compose is erroneously used in two of the code blocks, rather than docker-compose.
Proposed solution
Add missing hyphen to those instances of docker compose
Fixed by #424

Hey @DJStompZone
Compose is a Docker CLI since it was rewrote in Golang, you can use docker compose for more than 2 years now.
If you're not still using a version v1.x of Compose, I encourage you to migrate  as Compose v1 reach end of life and is not maintained anymore.


[logging] [splunk] if app logs are json they never make it to splunk

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Turn on logging to Splunk HEC for the Cluster
Run any image that outputs logs in JSON format.

Result:
Logs never make it to Splunk.
What should happen:
The application logs should get parsed as JSON and set log as an object so that the entire entry that is sent to splunk is a JSON object.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.2.2
Installation option (single install/HA): HA

Other Thoughts:
There probably needs to be a way to set the parser format of  the fluentd collector based on different pods, perhaps a label and an auto-reconfiguration of the fluentd collector. If this already exists, great, but the docs on logging are a bit sparse.
Alternatively I wouldn't mind an option per deployment to specify a MERGE of the application log and the resulting object that rancher puts together, so instead of log being sent, it would omit log and if based on labels know that the incoming log from the app is JSON and merge it with the object Rancher creates.

Hi, you could deploy a fluentd aggregator, and send rancher log to fluentd target, then customize logs in fluentd aggregator
Use Catalog to Deploy Fluentd Server
Rancher sends the log to fluentd server, you can add filter, parser plugins configure to customize your log. Rancher support deploy fluentd server by using catalog Fluentd Aggregator

Browse to the project catalog that you want to deploy fluentd aggregator.

Click the Launch, select fluentd-aggregator, view details.

Configure deploy Namespace.

Configure deploy Service Type, the default is ClusterIP, you can use DNS or ClusterIP to access the service inside the cluster.

Configure output, select one or customize yours, check catalog description Output Plugins, make sure your output is supported. For more information, see Fluentd Output.

Configure filter, giving an example for using the filter to only include log from namespace kube-system. For more information, see Fluentd Filter.

   <filter cluster.**>
   @type grep
   <exclude>
       key $.kubernetes.namespace_name
       pattern ^test$
   </exclude>
   </filter>

Configure parser if need, for more information, see Fluentd Parser.

Configure formatter if need, for more information, see Fluentd Formatter.

After deployed the Fluentd Aggregator, go to Tools > Logging, configure Fluentd output log to your Fluentd Aggregator.

Complete the Fluentd Server Configuration form.

From the Endpoint field, enter the cluster dns you deployed just now (i.e. fluentd-aggregator.fluentd-aggregator.svc.cluster.local:24224)

Continue to configure other fields.

Click Test. Rancher sends a test log to Fluentd.

Click Save.

Result: Rancher is now configured to send logs to Fluentd Aggregator. Check you Fluentd Aggregator output events for your cluster and containers.

Thanks, I'll take a look.