Searching images in docker hub

where should be located url for registry ? env ? database ?
only one private registry ?? or maybe public registry also

search endpoint:
https://hub.docker.com/v2/search/repositories/?page=1&query=nginx
{"count": 12102, "next": "https://hub.docker.com/v2/search/repositories/?query=nginx&page=2", "previous": null, "results": [{"star_count": 4282, "pull_count": 453802984, "repo_owner": null, "short_description": "Official build of Nginx.", "is_automated": false, "is_official": true, "repo_name": "nginx"}, {"star_count": 812, "pull_count": 6286969, "repo_owner": null, "short_description": "Automated Nginx reverse proxy for docker containers", "is_automated": true, "is_official": false, "repo_name": "jwilder/nginx-proxy"}, {"star_count": 4, "pull_count": 18986, "repo_owner": null, "short_description": "Nginx container", "is_automated": true, "is_official": false, "repo_name": "webdevops/nginx"}, {"star_count": 54, "pull_count": 48098, "repo_owner": null, "short_description": "Nginx with PHP-FPM", "is_automated": true, "is_official": false, "repo_name": "webdevops/php-nginx"}, {"star_count": 4, "pull_count": 1086633, "repo_owner": null, "short_description": "Nginx Docker images based on Alpine Linux", "is_automated": true, "is_official": false, "repo_name": "1science/nginx"}, {"star_count": 2, "pull_count": 4086, "repo_owner": null, "short_description": "Arch container running nginx", "is_automated": true, "is_official": false, "repo_name": "dock0/nginx"}, {"star_count": 18, "pull_count": 22637, "repo_owner": null, "short_description": "Bitnami nginx Docker Image", "is_automated": true, "is_official": false, "repo_name": "bitnami/nginx"}, {"star_count": 7, "pull_count": 2044, "repo_owner": null, "short_description": "Framework container with nginx installed.", "is_automated": true, "is_official": false, "repo_name": "maxexcloo/nginx"}, {"star_count": 8, "pull_count": 12504, "repo_owner": null, "short_description": "Minimalistic Docker image with Nginx", "is_automated": true, "is_official": false, "repo_name": "evild/alpine-nginx"}, {"star_count": 280, "pull_count": 292562, "repo_owner": null, "short_description": "Container running Nginx + PHP-FPM capable of pulling application code from git", "is_automated": true, "is_official": false, "repo_name": "richarvey/nginx-php-fpm"}]}

details endpoint:
https://hub.docker.com/v2/repositories/library/nginx/
{
user: "library",
name: "nginx",
namespace: "library",
status: 1,
description: "Official build of Nginx.",
is_private: false,
is_automated: false,
can_edit: false,
star_count: 4287,
pull_count: 454978579,
last_updated: "2016-09-23T20:59:45.895991Z",
has_starred: false,
full_description: "# Supported tags and respective Dockerfile links -	1.11.4, mainline, 1, 1.11, latest (mainline/jessie/Dockerfile) -	1.11.4-alpine, mainline-alpine, 1-alpine, 1.11-alpine, alpine (mainline/alpine/Dockerfile) -	1.10.1, stable, 1.10 (stable/jessie/Dockerfile) -	1.10.1-alpine, stable-alpine, 1.10-alpine (stable/alpine/Dockerfile) For more information about this image and its history, please see the relevant manifest file (library/nginx). This image is updated via pull requests to the docker-library/official-images GitHub repo. For detailed information about the virtual/transfer sizes and individual layers of each of the above supported tags, please see the repos/nginx/tag-details.md file in the docker-library/repo-info GitHub repo. # What is Nginx? Nginx (pronounced "engine-x") is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server (origin server). The nginx project started with a strong focus on high concurrency, high performance and low memory usage. It is licensed under the 2-clause BSD-like license and it runs on Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX, as well as on other *nix flavors. It also has a proof of concept port for Microsoft Windows. > wikipedia.org/wiki/Nginx  # How to use this image ## hosting some simple static content console $ docker run --name some-nginx -v /some/content:/usr/share/nginx/html:ro -d nginx  Alternatively, a simple Dockerfile can be used to generate a new image that includes the necessary content (which is a much cleaner solution than the bind mount above): dockerfile FROM nginx COPY static-html-directory /usr/share/nginx/html  Place this file in the same directory as your directory of content ("static-html-directory"), run docker build -t some-content-nginx ., then start your container: console $ docker run --name some-nginx -d some-content-nginx  ## exposing the port console $ docker run --name some-nginx -d -p 8080:80 some-content-nginx  Then you can hit http://localhost:8080 or http://host-ip:8080 in your browser. ## complex configuration console $ docker run --name some-nginx -v /some/nginx.conf:/etc/nginx/nginx.conf:ro -d nginx  For information on the syntax of the Nginx configuration files, see the official documentation (specifically the Beginner's Guide). Be sure to include daemon off; in your custom configuration to ensure that Nginx stays in the foreground so that Docker can track the process properly (otherwise your container will stop immediately after starting)! If you wish to adapt the default configuration, use something like the following to copy it from a running Nginx container: console $ docker cp some-nginx:/etc/nginx/nginx.conf /some/nginx.conf  As above, this can also be accomplished more cleanly using a simple Dockerfile: dockerfile FROM nginx COPY nginx.conf /etc/nginx/nginx.conf  Then, build with docker build -t some-custom-nginx . and run: console $ docker run --name some-nginx -d some-custom-nginx  ### using environment variables in nginx configuration Out-of-the-box, Nginx doesn't support using environment variables inside most configuration blocks. But envsubst may be used as a workaround if you need to generate your nginx configuration dynamically before nginx starts. Here is an example using docker-compose.yml: web: image: nginx volumes: - ./mysite.template:/etc/nginx/conf.d/mysite.template ports: - "8080:80" environment: - NGINX_HOST=foobar.com - NGINX_PORT=80 command: /bin/bash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"  The mysite.template file may then contain variable references like this : listen ${NGINX_PORT};  # Image Variants The nginx images come in many flavors, each designed for a specific use case. ## nginx:<version> This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of. ## nginx:alpine This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general. This variant is highly recommended when final image size being as small as possible is desired. The main caveat to note is that it does use musl libc instead of glibc and friends, so certain software might run into issues depending on the depth of their libc requirements. However, most software doesn't have an issue with this, so this variant is usually a very safe choice. See this Hacker News comment thread for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images. To minimize image size, it's uncommon for additional related tools (such as git or bash) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the alpine image description for examples of how to install packages if you are unfamiliar). # Supported Docker versions This image is officially supported on Docker version 1.12.1. Support for older versions (down to 1.6) is provided on a best-effort basis. Please see the Docker installation documentation for details on how to upgrade your Docker daemon. # User Feedback ## Documentation Documentation for this image is stored in the nginx/ directory of the docker-library/docs GitHub repo. Be sure to familiarize yourself with the repository's README.md file before attempting a pull request. ## Issues If you have any problems with or questions about this image, please contact us through a GitHub issue. If the issue is related to a CVE, please check for a cve-tracker issue on the official-images repository first. You can also reach many of the official image maintainers via the #docker-library IRC channel on Freenode. ## Contributing You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can. Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.",
permissions: {
read: true,
write: false,
admin: false
}
}

https://hub.docker.com/v2/repositories/jwilder/nginx-proxy/

tags :
https://hub.docker.com/v2/repositories/jwilder/nginx-proxy/tags/?page=1&page_size=250
{
count: 5,
next: null,
previous: null,
results: [
{
name: "latest",
full_size: 94238394,
id: 16421,
repository: 16500,
creator: 16805,
last_updater: 16805,
last_updated: "2016-09-25T02:27:28.724729Z",
image_id: null,
v2: true,
platforms: [
5
]
},
{
name: "0.4.0",
full_size: 97722425,
id: 3394383,
repository: 16500,
creator: 16805,
last_updater: 16805,
last_updated: "2016-09-23T21:31:29.507739Z",
image_id: null,
v2: true,
platforms: [
5
]
},
{
name: "0.3.0",
full_size: 97407003,
id: 2926994,
repository: 16500,
creator: 16805,
last_updater: 16805,
last_updated: "2016-09-23T21:28:29.974848Z",
image_id: null,
v2: true,
platforms: [
5
]
},
{
name: "0.1.0",
full_size: 74033184,
id: 729697,
repository: 16500,
creator: 16805,
last_updater: 16805,
last_updated: "2016-03-21T16:58:35.751307Z",
image_id: null,
v2: true,
platforms: [ ]
},
{
name: "0.2.0",
full_size: 73998085,
id: 1098427,
repository: 16500,
creator: 16805,
last_updater: 16805,
last_updated: "2016-03-21T16:55:43.010208Z",
image_id: null,
v2: true,
platforms: [ ]
}
]
}


[Refactor][Minor] Refactor ORCFileAppender  to be consistent with Avro/Parquet

Make OrcFileAppender package private
Remove unused imports from ORC
ORC.WriteBuilder#build now returns FileAppender instead of OrcFileAppender

Closing this as the change involved in more complex. I've filed #127 to address that.


MinorGuiFixes

Fix for bold headers in item details
Match button shadows to their background colors

Seems harmless enough, merging, thanks!


Other image storage mechanisms; i.e. PostgreSQL BYTEA, etc.

Environment

Python version:  3.6
NetBox version:  2.5.8

Proposed Functionality
Image uploads are stored in files. This is OK for many uses, however, makes HA (particularly active/active) complicated.
A somewhat pluggable image storage system would permit options other than just files - I personally would like PostgreSQL BYTEA storage, but perhaps S3-type storage and others would useful.
Note that PostgreSQL large object storage is not suitable, as this is not supported by existing replication systems.
My intent is to submit this issue for discussion, and if accepted, I will put the work in to add this functionality and submit a PR.

Use Case
HA will be more achievable, with database or other cluster-able systems able to store images.

Database Changes
For PostgreSQL storage, either an additional BYTEA "data" column in the ImageAttachment table, or, a new "AttachmentData" table+model with a 1:1 relationship to rows in the ImageAttachment table. A second table would permit different replication, storage, etc. if required by the DBA.
I expect no database changes for other storage systems.

External Dependencies
For PostgreSQL, no.
Other storage system options, probably - but dependant on the storage system.

Image uploads are stored in files. This is OK for many uses, however, makes HA (particularly active/active) complicated.

There are many solutions available for syncing files among multiple instances. Please see #152 for discussion on why we do not store files in the database.

Hi,
Thanks for your feedback and reference to that issue.
There is discussion in that thread about an abstraction layer. Would you mind if I submitted a PR implementing that, so we can build other storage mechanisms (like S3, Swift, etc.)?


⚠ AGEG website (redirect) has degraded performance

In d9af5f2, AGEG website (redirect) (https://ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2166 ms

Resolved: AGEG website (redirect) performance has improved in 60ca577 after 10 minutes.


kata-deploy: Add jailer binary

Add jailer binary to kata-deploy. It allows us to enable jailer
with firecracker.
Latest firecracker has moved the generated binaries to a new
location. Update the scripts to use the new location.
Fixes: #593
Signed-off-by: Manohar Castelino<EMAIL_ADDRESS>

@mcastelino this PR is alredy merged, https://github.com/kata-containers/packaging/pull/594


Support user, orgs and roles

Signed-off-by: Joni Collinge<EMAIL_ADDRESS>

opened by mistake

If you would like to become maintainer let me know.
I have not had the time to give it the love it deserves.

@Sytten hey, I'm just evaluating things at the moment, if I get serious about depending on this proxy then I'll let you know 👍.


LDAP auth failed when username is More than 14 bit

i am using harbor v1.1.1  use LDAP auth, when  username is More than 14 bit such as ext_xinweihan11, it will failed even use the correct password,please check it tks

It should be fixed in the latest release, please try.

I tried 18 character username can work


Add forceDownload

Great! This should be a major version bump, so please:

bump the version to <IP_ADDRESS>
add a ChangeLog entry


Implement some features that can make TI training 6x faster

Cafeai from 東方Project AI used some cool tricks to make TI training 6x faster compared to auto webui. I don't understand them so I don't know if they has been implemented in your repo. If not then can you implement them?
https://github.com/cafeai/stable-textual-inversion-cafe

I guess this commit contributed to the speed improvment
https://github.com/nicolai256/Stable-textual-inversion_win/commit/74c6646acd3876e9493c505ec3ea31530642745b


[2.2] fix: Catalog Rule Created without marketing time and saved, after edit we can see the format issue and also we are unable to save it without marketing dates. #10209

issue #10209 fixed.

Checked and found that the issue has been fixed. Please heck the video for reference.
Video
https://github.com/user-attachments/assets/4e3cbea9-5da6-44ec-a22c-be788479d623


Advantage automation and Add/Reduce advantage macros not working on players' actors

Checklist

[ ] I have disabled GM Toolkit and the issue doesn't happen.
[x ] I have disabled all other modules (except GM Toolkit) and the issue still happens.
[ ] I go not get a Spectator Notification related to actors affected by this issue.
[ ] I can be reached on Discord by my handle: ___ chrys1194

Versions

Foundry VTT:  v11,305
WFRP4e System:  6.5.9
GM Toolkit:   6.0.4
Macro (if applicable):  Add advantage, Reduce advantage

Description
Hi. I am having an issue with GM Toolkit's Advantage handling. Advantage automation and "Add advantage/Reduce Advantage" macros work fine with opponents, but not with players' actors. Is there a setting I am missing? (Foundry vtt 11.305, WFRP 6.5.9, GM Toolkit 6.0.4). Thanks.
What should happen

During combat, all opposed tests won by players' actors should increase their Advantage. Using the Add/Reduce advantage buttons should modifiy their advantage.
What is happening

Steps to reproduce the issue

...
...
etc

Supporting Information

Screen Capture

Modules and Settings

Console Log

Foundry Support Report

The problem was solved when I created a new world in Foundry and imported all the JSON files in the the wolrd. So the marcos works inow in the new world, but still don't in the old one.


faded result using the motion module

Dear authors,
Thanks for the great work!
I noticed that when using my own dreambooth model, there is a clear fading in the generated results (see the comparison below).

Is this because the motion module is not very compatible with my own dreambooth model, and how to avoid it.
Great thanks!

I posted here: https://github.com/guoyww/AnimateDiff/issues/68
because I think that for custom models there might be tag misalignment inside some of the models in contrast to the tag/s used to train the motion models. A slight incompatibility of sorts. At least that's my theory on the matter.

I posted here: #68 because I think that for custom models there might be tag misalignment inside some of the models in contrast to the tag/s used to train the motion models. A slight incompatibility of sorts. At least that's my theory on the matter.

Thanks for the reply! @x-CK-x
Seems the motion module trained with one model may not generalize very well on some other models. When using the suggested "toonyou" model, the results are very stable; but when trying other model using the same prompt and same parameter, the results may fail.
Not sure if the motion module has been finetuned on the "toonyou" models, if not, it is hard to figure out what kind of SD model can work well with this while what cannot.


CI: reduce Cirrus CI usage during wheel builds

Attempt to reduce CI resources during wheel build. Linux build may be able to get away with a single CPU, rather than 4. Putting all macos builds into a single task may save because you save on the duplicated start up time.

The rationale was to minimise startup/teardown time of tasks.


Recursive Endpoint for Self-Referencing and Referencing other Inscriptions, reducing costs, enhanced accessibility and efficiency

Proposal to introduce a new recursive endpoint. This feature would enable inscriptions to reference information about themselves without prior knowledge of the inscription IDm and information about other inscriptions. Thus, significantly reducing costs, optimizing block space usage and reduce transactions load further lowering price globally.
Old command
/̶r̶/̶s̶a̶t̶/̶c̶u̶r̶r̶e̶n̶t̶:̶ ̶O̶u̶t̶p̶u̶t̶s̶ ̶t̶h̶e̶ ̶c̶u̶r̶r̶e̶n̶t̶ ̶i̶n̶s̶c̶r̶i̶p̶t̶i̶o̶n̶'̶s̶ ̶s̶a̶t̶ ̶n̶u̶m̶b̶e̶r̶.̶
̶/̶r̶/̶s̶a̶t̶/̶i̶d̶/̶c̶u̶r̶r̶e̶n̶t̶:̶ ̶O̶u̶t̶p̶u̶t̶s̶ ̶t̶h̶e̶ ̶c̶u̶r̶r̶e̶n̶t̶ ̶i̶n̶s̶c̶r̶i̶p̶t̶i̶o̶n̶'̶s̶ ̶f̶u̶l̶l̶ ̶I̶D̶.̶

Improved command proposed by @RabbiGains-eth
/r/self returning:
{
   inscription_id: 371b1fe39a2f0463008ee1f9ab75e0af7b3d80beeb2be6eb5cfed9d848e48b54i0,
   parent_id: 3518fb0f9112542df40f31d4c7dd6e9366acd8401ce3b4cc9b6f5c00d6d21fb3i0,
   sat_number:<PHONE_NUMBER>3,
   utxo: cb7ca4e9a8c827bbbe4dcc73700b2fda39242c234f2020147d756cc3fe2787f8:2,
   genesis_blockheight: 818927
}

Benefits
Cost Reduction: Up to circa 75% cost savings for inscriptions requiring their sat number or self-reference.
Block Space Efficiency: Potential reduction in transaction and block space usage by up to 33% on such type of inscriptions.
Enhanced Flexibility: Opens up new possibilities for creative and broader applications of inscriptions, decentralized/user mints (always more and more used).
Implementing a recursive endpoint for self-referencing in Bitcoin inscriptions offers significant efficiency improvements and cost reductions, fostering innovation in the use of digital artifacts on the blockchain. I encourage an open discussion with the community and developers to review and if considered valuable, integrate this proposal into ord.
ORDHeavens and RabbiGains - We are all innovating together!

/r/self returns:
{
   inscription_id: 371b1fe39a2f0463008ee1f9ab75e0af7b3d80beeb2be6eb5cfed9d848e48b54i0,
   parent_id: 3518fb0f9112542df40f31d4c7dd6e9366acd8401ce3b4cc9b6f5c00d6d21fb3i0,
   sat_number:<PHONE_NUMBER>3,
   utxo: cb7ca4e9a8c827bbbe4dcc73700b2fda39242c234f2020147d756cc3fe2787f8:2,
   genesis_blockheight: 818927
}

That is much more compact and elegant and you can fetch out all info with a simple command! And with the new tech/protocols we have on ordinals, such a command is becoming very useful compared to months ago when that was not really necessary.

+1 on this

+1 and would be nice to return the current owner wallet address
ex:
{
inscription_id: 371b1fe39a2f0463008ee1f9ab75e0af7b3d80beeb2be6eb5cfed9d848e48b54i0,
parent_id: 3518fb0f9112542df40f31d4c7dd6e9366acd8401ce3b4cc9b6f5c00d6d21fb3i0,
sat_number:<PHONE_NUMBER>3,
utxo: cb7ca4e9a8c827bbbe4dcc73700b2fda39242c234f2020147d756cc3fe2787f8:2,
genesis_blockheight: 818927
owner_address: bc1pju5qh9kqzz7szwyxnys6r22yy08er37dxqf7p54ymygz094yy9vs0890vk
}

Yeah that can avoid the need of having to add another line to fetch for it afterwards!!! Thanks or your contribution @ep150de much appreciated!!

All the fields look except for maybe the owner_address since we don't want to encourage address reuse and stuff like that.

Awesome to get your attention on this @raphjaph. The more general endpoint as you described is definitely more powerful.

Yeah that can avoid the need of having to add another line to fetch for it afterwards!!! Thanks or your contribution @ep150de much appreciated!!

Address could be nice, but I do understand the reuse concerns.
What are some of the use-cases you see for the address field that would not work by using the UTXO location?

@raphjaph would not expect a lesser elegant and powerful command from yourself!
If I understood correctly you would get:
/r/info/<INSCRIPTION_ID> to get any inscription info and you would use /r/info/self to get the current inscription info?
Let me know and will add that to the proposal above!

I was originally thinking if someone wanted to make art derive from an algo seed from the inscription owner wallet, so as the art is traded, some facets and colors or features are changed and determined by the owner wallet address. Allowing the art to evolve or be dynamic based on wallet address. -ep150de
-------- Original message --------From: "RabbiGains.eth" @.> Date: 1/24/24  7:46 AM  (GMT-08:00) To: ordinals/ord @.> Cc: ep150de @.>, Mention @.> Subject: Re: [ordinals/ord] Recursive Endpoint for Self-Referencing
Inscriptions on Bitcoin, reducing costs, enhanced accessibility and efficiency
of the blockchain (Issue #3015)
All the fields look except for maybe the owner_address since we don't want to encourage address reuse and stuff like that.
Awesome to get your attention on this @raphjaph. The more general endpoint as you described is definitely more powerful.
Yeah that can avoid the need of having to add another line to fetch for it afterwards!!! Thanks or your contribution @ep150de much appreciated!!
Address could be nice, but I do understand the reuse concerns.
What are some of the use-cases you see for the address field that would not work by using the UTXO location?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

That can be done with the UTXO which also changes when the ordinal is transferred 🤗 by referencing it you achieve a very similar outcome, or maybe more interesting cause if you send it to your same address you can still have a different outcome 💪

#2628

Hi everyone. I also came here to request something along these lines. Ordinals.com already shows the UTXO "location" of each inscription so I feel like it should be possible to reference this as an end point? e.g. /r/location/<INSCRIPTION_ID> or /r/utxo/<INSCRIPTION_ID>
I also believe that /r/address/<INSCRIPTION_ID> (owner address) would allow for some very interesting behaviour, particularly with regard to collection mechanics. Thank you :)

To implement the functionalities you've outlined, let's provide a more detailed approach to developing the blockchainClient.js, inscriptionController.js, and the web server setup including server.js and routes.js. This implementation will serve as the backbone for creating a web application that interacts with the blockchain to fetch and display Ordinals inscription data based on UTXO location and owner address.### blockchainClient.jsThis file will be responsible for interacting with the blockchain to fetch inscription data. You'll need to utilize a Bitcoin blockchain API or library that supports Ordinals to query inscription details.javascript// blockchainClient.jsconst axios = require('axios'); // Assuming axios for HTTP requestsconst API_BASE_URL = 'https://blockchain-api-service.com'; // Placeholder URLclass BlockchainClient {    async fetchInscriptionData(inscriptionId) {        try {            const response = await axios.get(`${API_BASE_URL}/inscription/${inscriptionId}`);            // Extract UTXO location and owner address from response            const { utxoLocation, ownerAddress } = response.data;            return { utxoLocation, ownerAddress };        } catch (error) {            console.error('Error fetching inscription data:', error);            throw error;        }    }}module.exports = new BlockchainClient();### inscriptionController.jsThis controller will process web requests, interact with the BlockchainClient to fetch inscription data, and respond to the client.javascript// inscriptionController.jsconst blockchainClient = require('./blockchainClient');class InscriptionController {    async getInscriptionDetails(req, res) {        try {            const { inscriptionId } = req.params;            const inscriptionData = await blockchainClient.fetchInscriptionData(inscriptionId);            res.json(inscriptionData);        } catch (error) {            res.status(500).send('Failed to fetch inscription details');        }    }}module.exports = new InscriptionController();### Web Server and RoutingIn this section, you'll set up the web server using Express.js and define the routes to handle the specific queries.javascript// server.jsconst express = require('express');const inscriptionController = require('./controllers/inscriptionController');const app = express();const PORT = process.env.PORT || 3000;// Middlewareapp.use(express.json());// Routesapp.get('/r/location/:inscriptionId', inscriptionController.getInscriptionDetails);app.get('/r/address/:inscriptionId', inscriptionController.getInscriptionDetails);// Start the serverapp.listen(PORT, () => console.log(`Server running on port ${PORT}`));``````javascript// routes.js (Optional, if you prefer to separate routing)const express = require('express');const router = express.Router();const inscriptionController = require('./controllers/inscriptionController');router.get('/r/location/:inscriptionId', inscriptionController.getInscriptionDetails);router.get('/r/address/:inscriptionId', inscriptionController.getInscriptionDetails);module.exports = router;### Integration- Integrate the routes.js with server.js if you've separated the routing logic.- Ensure you have installed all necessary packages (express, axios, etc.) using npm or yarn.- Replace the placeholder blockchain API URL in blockchainClient.js with a real Bitcoin blockchain API service that supports querying Ordinals.This setup provides a basic structure for your application, allowing it to serve requests for Ordinals inscription data based on UTXO location and owner address. Remember to test thoroughly and consider adding error handling and validation as needed.Sent from my iPhoneOn 9. 2. 2024., at 08:53, ZedZeroth @.***> wrote:
What are some of the use-cases you see for the address field that would not work by using the UTXO location?
I can think of MANY really cool ideas if inscriptions could "know" that they were at the same address as each other :)
If this can be implemented it would be amazing IMO :)
My vote if for access to both UTXO and ADDRESS. The other data also look useful although most of it can be found indirectly currently I think? Maybe not parent ID? Thanks
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Apologies if I've misunderstood but this appears to be a nonsensical ChatGPT response?


⚠ Fortnite has degraded performance

In 09235b0, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1626 ms

Resolved: Fortnite performance has improved in 35864e5.


runtime: Export cputicks function

It would be useful, if the runtime.cputicks function could be accessed from a non runtime package. E.g., think of benchmarks code which requires high-resolution timing information.

That would mean that we would have to make it reliable, which it is not.  I think this job could be better served by a third party package.  It's not as though cputicks depends on anything else in the runtime package; it can be implemented independently.

Agreed. I bet it's already in @klauspost's intrinsics package somewhere: http://godoc.org/?q=intrinsics

@bradfitz - unfortunately the intrinsics package isn't functional until some compiler work is done - it is merely "mock" functions.
However @brb, you might be able to do what you want by calling the RTCounter function in my cpuid package.


migrate to clap derive api

Migrates to the Clap Derive API instead of the Builder API.
Upgrades to Clap v4

Anyway to get the colour back in the --help command?


MB-47473: Iterate over byte array while determining an automaton match

Iterate over the byte array of a term (string) to correctly
determine the positions of diacritics while evaluating terms
that qualify a regular expression.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.717%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
471

Relevant Lines:
508

💛  - Coveralls


Fix UI :- Convert CustomProperty html table to antd table

Describe your changes :

Issue :- https://github.com/open-metadata/OpenMetadata/issues/7334#issue-1365963890
Convert html table to antd table

Type of change :

[x] Improvement

Frontend Preview (Screenshots) :

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers
@open-metadata/ui

Please fix cypress


Cannot intialize the experiment that doesn't contain Experiment.json file

Seems like it's happening again

Sorry - the issue is actually different. It actually seems that whenever you open a folder and there is an error, instead of showing what the error actually is, the program simply pops up a dialog box that shows the path to the Experiment.json file. Could you change it so that it shows the actual error message?

This issue has been fixed in the latest github revision. The release has not happened yet.

The fix is available in the latest release.


Add MTGUMA Box Topper

Do you have plans to add MTGUMA Box Topper to the files?
ex: https://www.cardkingdom.com/mtg/ultimate-box-topper

http://mtgjson.com/v4/json/PUMA.json also available in AllCards, AllSets, etc. Enjoy!


Hugepage: Don't check for system setting

madvise still works if hugepages are disabled system wide. It just does not have an effect then.

Do we not use transparent huge pages (https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/performance_tuning_guide/s-memory-transhuge)?

Do we not use transparent huge pages (https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/performance_tuning_guide/s-memory-transhuge)?

We do: https://github.com/hermitcore/uhyve/blob/fd9d2fd54c4561f51d5262a43b91f071af643b87/src/linux/uhyve.rs#L422-L427
But madvise only gives an advise to the kernel. We do not have to check weather the user has disabled transparent hugepages. If the user did explicitly disable it on the system, madvise is ignored, as far as I know (at my system at least).

We do: https://github.com/hermitcore/uhyve/blob/fd9d2fd54c4561f51d5262a43b91f071af643b87/src/linux/uhyve.rs#L422-L427
But madvise only gives an advise to the kernel. We do not have to check weather the user has disabled transparent hugepages. If the user did explicitly disable it on the system, madvise is ignored, as far as I know (at my system at least).

bors r+

bors r+


Third-party registry support

On request of Benno van den Berg.
I'd like to push to a third party registry using Wercker. To be able to do this a security check has to be done using this library.

Are there any updates on this? I would prefer being able to use my own private registry on Wercker. Thanks!


Table upgrade has broken images in web version

Type: Bug Report
Describe the bug

OS and Version: Chrome
VS Code Version: vscode.dev
Extension Version: main
Target Device: NA
Other extensions you installed (and if the issue persists after disabling them): NA
A clear and concise description of what the bug is.

Since switching to the new table engine (I assume in https://github.com/eclipse-cdt-cloud/vscode-peripheral-inspector/pull/32) all icons in the tree have disappeared (e.g. open/close carat and inline actions)
To Reproduce
Steps to reproduce the behavior:

Run the extension in a browser debug session

Expected behavior

All icons appear in the browser version similar to the desktop version
Screenshots

Additional context

Looked into this a little bit and its a problem with loading the css file:

It looks like this repo uses exactly the same pattern as used in the memory-inspector (which works fine), so it could be an artefact of running this in local development mode.
I'm happy to do a release from main and see if it works when served properly from the marketplace.

Confirmed the memory inspector shows similar issues in the web in development mode, but is fine in production.

As this is a minor issue which only affects development in the web version, I'm closing it.


Question about django admin login

Excuse me, after the authentication is switched to django-siwe-auth, what should I do for the django admin login?

Ah, that's a tricky one @qingfeng. I'll create a separate ticket to hopefully override the admin login page (I believe that's doable)...
What I have done until then is:

Set your user in the DB to be an admin
Authenticate with your app's login screen (non-admin page) so that you have a session token
Go to the admin login page and you should already be authenticated given the session token

In development, I've done most of my model changes in a python shell or on the database directly instead of via the admin panel.

OK

I need to complete wallet connect first
Set the user as superuser in the database and set a password
I will visit the admin login page to log in again

That's the way to go, right?


Alpha is ignored

This is for bugs only
Did you already ask in the discord?
Yes
You verified that this is a bug and not a feature request or question by asking in the discord?
Yes
Describe the bug
When setting linear alpha it still builds a 128 dim and 128 alpha network which is either a bug in the log or it ignores alpha value which would be a major bug.
"type": "sd_trainer",
"training_folder": "output",
"device": "cuda:0",
"network": {
"type": "lora",
"linear": 128,
"linear_alpha": 1,
"network_kwargs": {
"only_if_contains": [
"transformer.single_transformer_blocks.2.proj_out",
"transformer.single_transformer_blocks.20.proj_out",
"transformer.single_transformer_blocks.7.proj_out"
create LoRA network. base dim (rank): 128, alpha: 128

Same question happened to me.

As a temporary work around, you can set it on lines 24,25 of assistant_lora.py  it then takes those values and ignores the config file

For flux, alpha is currently ignored as it is saved in diffusers format which does not have an alpha.


"Bocșa" , "Borla" , "Câmpia" , "Sălăjeni" are listed in the drop-down menu

Description:
When user writes "Bocșa" , "Borla" , "Câmpia" , "Sălăjeni" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Bocșa"

Expected results
The location appears in the drop-down menu as "Sat Bocșa, SĂLAJ (Bocșa)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Borla"

Expected results
The location appears in the drop-down menu as "Sat Borla, SĂLAJ (Bocșa)".

Step 5
Write in the search bar "Câmpia"

Expected results
The location appears in the drop-down menu as "Sat Câmpia, SĂLAJ (Bocșa)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Sălăjeni"

Expected results
The location appears in the drop-down menu as "Sat Sălăjeni, SĂLAJ (Bocșa)".


Missing Super-Resolution-BSD500

Is there a way to get network/Super-Resolution-BSD500/super_resolution_bsd500.onnx?

Hi @tolysz , you can download it from https://nvidia.box.com/shared/static/a99l8ttk21p3tubjbyhfn4gh37o45rn8.gz
I just set it up to be downloaded automatically by the repo in commit 05790c.


Implicit conversion from Scala Function to MetricFilter.

Hey,
I've added an implicit conversion from a Scala Function to a MetricFilter.
@erikvanoosten what do you think about that?

Nice!
Would you like to write some documentation and tests also?

Sure. The method is trivial, but tests might be useful to guard from regressions.

Hi @maciej, are you still interested in writing docs and tests?

Hi @erikvanoosten, yes! I was even wondering why you haven't looked at the PR after I updated it with tests. Let me write the docs sometime next week and I'll update it!

O wow, that is silly. I had not noticed that. Sorry for that. I'll take a look tomorrow. Thanks!

I guess we need two tests. One tests that implicit conversion works (if it compiles it's already good), the other tests that the function is called when you call the wrapper. The latter could be done with a mock.
There is no need to test anything from metrics-core.

BTW, don't hurry. I'll be off the grid for some time

Hey @erikvanoosten! I've added the second test you asked for. I'm not sure where to mention it in the documentation, though.

Hi @maciej , could you please review my changes? They're in commit 188aa89f345e100364eeffdb81a5941fbc8bc6a1. Thanks!

@erikvanoosten changes look great! I have to say you write great documentation! Thanks you for your help with completing this PR!

Thanks for your kind words @maciej. I'll try to find some time to release 3.5.1 next weekend.


synchronize schema spec

What
APM agent json schema automatic sync
Why
Changeset

https://github.com/elastic/apm-server/commit/b470c3bdf Change Service metrics txn events txn metrics (https://github.com/elastic/apm-server/pull/9819)

:grey_exclamation: Build Aborted

Either there was a build timeout or someone aborted the build.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-12-27T12:59:38.510+0000

Duration: 93 min 59 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
3037

Skipped
36

Total
3073

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


Create command line clients

We need to discuss whether or not this should be in scope for this library.

What is the potential use case?

Similar to the command line clients in libtaxii or cabby.
I'm not convinced they will be needed, but I wanted a place to at least put the idea down, so people can express support for the idea (or say it's a bad idea).


⚠ Bofrost.at has degraded performance

In f8ed684, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 983 ms

Resolved: Bofrost.at performance has improved in 252f56f after 7 minutes.


[SPARK-10984] [WIP] Simplify *MemoryManager class structure

This patch refactors the MemoryManager class structure. After #9000, Spark had the following classes:

MemoryManager
StaticMemoryManager
ExecutorMemoryManager
TaskMemoryManager
ShuffleMemoryManager

This is fairly confusing. To simplify things, this patch consolidates several of these classes:

ShuffleMemoryManager and ExecutorMemoryManager were merged into MemoryManager.
TaskMemoryManager is moved into Spark Core.

This patch is currently a work-in-progress; the remaining TODOs:

[x] Merge ExecutorMemoryManager into MemoryManager.

Move pooling logic into Allocator.

[x] Move TaskMemoryManager from spark-unsafe to spark-core.
[x] Refactor the existing Tungsten TaskMemoryManager interactions so Tungsten code use only this and not both this and ShuffleMemoryManager.
[x] Refactor non-Tungsten code to use the TaskMemoryManager instead of ShuffleMemoryManager.
[ ] Merge ShuffleMemoryManager into MemoryManager.

[x] Move code
[ ] Simplify 1/n calculation. Will defer to followup, since this needs more tests

[ ] Port ShuffleMemoryManagerSuite tests.
[x] Move classes from unsafe package to memory package.
[ ] Misc. docs and cleanup.

Compatiblity notes:

This patch introduces breaking changes in ExternalAppendOnlyMap, which is marked as @DevloperAPI (likely for legacy reasons): this class now cannot be used outside of a task. I also marked this class as non-DeveloperAPI.

Merged build triggered.

Merged build started.

Test build #43753 has started for   PR 9127 at commit 25ba4b5.

Test build #43753 has finished for   PR 9127 at commit 25ba4b5.

This patch fails MiMa tests.
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/43753/
Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #43789 has started for   PR 9127 at commit 25ba4b5.

Test build #43789 has finished for   PR 9127 at commit 25ba4b5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

Build triggered.

Build started.

Test build #43858 has started for   PR 9127 at commit 8f93e94.

Merged build triggered.

Merged build started.

Test build #43862 has started for   PR 9127 at commit 3bbc54d.

Test build #43858 has finished for   PR 9127 at commit 8f93e94.

This patch fails MiMa tests.
This patch does not merge cleanly.
This patch adds no public classes.

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

Build finished. Test FAILed.

Test build #43862 has finished for   PR 9127 at commit 3bbc54d.

This patch fails MiMa tests.
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/43862/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #43866 has started for   PR 9127 at commit ec48ff9.

Test build #43866 has finished for   PR 9127 at commit ec48ff9.

This patch fails MiMa tests.
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/43866/
Test FAILed.

Merged build triggered.

Merged build started.

Merged build triggered.

Merged build started.

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/43874/
Test FAILed.

Test build #43875 has started for   PR 9127 at commit 7d6a37f.

Test build #43875 has finished for   PR 9127 at commit 7d6a37f.

This patch fails Scala style tests.
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/43875/
Test FAILed.

Alright, the first part of this change should be ready for review. At this point, there are a number of remaining small tasks for updating mocks which are used in unit tests, but the basic "client" APIs for interacting with the memory managers have been sketched out. Please take a look at those and provide feedback on whether the new, combined interfaces make sense. Once we agree on those interfaces, we can loop back and do a second review pass looking at the test refactoring code.

Merged build triggered.

Merged build started.

Test build #44170 has started for PR 9127 at commit f21b767.

Test build #44170 has finished for PR 9127 at commit f21b767.

This patch fails Scala style tests.
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/44170/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #44171 has started for PR 9127 at commit 46ad693.

Merged build triggered.

Merged build started.

Test build #44173 has started for PR 9127 at commit d86f435.

Merged build triggered.

Merged build started.

Test build #44174 has started for PR 9127 at commit bba5550.

Merged build triggered.

Merged build started.

Test build #44178 has started for PR 9127 at commit 66ae259.

Test build #44171 has finished for PR 9127 at commit 46ad693.

This patch fails Spark unit tests.
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/44171/
Test FAILed.

Test build #44173 has finished for PR 9127 at commit d86f435.

This patch fails Spark unit tests.
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/44173/
Test FAILed.

Test build #44174 has finished for PR 9127 at commit bba5550.

This patch fails Spark unit tests.
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/44174/
Test FAILed.

Test build #44178 has finished for PR 9127 at commit 66ae259.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #44189 has started for PR 9127 at commit c8ba196.

Test build #44189 has finished for PR 9127 at commit c8ba196.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #44191 has started for PR 9127 at commit 6ec9c30.

Test build #44191 has finished for PR 9127 at commit 6ec9c30.

This patch fails to build.
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/44191/
Test FAILed.

Merged build triggered.

Merged build started.

Merged build triggered.

Merged build started.

Test build #44194 has started for PR 9127 at commit f9240e9.

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/44192/
Test FAILed.

Test build #44194 has finished for PR 9127 at commit f9240e9.

This patch fails Scala style tests.
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/44194/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #44202 has started for PR 9127 at commit a95bc08.

Test build #44202 has finished for PR 9127 at commit a95bc08.

This patch fails Scala style tests.
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/44202/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #44203 has started for PR 9127 at commit b3ad761.

Test build #44203 has finished for PR 9127 at commit b3ad761.

This patch fails Scala style tests.
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/44203/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #44205 has started for PR 9127 at commit a7e8320.

Merged build triggered.

Merged build started.

Test build #44209 has started for PR 9127 at commit e874a45.

Test build #44205 has finished for PR 9127 at commit a7e8320.

This patch fails Spark unit tests.
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/44205/
Test FAILed.

Test build #44209 has finished for PR 9127 at commit e874a45.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

The high level refactoring looks good. Once you make it pass tests and address the remaining comments (all of which are minor) I will merge this. Thanks for all your work on this @JoshRosen.

Merged build triggered.

Merged build started.

Test build #44253 has started for PR 9127 at commit 04ec429.

Test build #44253 has finished for PR 9127 at commit 04ec429.

This patch fails to build.
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/44253/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #44255 has started for PR 9127 at commit e56d039.

Test build #44255 has finished for PR 9127 at commit e56d039.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #44261 has started for PR 9127 at commit aa14113.

Test build #44261 has finished for PR 9127 at commit aa14113.

This patch fails Spark unit tests.
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/44261/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #44269 has started for PR 9127 at commit 5af0b17.

Merged build triggered.

Merged build started.

Test build #44274 has started for PR 9127 at commit a264703.

Test build #44269 has finished for PR 9127 at commit 5af0b17.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #44274 has finished for PR 9127 at commit a264703.

This patch fails Spark unit tests.
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/44274/
Test FAILed.

This PR is logically blocked on #9260.

Merged build triggered.

Merged build started.

Test build #44290 has started for PR 9127 at commit 0b5c72f.

Test build #44290 has finished for PR 9127 at commit 0b5c72f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #44326 has started for PR 9127 at commit f68fdb1.

Test build #44326 has finished for PR 9127 at commit f68fdb1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/44326/
Test PASSed.

Woohoo, this passes tests!
There are still a few minor follow-up tasks that I'd like to do for this, but I'm going to defer them to separate patches: this patch is fairly large and has conflicts with several other memory-management-related patches that are in-flight or which will be opened soon. @andrewor14, if you have any post-hoc review comments, I'll handle them in a followup. @davies, this should unblock your open patch.
Merging to master.

I filed https://issues.apache.org/jira/browse/SPARK-11309 as one followup.

@JoshRosen Great, thanks!


[Regressions] ThunderFX is slower than 2 weeks ago for 2 models

🐛 Bug
Recently found regressions:

To Reproduce
All parameters to benchmark_litgpt.py are visible in the attached image.
Environment
Tested on pjnl-20241122 (as in the Latest image date in the screenshot).
system.device_product_name                      DGXH100
system.gpu_driver_version                    535.129.03
libraries.cuda                               <IP_ADDRESS>
libraries.pip.lightning               2.4.0.dev20240728
libraries.pip.lightning-thunder              0.2.0.dev0
libraries.pip.lightning-utilities                0.11.9
libraries.pip.litgpt                             0.4.11
libraries.pip.nvfuser                 0.2.23+gitb5e5182
libraries.pip.pytorch-lightning                   2.4.0
libraries.pip.torch                  2.6.0a0+gitecf3bae
libraries.pip.torchao                             0.6.1
libraries.pip.torchmetrics                        1.6.0
libraries.pip.torchvision              0.19.0a0+d23a6e1

To my mind, this seems to be fundamentally "memory use" and not "compute perf" if the batch size needed to be lowered.


Find a way to configure the amount of RAM

https://dzone.com/articles/java-inside-docker-what-you-must-know-to-not-fail

We can configure the memory usage at different levels:

Docker virtual machine: the physical machine memory or specified by docker-machine create -d virtualbox  –virtualbox-memory ‘1024’ docker1024
Docker container: docker run ... -m 150M ... option, this gives 150M in RAM and 150M in SWAP
JVM/application: default JVM heap size is 1/4 of the physical memory (docker virtual machine here), can be configured with -Xmx JAVA_OPTION

If we don’t specify explicitly the max JVM heap that app is allowed to use by -Xmx option, the application could try to allocate more memory than the max memory of the container.

In Liberty, memory options can be set in jvm.options file.
More details here: http://www-01.ibm.com/support/docview.wss?uid=swg21596474
In Liberty Docker image, setting these options by passing environment variables is not yet supported: https://github.com/WASdev/ci.docker/issues/112

JVM_ARGS can be used to pass jvm arguments to liberty profile.
For example: docker run -e JVM_ARGS='-Xmx100m' websphere-liberty

The memory unit used in Kubernetes could be "Mi" or "M" but in the java options only "M" is allowed, otherwise the option is ignored.


feat: customize Http Signature response template

gravitee-io/issues#6319

Gravitee.io Automatic Deployment
Congrats, all the CI steps were 🟢 . The Bot was able to deploy the build of this PR, so you can now try it directly here! 🚀
Notes: The deployed app is linked to the management API of the Element Zero team's environment.


Machines metrics are missing

Description
Observed Behavior:
When I try to get the Machine Metrics  in /metrics route I can't see machine metrics like karpenter_machines_created
Expected Behavior:
All machines metrics available
Reproduction Steps (Please include YAML):
I've managed to reproduce this problem like so:
apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
metadata:
  name: test
spec:
  requirements:
    - key: "kubernetes.io/arch"
      operator: In
      values: ["amd64"]
    - key: "karpenter.sh/capacity-type"
      operator: In
      values: ["on-demand"]
    - key: eks.amazonaws.com/capacityType
      operator: In
      values: ["ON_DEMAND"]
    - key: "topology.kubernetes.io/zone"
      operator: In
      values: ["sa-east-1a", "sa-east-1b", "sa-east-1c"]
  labels:
    eks.amazonaws.com/capacityType: ON_DEMAND
    vpc.amazonaws.com/has-trunk-attached: "false"
  limits:
    resources:
      cpu: "20"
      memory: 80Gi
  providerRef:
    name: aws-test
  kubeletConfiguration:
    cpuCFSQuota: false
  consolidation:
    enabled: true
  ttlSecondsUntilExpired: 432000
  weight: 10

apiVersion: karpenter.k8s.aws/v1alpha1
kind: AWSNodeTemplate
metadata:
  name: aws-test
spec:
  subnetSelector:
    aws-ids: <sub-id>
  securityGroupSelector:
    aws-ids: <sg-id>
  tags:
    karpenter.sh/discovery: <cluster-name>
  amiFamily: AL2
  userData:  |
    [settings.kubernetes]
    allowed-unsafe-sysctls = ["net.ipv4.tcp_keepalive_time","net.ipv4.tcp_keepalive_intvl","net.ipv4.tcp_keepalive_probes"]
    [settings.kernel.sysctl]
    "net.core.rmem_default" = "31457280"
    "net.core.wmem_default" = "31457280"
    "net.core.wmem_max" = "33554432"
    "net.core.somaxconn" = "65535"
    "net.core.netdev_max_backlog" = "65536"
    "net.core.optmem_max" = "25165824"
    "net.ipv4.tcp_mem" = "786432 1048576 26777216"
    "net.ipv4.tcp_rmem" = "8192 87380 33554432"

Versions:

Chart Version: v0.29.2
Kubernetes Version (kubectl version): v1.25.2

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

I am able to see the metrics, but it does look like they are not initialized to 0, so you'd only see these if Karpenter has created a machine.
> karpenter git:(main) kubectl port-forward svc/karpenter -n karpenter 8000:8000
Forwarding from <IP_ADDRESS>:8000 -> 8000
Forwarding from [::1]:8000 -> 8000

Before Scaling:
> curl -s <IP_ADDRESS>:8000/metrics | grep karpenter_machines_created

After Scaling:
> curl -s <IP_ADDRESS>:8000/metrics | grep karpenter_machines_created
# HELP karpenter_machines_created Number of machines created in total by Karpenter. Labeled by reason the machine was created and the owning provisioner.
# TYPE karpenter_machines_created counter
karpenter_machines_created{provisioner="default",reason="provisioning"} 1

To add to what @bwagner5 said: this is the expected behavior for prometheus counter metrics. They aren't surfaced at the metric server until they are fired at least once.

Thanks @bwagner5!
The metric is working!!


Invariant Violation: new NativeEventEmitter() requires a non-null argument.

Report
Plugin Version
6.6.0
On what Platform are you having the issue?
expo managed workflow, trying to run on ios simulator
What did you do?
Followed the expo managed workflow instructions. Created minimal example based on your own expo demo app I found over here:
https://github.com/ddinchev/expo-managed-appsflyer
In my repo, the changes are all contained in a single commit (after generating expo managed workflow app with expo cli):
https://github.com/ddinchev/expo-managed-appsflyer/commit/fb0cf206466ae5081094684db85225f405a4760a
Checkout my example repo and do:
npm install
npm start

I tried to run the app in iOS emulator (press i).
What did you expect to happen?
The app to run.
What happened instead?

Invariant Violation: `new NativeEventEmitter()` requires a non-null argument.
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:4 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:141:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/@react-native/polyfills/error-guard.js:49:36 in ErrorUtils.reportFatalError
at node_modules/metro-runtime/src/polyfills/require.js:203:6 in guardedLoadModule
at http://<IP_ADDRESS>:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:121008:3 in global code

Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:4 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:141:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/@react-native/polyfills/error-guard.js:49:36 in ErrorUtils.reportFatalError

Please provide any other relevant information.
Again, my minimal example should make it easy to reproduce, at least on a Mac:
https://github.com/ddinchev/expo-managed-appsflyer

@ddinchev it happens because you are trying to run your app using Expo Go app which is not compatible with custom native code build. you need to build your own custom build with expo run:ios and then it will work

Thank you. It would be nice if these details are clearly stated in the docs. As well as conditionally import appsflyer sdk so that you can keep using expo go for development and quick testing, without appsflyer attribution & tracking.

@ddinchev did you get this working?
My company is considering switching attribution partners and it'd be great to have some assurance this works before committing to the switch. But so far there's just another issue (that remains open) that says they added this config plugin=

It works fine. If you want to use Expo Go for development, you can do a conditional require as explained here:
https://docs.expo.dev/bare/using-expo-client/
You can write a dummy dev implementation of the appsflyer API for development (expo go).

This issue occurs for me even though I am using a "development build" - not Expo Go - I ran npx expo run:ios to launch the app and I get the exact same error.  I am on react-native-appsflyer 6.15.1.


SOCKS proxy support

Implements  #402.
I adapt the public domain version of socks.py proposed by @bluec0re at https://github.com/rg3/youtube-dl/pull/305#issuecomment-59928217.
To run test_socks.py, you need to run two SOCKS server on two different public IPs. For example, create test/local_parameters.json with the following contents:
{
    "primary_proxy": "socks5://<IP_ADDRESS>/",
    "primary_server_ip": "server1_ip",
    "secondary_proxy": "socks5://<IP_ADDRESS>:1090/",
    "secondary_server_ip": "server2_ip"
}

And then run two SSH servers: ssh server1_ip -D 1080, ssh server2_ip -D 1090
(The step numbers are going wrong - blame Github Flavored Markdown :) )
And my test results:
$ bash pythons.sh test/test_socks.py -v
+ for interp in python2.6 python2.7 python3.2 python3.3 python3.4 python3.5 python3.6 pypy pypy3 jython
+ which python2.6
+ python2.6 -W error test/test_socks.py -v
test_proxy_http (__main__.TestSocks) ... ok
test_proxy_https (__main__.TestSocks) ... ok
test_secondary_proxy_http (__main__.TestSocks) ... ok
test_secondary_proxy_https (__main__.TestSocks) ... ok

----------------------------------------------------------------------
Ran 4 tests in 4.722s

OK
+ for interp in python2.6 python2.7 python3.2 python3.3 python3.4 python3.5 python3.6 pypy pypy3 jython
+ which python2.7
+ python2.7 -W error test/test_socks.py -v
test_proxy_http (__main__.TestSocks) ... ok
test_proxy_https (__main__.TestSocks) ... ok
test_secondary_proxy_http (__main__.TestSocks) ... ok
test_secondary_proxy_https (__main__.TestSocks) ... ok

----------------------------------------------------------------------
Ran 4 tests in 4.097s

OK
+ for interp in python2.6 python2.7 python3.2 python3.3 python3.4 python3.5 python3.6 pypy pypy3 jython
+ which python3.2
+ python3.2 -W error test/test_socks.py -v
test_proxy_http (__main__.TestSocks) ... ok
test_proxy_https (__main__.TestSocks) ... ok
test_secondary_proxy_http (__main__.TestSocks) ... ok
test_secondary_proxy_https (__main__.TestSocks) ... ok

----------------------------------------------------------------------
Ran 4 tests in 4.108s

OK
+ for interp in python2.6 python2.7 python3.2 python3.3 python3.4 python3.5 python3.6 pypy pypy3 jython
+ which python3.3
+ continue
+ for interp in python2.6 python2.7 python3.2 python3.3 python3.4 python3.5 python3.6 pypy pypy3 jython
+ which python3.4
+ continue
+ for interp in python2.6 python2.7 python3.2 python3.3 python3.4 python3.5 python3.6 pypy pypy3 jython
+ which python3.5
+ python3.5 -W error test/test_socks.py -v
test_proxy_http (__main__.TestSocks) ... ok
test_proxy_https (__main__.TestSocks) ... ok
test_secondary_proxy_http (__main__.TestSocks) ... ok
test_secondary_proxy_https (__main__.TestSocks) ... ok

----------------------------------------------------------------------
Ran 4 tests in 4.035s

OK
+ for interp in python2.6 python2.7 python3.2 python3.3 python3.4 python3.5 python3.6 pypy pypy3 jython
+ which python3.6
+ python3.6 -W error test/test_socks.py -v
test_proxy_http (__main__.TestSocks) ... ok
test_proxy_https (__main__.TestSocks) ... ok
test_secondary_proxy_http (__main__.TestSocks) ... ok
test_secondary_proxy_https (__main__.TestSocks) ... ok

----------------------------------------------------------------------
Ran 4 tests in 4.049s

OK
+ for interp in python2.6 python2.7 python3.2 python3.3 python3.4 python3.5 python3.6 pypy pypy3 jython
+ which pypy
+ pypy -W error test/test_socks.py -v
test_proxy_http (__main__.TestSocks) ... ok
test_proxy_https (__main__.TestSocks) ... ok
test_secondary_proxy_http (__main__.TestSocks) ... ok
test_secondary_proxy_https (__main__.TestSocks) ... ok

----------------------------------------------------------------------
Ran 4 tests in 4.137s

OK
+ for interp in python2.6 python2.7 python3.2 python3.3 python3.4 python3.5 python3.6 pypy pypy3 jython
+ which pypy3
+ pypy3 -W error test/test_socks.py -v
test_proxy_http (__main__.TestSocks) ... ok
test_proxy_https (__main__.TestSocks) ... ok
test_secondary_proxy_http (__main__.TestSocks) ... ok
test_secondary_proxy_https (__main__.TestSocks) ... ok

----------------------------------------------------------------------
Ran 4 tests in 4.131s

OK
+ for interp in python2.6 python2.7 python3.2 python3.3 python3.4 python3.5 python3.6 pypy pypy3 jython
+ which jython
+ jython -W error test/test_socks.py -v
test_proxy_http (__main__.TestSocks) ... ok
test_proxy_https (__main__.TestSocks) ... ERROR
test_secondary_proxy_http (__main__.TestSocks) ... ok
test_secondary_proxy_https (__main__.TestSocks) ... ERROR

======================================================================
ERROR: test_proxy_https (__main__.TestSocks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_socks.py", line 43, in test_proxy_https
    self.assertEqual(
  File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/YoutubeDL.py", line 1942, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/opt/jython/Lib/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/opt/jython/Lib/urllib2.py", line 448, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/opt/jython/Lib/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/utils.py", line 912, in https_open
    return self.do_open(functools.partial(
  File "/opt/jython/Lib/urllib2.py", line 1197, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 1] No subject alternative DNS name matching yt-dl.org found. (javax.net.ssl.SSLHandshakeException: General SSLEngine problem)>

======================================================================
ERROR: test_secondary_proxy_https (__main__.TestSocks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_socks.py", line 65, in test_secondary_proxy_https
    self.assertEqual(
  File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/YoutubeDL.py", line 1942, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/opt/jython/Lib/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/opt/jython/Lib/urllib2.py", line 448, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/opt/jython/Lib/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/utils.py", line 912, in https_open
    return self.do_open(functools.partial(
  File "/opt/jython/Lib/urllib2.py", line 1197, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 1] No subject alternative DNS name matching yt-dl.org found. (javax.net.ssl.SSLHandshakeException: General SSLEngine problem)>

----------------------------------------------------------------------
Ran 4 tests in 3.413s

FAILED (errors=2)

HTTPS over SOCKS fails on Jython. I don't know why. Direct connection to https://yt-dl.org/ip is OK in Jython. I'll open a new issue and mark it as "known bugs" if this PR get merged.

Update: direct connection to yt-dl.org in Jython also fails:
$ jython
Jython 2.7.1b3 (default:87534ec6252a+, Apr 16 2016, 22:39:23)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.8.0_77
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib2
>>> urllib2.urlopen('https://yt-dl.org/')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/jython/Lib/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/opt/jython/Lib/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/opt/jython/Lib/urllib2.py", line 448, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/opt/jython/Lib/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/opt/jython/Lib/urllib2.py", line 1239, in https_open
    return self.do_open(httplib.HTTPSConnection, req,
  File "/opt/jython/Lib/urllib2.py", line 1197, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 1] No subject alternative DNS name matching yt-dl.org found. (javax.net.ssl.SSLHandshakeException: General SSLEngine problem)>
>>>

From Wireshark it's shown a *.aries.uberspace.de certificate is returned. Maybe a Jython bug.

Thanks a bunch for this. Since I'm in China, don't have much choice but to run this branch. Hope it gets integrated soon.

In my codes the default port for SOCKS proxy is 1080. Can you paste the full verbose result from the following command?
youtube-dl <whatever URL> --verbose --proxy "socks5://<IP_ADDRESS>/"

By the way, don't edit comments except minor changes (typo etc.). The buggy Github does not send notifications about edited comments.

Thanks, I'll keep in mind not to use the edit feature for adding anything important in the future. Here is the output. I get other errors when I specify port 1080.
polydrone@dala~/t/ytdl> ~/Projects/youtube-dl/bin/youtube-dl 'https://www.youtube.com/watch?v=UeSb1BMLGNc'  --verbose --proxy "socks5://<IP_ADDRESS>/" [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'https://www.youtube.com/watch?v=UeSb1BMLGNc', u'--verbose', u'--proxy', u'socks5://<IP_ADDRESS>/'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.04.24 [debug] Python version 2.7.6 - Linux-3.16.0-38-generic-x86_64-with-LinuxMint-17.2-rafaela [debug] exe versions: avconv 9.18-6, avprobe 9.18-6, rtmpdump 2.4 [debug] Proxy map: {u'http': u'socks5://<IP_ADDRESS>/', u'https': u'socks5://<IP_ADDRESS>/'} [youtube] UeSb1BMLGNc: Downloading webpage ERROR: Unable to download webpage: <urlopen error [Errno 111] Connection refused> (caused by URLError(error(111, 'Connection refused'),))   File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 388, in _request_webpage     return self._downloader.urlopen(url_or_request)   File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1942, in urlopen     return self._opener.open(req, timeout=self._socket_timeout)   File "/usr/lib/python2.7/urllib2.py", line 404, in open     response = self._open(req, data)   File "/usr/lib/python2.7/urllib2.py", line 422, in _open     '_open', req)   File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain     result = func(*args)   File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 859, in https_open     req, **kwargs)   File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open     raise URLError(err)

For reference, I get stuck here when I add the port, and can see in my socks server logs that youtube-dl does not attempt to use the socks proxy at all.
> ~/Projects/youtube-dl/bin/youtube-dl 'https://www.youtube.com/watch?v=UeSb1BMLGNc'  --verbose --proxy "socks5://<IP_ADDRESS>:1080/"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=UeSb1BMLGNc', u'--verbose', u'--proxy', u'socks5://<IP_ADDRESS>:1080/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.04.24
[debug] Python version 2.7.6 - Linux-3.16.0-38-generic-x86_64-with-LinuxMint-17.2-rafaela
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, rtmpdump 2.4
[debug] Proxy map: {u'http': u'socks5://<IP_ADDRESS>:1080/', u'https': u'socks5://<IP_ADDRESS>:1080/'}
[youtube] UeSb1BMLGNc: Downloading webpage

Can you run the following command:
strace -f ~/Projects/youtube-dl/bin/youtube-dl 'https://www.youtube.com/watch?v=UeSb1BMLGNc'  --verbose --proxy "socks5://<IP_ADDRESS>/" >& strace.txt

And upload strace.txt?
This file may contain sensitive data (your IP, username etc.). Check its contents before uploading.

Here is the strace you asked for. I've never used strace to debug, so if you have time (or links to good articles) I'd love to see what parts of it you'll be looking at for your debugging.

@OliverUv From your logs there are at least two youtube-dl installations. One is at /usr/local/lib/python2.7/dist-packages/youtube_dl/ and another is at ~/Projects/youtube-dl/bin/youtube-dl. Please remove the former to prevent mysterious problems.

Very sorry for the noise @yan12125 - your suggestion solved everything. I was unaware that python would reach out to the globally installed instance when I tried to run (the non-built) local instance. I've now also learned that I need to python setup.py build to properly run distutils depending projects. Thanks for the help, and thanks for great software!

Use srelay to test socks.py with local servers. Let's see the CI result.

I've not had a chance to take a deep look yet but I guess it can be merged for now. Documentation for --proxy should also be updated. FAQ entry on --proxy usage may also be useful.

Some of test_socks failed on Travis CI. I guess some ports are used, so I use a different range in test_socks.py.

Documentation for --proxy should also be updated.

Done.

Rebased and pushed to master.

Given example of socks5://<IP_ADDRESS>:1080/ fails for me.
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--proxy', u'socks5://<IP_ADDRESS>:1080', u'-f', u'bestvideo+bestaudio', u'-o', u'XXX2016.mp4', u'https://www.youtube.com/watch?v=XXXXXXX']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.05.16
[debug] Python version 2.7.11+ - Linux-4.1.0-1-amd64-x86_64-with-debian-stretch-sid
[debug] exe versions: ffmpeg 3.0.1-3, ffprobe 3.0.1-3
[debug] Proxy map: {u'http': u'socks5://<IP_ADDRESS>:1080', u'https': u'socks5://<IP_ADDRESS>:1080'}
[youtube] XXXXXXXXX: Downloading webpage
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 421, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 411, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1736, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 676, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 341, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1216, in _real_extract
    video_webpage = self._download_webpage(url, video_id)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 501, in _download_webpage
    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 408, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 388, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1946, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 929, in https_open
    conn_class = make_socks_conn_class(conn_class, socks_proxy)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 890, in make_socks_conn_class
    compat_urllib_parse_unquote_plus(url_components.username),
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 170, in compat_urllib_parse_unquote_plus
    string = string.replace('+', ' ')
AttributeError: 'NoneType' object has no attribute 'replace'

Sorry it's a bug caused by me. Could you try version 2016.05.10?

Yeah, 2016.5.10 works fine.

Thanks for testing. Should be fixed in cdd94c2eae6c6f0a627d457c3a73894a62eb86c5.


Configure travis to build on Linux as well as on OS X

Since Travis CI enabled OS X workers for this project, we can now test builds on Linux and OS X.
Unfortunately rustc doesn't seem to work on Travis OS X right now.

rustc can't be executed on Travis CI OS X workers since dylibs can't be found. I added a workaround that manually adds the Rust lib path to DYLD_LIBRARY_PATH. Travis CI tracks this issue in travis-ci/travis-ci#3112.


Client credentials question Using Node and Express

I'm running a node application to act as a proxy for the public apis via the client_credentials system.  I get a 403 using request-promise for the following: With absolutely nothing else:
https://www.deviantart.com/oauth2/token?grant_type=client_credentials&client_id=0&client_secret=fred
Yet this succeeds as does putting the url into my browser, and postman.
curl --request GET
--url 'https://www.deviantart.com/oauth2/token?grant_type=client_credentials&client_id=0&client_secret=fred' \
The server is currently localhost.
Maybe this is my ignorance when it comes to CORS or something like that, but I'm calling from a node express app, so I don't see that applying.
Any help greatly appreciated. I hate to use github for newbie questions, but a FAQ would be a great help!

To make requests to the API you must set a user agent header and have request compression on. Looking at docs I think you want something like:
var options = {
    uri: 'https://...',
    headers: {
        'User-Agent': 'Request-Promise'
    },
    json: true, // Automatically parses the JSON string in the response
    gzip: true
};


Limit Number of Vehicles and Increase Messages Transmitted

I am currently using the VeReMi configuration for OMNET++, Veins, and SUMO which uses the LUST scenario. Is there any way to limit the number of vehicles as well as increase the number of transmissions a vehicle receives? It seems as if hundreds of vehicles are being created in a simulation whereas I prefer a small number of vehicles transmitting messages to each other over a long period of time (~a few hours).
How can I accomplish this?

Hello, you should ask the authors of VeReMi.
I don't know what it is, so I cannot help.


Jetracer in ros

I want to use jet racer for autonomous navigation, so I need to use it in ros, but I couldn't find any urdf file, please help me out, or is there any similar model present

hi gokulraj-ks, I also have same requirements, did you already get any answers?

I am also interested, were you able to progress?

me 2. Any one found a way?


Use embed for static assets

Remove bindata and use go:embed for static assets.
go:embed can embed files only in the directory where it's used and its subdirs, therefore add assets.go to /assets/. No .. or symlinks can be used to trick go:embed.

/hold
for https://github.com/openshift/library-go/pull/1117

/retest

/hold cancel


Improve support of model selection for chat participants

Enable chat participants to disable model selection.
Enable chat participants to configure which models appear in the model selection.
Add selected model to telemetry
Add selected model to issues created from "thumbs down"

1/2 we did it this way originally, then simplified, even though it means that the selected model may not actually be used. What do you want to do?
Which telemetry?
There's probably a lot of data we could include

P0 - We want to configure an allow-list of models that we support, so we can ensure high quality responses.
For telemetry, initially it's important that we can associate the model used any telemetry collected (some is ours, some is yours).

You can do this check and decide whether to use the selected model, or pick another with lm.selectChatModels as before, but probably not going to change how the picker works for now.
Which of our telemetry events are you interested in? I can include the selected model there, although we don't know whether it was really used at that stage. You can add the model you ended up using to your own telemetry.


Create a Python script that compares between the "golden_snapshot" to "real_snapshot"

We will prepare the "golden image" for dedicate test by using "venuce" tool. The script will compare every real memory snapshot located in "/rvc_asap/target/test_name/mem_snapshot.log" with the relevant "golden snapshot" which is located in "/rvc_asap/verif/golden_image". The script will provide an indication as to whether the test passed successfully and where it failed.

We eventually introduced this functionality as part of the buildl.sh script. It works great.


Apply projectHealth recommendations to jacoco

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test and merge

The merge queue build has started. Click here to see all failures if any.


Get root node?

Hello!
If there is a way to get the root array in this code?
{
  book = {
    author = "Me",
    title = "JSON"
  }
}

Thanks!

I am not sure of your example, but generally speaking, picojson::value does not retain a pointer to the parent node.

Can you add this to your feature project, please?

No, since there is nothing like a document object in picojson.  We only have values.


NotFoundHttpException when using Route-Model-Binding

Hi,
strange issue: I'm using your package on two projects, both copied from the same source project, using the same Laravel version (5.1.37 LTS) and the same Eloquent-Sluggable version (^3.1). Both have the service provider in config/app.php, both have the same Content.php model, both even have the same routes (in the same group, same middelware). But still, one project is working as it should while the other throws a NotFoundHttpException when visiting the route.
The route is pretty simple:
Route::get('{content}', ['as' => 'content.show', 'uses' => 'ContentController@show']);

The RouteServiceProvider contains:
// This does work
router->bind('content',       function($value) {
            return \App\Content::findBySlugOrIdOrFail($value);
});

// This does not work
$router->model('content',       \App\Content::class);

The model is pretty basic:
    class Content extends Model implements SluggableInterface
    {
        use SluggableTrait;

        protected $table = 'pages';

        protected $sluggable = [
            'build_from'    => 'menu_text',
            'save_to'       => 'slug',
            'on_update'     => true,
        ];

Creating a new 'Content' works, it also sets the slug in the database. However calling the route throws an error in one project and shows the page on another. As you can see I've made another binding for the model in RouteServiceProvider that does work, so I can go on with the project. However, I still want to find out where the error comes from as there are (as far as I know) no differences in the project.
If there's anything else you'd need to know, just let me know. Thanks for your time.

Hi @PENDOnl
With version 3.1 you may need add the following in bootstrap/app.php
$app->singleton(
    'router',
    Cviebrock\EloquentSluggable\SluggableRouter::class
);

Thanks @yohannca, did I miss that in the docs? That was indeed the single difference between both projects! Problem solved.


Profiler hanging

I installed the ersiAddin according to the instructions listed as far as I can tell. I can access the "Select data" dialog of the tool in ArcMap (I am using ArcMap 10.6.1). When I add input and then select to "Process profiles", nothing apparently happens. The cursor changes from an arrow to an hour glass while over the input dialog, but nothing happens, and it will still accept input. I have let this go for 30-45 mins with no results appearing. There are no other indications that anything is happening.

Same thing happened for me.

Same thing happened for me.

Same problem I facing. I am also using ArcGIS 10.6.1 and the profile creator tool is not working it's just stuck.

Same thing but using ArcGIS 10.4.1.


[idea] implement PSR-2 coding style

It's just an ide to follow PSR-2 coding style

Thx mas ferry, sudah di-merge ke branch 2.X-nightly-build ya
thx

Siap pak :smile:


RFC: Add ConfPlanner to SAFE-Stack

Hi there,
I am not sure where to put this, so I leave this here. For a conference talk I built a small sample app showcasing the beauty of CQRS/Event-Sourcing in combination with Fable/Elmish. During the conference I talked to @isaacabraham and later to @forki  and they were interested in making the application a official demo application of the SAFE Stack. Here is the repo: https://github.com/rommsen/ConfPlanner
I think the application shows a couple of interesting things the bookstore app is not showing:

reuse the complete domain model on the client and server
Websockets with Elmish/Suave
shows the nice fit of and similarity between CQRS/Event-Sourcing on the backend and the Elm-Architecture on the frontend
reuse projections from the backend in the update function of the elmish app. The backend is sending the domain events to the frontend and the model is updated with the help of projections defined in the backend (on all clients that are connected via websockets).
shows an easy way of implementing "Whatif"-Scenarios, i.e. scenarios that enable the user try out different actions. When the user is happy with the result the system sends a batch of commands to the server. When "Whatif-Mode" is enabled the client reuses not only the projections but also the domain behaviour defined on the server to create the events needed by the update function. The potential commands are also stored.
using Fulma for styling

There are still a couple of things missing. We are planning to implement them in the future but any help would be appreciated

Role based user management (planned for january)
authentication via Websockets/JWT (planned for january)
deployment to Azure
having a live demo
using a different Event Store than plain text files (maybe Cosmos DB or https://eventstore.org/)
... many ideas available but the system should not be too complex in the end

I would be more than happy, if there would still be interest in integrating the app into the SAFE-Stack.
I guess a lot needs to be done to accomplish this but I would be interested in your opinions first.
Regards,
Roman

I would be very very happy if we could move it in the safe stack. Isaac can
give you admin rights and then you would still be in charge of the whole
thing.
Am 19.12.2017 08:34 schrieb "Roman Sachse"<EMAIL_ADDRESS>
Hi there,
I am not sure where to put this, so I leave this here. For a conference
talk I built a small sample app showcasing the beauty of
CQRS/Event-Sourcing in combination with Fable/Elmish. During the conference
I talked to @isaacabraham https://github.com/isaacabraham and later to
@forki https://github.com/forki and they were interested in making the
application a official demo application of the SAFE Stack. Here is the
repo: https://github.com/rommsen/ConfPlanner
I think the application shows a couple of interesting things the bookstore
app is not showing:

reuse the complete domain model on the client and server
Websockets with Elmish/Suave
shows the nice fit of and similarity between CQRS/Event-Sourcing on
the backend and the Elm-Architecture on the frontend
reuse projections from the backend in the update function of the
elmish app. The backend is sending the domain events to the frontend and
the model is updated with the help of projections defined in the backend
(on all clients that are connected via websockets).
shows an easy way of implementing "Whatif"-Scenarios, i.e. scenarios
that enable the user try out different actions. When the user is happy with
the result the system sends a batch of commands to the server. When
"Whatif-Mode" is enabled the client reuses not only the projections but
also the domain behaviour defined on the server to create the events needed
by the update function. The potential commands are also stored.
using Fulma for styling

There are still a couple of things missing. We are planning to implement
them in the future but any help would be appreciated

Role based user management (planned for january)
authentication via Websockets/JWT (planned for january)
deployment to Azure
having a live demo
using a different Event Store than plain text files (maybe Cosmos DB
or https://eventstore.org/)
... many ideas available but the system should not be too complex in
the end

I would be more than happy, if there would still be interest in
integrating the app into the SAFE-Stack.
I guess a lot needs to be done to accomplish this but I would be
interested in your opinions first.
Regards,
Roman
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SAFE-Stack/SAFE-BookStore/issues/258, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AADgNB9JePVSDMqNL2IfDj8t1znYXti5ks5tB2cEgaJpZM4RGjJ7
.

Really nice! I also will try to add more documentation.
// cc @heimeshoff

@forki @rommsen done :-)

Wow, I didn`t expect this to be done that fast :D I need to prepare a couple of things during the holidays and then I will transfer the repo.

Thanks guys. All done.


Longer polling timeout

@JonahAcquah has done some investigation, and it appears that we hit the 30 second timeout very frequently, from some quick analysis I would estimate 25% of polls during quiet periods exceed this duration resulting in errors being logs, this invalidates my original assertion that 30 seconds is more than adequate.
Included #285 @JonahAcquah I think this is the branch you wanted it in.

Thanks @stuart-lang

Right now it should go on both master and develop branches :/

@stuart-lang, the argument names don't look right, I've updated them here https://github.com/JonahAcquah/JustSaying/commit/4a2f4227a2343b5f027c3715885145f95dceb449.

Rolled out @JonahAcquah change for him to submit in a separate PR

@AnthonySteele following our internal discussion, are you happy to merge this?


The quick tutorial for ingress not working

Hello,
Think you may need update the tutorial section where we are instructed to create an ingress manifest. Couple of things are not working.

For details on these 'assumptions, it would be nice for a link for each point for more information/details:

- You have an AKS cluster, with Advanced Networking enabled
- AGIC has been installed on the AKS cluster
- You already have an Application Gateway on a VNET shared with your AKS cluster

Seems the manifest is using an older version of Kubernetes/ingress specs. Get this error when trying to "apply":

[ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "serviceName"
&
ValidationError(Ingress.spec.rules[0].http.paths[0]): missing required field "pathType"

to fix this:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: test-agic-app-service
                port:
                  number: 80

Even address these issues, I get this when running this curl command:
curl -I -H 'test.agic.contoso.com' test.agic.contoso.com
curl: (6) Could not resolve host: test.agic.contoso.com

When running this tutorial from my ZKS, I get this when trying to hit the endpoint: Unable to connect to the server: dial tcp: lookup myaksclust-myresourcegroup-XXXXXXXXXX.hcp.eastus.azmk8s.io on 168.63.XXX.16:53: no such host

Any suggestions? Ultimately, I am trying to troubleshoot why I am not able to hit my Azure Function (HttpTrigger) when running in Azure AKS. Getting 401. And using the noted tutorial would confirm if my ingress and cluster is setup correctly?
Thanks.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 3dda2974-b8a8-e704-3775-7a709cdd0835
Version Independent ID: dc96345b-c4ad-9884-8320-fb91e36a9ec7
Content: Application Gateway Ingress Controller troubleshooting
Content Source: articles/application-gateway/ingress-controller-troubleshoot.md
Service: application-gateway
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@moehoward003
Thanks for your feedback! We will investigate and update as appropriate.

@moehoward003 , We have assigned this to the content owner/author for review.
@greg-lindsay , for your review.

This is being tracked as internal content issue: 91573
#please-close


Won't install, "The string to be encoded contains characters outside of the Latin1 range."

Plugin won't install after choosing options and testing successfully.
Error in console:

Tried few browsers, on windows and android.

What is your server name? It looks like some characters in it can't be encoded in base64.

Sorry, indeed my server name was the problem.
Not related to previous question, I managed to see plex libraries but not streams. Would double-nat prevent using plugin for local use? I got error in remote access in plex server (despite which I previously had no problem streaming neither locally nor remotely to plex app on android).

Your Plex library stream should be matched using IMDb. If they are and still are not showing in Stremio, share your installation ID.

If you mean matching by searching IMDb Id number, I did that.  Installation Id is dd57a30b-307a-4af1-95cc-cbe68336adff. Don't know if that matters for when you check my configuration but I do not have Plex server running, when not using it.

Please, reinstall the addon. If the problem persists kindly create a discussion in the discord support channel with the new installation ID.

Thanks! New version works fine.