Add support for add subcommand to scaffold devfile resources

JIRA ticket: https://issues.redhat.com/browse/AAP-27897
Related Issue : https://github.com/ansible/ansible-creator/issues/148
Description:
This commit introduces a new add subcommand to the ansible-creator tool, allowing users to scaffold resources like devfile into an existing project. This feature is designed to streamline the development environment setup by automatically generating the necessary configuration files.
Changes:

Created add.py: Added the add subcommand to scaffold:

devfile resource setup

Updated config.py: Added new attributes to support the add subcommand:

resource_type: Specifies the resource type (e.g. devfile).
path: Defines the target path for the resource scaffolding.
type: Denotes the type of resource being scaffolded.

Unit Tests for add Subcommand:

Created test_add.py:

Added unit tests for the add subcommand in the units folder.

Test Functions:

Successful Scaffolding: Validates that the add subcommand correctly scaffolds the devfile.yaml from the fixtures folder to the temporary path.
Overwrite Scenario: Modifies the devfile.yaml content and checks the behavior of the overwrite parameter, ensuring that conflicts are handled appropriately during scaffolding.

Fixtures:

Added a devfile.yaml to the fixtures/common/devfile folder for testing purposes.

Notes:
Subcommand add Behavior:

When the devfile.yaml is not present in the provided path:

The add subcommand scaffolds the devfile.yaml and outputs the message:

Note: Resource added to /path/to/directory

When the devfile.yaml exists in the provided path with the same content:

If the devfile.yaml has not been altered (i.e., content matches the original file), the subcommand does not overwrite the file and outputs the same message:

Note: Resource added to /path/to/directory

When the devfile.yaml exists in the provided path but has different content:

If the devfile.yaml has been modified, the subcommand detects the change and prompts:

Files in the destination directory will be overwritten. Do you want to proceed? (y/n)

If the user chooses 'y' (Yes):

The file is overwritten, and the message confirms the update:

Note: Resource added to /path/to/directory

If the user chooses 'n' (No):

The operation is aborted, and the following warning and error messages are shown:

Warning: /path/to/directory/devfile.yaml already exists
Files in the destination directory will be overwritten. Do you want to proceed? (y/n): n
Error: The destination directory contains files that will be overwritten. Please re-run ansible-creator with --overwrite to continue.

Using the --overwrite flag:

If the user runs the command with the --overwrite flag:

ansible-creator add resource devfile /path/to/directory --overwrite

The devfile.yaml is overwritten, and the message confirms successful scaffolding:

Note: Resource added to /path/to/directory

This PR enhances the existing functionality of the ansible-creator tool by making it easier to add development environment configurations to existing projects.

@tanwigeetika1618, can we also update the docs to mention a bit about add here: https://ansible.readthedocs.io/projects/creator/ ?
Can happen in a separate PR as well!

@tanwigeetika1618, can we also update the docs to mention a bit about add here: https://ansible.readthedocs.io/projects/creator/ ?
Can happen in a separate PR as well!


how to read table of PDF file with arabic language

I tried to read a table in PDF file whit Arabic Letters but when it uploaded to the power bi its characters is unreadable
[Enter feedback here]

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

ID: c6ab70d2-6a8d-9457-9fe0-b7e5a11f7a23
Version Independent ID: 8d847641-59f8-8914-799d-0c1c7ccad9a6
Content: Connect to a PDF file in Power BI Desktop - Power BI
Content Source: powerbi-docs/connect-data/desktop-connect-pdf.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi @sallllam, thanks for reaching out to us with your comment. I have forwarded it on to the doc author for further consideration. Have you considered the information here: https://docs.microsoft.com/en-us/power-bi/fundamentals/supported-languages-countries-regions#choose-the-locale-for-importing-data-into-power-bi-desktop? I am not sure it will solve your problem but it might be worth a try. I also encourage you to post your issue in the Power BI Community - there is a lot of experience out there. Or you can check our support page. Thanks!

Hi @sallllam ,
I see that this Git issue is a bit old, and we haven't heard back from you. I hope that you were able to get your questions answered. If not, please submit your question to the Power BI community (community.powerbi.com).
All the best,
the DOCS team


doc: MSRV?

Just wondering if there is a minimum supported version and if it can be documented

Ah, found it :sweat_smile:
https://github.com/elichai/worst-executor/blob/ea0f8ee365811941f75364f4f0f63cc0e2fac1ce/src/lib.rs#L19

Hehe yeah, everything here is ~1.36 but the compiler optimizations are much less effective if I don't make the Waker a const, and that requires either nightly (because Waker::from_raw is const unstable) or relying on implementation details and transmuting the RawWaker to a Waker

I also hope that by me using nightly for these things it could hopefully help to push them for being stable sooner :)

Fixed by https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#local-pin-construction ?

Almost, I still need const_waker for optimal performance, might be able to simulate it with some unsafe
https://github.com/rust-lang/rust/issues/102012


Custom aria-labelledby in material select

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior
I am trying to set attributes such as 'aria-labelledby'/'aria-label' on select box, but the value does not appear.  I'm using attributes in templateOptions to set it.
Expected behavior
aria-labelledby should be replaced by the value I provide, it works well in input components.
Minimal reproduction of the problem with instructions

https://stackblitz.com/edit/ngx-formly-ui-material-kfj3oc?file=app/app.component.ts
What is the motivation / use case for changing the behavior?

ARIA properties are important and should be easy to set, only option I found currently is with attributes in templateOptions, if there is some alternative that would help as well.

Angular version: 7.0.X

Browser: all

Language: all

I would wager this is related to   #1265

@aitboudad thanks for the quick fix :)

released in 5.4.2 version.


Make google repo priority higher than jcenter

Fixes https://github.com/facebook/react-native/issues/21907#issuecomment-432319128 and prevent similar issues happening again

ping @kelset @grabbou
This is a hotfix. Now all new 0.57.x project can not build on android.

Thanks for the PR, we'll try to have this merged ASAP as it should fix the issue we are having on the CI for android test ✅

btw @sunnylqm shouldn't this change be done in the root level build.gradle? 🤔

@kelset For end user only build.gradle in template works right? I dont know what is the root build.gradle for? If that is for CI, I can add that change too

I think that yeah, the root one defines the "overall" react native android config. Anyway, in the meantime, I've tried to replicate your change on the 0.57-stable branch to see if it fixes the CI there (and now the test_android is green) -> https://github.com/facebook/react-native/commit/7a766bf2935208d0e01376f8e60ca009d31fbe27

I think it is safer to move jcenter() below google() rather than moving google() to the top (above mavenLocal()).  I agree we desperately need the templates fixed because the following doesn't work:
react-native init AwesomeProject
cd AwesomeProject
react-native run-android # <-- build fails because jcenter is borken

Will land this one as is, but @mmccartney feel free to send another PR with your suggested changes.


conmon: fix case when symlink == max UNIX socket path

address a corner case where the symlink path length can end up to be
the same as the socket.  When it happens, the symlink prevents the
socket to be be created.  This could still be a problem with other
containers, but it is safe to assume the CUUIDs don't change length in
the same directory.  As a workaround, in such case, make the symlink
one char shorter.
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

/test all
/lgtm

/test integration_rhel

/test e2e


old_materialized_path doesn't seem to be implemented

Just tried playing with the blog plugin.
I'm hitting an error on old_materialized_path= not being implemented in blogpost.rb
Is this missing from a migration maybe?

You're right! old_materialized_path and materialized_path should be replaced by old_slug and slug respectively.

No worries. :) that was actually my next guess from looking at the schema.

Just fixed it in the latest commit.


[Feature] Add PR Title Checker. json along with codeql.yml and pr-title-checker.yml

Description
This will :
/Improved Code Organization: Consistent PR titles will enhance code organization and searchability.
/Streamlined Workflow: Integration with CodeQL and a dedicated workflow will promote efficiency and automation.
/Reduced Manual Effort: Automated checks will minimize the need for manual title review, freeing up time for development tasks.

``` Enhanced Code Quality: Consistent titles will contribute to overall code quality and maintainability.

### Screenshots

_No response_

### Checklist

- [X] I have starred the repository
- [X] I have checked the existing issues
- [X] I have read the discussion tab thoroughly and got the project idea
- [X] I am willing to work on this issue (optional)

Assign me @Kritika30032002


[CLN] Remove quota_rules from QuotaProvider

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

...

New functionality

...

Test plan
How are these changes tested?

[ ] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

#3054  👈
main

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

Join @drewkim and the rest of your teammates on  Graphite


Is the doc outdated or do i miss anything?

Nancy 2.0 doesn't work with this syntax:
Get["/"] = parameters => "Hello World";

The wiki notes that the syntax listed is for 1.4x with a link to the "new" 2.0 syntax:
https://github.com/NancyFx/Nancy/wiki/Nancy-v2-Upgrade-Notes#user-content-routing
(i'm not sure why it still lists both now that 2.0 is no longer beta)

https://github.com/NancyFx/Nancy/blob/master/samples/Nancy.Demo.ConstraintRouting/ConstraintRoutingModule.cs
Samples here.


How to use

@skywinder can you can How to us in read me file.

Hello. Its archived version. You can find exaple of usage this library in
web3swift repo
On Thu, 11 Jun 2020 at 20:29, Nermeen Tomoum<EMAIL_ADDRESS>wrote:

@skywinder https://github.com/skywinder can you can How to us in read
me file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skywinder/ios-secp256k1/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZTOOX2PQHKFW6D6TANQ5LRWDL2HANCNFSM4N3NHX3A
.

--
Regards,
Petr Korolev


After the application is released, download the app from TestFilght. Afterwards, the shooting was carried out, but no photo information was obtained after the shooting,

Steps to Reproduce
Hello, I have encountered a problem.In XCode, both debug mode and replace mode run, and photos can be obtained after shooting, but after publishing, they are installed for shooting and cannot obtain image information
Expected results
After shooting, display photos
Actual results
No photo information
About your device
iPhone 6s Plus、iPhone 14 pro Max

Brand
Model
OS

* iPhone*
iPhone 6s Plus
15.4.1

* iPhone*
iPhone 14 pro Max
最新版本17

Your flutter version
Flutter 3.10.5
Dart 3.0.5
camerawesome: ^1.4.0
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
[✓] VS Code (version 1.84.2)
[✓] Connected device (4 available)
[✓] Network resources

In lines 18 and 19 of the code, "event" is displayed as null, which happened once in debug mode

Hi, we will try to find out the reason.
Could you share the content of your plist file?

Hi, we will try to find out the reason.
Could you share the content of your plist file? What is your save configuration and path ?

I uploaded some pictures, but I'm not sure if you need the above content. I'm sorry, because I'm not sure if I can understand the content required for 'saving configuration and path'.
As the documentation says :

Path to the temporary directory on the device that is not backed up and is suitable for storing caches of downloaded files.

Files in this directory may be cleared at any time. This does not return a new temporary directory. Instead, the caller is responsible for creating (and cleaning up) files or directories within this directory. This directory is scoped to the calling application.

As it mentions this is a temporary folder and you are not supposed to store files there.
This is only for caching and the user may not be able to retrieve them.
You should try to save those in the user library instead.
For iOS:
You can use this
getApplicationDocumentsDirectory();
For Android
You can use this
getExternalStorageDirectory();

Thank you very much for your reply. I'll try it out

Did this solve your issue?


Refactor to use RetryTemplate

As a developer, I'd like to adapt to the refactoring changes from SCSt core, so the binder contracts are up-to-date.

This has been already addressed in rabbit-binder.


The local preview video is not seen in the successful two way apprtc call

Successfully join the two way apprtc call between Pit and Daisy, both with the same builds(41.02272.6/6680.4.0)
Check for the video preview locally for the user in the device Pit

Expected result: The video should be seen both locally and remotely.
Actual Result: the video is not seen locally, but seen remotely.  Checked the Webrtc-internals and seeing the sent and received video and audio stats and graphs are seen ok.

I think this should be filed in the Chromium tracker, as it's not an application bug.


Is there a way to simplify and speed up the localnet development?

Hey!
I am trying to setup a Arbitrum testnet environment in CI.
Ai was able to follow the README and get things going locally and deploy some contracts of both L1 and L2 successfully. However, when I attempt to "freeze" my setup, by executing docker commit to make it easier and faster to transfer to other devs, I start hitting all sorts of errors.
Is there a way to make the setup time faster and/or preserving some initial state for running a local network?

Hello!
Sorry for the very long delay. We've just updated nitro-testnode to by default use "simple-mode". In this mode, there is only one l2node present which does sequencing, batch posting, and staking.
This should allow stopping with "docker-compose stop" and restarting with either docker-compose or testnode bash.

Hello! Sorry for the very long delay. We've just updated nitro-testnode to by default use "simple-mode". In this mode, there is only one l2node present which does sequencing, batch posting, and staking. This should allow stopping with "docker-compose stop" and restarting with either docker-compose or testnode bash.

Hello, I am new to development in this area. I encountered an error when running the command ./test-node.bash --init error: error Command "create-rollup-testnode" not found. Source: https://docs.arbitrum.io/run-arbitrum-node/run-local-dev-node.
I would like to know if this error will affect subsequent running nodes? and how to solve this problem. Also, nitro-testnode-sequencer-1 is not found in my docker image. What is the reason and how to solve it? And in nitro-testnode/scripts/config.ts, line 257, there is no "sequencer_config.json" file. These trouble me as a newbie. Hope to get your answer, thank you very much!


Nadeko deleteMessage after seconds

Is it possible to remove sendmessage outputs after certain seconds without having edit every file?

no


Wiki Text Suggestions

I have a few minor edit suggestions for the Wiki https://github.com/phil-davis/ScreenToGif-Wiki/commit/6a4330138657216d148f8ad09d6b88530ac199af
It is not possible to directly fork a GitHub WiKi and make pull requests. I cloned like described here:
http://stackoverflow.com/questions/10642928/how-to-pull-request-a-wiki-page-on-github

Thank you :D
I'll see if I understand how to merge the wiki contents with Git or I'll merge manually.

There is probably some way to pull a commit from my repo.

Indeed. I'll give it a try tonight.

Done.


Use workon -n or --no-cd

Changed --here option to --no-cd to be similar to https://virtualenvwrapper.readthedocs.io/en/latest/command_ref.html#workon

Changing to use argparse seems good to me - it means that pew workon --help would work. But I'm not sure if changing --here to --no-cdis OK - this will break for people who currently use--here. Obviously, it's not a huge fix for users to change the option name, but is the benefit (partial compatibility with virtualenvwrapper, we still don't support --cd`) worth it?
Maybe this PR could be split in two - the change to argparse (which is fine, IMO) and the argument name change (which may need more discussion)?
@ashwinvis Apologies for the delay in reviewing this PR - are you still interested in working on this?

this will break for people who currently use--here

It is not too late to change it as the --here option is unreleased.

Maybe this PR could be split in two - the change to argparse (which is fine, IMO) and the argument name change (which may need more discussion)?

Let me see if I can split the PR.

Another motivation is --here cannot be shortened as -h as it is already taken up by --help. One would have to go for -e or -r which is not so intuitive I think.

It is not too late to change it as the --here option is unreleased.

Sorry, I've been using a version of pew from master for so long now (because the released version had issues with Python 3.7) that I'd forgotten this fact. Given this, I agree that changing the option name now rather than later makes sense.

I've approved #205 and I'll merge it in a while unless @berdario has any concerns with it. Once that is merged, this PR should become a lot cleaner (at the moment it seems to include the argparse stuff as well as the option name change) and I'll review it then. The only thing I'd say right now is that in the readme, usage: pew workon [-h] [-n] [envname], I'd rather we used the long form of the option, as it's clearer.

@berdario Thanks for merging and feel free to change it to something else if you like. I only want a one letter shorthand for this option. Typing --here everytime is painful.


Example designs reference in PG338 for DPUCZDX8G IP is missing

Hi,
I have noticed the following example designs referred by PG338 are no longer available since the release of Vitis AI 2.5.
https://www.xilinx.com/bin/public/openDownload?filename=DPUCZDX8G.tar.gz
https://www.xilinx.com/bin/public/openDownload?filename=DPUCZDX8G.tar.gz
Cheers

Hi @haoxi1999
I can download the DPUCZDX8G.tar.gz package and the structure of it is the same as before. Could you please point out what is missing in VAI2.5 comparing to VAI2.0 or VAI1.4. Thank you.

I noticed the PG338 is updated few days ago. I think the reference link was updated and is now working! Thanks.


feat(sdk): support nonce and aud in attestation vp

Codecov Report
Attention: Patch coverage is 76.47059% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 89.06%. Comparing base (79a45b9) to head (76c205a).

Files
Patch %
Lines

pkg/openid4ci/issuerinitiatedinteraction.go
76.47%
2 Missing and 2 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #752      +/-   ##
==========================================
+ Coverage   89.03%   89.06%   +0.02%
==========================================
  Files         104      104
  Lines        4516     4528      +12
==========================================
+ Hits         4021     4033      +12
+ Misses        321      320       -1
- Partials      174      175       +1

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


[RFC] Add jplephem based ephemeris.

ToDo:

[ ] Documentation
[x] Testing the actual ephemeris calculations

Current coverage is 86.81%

Merging #7 into master will decrease coverage by -4.01% as of 4f1f569

@@            master      #7   diff @@
======================================
  Files           12      14     +2
  Stmts          229     311    +82
  Branches         9      18     +9
  Methods          0       0
======================================
+ Hit            208     270    +62
  Partial          5       5
- Missed          16      36    +20

Review entire Coverage Diff as of 4f1f569

Powered by Codecov. Updated on successful CI builds.

It might be worthwhile to allow passing an object to target/origin.
Thus, the API would look like this:
ephemeris.rv(origin=earth, ...)
ephemeris.rv(origin=earth.barycenter, ...)

I would propose implement this using a namedtuple:
NAIFID = namedtuple('NAIFID', ['name', 'code'])

The CelestialBody classes would gain two new attributes:
>>> from astrodynamics.bodies import earth
>>> earth.naif_id
NAIFID(name='EARTH', code=399)
>>> earth.barycenter
NAIFID(name='EARTH BARYCENTER', code=3)

The ephemeris code could pass origin and target through a function to extract the integer like so:
origin = get_naif_id(origin)

def get_naif_id(obj):
    if isinstance(obj, CelestialBody):
        return obj.naif_id.code
    elif isinstance(obj, NAIFID):
        return obj.code
    else:
        return obj

Implementation detail:

Should we instantiate a bunch of NAIFID instances?

Then astrodynamics.bodies imports the relevant ones for assigning to earth.naif_id and earth.barycenter
Another thought:

Should tdb require an astropy.time.Time object?

I consider the emphemeris a low-level element that is not part of the user-facing API and therefore would be okay with passing it raw integers and floats. My idea for its integration with the rest of the library looks like this:

The CelestialBody objects get an integer-valued naif_id attribute.
The CelestialBody and State get a wrt method which then calls the ephemeris.

# CelestialBody; returns r & v numpy arrays
def wrt(self, body, t):
    return ephemeris.rv(self.naif_id, body.naif_id, t.jd1, t.jd2)

# State; returns a new State
def wrt(self, body):
    r, v = ephemeris.rv(self.body.naif_id, body.naif_id, self.t.jd1, self.t.jd2)
    return State(r, v, self.t, body, ...)

That makes sense. In that case, should this module move to astrodynamics.lowlevel.ephemerides a la cryptography.hazmat.*?
I think keeping non user-facing API in the lowlevel package will make the user-facing API easier to understand.

I have not thought about this approach, yet. Sounds reasonable though.
@Juanlu001 What do you think?

@helgee @Juanlu001 I think it was mentioned briefly before about any functions that don't use units.

:+1:  from me then.

:+1: from me too!

@helgee Can you create a branch in the main repo? You can still open a pull request to master.
I started writing some documentation, would be good if I could commit to the branch and have it show up in the pull request.

Done. Closing this then.


Make it possible to select schemas

Hi
I think it would be a really useful feature to be able to select different schemas to generate classes for.
There could be an option in the config like schemas: with the default value of public to keep it compatible.
Also, the mappings would need to updated to specify schema of the mapped table.
Here is an example how a valid config could look like:
schemas:
  - public
  - myschema
mappings:
  public.items: Item
  public.mytable: MyClass
  myschema.mytable: MyOtherClass

Of course when selecting a single schema, the mapping keys can be the same as before.

Hi, thanks for opening an issue, so basically we wan't to able to generate class from other schema other than public.
This package actually relies on this rest api endpoint:
<SUPABASE_URL>/rest/v1/?apikey=<SUPABASE_ANON_KEY>

ex.
http://localhost:8000/rest/v1/?
apikey=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE

to get the swagger json and generate class from it.
i tried creating a new schema and a new table from that schema but we can't actually access those using that endpoint as it only gets the public schema. "title":"standard public schema","version":"12.2.3 (519615d)"
Id love to implement this feature but as far as I'm concerned we can't access those. unless there is another way.

Okay, I get it.
Actually I made few searches since your reply.
And it looks like it's possible to generate apis for different schemas, using javascript on the server side.
Then in theory one could create another config file for the new endpoint url.
So it looks like to me that this issue is not in the scope of this project.
I'm closing it. Thanks for the quick reply.


Migrate repo labels to crazy-max/ghaction-github-labeler@v3

Fixes #372.

labeler dry run:
👉 Current labels
- name: A-build
  color: f7e101
  description: 'Area: CI build infrastructure.'
- name: A-content
  color: f7e101
  description: 'Area: Publishing pages.'
- name: A-deps
  color: f7e101
  description: 'Area: Source and library dependencies.'
- name: A-performance
  color: f7e101
  description: 'Area: Performance improvements and optimizations.'
- name: A-project
  color: f7e101
  description: 'Area: Infrastructure for running an open source project.'
- name: A-security
  color: f7e101
  description: 'Area: security vulnerabilities and unsoundness issues.'
- name: A-webapp
  color: f7e101
  description: 'Area: Web frontend for the project site.'
- name: A-webpack
  color: f7e101
  description: 'Area: Webpack configuration.'
- name: C-bug
  color: c1c8ff
  description: 'Category: This is a bug.'
- name: C-docs
  color: c1c8ff
  description: 'Category: Improvements or additions to documentation.'
- name: C-enhancement
  color: c1c8ff
  description: 'Category: New feature or request.'
- name: C-quality
  color: c1c8ff
  description: 'Category: Refactoring, cleanup, and quality improvements.'
- name: C-question
  color: c1c8ff
  description: 'Category: Further information is requested.'
- name: dependencies
  color: 0366d6
  description: Pull requests that update a dependency file
- name: E-easy
  color: 02e10c
  description: 'Call for participation: Experience needed to fix: Easy / not much.'
- name: E-hard
  color: 02e10c
  description: 'Call for participation: Experience needed to fix: Hard / a lot.'
- name: E-help-wanted
  color: 02e10c
  description: 'Call for participation: Help is requested to fix this issue.'
- name: E-medium
  color: 02e10c
  description: 'Call for participation: Experience needed to fix: Medium / intermediate.'
- name: E-needs-test
  color: 02e10c
  description: 'Call for participation: writing correctness tests.'
- name: S-blocked
  color: d3dddd
  description: >-
    Status: marked as blocked ❌ on something else such as other implementation
    work.
- name: S-do-not-merge
  color: d3dddd
  description: 'Status: This pull request should not be merged.'
- name: S-duplicate
  color: d3dddd
  description: 'Status: This issue or pull request already exists.'
- name: S-invalid
  color: d3dddd
  description: 'Status: This issue or pull request is not well-formed.'
- name: S-speculative
  color: d3dddd
  description: 'Status: This is just an idea.'
- name: S-wip
  color: d3dddd
  description: 'Status: This pull request is a work in progress.'
- name: S-wontfix
  color: d3dddd
  description: 'Status: This issue or pull request will not be worked on.'

🏃 Running GitHub Labeler
[dryrun] ✅ Skipping update for 'A-build' label. Same color and description
[dryrun] ✅ Skipping update for 'A-content' label. Same color and description
[dryrun] ✅ Skipping update for 'A-deps' label. Same color and description
[dryrun] ✅ Skipping update for 'A-performance' label. Same color and description
[dryrun] ✅ Skipping update for 'A-project' label. Same color and description
[dryrun] 🎨 Creating 'A-release' label with color 'f7e101' and desc 'Area: crates.io and npmjs.org releases and version bumps.'
[dryrun] 🔨 Updating 'A-security' label with color 'f7e101' and desc 'Area: Security vulnerabilities and unsoundness issues.'
[dryrun] 🔨 Updating 'A-webapp' label with color 'f7e101' and desc 'Area: Web frontend for the playground.'
[dryrun] ✅ Skipping update for 'A-webpack' label. Same color and description
[dryrun] ✅ Skipping update for 'C-bug' label. Same color and description
[dryrun] ✅ Skipping update for 'C-docs' label. Same color and description
[dryrun] ✅ Skipping update for 'C-enhancement' label. Same color and description
[dryrun] ✅ Skipping update for 'C-quality' label. Same color and description
[dryrun] ✅ Skipping update for 'C-question' label. Same color and description
[dryrun] ✅ Skipping update for 'E-easy' label. Same color and description
[dryrun] ✅ Skipping update for 'E-medium' label. Same color and description
[dryrun] ✅ Skipping update for 'E-hard' label. Same color and description
[dryrun] ✅ Skipping update for 'E-help-wanted' label. Same color and description
[dryrun] 🔨 Updating 'E-needs-test' label with color '02e10c' and desc 'Call for participation: Writing correctness tests.'
[dryrun] 🎨 Creating 'S-archive' label with color 'd3dddd' and desc 'Status: This pull request exists to archive an unmerged branch.'
[dryrun] 🔨 Updating 'S-blocked' label with color 'd3dddd' and desc 'Status: Marked as blocked ❌ on something else such as other implementation work.'
[dryrun] ✅ Skipping update for 'S-do-not-merge' label. Same color and description
[dryrun] ✅ Skipping update for 'S-duplicate' label. Same color and description
[dryrun] ✅ Skipping update for 'S-invalid' label. Same color and description
[dryrun] 🎨 Creating 'S-postponed' label with color 'd3dddd' and desc 'Status: This issue or pull request is being postponed until later.'
[dryrun] ✅ Skipping update for 'S-speculative' label. Same color and description
[dryrun] 🎨 Creating 'S-stale' label with color 'd3dddd' and desc 'Status: This PR is stale. Please open a new PR if you'd like to pick this back up.'
[dryrun] ✅ Skipping update for 'S-wip' label. Same color and description
[dryrun] ✅ Skipping update for 'S-wontfix' label. Same color and description
[dryrun] 🔫 Deleting 'dependencies'


why there is no prometheus metrics in v3?

I'm use redisshake v3 to sync data between redis node, that is a nice tool,  I notice restfulapi in v2 including prometheus metric  but why there not found in v3?

There is no support yet, and I have no idea how to design it. Recently, I have a lot of things. It would be better if you can provide a PR.

已经支持


chore: Applied Spotless formatter

Applied formatting rules based on Spotless

Force merging based on review from #24175


MQTT TLS support

Hi
do you currently support MQTT protocol in the esp-idf sdk?
Also I read that there are issue with the sdk with MQTT TLS connection with the Arduino framework related to some problem in the esp-idf is TLS usable?
Do  you have some examples about using MQTT (better if with TLS) with the esp-idf framework?
Thanks
Nicola Lunghi

I have not test it with TLS yet, but this repo seems to be good:
https://github.com/tuanpmt/esp32-mqtt

so I can send
homie/super-car/$homie → "3.x.x" ?

Nice
the project has moved to https://github.com/tuanpmt/espmqtt/
I will test it
Thanks


Ghosts now take the appearance of the dead character's last appearance

Why / Balance
cool little thing
Technical details
observer ghosts remain the same
Media
https://github.com/user-attachments/assets/47581ad5-5908-4b85-badd-a0f78aea30e7
Requirements

[X] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

:cl:

tweak: Ghosts now take the form of the dead character.

i feel like it should just be the ss13 thing where the observer inherits the hair. the full outfit is kinda hard to read with lots of ghosts.

What happens if person gets insta gibbed(like by recycler for example)? Will ghost be just a brain or will it have regular character model?

What happens if person gets insta gibbed(like by recycler for example)? Will ghost be just a brain or will it have regular character model?

They are a brain

i feel like it should just be the ss13 thing where the observer inherits the hair. the full outfit is kinda hard to read with lots of ghosts.

Thats a TG thing, paradise does full character appearance sprites
I do not think we should be taking all our notes from just TG

i feel like it should just be the ss13 thing where the observer inherits the hair. the full outfit is kinda hard to read with lots of ghosts.

maybe instead of the full model, a ghost tail instead of legs to help differentiate the dead and living? I 100% agree that as implemented this would be very hard to read, especially with lots of ghosts

no idea how to do that

im worried about visual clarity, ghosts are good since theyre not too distracting generally when the background is full of clusterfuck

This is one of the things we rly love about baycode and we're really glad to see someone implement it over here

This doesn't actually copy it for any other players which I imagine if this were to be merged is a requirement?

Would something like this be able to be called with a command to get the sprite of the character aka restoring their original characters ghost? I think that was a button that worked on SS13 when if you were a rat for instance, you could restore back your original character sprite and name.

Might want to make this a toggleable option

im worried about visual clarity, ghosts are good since theyre not too distracting generally when the background is full of clusterfuck

theres a button to hide ghosts


Untranslated parts of the Slicer Phenotyping tutorial Slicer version 5.3.0 2023-04-05

[ ] Description and alternative text of these button

[ ] Segment Statistics section

[ ] Segment statistics table result

[ ] Radiomics section
[ ] table of radiomics result

@Papa96108 There are still many parts of Slicer that are not marked for translating yet.
You can review the progress in the following list at https://github.com/Slicer/SlicerLanguagePacks/issues/12 and that not all Slicer scripted modules are marked for translation yet at https://github.com/Slicer/SlicerLanguagePacks/issues/21.

@jamesobutler thanks for jumping in here. We actually asked @Papa96108 to report non-translatable parts of Slicer that are used in specific tutorials that we plan to translate to French. These issues help us to keep track of what still needs to be done.

All the text in the screenshots above is from Python scripted modules. We are still working on the infrastructure that enables Pythong module translation.

@lassoan That's great.

@FatouBintou22 please check if this is completed and if yes then close the issue. Thank you.

[ ] This boxed part is translated into French and must be updated in the Image Phenotyping tutorial

[ ] The untranslated parts mentioned above by @Papa96108  are translated except Radiomics


Setup web server

Set up production web server for gitterra.com:

[x] configure DNS, website and SSL certs
[x] map /api/ to API node server
[x] map /repos/blah... folder to https://gitterra.com/maps/github.com/StartupAPI/users/index.html
[x] properly configure permissions for the generation folder and generation scripts
[ ] configure deployment to be easy to deploy (full CI?)

Deployment is manual for now. I want to keep some control over it before we start using a full CI for it.

Otherwise it's ready to roll: https://gitterra.com/


Update Quora logo to latest 2021 Quora logo design ( size reduced to 498 Bytes)

Quora has recently changed their logo. I have updated this file to the new one. Check any changes needed or not.

Thanks! Sorry for the delay.


[ibex] Fix some Verilog lint errors from inside rv_core_ibex

Well, that was silly. Turns out that foo[W-1:0] - '1 is not the way to write (foo - 1)[W-1:0] (because '1 is the same as {W{1'b1}}). Force push fixes the patch (again) so that we store an int version of foo - 1 and slice it later.

Well, that was silly. Turns out that foo[W-1:0] - '1 is not the way to write (foo - 1)[W-1:0] (because '1 is the same as {W{1'b1}}). Force push fixes the patch (again) so that we store an int version of foo - 1 and slice it later.


[SPARK-30120][ML] Use BoundedPriorityQueue for small dataset in LSH approxNearestNeighbors

What changes were proposed in this pull request?
Use BoundedPriorityQueue for small datasets in LSH.approxNearestNeighbors
Why are the changes needed?
For small datasets, we can get exact result instead of using approxQuantile
Does this PR introduce any user-facing change?
no
How was this patch tested?
Use existing unit tests

cc @zhengruifeng @srowen

Test build #115214 has started for PR 26858 at commit 48a91ee.

Test build #115214 has finished for PR 26858 at commit 48a91ee.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115214/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20026/
Test PASSed.

I am afraid this PR is wrong.

Use BoundedPriorityQueue for small dataset in LSH approxNearestNeighbors

Not for small dataset but for small numNearestNeighbors. Only when numNearestNeighbors is small, we can use a  max-heap (BoundedPriorityQueue) to directly obtain top entries.

@zhengruifeng I think the logic does have to depend on the size of the dataset; you don't want to collect 10M elements to find 10 nearest neighbors. But I do think the priority queue size needs to be numNearestNeighbors, yes, if that's what you mean.

I guess we do not need BoundedPriorityQueue any more, and maybe OK to close this PR?

I think the question here is different from in https://github.com/apache/spark/pull/26948 : is it worthwhile to avoid the distributed operation entirely if the data set is small? It may or may not be faster, but it's more exact. I guess I'm neutral on it, just because it adds some complexity for a little gain, but I am not against it.

I will close this PR. Thanks for reviewing!


Blacklist domain names from being used

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
On some youtube videos I get :
[download] Got error: <urlopen error [Errno -2] Name or service not known>
This seems to happen because of failing (seems to be lithuania problem only, already asked isp that seems to own ip that this domain name leads to)
https://rr1---sn-hxb5oxu-30oe.googlevideo.com
Youtube player takes a while to fallback to working domain name too. But youtube side was solved by firewall blacklisting that domain so youtube falls back to working one instantly.
Is there a way to tell yt-dlp to not use that domain name?
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Invoking http downloader on "https://rr1---sn-hxb5oxu-30oe.googlevideo.com/videoplayback?expi.........."
[download] Got error: <urlopen error [Errno -2] Name or service not known>. Retrying (1/10)...
[download] Got error: <urlopen error [Errno -2] Name or service not known>. Retrying (2/10)...
[download] Got error: <urlopen error [Errno -2] Name or service not known>. Retrying (3/10)...

are you by chance using any ad blockers ?? - https://github.com/yt-dlp/yt-dlp/issues/1941

Not possible, see https://github.com/yt-dlp/yt-dlp/issues/1986

are you by chance using any ad blockers ?? - #1941

Not using pihole. Using opnsense firewall, but:

disabling it leads to same issues
On different internet provider in other city I am having same issue
Know other people with different setups experiencing same youtube video laod problems (presuming they would experience same problem when usind yt-dlp)

Not possible, see #1986

Not possible, see #1986

thanks, will keep an eye on that one.


Add SumDataDouble and SumDataLong

API change to support long typed AggregationData.
This PR depends on #615 and #630, please review those two PRs first and only review the last commit https://github.com/census-instrumentation/opencensus-java/commit/47a60084ec3edcc46b089c9fda04913b0e79c586

Codecov Report

Merging #647 into master will increase coverage by 0.13%.
The diff coverage is 97.34%.

@@             Coverage Diff             @@
##             master    #647      +/-   ##
===========================================
+ Coverage     76.06%   76.2%   +0.13%
- Complexity      716     721       +5
===========================================
  Files           130     130
  Lines          3439    3433       -6
  Branches        320     325       +5
===========================================
  Hits           2616    2616
+ Misses          759     752       -7
- Partials         64      65       +1

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/io/opencensus/stats/BucketBoundaries.java
100% <ø> (ø)
5 <0> (ø)
:arrow_down:

...ain/java/io/opencensus/stats/RpcViewConstants.java
100% <100%> (ø)
2 <0> (ø)
:arrow_down:

...src/main/java/io/opencensus/stats/Aggregation.java
100% <100%> (ø)
1 <0> (ø)
:arrow_down:

...io/opencensus/implcore/stats/MeasureToViewMap.java
96.61% <100%> (+4.94%)
16 <0> (+4)
:arrow_up:

.../io/opencensus/implcore/stats/MutableViewData.java
90.9% <100%> (+0.75%)
14 <1> (+1)
:arrow_up:

...main/java/io/opencensus/stats/AggregationData.java
96.55% <94.44%> (-0.42%)
1 <0> (ø)

.../opencensus/implcore/stats/MutableAggregation.java
97.72% <94.73%> (-0.06%)
1 <0> (ø)

...census/implcore/trace/export/SpanExporterImpl.java
91.66% <0%> (+1.66%)
6% <0%> (ø)
:arrow_down:

...src/main/java/io/opencensus/stats/Measurement.java
100% <0%> (+12.5%)
1% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Coverage increased (+0.2%) to 78.095% when pulling 47a60084ec3edcc46b089c9fda04913b0e79c586 on songy23:aggregation-long into 3002fec5ccc251a9c50dfbfc1e195bd6d2380d15 on census-instrumentation:master.

Rebased, ready for review now.

Coverage increased (+0.08%) to 78.418% when pulling 651f6e83791f7d15623b96c00a99e298bdd9a564 on songy23:aggregation-long into 97b3f3be883b16939f2132037677a7d4c0d96a35 on census-instrumentation:master.

Coverage increased (+0.04%) to 78.38% when pulling 0259e1e339beb4803ad3542adc96e25d885a1289 on songy23:aggregation-long into d9d80779e228a3fc7c40c683ed955ec300f6d03f on census-instrumentation:master.

Merging now, might want to revisit this API change later.


fix(dbm-services): hadb-api docker file fix

关联研发信息
dev_branch: fix/fix_hadb_docker_file/#1927
target_branch: v1.2.0


useSource - "toRefs() expects a reactive object but received a plain one" warning

Describe the bug
Vue warns about using toRefs on object which isn't reactive. It happens for some sources, e.g.: WMS/WMTS and I think it's because props are descructured like here
Affected version(s)
11.2.0
To Reproduce
Check stakblitz with example copied from docs - https://stackblitz.com/edit/vue3-openlayers-template-du4aja?file=src%2Fcomponents%2FTheMap.vue
Expected behavior
No warnings in console, no possible troubles connected with those warnings.
Screenshots

Additional context
Warning about deleting cacheSize also is in console, but it's have separate issue

I was just about to post about this! Thanks for taking it over!

Hi.
I also encounter this problem when I try to use it in Quasar.
[Vue warn] Delete operation on key "cacheSize" failed: target is readonly.


add butten my ticket

add Butten my ticket for panel

feels redundant when people can just check their channel list

Hey, thanks for the suggestion but I agree with Dreamwxve that it's not a great idea for a ticket panel.
While I won't be adding it, I just added the context menu version of the new /tickets command, which is a faster way for users to just right click on their profile and execute the command to see a list of their tickets.
Added in this commit: 273509a


Se modifica logo prodigious y se cambia titulo para los brands por el mismo de techStack

Description
Se modifica titulo de trust by para que sea igual que TechStack

[To obtain the URL, navigate to the ticket on Trello and click on the "Share" button located at the bottom right corner.
Paste between the parentheses: Trello Ticket URL](https://trello.com/c/p0WVILGg/22-update-title-size-of-trust-by)
Checklist
Please ensure that you have completed the following tasks:

[ ] I have performed a self-review of my own code
[ ] I have run npm run lint to automatically fix any linting issues
[ ] I have resolved all linting issues within the files modified in this PR
[ ] I have provided visual evidence of the changes (e.g., screenshots, GIFs, or videos)
[ ] I have added comments to my code, particularly in difficult-to-understand areas
[ ] I have made corresponding updates to the documentation, if necessary
[ ] My changes generate no new warnings in the terminal or browser console

Visual Evidence
Please include any relevant screenshots, GIFs, or videos demonstrating the changes made in this pull request.
Test Coverage (Optional)
If applicable, please attach screenshots of the test coverage report:
Run npm run test:coverage:changed to generate the report
Note: Including test coverage is optional for now, but highly encouraged. (This is a task we will implement soon).

Le hicieron falta las fotos de cómo se ve el UI con sus cambios. Lea bien el template que debe llenar ahora en cada PR. Dice:

Visual Evidence:
Please include any relevant screenshots, GIFs, or videos demonstrating the changes made in this pull request.

Just ahí agrega las fotos de como se ve el UI.


Add an indicator to show the HTTP status of the site.

Show a message if the content is not fetched through HTTPS.

@LogMANOriginal Just wanted to check whether the design was OK with you before merging

This looks very nice to me and works well with the existing style. Well made 👍
Since this is actually indicating the https status between RSS-Bridge and the target site, maybe it makes sense to show the warning in debug mode only. That way a server admin can quickly filter out insecure bridges.  What do you think?
Also, this is to some extend related to #405

Well I am not quite sure here, this is why I wanted your opinion.
I think it may be important for the user to know whether its data are transmitted over a secure connection or not, but it clutters the interface.

however it clutters the interface

The display works fine in my opinion. It's straight forward and even inexperienced users immediately understand what it means. The color gives a nice touch and guides your eyes without being aggressive or breaking the existing design.
Maybe "better safe than sorry" is the way to go here. By always displaying the status every user can choose for themselves and are not under the 'mercy' of the admin :grin:
An admin can still filter out bridges anyway.

Fair enough.
I merge, then.


lxd-ui.pfx does not work on a Mac because of empty password.

When using any browser on a Mac, it uses the OS for certificates. Macos, at least Ventura doesn't allow blank passwords for PFX files. The easy fix would be for the generator on LXD US to prompt for a password when generating the certs, that way the user can type that in when they add it to the MacOS keychain.
I did figure out a workaround...
 Now I have access!

You most likely wanted to file this against the UI repo: https://github.com/canonical/lxd-ui


Support Privacy Manifest files

Privacy Manifests will soon be a requirement for SDKs used in apps launched on the App Store. From https://developer.apple.com/news/?id=3d8a9yyh

At WWDC23, we introduced new privacy manifests and signatures for commonly used third-party SDKs and announced that developers will need to declare approved reasons for using a set of APIs in their app’s privacy manifest. These changes help developers better understand how third-party SDKs use data, secure software dependencies, and provide additional privacy protection for users.
Starting March 13: If you upload a new or updated app to App Store Connect that uses an API requiring approved reasons, we’ll send you an email letting you know if you’re missing reasons in your app’s privacy manifest. This is in addition to the existing notification in App Store Connect.
Starting May 1: You’ll need to include approved reasons for the listed APIs used by your app’s code to upload a new or updated app to App Store Connect. If you’re not using an API for an allowed reason, please find an alternative. And if you add a new third-party SDK that’s on the list of commonly used third-party SDKs, these API, privacy manifest, and signature requirements will apply to that SDK. Make sure to use a version of the SDK that includes its privacy manifest and note that signatures are also required when the SDK is added as a binary dependency.
This functionality is a step forward for all apps and we encourage all SDKs to adopt it to better support the apps that depend on them.

Although MoltenVK isn't included in the initial list of commonly used SDKs, I would expect all SDKs to require privacy manifests in the not too distant future.
See:

https://developer.apple.com/support/third-party-SDK-requirements/
https://developer.apple.com/documentation/bundleresources/privacy_manifest_files
https://developer.apple.com/videos/play/wwdc2023/10060/

There is a list of all APIs which require a reason in the privacy manifest, which you can find here. This, as far as I can tell, doesn't apply to MoltenVK in any way, as Metal or CoreGraphics APIs are not listed. There is also a list of collected data types that need to be listed here, where again, this is only confidential data, files, location, ..., nothing which would apply to MoltenVK.

There is a list of all APIs which require a reason in the privacy manifest, which you can find here.

Thanks for that research.
This looks to be something to be aware of, but since MoltenVK doesn't deal in any of the private user data content that Apple is working to protect, it's unlikely this will become an issue in the near future.


[WISH] Lay explanation how this magic works - maybe a blog post?

Hey @Hirrolot,
I was trying to read the implementation of the metalang99 but steam started going out of my ears.
The problem is 100% or receiving end - I lack understanding of C macros and also functional principles you've applied.
I really enjoyed your last blog  post "Fueled Evaluation for Decidable Type Checking" for its clarity of thought.
It would be really great to have a similar article that explains metalang99 for smallbrain grug [1].
In particular these questions are interesting:

What knowledge of C preporcessor is required even to start understanding Metalang99?
How does it really work?
What is CPS and why was it a solution? Were there any alternatives to a chosen mechanism?
How does CPS solve macro recursion limitation?
How to read metalang99 internals? How to teach it to someone else?
Can I write some other useful abstraction with it? How to approach such a task?

The knowledge is only good if we can re-transmit and reproduce it. Metalang99 probably goes above the head of the average developer.
Thanks a lot!
[1] https://grugbrain.dev/

Thanks for your suggestion! I was thinking about a blog post a while ago, but never really began writing it. I was thinking that an "average developer" should not really know how Metalang99 works under the hood -- for the same reason as they shouldn't know the internals of Clang, GCC, or Boost libraries.
Metalang99 is designed in such a way that it hides its bowels as much as possible (i.e., I tried to avoid abstraction leaking), so I don't think that studying Metalang99's sources is necessary for its successful usage.
On the other hand, you might be interested in actually digging into the implementation. This can be for various reasons, including contributing to Metalang99 or just pure curiosity. In this case, I invite you to begin learning how the recursion engine works -- I left a number of comments covering particular implementation aspects. You'll also find a link to CPS here, which is used as an internal representation of some functional compilers.
Overall, I was relying on already established techniques of preprocessor metaprogramming. They were applied in Boost/Preprocessor, Boost/VMD, and similar libraries a long time ago.
That being said, I think that a blog post is not absolutely necessary, but I'm also not against it. Perhaps one day I will write it, although it's not on my priority list.

I like studying implementations of tools. Especially smaller and less popular ones.
Otherwise I feel like this is an ancient magic artifact made by powerful wizards of the bygone era - it works, but nobody knows how, and nobody knows how to make more of those :D

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
luanht, @uestccokey, @itsbalamurali, @glaksmono, @bogdanmartinescu, @hskang9, @chuongtrh, @van0303, @xiaomihuiben, @nobady90, @shivenmian, @Fors3cDream, @gustavomrs, @ttfaye, @somerb, @dlerario, @calebsylvest, @FlawlessDeveloper, @sealuwee, @jerryleooo

@Hirrolot looks like spam. Report and block.


[BUG] AIO works with cgroups v2 enabled, does not work with cgroups V1

With MicroShift-AIO:
Pods fail to start with cgroups v1 (CentOS 8 Stream)
Containerized CRI-O requires cgroups v2, seems like
Workaround
Run system with cgroups v2
(here's how to enable cgroups v2)
Then, this works:
sudo podman run -d --rm --name microshift --privileged -v microshift-data:/var/lib -p 6443:6443 quay.io/microshift/microshift-aio:latest

@sallyom can we document this in the docs repo?


optimize the regular expression for getting function name

get the correct function name if white space around real name

No CLA found. https://github.com/google/closure-library/blob/master/CONTRIBUTING

Feel free to reopen after signing a CLA


update to extensionsGallery insider for October release

Bumps the language pack version for October release,
Vsixes can be found in this build: https://mssqltools.visualstudio.com/CrossPlatBuildScripts/_build/results?buildId=123492&view=results

@smartguest Typically we should wait until the release branch is cut off before sending this out in case there are last-minute string changes.

this is merged


Specify access control needs to Sanity

Should be able to manage access on specific documents?

We had a meeting with Sanity where our needs were presented. They had solutions for the access control on the Sanity side. What we need in addition is a way to connect Azure AD roles to Sanity roles. Perhaps we can live without that for some time?

Customising desk structure based on user role:
https://gist.github.com/SimeonGriggs/f4954ced2b1313278eaef5feab5ce4c4

SSO – access groups
•	Author – access to create, edit, publish on all sites (editorial team, on duty personell)
•	Loop Author - access to create, edit, publish on the Loop site only
•	Brazil Author - access to create, edit, publish on the Brazil site only
•	Techstar Author - access to create, edit, publish on the Loop site only
•	Equinor Storage Author - access to create, edit, publish on the Equinor Storage site only
•	Equinor Fondene Author - access to create, edit, publish on the Equinor Fondene site only
•	Poland Author - access to create, edit, publish on the Poland site only
•	German Author - access to create, edit, publish on the German site only
•	Japan Author - access to create, edit, publish on the Japan site only
•	Korea Author - access to create, edit, publish on the Korea site only
•	“Any new satellite site” Author
Questions:
•	How to restrict access (per person) for an article, not showing the article (and related assets) for anybody else? Also excluding support system? (Different accesses for different articles - ref. quarterly results)
•	Specific author access for specific pages on the global site – e.g. Careers people updating and publishing their pages.
•	Access handling for the DAM/separate DAMs pr. site/access to one DAM “folder”?
•	How to handle local news (and possibly Loop) publishing accesses in global site? Different options available for the news template, or specific Local news template?
•	How to give access to someone from an agency, without<EMAIL_ADDRESS>email?
•	Should be possible to have more than one access group (e.g. Japan and Korea)

Questions:
• How to restrict access (per person) for an article, not showing the article (and related assets) for anybody else? Also excluding support system? (Different accesses for different articles - ref. quarterly results)

This is more related to authorization, but I believe for articles it should be possible to solve after what Sanity told us in the meeting. For assets I am not sure. Apparently all assets are public once in Sanity. We need to further investigate that.

• Specific author access for specific pages on the global site – e.g. Careers people updating and publishing their pages.

This should be easy to solve

• Access handling for the DAM/separate DAMs pr. site/access to one DAM “folder”?

Also authorization related. Will need further investigation, ref answer above.

• How to handle local news (and possibly Loop) publishing accesses in global site? Different options available for the news template, or specific Local news template?

Authorization. Will be possible to only give access to certain content for certain people.

• How to give access to someone from an agency, without<EMAIL_ADDRESS>email?

They need to get a (restricted) Equinor account

• Should be possible to have more than one access group (e.g. Japan and Korea)

So, you mean belonging to more than one group? That should be possible, yes.

@nilsml - sounds promising :-)

Groups applied for in AccessIT 👍🏻


cargo-bpf: load: don't unload programs too early

This PR fixes a bug where the loader would accidentally get dropped early for programs that don't submit any events, causing programs to get unloaded.
Example program that used to trigger the bug:
#![no_std]
#![no_main]
use redbpf_probes::xdp::prelude::*;

program!(0xFFFFFFFE, "GPL");

#[xdp("block_port")]
pub fn block_port(ctx: XdpContext) -> XdpResult {
    match ctx.transport()? {
        t @ Transport::TCP(_) if t.dest() == 1111 => Ok(XdpAction::Drop),
        _ => return Ok(XdpAction::Pass),
    }

Can confirm this works for programs without maps :)


kube2sky should expose IP-port pairs of the pods

Use case:
Prometheus uses DNS-SD for instance discovery (http://prometheus.io/docs/operating/configuration/). To allow its use with Kubernetes, all Pods should be exposed in DNS.
Current state:
Currently kube2sky exposes only IP:port pairs of the services.
Desired state:
Additional flag should allow kube2sky to expose the pods in the similar way:
$ host -t srv someservice.pod.kubernetes.local
someservice.default.pod.kubernetes.local has SRV record 10 100 80 9gvmk.someservice.default.pod.kubernetes.local.
someservice.default.pod.kubernetes.local has SRV record 10 100 80 akhj2.someservice.default.pod.kubernetes.local.
someservice.default.pod.kubernetes.local has SRV record 10 100 80 8sh3j.someservice.default.pod.kubernetes.local.

I don't know a ton about DNSSD, but everything I know is about SRV.  What
service type are you looking for and how do I know if a pod actually
supports it (and on what port)?  We could, hypothetically, add a way to
declare RFC compatible service types on each port.
Am I misunderstanding?  Where can I read a good overview of dnssd?
We were thinking instead of this, maybe we have a bridge from kubernetes
native API to Prometheus, so we could use the pod events and watch protocol
we already have...
@vishh
On Apr 3, 2015 9:05 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Use case:
Prometheus uses DNS-SD for instance discovery (
http://prometheus.io/docs/operating/configuration/). To allow its use
with Kubernetes, all Pods should be exposed in DNS.
Current state:
Currently kube2sky exposes only IP:port pairs of the services.
Desired state:
Additional flag should allow kube2sky to expose the pods in the similar
way:
$ host -t srv someservice.pod.kubernetes.local
someservice.default.pod.kubernetes.local has SRV record 10 100 80
9gvmk.someservice.default.pod.kubernetes.local.
someservice.default.pod.kubernetes.local has SRV record 10 100 80
akhj2.someservice.default.pod.kubernetes.local.
someservice.default.pod.kubernetes.local has SRV record 10 100 80
8sh3j.someservice.default.pod.kubernetes.local.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437.

DNS-SD is defined here: http://www.ietf.org/rfc/rfc6763.txt
This is the same SRV as kube2sky implements.
I've implemented support for Pods discovery with Pod Watch API method. This doesn't work well although, because changes in the PodStatus are not watchable. So for now I do both - Watch and regular poll. Later polling could be easily removed.

I would not call the RFC a "good overview" :)
On Apr 3, 2015 9:33 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

DNS-SD is defined here: http://www.ietf.org/rfc/rfc6763.txt
This is the same SRV as kube2sky implements.
I've implemented support for Pods discovery with Pod Watch API method.
This doesn't work well although, because changes in the PodStatus are not
watchable. So for now I do both - Watch and regular poll. Later polling
could be easily removed.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89500883
.

Well, okay. Let's not stick to "DNS-SD" name. The simplest example is shown in the issue description. This is enough to run Prometheus.

I am looking for some high level understanding of how it is used without
reading RFCs.  Is there anything special about the records in DNS?  What
srv service type would you want?  What TTL to use for known-transient
records?  Do clients poll DNS?  With what query?
On Apr 3, 2015 9:40 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Well, okay. Let's not stick to "DNS-SD" name. The simplest example is
shown in the issue description. This is enough to run Prometheus.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89502997
.

Prometheus configuration file defines which service you want to monitor. Example:
job {
name: "test-frontend"
scrape_interval: "5s"
sd_name: "test-frontend.default.pod.kubernetes.local"
metrics_path: "/metrics"
}
sd_name points to service you want to monitor.
Every 5 seconds Prometheus queries this domain name with SRV request type. It expects to get list of TXT records in DNS-SD format. Each record corresponds to a host:ip pair to scrape.
Example of response:
test-frontend.default.pod.kubernetes.local has SRV record 10 33 3000 test-frontend-oh43e.og-test-frontend.default.pod.kubernetes.local.
test-frontend.default.pod.kubernetes.local has SRV record 10 33 3000 test-frontend-gziey.og-test-frontend.default.pod.kubernetes.local.
test-frontend.default.pod.kubernetes.local has SRV record 10 33 3000 test-frontend-fplln.og-test-frontend.default.pod.kubernetes.local.
TTL here is a tradeoff between how fast Prometheus will detect started/stopped Pods, and load on the DNS system. TTL is hardcoded to 30 seconds (old kube2sky uses this value as well).
And finally Prometheus queries http://host:ip/metrics to get a text document with key=value or key=map format suitable for recording and analysis.
Have I answered your questions?

Ah, sorry. Second type of DNS query involved is an A-query when hostname is resolved. Example of response:
test-frontend-oh43e.test-frontend.default.pod.kubernetes.local has address <IP_ADDRESS>

DNS names of the pods have format: ...
In case of named ports (recently added feature in Kubernetes): .....

Relevant Prometheus code: https://github.com/prometheus/prometheus/blob/master/retrieval/target_provider.go#L96

Thanks, that helps.  Do you see this service name as something hardcoded in
kubernetes, or as something we determine from a pod spec?
We have a slight problem in namespacing.  Its legit in kubernetes to have
pods and services with the same name.  I will have to think more on this
when I get back early this coming week.
On Apr 4, 2015 8:25 AM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Prometheus configuration file defines which service you want to monitor.
Example:
job {
name: "test-frontend"
scrape_interval: "5s"
sd_name: "test-frontend.default.pod.kubernetes.local"
metrics_path: "/metrics"
}
sd_name points to service you want to monitor.
Every 5 seconds Prometheus queries this domain name with SRV request type.
It expects to get list of TXT records in DNS-SD format. Each record
corresponds to a host:ip pair to scrape.
Example of response:
test-frontend.default.pod.kubernetes.local has SRV record 10 33 3000
test-frontend-oh43e.og-test-frontend.default.pod.kubernetes.local.
test-frontend.default.pod.kubernetes.local has SRV record 10 33 3000
test-frontend-gziey.og-test-frontend.default.pod.kubernetes.local.
test-frontend.default.pod.kubernetes.local has SRV record 10 33 3000
test-frontend-fplln.og-test-frontend.default.pod.kubernetes.local.
TTL here is a tradeoff between how fast Prometheus will detect
started/stopped Pods, and load on the DNS system. TTL is hardcoded to 30
seconds (old kube2sky uses this value as well).
And finally Prometheus queries http://host:ip/metrics to get a text
document with key=value or key=map format suitable for recording and
analysis.
Have I answered your questions?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89594772
.

Service names are just names of the Kubernetes services. For example, if you create service "foo", and you have a pod "bar" which matches service selector of "foo", then you will have DNS name:
bar.foo.default.kubernetes.local. So service names never conflict with pod names. They are subdomains of each other. This allows you to query foo.default.kubernetes.local, and get all matching pods. This is the core idea.
Have a good weekend :)

How does Prometheus get the list of services to query?
On Apr 4, 2015 1:26 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Service names are just names of the Kubernetes services. For example, if
you create service "foo", and you have a pod "bar" which matches service
selector of "foo", then you will have DNS name:
bar.foo.default.kubernetes.local. So service names never conflict with pod
names. They are subdomains of each other. This allows you to query
foo.default.kubernetes.local, and get all matching pods. This is the core
idea.
Have a good weekend :)
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89613287
.

It's manually configured by the user. See a config snippet above. Users
explicitly list services to monitor.
On Sat, Apr 4, 2015, 13:43 Tim Hockin<EMAIL_ADDRESS>wrote:

How does Prometheus get the list of services to query?
On Apr 4, 2015 1:26 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Service names are just names of the Kubernetes services. For example, if
you create service "foo", and you have a pod "bar" which matches service
selector of "foo", then you will have DNS name:
bar.foo.default.kubernetes.local. So service names never conflict with
pod
names. They are subdomains of each other. This allows you to query
foo.default.kubernetes.local, and get all matching pods. This is the core
idea.
Have a good weekend :)
—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89613287
.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89661167
.

Ahh, I see.  That is somewhat unsatisfying.  I want to turn prometheus on
for the whole cluster and have it find ALL pods, not just pods under
services and not just some services.  How do we get there?
Still, DNS-SD might not be so bad for services.  Will need to take a look
at your PR - it is a significant change.
Also, note that pods can slave to multiple services - I am not sure that
collecting stats twice is what you want..
On Apr 4, 2015 5:03 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

It's manually configured by the user. See a config snippet above. Users
explicitly list services to monitor.
On Sat, Apr 4, 2015, 13:43 Tim Hockin<EMAIL_ADDRESS>wrote:

How does Prometheus get the list of services to query?
On Apr 4, 2015 1:26 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Service names are just names of the Kubernetes services. For example,
if
you create service "foo", and you have a pod "bar" which matches
service
selector of "foo", then you will have DNS name:
bar.foo.default.kubernetes.local. So service names never conflict with
pod
names. They are subdomains of each other. This allows you to query
foo.default.kubernetes.local, and get all matching pods. This is the
core
idea.
Have a good weekend :)
—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89613287

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89661167
.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89690682
.

Now if you ask Prometheus to scrape whole kubernetes.local domain, it will
scrape everything. But you are right - some pods may be scraped multiple
times.
For this use case I would provide one more flag to export all pods in a
separate subdomain.
With new architecture it's a very easy change.
On Sat, Apr 4, 2015, 17:15 thockin-cc<EMAIL_ADDRESS>wrote:

Ahh, I see. That is somewhat unsatisfying. I want to turn prometheus on
for the whole cluster and have it find ALL pods, not just pods under
services and not just some services. How do we get there?
Still, DNS-SD might not be so bad for services. Will need to take a look
at your PR - it is a significant change.
Also, note that pods can slave to multiple services - I am not sure that
collecting stats twice is what you want..
On Apr 4, 2015 5:03 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

It's manually configured by the user. See a config snippet above. Users
explicitly list services to monitor.
On Sat, Apr 4, 2015, 13:43 Tim Hockin<EMAIL_ADDRESS>wrote:

How does Prometheus get the list of services to query?
On Apr 4, 2015 1:26 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Service names are just names of the Kubernetes services. For example,
if
you create service "foo", and you have a pod "bar" which matches
service
selector of "foo", then you will have DNS name:
bar.foo.default.kubernetes.local. So service names never conflict
with
pod
names. They are subdomains of each other. This allows you to query
foo.default.kubernetes.local, and get all matching pods. This is the
core
idea.
Have a good weekend :)
—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89613287

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89661167

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89690682
.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89692504
.

What would all pods in a new subdomain do for this?  This will run afoul of
the 64K limit in TXT records before long.
And how do you scrape a whole subdomain - axfr queries?
On Apr 4, 2015 5:51 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Now if you ask Prometheus to scrape whole kubernetes.local domain, it will
scrape everything. But you are right - some pods may be scraped multiple
times.
For this use case I would provide one more flag to export all pods in a
separate subdomain.
With new architecture it's a very easy change.
On Sat, Apr 4, 2015, 17:15 thockin-cc<EMAIL_ADDRESS>wrote:

Ahh, I see. That is somewhat unsatisfying. I want to turn prometheus on
for the whole cluster and have it find ALL pods, not just pods under
services and not just some services. How do we get there?
Still, DNS-SD might not be so bad for services. Will need to take a look
at your PR - it is a significant change.
Also, note that pods can slave to multiple services - I am not sure that
collecting stats twice is what you want..
On Apr 4, 2015 5:03 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

It's manually configured by the user. See a config snippet above. Users
explicitly list services to monitor.
On Sat, Apr 4, 2015, 13:43 Tim Hockin<EMAIL_ADDRESS>wrote:

How does Prometheus get the list of services to query?
On Apr 4, 2015 1:26 PM, "Alexander Lourier" <
<EMAIL_ADDRESS>wrote:

Service names are just names of the Kubernetes services. For
example,
if
you create service "foo", and you have a pod "bar" which matches
service
selector of "foo", then you will have DNS name:
bar.foo.default.kubernetes.local. So service names never conflict
with
pod
names. They are subdomains of each other. This allows you to query
foo.default.kubernetes.local, and get all matching pods. This is
the
core
idea.
Have a good weekend :)
—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89613287

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89661167

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89690682

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89692504
.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89695143
.

SkyDNS returns all entries for a subdomain automatically. I don't need to
do anything special on the kube2sky side.
On Sat, Apr 4, 2015, 17:58 thockin-cc<EMAIL_ADDRESS>wrote:

What would all pods in a new subdomain do for this? This will run afoul of
the 64K limit in TXT records before long.
And how do you scrape a whole subdomain - axfr queries?
On Apr 4, 2015 5:51 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Now if you ask Prometheus to scrape whole kubernetes.local domain, it
will
scrape everything. But you are right - some pods may be scraped multiple
times.
For this use case I would provide one more flag to export all pods in a
separate subdomain.
With new architecture it's a very easy change.
On Sat, Apr 4, 2015, 17:15 thockin-cc<EMAIL_ADDRESS>wrote:

Ahh, I see. That is somewhat unsatisfying. I want to turn prometheus on
for the whole cluster and have it find ALL pods, not just pods under
services and not just some services. How do we get there?
Still, DNS-SD might not be so bad for services. Will need to take a
look
at your PR - it is a significant change.
Also, note that pods can slave to multiple services - I am not sure
that
collecting stats twice is what you want..
On Apr 4, 2015 5:03 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

It's manually configured by the user. See a config snippet above.
Users
explicitly list services to monitor.
On Sat, Apr 4, 2015, 13:43 Tim Hockin<EMAIL_ADDRESS>wrote:

How does Prometheus get the list of services to query?
On Apr 4, 2015 1:26 PM, "Alexander Lourier" <
<EMAIL_ADDRESS>wrote:

Service names are just names of the Kubernetes services. For
example,
if
you create service "foo", and you have a pod "bar" which matches
service
selector of "foo", then you will have DNS name:
bar.foo.default.kubernetes.local. So service names never conflict
with
pod
names. They are subdomains of each other. This allows you to
query
foo.default.kubernetes.local, and get all matching pods. This is
the
core
idea.
Have a good weekend :)
—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89613287

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89661167

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89690682

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89692504

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89695143
.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89695665
.

It's a regular SRV query that does it.
On Sat, Apr 4, 2015, 18:35 Alexandr Lurye<EMAIL_ADDRESS>wrote:

SkyDNS returns all entries for a subdomain automatically. I don't need to
do anything special on the kube2sky side.
On Sat, Apr 4, 2015, 17:58 thockin-cc<EMAIL_ADDRESS>wrote:

What would all pods in a new subdomain do for this? This will run afoul of
the 64K limit in TXT records before long.
And how do you scrape a whole subdomain - axfr queries?
On Apr 4, 2015 5:51 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Now if you ask Prometheus to scrape whole kubernetes.local domain, it
will
scrape everything. But you are right - some pods may be scraped multiple
times.
For this use case I would provide one more flag to export all pods in a
separate subdomain.
With new architecture it's a very easy change.
On Sat, Apr 4, 2015, 17:15 thockin-cc<EMAIL_ADDRESS>wrote:

Ahh, I see. That is somewhat unsatisfying. I want to turn prometheus
on
for the whole cluster and have it find ALL pods, not just pods under
services and not just some services. How do we get there?
Still, DNS-SD might not be so bad for services. Will need to take a
look
at your PR - it is a significant change.
Also, note that pods can slave to multiple services - I am not sure
that
collecting stats twice is what you want..
On Apr 4, 2015 5:03 PM, "Alexander Lourier"<EMAIL_ADDRESS>

wrote:

It's manually configured by the user. See a config snippet above.
Users
explicitly list services to monitor.
On Sat, Apr 4, 2015, 13:43 Tim Hockin<EMAIL_ADDRESS>wrote:

How does Prometheus get the list of services to query?
On Apr 4, 2015 1:26 PM, "Alexander Lourier" <
<EMAIL_ADDRESS>wrote:

Service names are just names of the Kubernetes services. For
example,
if
you create service "foo", and you have a pod "bar" which matches
service
selector of "foo", then you will have DNS name:
bar.foo.default.kubernetes.local. So service names never
conflict
with
pod
names. They are subdomains of each other. This allows you to
query
foo.default.kubernetes.local, and get all matching pods. This is
the
core
idea.
Have a good weekend :)
—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89613287

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89661167

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89690682

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89692504
.

—
Reply to this email directly or view it on GitHub
<https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89695143>
.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89695665
.

I have been discussin g with miekg how to get an A record for foo.bar.local
AND get SRV and A records for x.foo.bar.local with skyDNS - have you solved
that part?
On Apr 4, 2015 6:36 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

It's a regular SRV query that does it.
On Sat, Apr 4, 2015, 18:35 Alexandr Lurye<EMAIL_ADDRESS>wrote:

SkyDNS returns all entries for a subdomain automatically. I don't need to
do anything special on the kube2sky side.
On Sat, Apr 4, 2015, 17:58 thockin-cc<EMAIL_ADDRESS>wrote:

What would all pods in a new subdomain do for this? This will run afoul
of
the 64K limit in TXT records before long.
And how do you scrape a whole subdomain - axfr queries?
On Apr 4, 2015 5:51 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

Now if you ask Prometheus to scrape whole kubernetes.local domain, it
will
scrape everything. But you are right - some pods may be scraped
multiple
times.
For this use case I would provide one more flag to export all pods in
a
separate subdomain.
With new architecture it's a very easy change.
On Sat, Apr 4, 2015, 17:15 thockin-cc<EMAIL_ADDRESS>wrote:

Ahh, I see. That is somewhat unsatisfying. I want to turn prometheus
on
for the whole cluster and have it find ALL pods, not just pods under
services and not just some services. How do we get there?
Still, DNS-SD might not be so bad for services. Will need to take a
look
at your PR - it is a significant change.
Also, note that pods can slave to multiple services - I am not sure
that
collecting stats twice is what you want..
On Apr 4, 2015 5:03 PM, "Alexander Lourier" <
<EMAIL_ADDRESS>

wrote:

It's manually configured by the user. See a config snippet above.
Users
explicitly list services to monitor.
On Sat, Apr 4, 2015, 13:43 Tim Hockin<EMAIL_ADDRESS>wrote:

How does Prometheus get the list of services to query?
On Apr 4, 2015 1:26 PM, "Alexander Lourier" <
<EMAIL_ADDRESS>wrote:

Service names are just names of the Kubernetes services. For
example,
if
you create service "foo", and you have a pod "bar" which
matches
service
selector of "foo", then you will have DNS name:
bar.foo.default.kubernetes.local. So service names never
conflict
with
pod
names. They are subdomains of each other. This allows you to
query
foo.default.kubernetes.local, and get all matching pods. This
is
the
core
idea.
Have a good weekend :)
—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89613287

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89661167

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89690682

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89692504
.

—
Reply to this email directly or view it on GitHub
<https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89695143>
.

—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89695665

.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89698886
.

I'm using two separate subdomains for services and pods. Look at the
README.md in my PR.
On Sun, Apr 5, 2015, 03:43 Tim Hockin<EMAIL_ADDRESS>wrote:

I have been discussin g with miekg how to get an A record for foo.bar.local
AND get SRV and A records for x.foo.bar.local with skyDNS - have you solved
that part?
On Apr 4, 2015 6:36 PM, "Alexander Lourier"<EMAIL_ADDRESS>wrote:

It's a regular SRV query that does it.
On Sat, Apr 4, 2015, 18:35 Alexandr Lurye<EMAIL_ADDRESS>wrote:

SkyDNS returns all entries for a subdomain automatically. I don't need
to
do anything special on the kube2sky side.
On Sat, Apr 4, 2015, 17:58 thockin-cc<EMAIL_ADDRESS>wrote:

What would all pods in a new subdomain do for this? This will run
afoul
of
the 64K limit in TXT records before long.
And how do you scrape a whole subdomain - axfr queries?
On Apr 4, 2015 5:51 PM, "Alexander Lourier"<EMAIL_ADDRESS>

wrote:

Now if you ask Prometheus to scrape whole kubernetes.local domain,
it
will
scrape everything. But you are right - some pods may be scraped
multiple
times.
For this use case I would provide one more flag to export all pods
in
a
separate subdomain.
With new architecture it's a very easy change.
On Sat, Apr 4, 2015, 17:15 thockin-cc<EMAIL_ADDRESS>wrote:

Ahh, I see. That is somewhat unsatisfying. I want to turn
prometheus
on
for the whole cluster and have it find ALL pods, not just pods
under
services and not just some services. How do we get there?
Still, DNS-SD might not be so bad for services. Will need to take
a
look
at your PR - it is a significant change.
Also, note that pods can slave to multiple services - I am not
sure
that
collecting stats twice is what you want..
On Apr 4, 2015 5:03 PM, "Alexander Lourier" <
<EMAIL_ADDRESS>

wrote:

It's manually configured by the user. See a config snippet
above.
Users
explicitly list services to monitor.
On Sat, Apr 4, 2015, 13:43 Tim Hockin<EMAIL_ADDRESS>

wrote:

How does Prometheus get the list of services to query?
On Apr 4, 2015 1:26 PM, "Alexander Lourier" <
<EMAIL_ADDRESS>wrote:

Service names are just names of the Kubernetes services. For
example,
if
you create service "foo", and you have a pod "bar" which
matches
service
selector of "foo", then you will have DNS name:
bar.foo.default.kubernetes.local. So service names never
conflict
with
pod
names. They are subdomains of each other. This allows you to
query
foo.default.kubernetes.local, and get all matching pods.
This
is
the
core
idea.
Have a good weekend :)
—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89613287

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89661167

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89690682

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89692504
.

—
Reply to this email directly or view it on GitHub
<https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#
issuecomment-89695143>
.

—
Reply to this email directly or view it on GitHub
<

https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89695665

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89698886
.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-89700142
.

@thockin @alml Prometheus author here. Just an update: Prometheus 0.14.0 now has a more generic service discovery framework, and also supports Consul and a file-watch-based interface now: http://prometheus.io/blog/2015/06/01/advanced-service-discovery/. We plan on supporting just a few more "native" SD implementations in the future, while users can plug in any other custom SD mechanism via the file-watch interface.
What would be the best service discovery mechanism for Kubernetes? Perhaps it is one that we can add to Prometheus proper.
/cc @fabxc

The API seems to have everything we need form a quick look at the Go client package.
The easiest option would be an external contribution by someone using Kubernetes. The implementations on Prometheus's side are usually done within 300 LOC - knowing the other system is more important.
I'm happy to do it myself at some point but cannot give an ETA.

Frankly, I'd be happy to support DNSSD properly.  We now have very basic
SRV support, but not the PTR and TXT support needed by DNSSD, it seems.
On Sun, Jun 14, 2015 at 2:08 AM, Fabian Reinartz<EMAIL_ADDRESS>wrote:

The API seems to have everything we need form a quick look at the Go
client package
https://godoc.org/github.com/GoogleCloudPlatform/kubernetes/pkg/client.
The easiest option would be an external contribution by someone using
Kubernetes. The implementations on Prometheus's side are usually done
within 300 LOC - knowing the other system is more important.
I'm happy to do it myself at some point but cannot give an ETA.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-111804072
.

In fact I am going to re-title this issue
On Fri, Jun 19, 2015 at 4:04 PM, Tim Hockin<EMAIL_ADDRESS>wrote:

Frankly, I'd be happy to support DNSSD properly.  We now have very basic
SRV support, but not the PTR and TXT support needed by DNSSD, it seems.
On Sun, Jun 14, 2015 at 2:08 AM, Fabian Reinartz<EMAIL_ADDRESS>
wrote:

The API seems to have everything we need form a quick look at the Go
client package
https://godoc.org/github.com/GoogleCloudPlatform/kubernetes/pkg/client.
The easiest option would be an external contribution by someone using
Kubernetes. The implementations on Prometheus's side are usually done
within 300 LOC - knowing the other system is more important.
I'm happy to do it myself at some point but cannot give an ETA.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/6437#issuecomment-111804072
.

I have re-titled this again.  I'm still open to supporting DNS-SD but we could sure use help from anyone who really wants it :)

I guess gravitational is now hosting the main github repo for kube2sky?
Does anyone have any information on PTR support?
I am running a standalone kubernetes cluster with skydns and kube2sky and DNS is extremely slow the reverse lookup is lost in space (~6secs).  tcpdump reveals that the PTR record is the holdup.  I add the PTR record to skydns by hand like this:
curl -XPUT http://<IP_ADDRESS>:4001/v2/keys/skydns/arpa/in-addr/10/0/1/125
-d value='{"host":"service1.example.com}'
and the nslookups are instantaneous.  Any info is greatly appreciated.  Been looking at this for a couple days now.

kube2sky is EOL.  kube-dns is an integrated DNS server and it includes some
PTR support.
https://github.com/kubernetes/kubernetes/tree/master/cmd/kube-dns
root@kubernetes-minion-group-in0t:~# dig @<IP_ADDRESS> +noall +answer
kubernetes.default.svc.cluster.local
kubernetes.default.svc.cluster.local. 14 IN A <IP_ADDRESS>

root@kubernetes-minion-group-in0t:~# dig @<IP_ADDRESS> +noall +answer
kube-dns.kube-system.svc.cluster.local
kube-dns.kube-system.svc.cluster.local. 30 IN A <IP_ADDRESS>

root@kubernetes-minion-group-in0t:~# dig @<IP_ADDRESS> +noall +answer -x
<IP_ADDRESS>
<IP_ADDRESS>.in-addr.arpa. 30 IN PTR kube-dns.kube-system.svc.cluster.local.

we do not have reverse lookups for pods yet.
On Wed, Sep 21, 2016 at 3:29 PM, boxsmiley<EMAIL_ADDRESS>wrote:

I guess gravitational is now hosting the main github repo for kube2sky?
Does anyone have any information on PTR support?
I am running a standalone kubernetes cluster with skydns and kube2sky and
DNS is extremely slow the reverse lookup is lost in space (~6secs). tcpdump
reveals that the PTR record is the holdup. I add the PTR record to skydns
by hand like this:
curl -XPUT http://<IP_ADDRESS>:4001/v2/keys/skydns/arpa/in-addr/10/0/1/125
-d value='{"host":"service1.example.com}'
and the nslookups are instantaneous. Any info is greatly appreciated. Been
looking at this for a couple days now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes/issues/6437#issuecomment-248761415,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALNCDzP5bt9OCpgayh9PQDKKD6ukHWBzks5qsa_LgaJpZM4D6ISW
.

thank you for your quick response and helpful pointer.


Make metronome work with disabled display

There should be an option to choose between active display mode and energy-safe mode

In Active display mode we keep the display on (current behavior)
In energy safe mode we let the display sleep while still continue playing metronome.

Schedule all the notes at metronome start
After the wake up the background worker may be reloaded, and we have to save task completion result in this conditions and do not lose it.

Requires #10


How to resume training from last checkpoint?

I'm getting an estimation of 2 days 17 hours to complete 300 epochs on my custom dataset with yolox-nano. (I was able to train a yolov4Tiny model on the same dataset in 12 hrs.  Is this normal?)  Google colab only allows 24 hours of continuous gpu usage... How do I resume training from my last saved weights?

Please ask questions in the original YOLOX repository.
https://github.com/Megvii-BaseDetection/YOLOX


Incorrect "used before declared" warning for const value

Given the following code:
/* jshint esversion: 6, devel: true */

window.foo = function () {
  alert(x);
};

window.bar = function () {
  alert(x);
};

const x = 1;

I get a single warning: "15: 'x' was used before it was declared, which is illegal for 'const' variables."
The code runs fine. I'm not sure if some people consider this bad style, but either way it doesn't seem to be something JSHint means to enforce, as you get no warning if you comment out either foo or bar.
Tested in v2.9.1.

Thanks for the report! This has been fixed and will be available in the next release of JSHint (post 2.9.1)


Try another visualization library

Recharts is a good choice for the start because it provides Reason typings. But maybe in the long term, there are better options? Typings shouldn't be hard to implement when the library is written in some other strongly typed language like TypeScript.
@adrianmroz recommends these three:

VX
Semiotic
Victory

Vega (https://vega.github.io/vega-lite/docs/tooltip.html) has also cool approach. You could type specification as union of variants/records and feed into single component. One downside is that Vega lacks in customisation department - tooltips are crude and you can use only predefined marks and channels.