[boost-fiber:x64-windows] build failure

D:\opt\vcpkg>vcpkg install boost-fiber:x64-windows
Computing installation plan...
The following packages will be built and installed:
boost-fiber[core]:x64-windows
Starting package 1/1: boost-fiber:x64-windows
Building package boost-fiber[core]:x64-windows...
-- Using cached D:/opt/vcpkg/downloads/boostorg-fiber-boost-1.73.0.tar.gz
-- Using source at D:/opt/vcpkg/buildtrees/boost-fiber/src/ost-1.73.0-19cdf62e42
-- Building x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: D:/opt/vcpkg/installed/x64-windows/tools/boost-build/b2.exe --stagedir=D:/opt/vcpkg/buildtrees/boost-fiber/x64-windows-rel/stage --build-dir=D:/opt/vcpkg/buildtrees/boost-fiber/x64-windows-rel --user-config=D:/opt/vcpkg/buildtrees/boost-fiber/x64-windows-rel/user-config.jam -j8 --debug-configuration --debug-building --debug-generators --disable-icu --ignore-site-config --hash -q -sZLIB_INCLUDE=D:/opt/vcpkg/installed/x64-windows/include -sBZIP2_INCLUDE=D:/opt/vcpkg/installed/x64-windows/include -sLZMA_INCLUDE=D:/opt/vcpkg/installed/x64-windows/include -sZSTD_INCLUDE=D:/opt/vcpkg/installed/x64-windows/include threading=multi threadapi=win32 runtime-link=shared link=shared address-model=64 architecture=x86 toolset=msvc -sZLIB_BINARY=zlib -sZLIB_LIBPATH=D:/opt/vcpkg/installed/x64-windows/lib -sBZIP2_BINARY=bz2 -sBZIP2_LIBPATH=D:/opt/vcpkg/installed/x64-windows/lib -sLZMA_BINARY=lzma -sLZMA_LIBPATH=D:/opt/vcpkg/installed/x64-windows/lib -sZSTD_BINARY=zstd -sZSTD_LIBPATH=D:/opt/vcpkg/installed/x64-windows/lib variant=release debug-symbols=on
Working Directory: D:/opt/vcpkg/buildtrees/boost-fiber/src/ost-1.73.0-19cdf62e42/build
Error code: 1
See logs for more information:
D:\opt\vcpkg\buildtrees\boost-fiber\build-x64-windows-rel-out.log
Call Stack (most recent call first):
installed/x64-windows/share/boost-build/boost-modular-build.cmake:297 (vcpkg_execute_required_process)
ports/boost-fiber/portfile.cmake:17 (boost_modular_build)
scripts/ports.cmake:76 (include)
Error: Building package boost-fiber:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-fiber:x64-windows
Vcpkg version: 2020.02.04-nohash
Additionally, attach any relevant sections from the log files above.

@sinozope, could you please attach failure log: D:\opt\vcpkg\buildtrees\boost-fiber\build-x64-windows-rel-out.log?

@tekert,

From the failure message in CMakeOutput.log, it seems the compiler couldn't be found, could you double check if the compiler setting up correctly in your machine.

Failures:
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

The below failure should be a bug in boost-modular-build.cmake, I will summit a PR to fix this issue,

 'CMake Error at installed/x64-linux/share/boost-build/boost-modular-build.cmake:34 (message):
The x86 boost-build tools must be installed to build for non-x86/x64
platforms. Please run vcpkg install boost-build:x86-windows.'

I was debuggin this problem yesterday, GXX seems to be correctly detected by cmake now, so i tried restarting from scratch deleting everyting and now i get this error: Seems ..vcpkg/installed/x64-linux/share/boost-build/boost-modular-build.cmake  is never created now.
./vcpkg install boost-build --triplet x64-linux
Computing installation plan...
The following packages are already installed:
    boost-build[core]:x64-linux
Package boost-build:x64-linux is already installed

Total elapsed time: 10.9 us

./vcpkg install boost --triplet x64-linux
builds a couple of boost modules and then:
-- Using cached /mnt/e/Sources/cpp/vcpkg/downloads/boostorg-exception-boost-1.73.0.tar.gz
-- Using source at /mnt/e/Sources/cpp/vcpkg/buildtrees/boost-exception/src/ost-1.73.0-f8dcf39b91
CMake Error at ports/boost-exception/portfile.cmake:11 (include):
  include could not find load file:

    /mnt/e/Sources/cpp/vcpkg/installed/x64-linux/share/boost-build/boost-modular-build.cmake
Call Stack (most recent call first):
  scripts/ports.cmake:76 (include)

Only logs created now contain only this post contents.

Seems i fixed it, dunno what happened, but if i install the windows version of boost first and then linux, i got that error. Its too time consuming to test again, or maybe got a bad pull.

Do you install windows and linux version of boost on same machine? do you use wsl?

Yep, from the top of my mind this is what happened:
built vcpkg from windows, then used wsl2 to build it in linux
issued a comand from windows in vcpkg to install boost on windows, everyting went well.
issued a second command from windows to build the linux version of boost.
here i had a problem mid way, it needed to manually install missing tools (i think it was git).
after that something went bad, so i manually deleted the linux install dir and also the linux build tree, decided to go to wsl2 console and install it from linux, more problems.. decided to just issue a deletetion via vcpkg to boost-vcpkg-helpers, boost-build etc, i felt like something got corrupted and i couldnt figure what, so i had to delete the entire dir of vcpkg to solve it.
Sorry i could not figure what happened, but the first time i tried to install boost:x64-linux from windows is where something corrupted and i couldnt clean delete to start over.

Do you use same vcpkg instance for windows and Linux? if so, I think you need distinguish them, clone vcpkg source for linux and another vcpkg source for windows.

@sinozope, please reopen this issue and attach the failure log if it still be a problem for you.


Completely offline training

Thank you for this code, it looks to be very useful. I want to try this out on some images I have already downloaded, and using a completely offline process (which includes already having downloaded the entire planet's OSM QA tiles). How might one go about this?

Does this answer your question?

I suppose I should reframe my question: is it possible to just create the OSM masks based on image files I already have, instead of querying a server to get certain image files?


Can you end up losing object identity by placing an item into a collection?

In other words, can any combination of collection.set(key, value) result in collection.get(key) !== value (but still I.is value?)

Nope, this should not be possible.

K, must be something I'm doing (no old bugs in 3.6.2 ;) ?). Separately, didn't see it in the docs and happy to open a new question, but how "fast" is I.is? Namely, if you are recursing down a tree and comparing every node to another tree (so imaging { a: { b: { c: 6, d: 7} } } compared to { a: { b: { c: 6, d: 7} } }, and due to the incidentals of the program first you compare a to a, then b to b, then c to c, etc, do you end up in N^2 since a also internally requried checking b,c,d, and b required c,d, etc? Or is there some sort of has value equality magic going on?

Immutable.is is at worst O(N), where N is the number of values in the tree, as it would need to compare every value in a tree. However, in practice often it is able to take short-cuts.
One short-cut is object identity, as you point out. If two sub-trees have object equality, Immutable.is does not recurse down them.
Another short-cut is short-circuiting on first mismatch. As soon as Immutable.is encounters an inequality, the algorithm halts and returns.
So the only time you the runtime is truly O(N) is when you have two value equal collections which contain  no object-identity subcomponents.


Missing combinator in #buttons .lotsofcontent #2

Whitespace character between simple selectors if a descendant combinator.

Well spotted, thanks!


Specify BOOST_LIBRARYDIR before calling find_package()

@sslattery does that resolve the issue you were seeing when trying to configure against Boost from your package management system?

Codecov Report

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

@@           Coverage Diff           @@
##           master     #419   +/-   ##
=======================================
  Coverage   96.75%   96.75%
=======================================
  Files         104      104
  Lines        7548     7548
=======================================
  Hits         7303     7303
  Misses        245      245

Continue to review full report at Codecov.

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

Updated.  Fix was trivial.  Error was we were relying on an optional variable that may or may not have been passed at configure time instead of using the directory path set by TriBITS.


Cyphon Integration Issues

We are planning to use Cyphon in production environment starting next week, currently we are facing some challenges in integrating Cyphon with the dedicated Logstash Instance , do you offer professional services support for integration issues, if not we would like to develop an internal team for this, we need some suggestions on the skill sets we need to look for?

@jabbarsuku Thank you for your question.  Are you sure that you need support for Cyphon or Docker / Elastic / Logstash?  Many of the issues that have been opened seem to be around these 3rd party technologies that Cyphon tends to integrate with.  We do not have the ability to support Elastic or Docker directly.  I do realize that (at times) there is a blurry line between the various tools in play here.

The real issue is with forwarding of logs from dedicated log stash instance to Cyphondock, if there is a provision for professional services support we would like to make use of it. If not kindly help us with list of skills we need to look for in candidates.

Sorry you're having difficulties @jabbarsuku. To clarify, Cyphon doesn’t actually communicate with Logstash; it only talks to RabbitMQ and Elasticsearch. If you’re having trouble integrating with an external Logstash instance, the problem probably lies between Logstash and RabbitMQ, or between Logstash and Elasticsearch.
If either RabbitMQ or Elasticsearch is running as a Docker container, you just need to configure the Docker container and your dedicated Logstash instance to talk to each other. This would be done through your Logstash output and your Docker Compose files. You can find docs for Logstash’s RabbitMQ output plugin here. On the Docker end of things, you can make any changes you need to in the Docker Compose files contained in Cyphondock. For example, you may need to map the port of your RabbitMQ container to the host, so that it can talk to an external Logstash instance. You can find docs on the Docker Compose  ports setting here.
Once RabbitMQ and Logstash are talking, Cyphon should be able to retrieve documents from RabbitMQ, if you’re using the default settings. If you need to make any changes to Cyphon’s RabbitMQ settings, you can find them in config/env/cyphon.env or config/cyphon/settings/conf.py.
With respect to the skills needed for this kind of integration, I'd look for candidates with knowledge of Docker, Docker Compose, Logstash, Elasticsearch, and RabbitMQ. We have a small development team, so unfortunately we only have the ability to support issues specifically related to the Cyphon or Cyclops codebases. Cyphondock is just a set of Docker Compose files (nothing special), so any customization that needs to be done to them is probably an issue better addressed by Docker and any services you’re running outside of Docker, such as Logstash.
Hope that provides some clarification and guidance on what skills to look for! We've had to do a lot of troubleshooting with Docker and the Elastic Stack ourselves, but fortunately so many people use these projects that we can usually solutions in their documentation and knowledge bases, though it often takes some digging...
I will try to work on an architecture diagram for how the various services in the stack talk to each other, so it's easier for folks to identify the source of issues they run in to during deployment!


feat: klarna Checkout SDK added

#850
Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Added Klarna Checkout flow. This is a redirection flow.
How did you test it?

Payment data used in server.js for create-payment-intent call:
const paymentData = {
  amount: 50000,
  order_tax_amount: 0,
  confirm: false,
  currency: "USD",
  capture_method: "automatic",
  customer_id: "klarna",
  payment_experience: "redirect_to_url",
  capture_on: "2022-09-10T10:11:12Z",
  authentication_type: "no_three_ds",
  billing: {
    address: {
      line1: "1467",
      line2: "Harrison Street",
      line3: "Harrison Street",
      city: "San Francisco",
      state: "California",
      zip: "94122",
      country: "US",
      first_name: "joseph",
      last_name: "Doe"
    },
    phone: {
      number: "8056594427",
      country_code: "+91"
    },
    email<EMAIL_ADDRESS>  },
  order_details: [
    {
      product_name: "Red T-Shirt",
      quantity: 5,
      amount: 10000,
      account_name: "transaction_processing",
      total_tax_amount: 0,
      tax_rate: 0,
      total_amount: 50000
    }
  ],
  email<EMAIL_ADDRESS>  name: "John Doe",
  phone: "999999999",
  phone_country_code: "+65",
  description: "Its my first payment request",
  return_url: "https://google.com/"
};

https://github.com/user-attachments/assets/540794f0-2c2d-48cb-ab8f-c85ce6d07f4e
klarna Kustom Checkout connector endpoint doesn't accept return_url without https, that's why I tested by using [https://www.google.com] as the return_url.
Checklist

[x] I ran npm run re:build
[x] I reviewed submitted code
[ ] I added unit tests for my changes where possible

I guess loader need to be off full screen that is coming only in the button error. And can you also handle the case when let's say I have Klarna Element and Payment Element both in a page what will happen.

I took reference from Paypal's redirection flow, in that also loader was shown above button only
https://github.com/user-attachments/assets/32ac22c8-5978-4828-a0da-b9441990f546
And this is how the UI looks when Payment Element is rendered as well


Respect given protocols for websocket connection

This PR allows browser clients to control more precisely where they want to connect to, especially with which protocol. ws:// stays the default.

@aeickhoff Any chance you could have a look at this?

Missed the (repeated) notifications. Thanks for bringing this to my attention again


warnings emitted when using Node 20.9.0 and yarn 3.2.4

If I do:

mkdir test
cd test
yarn init
yarn add vite cesium rollup
yarn add vite-plugin-cesium

I get the following warnings:
➤ YN0061: │ sourcemap-codec@npm:1.4.8 is deprecated: Please use @jridgewell/sourcemap-codec instead
➤ YN0002: │ vite-plugin-cesium@npm:1.2.22 [57297] doesn't provide rollup (pa143a), requested by rollup-plugin-external-globals

It would be nice if these warnings could be dealt with so they do not interfere noticing warnings that are important.
I am assuming these warnings are not pointing to a serious problem. Can you confirm?

Warning are also emitted using Node v18.18.2


"Copy Remote File Url" url-encodes the URL

GitLens Version: 11.0.4
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-11T01:11:34.018Z)
OS version: Darwin x64 20.1.0

Steps to Reproduce:

Invoke the GitLens: Copy Remote File Url command.
Paste to the browser, notice how it url-encoded the slashes (%2F instead of /)

I think this started happening with v11.0.0. The url-encoded version still works but is uglier, for example:
- https://github.com/user/repo/blob/512a30dc.../packages/src/lib/README.md
+ https://github.com/user/repo/blob/512a30dc.../packages%2Fsrc%2Flib%2FREADME.md

This is causing a lot of issue for my firm's hosted bitbucket.

Workaround I use for now is to use the Open File on Remote command and copy the URL from the browser. That seems to avoid URL-encoding.

I added the encoding to deal with spaces in the file path (otherwise it would break the url). Maybe I just need to either encode just that, or just decode /.

Can you try this fix out in the latest insiders version? https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens-insiders

Hmm, just installed the insider version. My URLs are still encoded:
https://stash.int.company.net/projects/company/repos/company-app/browse/services%2Fsome-service%2Fsrc%2Fapi%2Fadmin%2Ffoo%2Fget%2Findex.js?at=AM-632-post-internal-endpoint#3

expected:
https://stash.int.company.net/projects/company/repos/company-app/browse/services/some-service/src/api/admin/foo/get/index.js?at=AM-632-post-internal-endpoint#3

Hey Eric, it seems to be fixed on my end after disable the GitLens and
install teh GitLens Insiders.
On Mon, 30 Nov 2020 at 18:39, Thibault Jan Beyer<EMAIL_ADDRESS>wrote:

Hmm, just installed the insider version. My URLs are still encoded:
https://stash.int.company.net/projects/company/repos/company-app/browse/services%2Fsome-service%2Fsrc%2Fapi%2Fadmin%2Ffoo%2Fget%2Findex.js?at=AM-632-post-internal-endpoint#3
expected:
https://stash.int.company.net/projects/company/repos/company-app/browse/services/some-service/src/api/admin/foo/get/index.js?at=AM-632-post-internal-endpoint#3
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/eamodio/vscode-gitlens/issues/1202#issuecomment-735704328,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYRVIVIVQ3Q4Q4WOXLMKF3SSNY55ANCNFSM4T7T3ZNA
.

@ThibaultJanBeyer Are you sure you were testing on the latest insiders? I can't see how you'd get that type of encoding given the changes I've made.

confirm: insiders versions fixes escaping problem.

@eamodio I uninstalled and re-installed it. Now the encoding seems correct. Thank you!


LogoRRR doesn't open log files which are defined in conf file

How to reproduce

start LogoRRR
add a bunch of log files
close LogoRRR
open LogoRRR

Expected
LogoRRR should open the same Log files which were opened in the previous run, but it doesn't.

Resolving this issue needs handling of so called 'security bookmarks' which led to the need to use JNI and Swift in my case - now sandboxing works for my usecase, not yet perfect (see #146) but I hope it is enough for the moment. See https://developer.apple.com/documentation/security/app_sandbox/accessing_files_from_the_macos_app_sandbox for information about sandboxing ...


Issue with italian translation.

Hi,
Italian translation is not translated in the UI but, on weblate is completed.
Could you check it?
thanks!
Regards,
A.

@albanobattistella Sure I will. Thank you for reporting me!


Declare compatible PHP version in composer.json

There's no declared minimum compatible php version in the composer.json
Based on the travis.yml, this seems to be PHP >= 5.4 ?

It's 5.4 right now, but I'm working on an update right now that will allow the filter to be serialized and deserialized as JSON. At that point I'll set a minimum version of 5.6 since that's the current supported version of PHP.

If you're using PHP 5.6 features, sure... But if it'll still run on PHP 5.4 or 5.5... There's no reason to declare it needs a higher PHP version :)

Closed by b8d98b0. I had some trouble getting travis to work with phpunit AND all versions of PHP 5.4 and up, so I marked it 5.6+. It very likely works in 5.4 though... I just don't have an easy way to test that.

You might be able to do a phpunit version or... `^4.8 || ^5.7 || ^6.4" or similar might allow it to select a version that works with that PHP version. Or maybe it wouldn't...
Might have a play around in a fork and see what travis will do. Of course, for testing a specific version, if you make a branch, remove the other versions from the travis.yml file and then just fix phpunit.. Maybe :)
Or you just use the version of phpunit shipped with that php verison... https://docs.travis-ci.com/user/languages/php

Yeah, it works fine on PHP 5.5.9.
Swap back to old PHPUnit (4.8), remove the other hard coded dependancies, and also the lock file (easiest to prevent any conflicts)
https://github.com/reedy/bloom-filter/compare/cc94d56bc5c0...c3bd939c499d

Aaand, it also works on PHP 5.4 - https://travis-ci.org/reedy/bloom-filter/builds/285095500
https://github.com/reedy/bloom-filter/pull/1/commits/a3f68682b8e674de62ccdce178355ccf676415b4

Guess it all depends what you want to do...
With https://github.com/reedy/bloom-filter/pull/1/commits/bb40b47cd78c4e9c94a95cfd38ba59a30828def0 composer will use the newest PHPUnit version that works with a PHP version
"phpunit/phpunit": "^4.8 || ^5.7 || ^6.4"

So 7.0/7.1 get 6.4.1. 5.6 and HHVM gets 5.7.22. 5.5/5.4 gets 4.8.36.
So my 2c here. If you're not using any newer PHP features that require newer PHP, there's not much point cutting support off for older versions. People have to use older versions in production for varying reasons, and it takes longer to update. So having access to libraries that support is always a good thing.
Let me know if you want me to add that pull request into this repo for you (with a better commit summary). satooshi/php-coveralls needs re-adding, but that's easy to fix. I just removed the lot for ease of "getting it working"

https://github.com/pleonasm/bloom-filter/pull/5


[WIP] Update to tokio 1.16

update Tokio to 1.16.1+ (fixes #419)
timeout Goose if controller tests fail to shut it down after 60 seconds

@TODO: Solve the issue where tests appear to not be running in threads

@jeremyandrews were you able to make the Gaggle tests to work.  Also running into the locked in tokio version 1.15 dependency issue.  Be nice to move onto the newer tokio versions.

@ahmedriza Sorry, I missed your question somehow. I need to pick this back up again. Unfortunately it's a very non-trivial update, as I need to remove all non-async code (which is heavily used in Gaggles).

I'm confused what the problem is.
The tests already hang for me on main without updating to a recent Tokio.
So is upgrading Tokio an actual regression?
I'd be curious to know how many of the 50 forks are just Tokio version bumps.
Goose is really great - but this old pinned tokio is an achilles heel. It basically makes it impossible to integrate with an existing project.
$ cargo test --features gaggle

     Running tests/controller.rs (target/debug/deps/controller-8042a651a5d002a0)

running 2 tests
test test_telnet_controller has been running for over 60 seconds
test test_websocket_controller has been running for over 60 seconds

All tests currently run successfully every time a PR is committed, so the tests are not currently broken.
If you don't need Gaggles, you'd be able to update tokio locally without problem. The underlying issue is explained in https://github.com/tag1consulting/goose/pull/420#issuecomment-1034914835 -- I have a WIP replacement that I've not had time to complete. Hopefully around new years ...

Possibly? In any case, I'm planning to roll a release w/o Gaggle support shortly, which should allow us to upgrade all libraries. (And then Gaggle support will be added back in a future release, when it's ready.)


AssertionError at /graphql

CreateUser fields must be a mapping (dict / OrderedDict) with field names as keys or a function which returns such a mapping.

Hello:
https://www.howtographql.com/graphql-python/2-queries/
Internal Server Error: /graphql/
Traceback (most recent call last):
File "/home/www-data/django-api/lib/python3.5/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/home/www-data/django-api/lib/python3.5/site-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/www-data/django-api/lib/python3.5/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/www-data/django-api/lib/python3.5/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "/home/www-data/django-api/lib/python3.5/site-packages/django/views/generic/base.py", line 63, in view
self = cls(**initkwargs)
File "/home/www-data/django-api/lib/python3.5/site-packages/graphene_django/views.py", line 85, in init
self.schema, GraphQLSchema), 'A Schema is required to be provided to GraphQLView.'
AssertionError: A Schema is required to be provided to GraphQLView.
[15/Nov/2018 08:51:17] "GET /graphql/ HTTP/1.1" 500 70794
Will I do something wrong?
I have to say I do not control much of django.
Thanks


Add Management Command for Batch Processing Items

Overview
Adds a management command for batch processing of facility list items.
Connects #161
Demo

Notes
What should be done in the case of partial failures? For example, if geocoding fails for a few results, matching cannot be run at all. But neither can geocoding be re-run, leaving the user in a trapped state:

Should there be a flag to ignore error cases? Or to abort if there is a single error?
Testing Instructions

Check out this branch
Run manage batch_process --help
Run manage batch_process --action [parse|geocode|match] --list-id [id]
Ensure it works correctly and handles failure cases

Looking at this now

What should be done in the case of partial failures?

Good question. When we actually run these jobs using AWS Batch the plan is to have each row be processed as a separate Array Job instance so that they are all run in parallel. When a Job fails with an application-level error, like a geocode failure, we can choose to exit with a zero status code or a non-zero status code. I am not completely sure which is going to be the best course of action. If exiting non-zero causes the entire job or chain or of dependent batch jobs to be aborted, that is probably not what we want. Based on my reading of the documentation that is what will happen, so my current thinking is that we move the item with a failing geocode to the ERROR state and exit zero as we are doing. When the match Job for that item starts up it is able to fail fast on the status check and exits zero as well. The full Array Job will then be "successful" at the system level, and we can report on the finer-grained failures in the application.
There are different ways in which the individual tasks can fail. How we deal with retrying them is an open question that I think we will want to get feedback from our advisors on after we have the system up and running. It can be as simple as giving them the ability to move the rolling the status of an item back and queuing up a new, one-off chain of Jobs for that item.

Rebased atop develop to resolve merge conflicts.
That matches the current behavior then, where the exit code is always 0 regardless of the process succeeding or not:

(I did it from within Vagrant this time to be closer to the command whose exit code we're inspecting)

Thanks for catching those! Makes sense. Have a look at 29af85f and see if it covers it.

Thanks for all the detailed and thoughtful feedback! I really appreciate it!
I added in your two commits to this branch.
I also added a final fixup b85c439 which does the following:

Crashes immediately on incorrect action specification, rather than going through a try raise except dance
Moves transaction.atomic() further up to encapsulate all the process and .save() calls
Adds an except ValueError block within the loop to log and count those as failures, in a way that doesn't stop the larger process
Updates the except DatabaseError block to log the error and crash

The new commits seem to have made some tests fail though:
======================================================================
ERROR: test_matches_existing_facility (api.tests.FacilityListItemMatchingTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 83, in _execute
    return self.cursor.execute(sql)
psycopg2.IntegrityError: insert or update on table "api_facilitymatch" violates foreign key constraint "api_facilitymatch_facility_id_7280e334_fk_api_facility_id"
DETAIL:  Key (facility_id)=() is not present in table "api_facility".

Should there be a migration to go along with the new GUID stuff?

Alright, removed a bunch of unnecessary nesting in try and sys.exit(1) which canceled out nicely in 30fb6cf. Going to squash changes and merge when green. Thanks for all your help with this!


sys/log: Updates to handle CBOR entries via nmgr

With v3 we can now have CBOR (and binary data, but let's skip this for now...) stream as log entry and this should be properly transmitted via nmgr. This makes necessary changes to do this by sending msg field as valid CBOR stream from log entry, though newtmgr probably needs some updates to read it properly.

I also analyzed if it would be feasible to keep 'msg' as string and transfer CBOR/binary data encided in base64. The problem is that these entries can be (very) long and tinycbor does not have API that would allow to encode string provided in chunks. This means it would be necessary to encode data to some intermediate buffer and we may simply run our of memory here.

plus it will increase size over the air: i think binary makes more sense here.

Just a question: why is there a log type for CBOR?  Would the "binary" type work just as well for CBOR data?

@ccollins476ad it would work, but I see two advantages with separate type:

for newtmgr transfer binary data has to be base64 (or sth) encoded which increases size over the air; CBOR can be just included as-is
any reader can immediately display these data without extra information what's exactly inside binary log entry (can be e.g. used for pretty-printing).

Thanks for responding, Andrzej.
I don't believe the first point is correct; we can send binary data in a newtmgr response.  Perhaps you're thinking of the serial transport, which requires responses to be base64 encoded?
I see what you mean in the second point - it could be useful for newtmgr clients to automatically know how to display a response.  On the other hand, I would expect the consumer of logs to already know how to parse them by convention.

Yes, the data over newtmgr can be binary but actually I had log entries that are sent in response over newtmgr in mind - sorry for confusion. In this case, each log entry included in response has 'msg' parameter which is the log message and it is always encoded to CBOR response as string by log_nmgr.c (which was a fair assumption given that only string entries were logged). Now, I'd like this 'msg' to be binary data which I don't think is possible without extra encoding in general, but since the response itself is CBOR data, the log entry of type CBOR can be just appended there. In JSON notation (kind of) instead of
{ 'msg' : 'text log entry }
it would be:
{ 'msg' : { 'foo' : 1, 'bar' : 'test' } }
where { 'foo' : 1, 'bar' : 'test' } is contents of log entry. I believe newtmgr does not understand such response since it seems to be stuck trying to receive it so it would need to check extra 'type' parameter and act accordingly. Nothing changes for string logs - they are handled exactly as previously.
HTH :-)

@ccollins476ad Fixed. Sorry it took so long, I totally forgot about this PR...


Any chance to add spatial datatypes?

Something like https://postgis.net/docs/using_postgis_dbmanagement.html#RefObject
I see https://github.com/attic-labs/noms/blob/master/doc/intro.md#types which makes me think that add a Geometry spatial datatype (POINTS, LINESTRINGS, POLYGONS) which indexing might not be possible.

It's trivial to define any types you want using Noms structs. But it seems like what you'd want from this support is the ability to search (efficiently).
We experimented with implementing quadtrees in Noms waaaay back when. I don't think any of the code would be useful. But I think you could implement quadtrees relatively efficiently on top of prolly trees. Which is to say you ought to be able to build an efficient geoindex in Noms.
There's nothing built-in though.

Thanks for the reply.
Great news about quadtrees, however they tend to need tuning parameters with spatial distributions. Would it also be easy enough to implement a good performing r-tree index on top of prolly trees?

I'm not an expert (or even a novice) at spatial searching, but ... reviewing r-trees:
On the one hand, sure it seems like you could implement an r-tree out of the more primitive Noms data structures like maps and sets.
On the other hand, r-trees appear to be history-dependent. Noms' primitive data structures are history-independent, and this is an important invariant.
Thus you'd want to think carefully about what it would mean to model r-trees directly in Noms. I guess at a simple level, it would make diff a lot less useful, and merge would be harder to reason about. Depending on your application, maybe this is ok.
But it would fit with the spirit of Noms better to use a data structure that is history independent. Prolly trees are a pretty obvious tweak to b-trees to make them history independent. I wonder if there is a similar tweak to r-trees.


Configure to use different bots

Hi.
This is not a problem rather a hint.
Setting up the script on different bots.
In /usr/lib/zabbix/alertscripts create the folder bot2 and copy the main scripts as described in README.md.
In the settings zabbix -> Configuration > Media types > Create media type, in the new Media types > Script name, write bot2/zbxtg_group.py and make further settings.
Parameters in bot2/zbxtg_settings.py are changed to a new bot.
The configuration has been verified and is currently working on my server and sends an alarm to two different bots.

You can set token in the parameters, no need to copy scripts, it's harder to update it

I mean, there is already 1 working script left over from the previous system administrator, and this script is already sending messages through a bot that I can’t control.
I created my group and my bot and made a separate folder for it and a new configuration for scripts.
Or is it meant to add a second tg_key to one zbxtg_settings.py script?

https://github.com/ableev/Zabbix-in-Telegram/issues/98

Thanks!
I take off my issue.


Numpy+images

This makes more use of numpy, even though only for the exports (and those don't take too much time anyway). I also put some work into the GDAL export() method; there might have been a bug or two and I wanted to give worldengine the opportunity to make use of more of the formats GDAL supports. (Even though I don't like GDAL since it was a pain to install. I created an instruction, though. Maybe it can be added somewhere.)
In draw.py I added an import for the PyPNG-library which is used to export 16 Bit grayscale images.
All of this is based on this https://github.com/Mindwerks/worldengine/pull/138 and there may be some things in here that need a bit of discussion. Due to some of the changes and the connection to https://github.com/Mindwerks/worldengine/pull/138 this will not pass the tests for now.
EDIT: Oh, Travis doesn't know the PyPNG-module I imported. Well, this still needs a tiny bit of polish. :)

@psi29a If you want to look at the code, you should probably start with the branch this is based on (https://github.com/Mindwerks/worldengine/pull/138) unless you want to verify it all at once.

You'll need to add PyPNG to tox.ini

Ok, thanks. Since this https://github.com/Mindwerks/worldengine/pull/144#event-440746090 is now merged, I should probably rename the worldengine-data files to fit the new format (py3_seed...). I was away all day and didn't manage to do it before I left. I will finish everything up as soon as possible and hopefully the tests will run fine again. :)

This is going to be broken down into pure numpy-rewrites of parts of the image-code https://github.com/Mindwerks/worldengine/pull/161, a rework of the GDAL export https://github.com/Mindwerks/worldengine/pull/159 and the 16 Bit grayscale heightmaps I promised somewhere (that branch is not yet fully separated; no PR for now).


Treat delegates as Fakes with FakeItEasy

As far as I know, AutoFixture automatically treats interfaces and abstract types as mockables. I think it is a good idea to include the delegate types in this list as well.

First of all, could you please clarify which mocking framework you work with? We have a few integrations (Moq, NSubsitute, FakeItEasy), so it's unclear. As far as I know, delegates are already supported by Moq integration (at least that is mentioned so in #742).
Also as far as I know AutoFixture has it's own delegates generation mechanism. Do you have any issues with it?

@zvirja  I use FakeItEasy. So I am changing the title of the issue
The following code returns a Fake after the customization applied:
 var myFake= fixture.Create<ISomeInterface>();
However the following doesn't:
 var myFake= fixture.Create<Func<int,int>>();
Further more the following crashes with an error:
 var myFake= fixture.Create<Fake<Func<int,int>>>();

AutoFixture.ObjectCreationExceptionWithPath
HResult=0x80131500
Message=AutoFixture was unable to create an instance from System.IntPtr because creation unexpectedly failed with exception. Please refer to the inner exception to investigate the root cause of the failure.
Request path:
FakeItEasy.Fake1[System.Func2[System.Int32,System.Int32]]
IntPtr method
System.IntPtr
Inner exception messages:
AutoFixture.Kernel.IllegalRequestException: A request for an IntPtr was detected. This is an unsafe resource that will crash the process if used, so the request is denied. A common source of IntPtr requests are requests for delegates such as Func or Action. If this is the case, the expected workaround is to Customize (Register or Inject) the offending type by specifying a proper creational strategy.
Source=
StackTrace:

Inner Exception 1:
IllegalRequestException: A request for an IntPtr was detected. This is an unsafe resource that will crash the process if used, so the request is denied. A common source of IntPtr requests are requests for delegates such as Func or Action. If this is the case, the expected workaround is to Customize (Register or Inject) the offending type by specifying a proper creational strategy.

@OnurGumus I've briefly investigated this issue and it doesn't seem that FakeItEasy supports delegate mocking. Delegates are not mentioned in their documentation.
Also I've tested the following code and it failed with an exception (which proves that feature is not supported):
A.Fake<Func<int, int>>();

Therefore, it doesn't seem that AutoFixture can do something about that as well.
Could you please describe the desired behavior in more detail? It's very easy to mock delegate, as it could be specified via a primitive lambda expression.

@zvirja , Fake it easy certainly supports Fakes for delegates:

@blairconrad Could you please find a few minutes and shed some light on this? Does FakeItEasy support mocks of the delegates? If so, what is the syntax (my sample above with parenthesis failed)?
Thanks :wink:

@zvirja, happy to. As @OnurGumus says, FakeItEasy will happily fake delegates (and I've created an issue to document this).
However, AutoFakeItEasy has never bothered with faking delegates.
When faking a Fake<Func<int, int>>, for example, FakeItEasyMethodQuery.SelectMethods fails because it doesn't consider the case Fake<T> where T is a delegate. The very naive change below rectifies this.
@@ -33,7 +33,7 @@ namespace Ploeh.AutoFixture.AutoFakeItEasy
             }

             var fakeType = type.GetFakedType();
-            if (fakeType.IsInterface)
+            if (fakeType.IsInterface || fakeType.IsSubclassOf(typeof(Delegate)))
             {
                 return new[] { new ConstructorMethod(type.GetDefaultConstructor()) };
             }

Then I can create and use a Fake<Func<int, int>>.
As for creating a Func<int, int>, I gave it a quick go and found that the fixture used DelegateGenerator to create a (non-FakeItEasy) delegate.
Between you and me, I've always been confused by the AutoFixture architecture and the relationship between a builder and a relay and whatnot, but I can continue to explore and see where the gap is.

I'm back. I may understand. The FakeItEasyRelay is added to the fixture's residue collectors, but the DelegateGenerator creates a delegate first.
A quick search didn't reveal how to insert the FakeItEasy builder earlier in the chain, but I may not be looking right.

@blairconrad  as a fake it easy user I long for your PR :)

@blairconrad Thanks for clarifications and for your investigation! I've just checked for one more time and found that FakeItEasy indeed create the fakes for delegates. Likely, I've missed something in my previous test 😖

As for creating a Func<int, int>, I gave it a quick go and found that the fixture used DelegateGenerator to create a (non-FakeItEasy) delegate.

Yep. We have the exactly same issue with Moq - AutoFixture intercepts those requests before the ResidueCollectors have an opportunity to chime in.
I'd suggest to fix this issue in the following way:

Extend method query to support Fake<Delegate> requests;
Add a new customization, that will add relay to the Customizations collection, so delegate request is handled (relayed) before being processed by the AutoFixture kernel. Meaning, that feature will not be activated by default, however users could easily enable it using a predefined customization.

@blairconrad Additionally, could you please describe what is the benefit of the faked delegate over the one created by the AutoFixture? For now only one thing comes to my mind - you can configure them using the fake library configuration syntax.

Thanks, @zvirja.
I think you're right. The benefit of a faked delegate would be that it could be configured using the fake library configuration syntax.
I'm not sure if @OnurGumus wanted to attempt a fix
I'm happy to extend the method query to support Fake<Delegate>, and will add an additional customization just as you say, but wonder: is one that supports Delegate good enough? What happens when the next reported bug wishes IEnumerable or Task or IDictionary were faked by FakeItEasy?

Oh, @zvirja has asked for confirmation on the syntax for faking a delegate. It's now been merged into FakeItEasy's documentation with FakeItEasy/FakeItEasy#1321, but to be explicit:
var fakeDelegate = A.Fake<Func<int, int>>();

is the preferred syntax for clients, although "unnatural fakes can be used:
var fakeDelegate = new Fake<Func<int, int>>();

The latter would be the equivalent of how the FakeItEasyBuilder class would create the fake.

What happens when the next reported bug wishes IEnumerable or Task or IDictionary were faked by FakeItEasy?

Fun fact: faking delegates wasn't supported until version 1.7.4257.42. Personally, I've no problem saying "you don't get this unless you use at least that version of FakeItEasy". @zvirja or others, do you consider this a problem? I'll have to do some trickery with the unit tests to make sure we don't break the existing AutoFakeItEasyUnitTest tests.
Unless you want to update the minimum FakeItEasy version for this fix. I probably wouldn't…

@blairconrad Thanks a lot for your work on that!

@zvirja or others, do you consider this a problem?

No at all. According to the SemVer we are following here, we are not allowed to change the dependency version within the same major version. Therefore, I'd say that the right step would be to add such a support for the FakeItEasy versions that support the feature. Later we might want to drop 1.x support in v5 (for consistency), but that will happen in future only.

Converting this issue to a feature, as we agreed to proceed with it (and FakeItEasy supports delegates).

Released in v4.2.0! To enable:
fixture.Customize(new AutoFakeItEasyCustomization { GenerateDelegates = true });


Question: How to access request 'ID' and response 'InResponseTo' fields?

Hi!
In my SP implementation, I would like to log out the SAML request ID field and InResponseTo field from SAML response for correlation purposes. How do I get access to those fields from passport-saml lib?
Thank you!

I would do this:
user.getAssertion()['Assertion']
	['Subject'][0]
	['SubjectConfirmation'][0]
	['SubjectConfirmationData'][0]
	['$']['InResponseTo']

That's pretty unwieldy. It seems a like a shortcut would be helpful. Further conversation about possibly adding that shortcut can continue in #393


Consider Developer Usage

Library Affected:
workbox-sw
Possible Options:

CDN
Download Button
NPM Copy Over

With each of these, there should be a dev and prod version as well.
From @jeffposnick

With #502 complete, links like
sw-lib
should be sufficient to trigger a download. I'll add in those sorts of links into the docs templates.

CDN is covered by V3. Download button will be possible via Github releases and workbox-build is intended to have a method to copy over files.


Implement matching compression for old gzip versions

This is based on https://github.com/Thar0/gzip-1.3.3-ique though I tried to reimplement things as much as possible instead of blindly porting the code. The gzip algorithm has a lot of quirks though which basically force some things to be done a particular way in order to match. It supports compression levels 4-9 (0-3 use a slightly different algorithm which I didn't implement) and simulating building with -DSMALL_MEM.
I checked that this matches both OOT iQue versions and all 3 Dr. Mario versions. Test script (run cargo build --release first): https://gist.github.com/cadmic/3b058f3809932df4dc6bc6ff9cf2ff8d. I also added in-repo tests for the 3 settings we care about (--level 9, --level 9 --small-mem, and --level 6 --small-mem).

Could you add the references you used to the readme?


Change dynamic timeout method

This changes the dynamic timeout method to be calculated as
(filesize * CONSTANT) sandwiched between MIN and MAX
to
(estimated_bytes_per_busiest_mapper * CONSTANT) + BASE, subject to a MAX
This should more accurately represent DistCp jobs since some jobs are skewed toward large files.
@plypaul

Looks good overall.


Large cache size when recording for 10-15 min

hi there
when using screentogif to record a longer video, like 10-15min long (no game recording, just dektop while doing stuff, now and then opening steam client). when  i was done, i waited until it finally renders the videos. when nothing happened after 10 min, i force closed it and checked my HDD space. 50gb were missing. i looked into the screentogif appdata temp folders and saw temp files of the rendering being 50gb big. cant tell hat went wrong. i used it just normal and it never rendered the video but created already 50gb of temp files lol. is that supposed to happen?

I don't recommend in using this software for longer than 1-minute captures right now.
Especially when not using a frame cache (see Memory cache under Options > Recorder), since each frame is simply stored as a PNG image inside the cache folder.
If you enable memory cache, it will write the frames to the memory at first, then after reaching the threshold (that you can set, in MB), it will write to a cache on disk as a single file.

oh i see, that's good to know! your explanation makes things clear now. by any chance, there is no way to make screentogif record as a video file, and later convert to a gif file?
or if i should record something with OBS instead, can screentogif convert the video into a good quality gif file?

The cache does large when handling a gif file of 8.76mb,2532 frames. It takes 12.2gb, lol...

@0lm Right now it can't record as video. But you can import a video later. Quality depends of the content and the compression.
@ElliotMok That should change in near future releases. I'm reworking the editor, so the action stack will occupy less space in disk.

The key is what content you record. If it is a film and television, each photo will occupy more than 1 megabyte. It is terrible to imagine 10 minutes, but you can try to use LICEcap：https://www.cockos.com/licecap/


Can't execute task inside VS Code after VS Code update

After I updated VS Code I can't run any NPM tasks anymore. I only receive "npm ERR! missing script" even though the script specified exists in the package.json. The same script works to execute from Power Shell.
Screenshot showing the error in VS Code and the same script running in Power Shell:

VS Code info:

tasks.json file:

Can you try setting your shell to cmd.exe? I'm wondering if you're hitting some powershell escaping issue that others have seen. In your task:
"options": {
	"shell": {
		"executable": "cmd.exe"
	}
},

Hi,
Just to clarify, I have not specified to use Power Shell inside VS Code. In my tasks.json I didn't have a "options" property set before.
When I added what you suggested the only thing that happens when I try to execute the build task is that a command prompt opens. See this screenshot;

My full tasks.json is as follows:
`// Available variables which can be used inside of strings.
// ${workspaceRoot}: the root folder of the team
// ${file}: the current opened file
// ${fileBasename}: the current opened file's basename
// ${fileDirname}: the current opened file's dirname
// ${fileExtname}: the current opened file's extension
// ${cwd}: the current working directory of the spawned process
{
"version": "2.0.0",
"tasks": [{
"label": "Run app in development mode with express mock middleware",
"type": "shell",
"command": "npm run start:disconnected",
"isBackground": true,
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"shell": {
"executable": "cmd.exe"
}
},
"problemMatcher": {
"owner": "webpack",
"source": "webpack",
"fileLocation": "absolute",
"severity": "error",
"pattern": [{
"regexp": "^ERROR in (.)$",
}, {
"regexp": "^.$"
}, {
"regexp": "^([^:]): ([^:]): ([^\(]) \((\d+):(\d+)\)$",
"file": 2,
"message": 3,
"line": 4,
"column": 5
}],
"background": {
"activeOnStart": true,
"beginsPattern": "^.: Hash: $",
"endsPattern": "^.(Compiled successfully)|(Failed to compile).*$"
}
}
}]
}`

Hi,
After some testing I was able to fix the issue by changing the default Terminal to be cmd.exe. But adding that as a option to the tasks.json, didn't work for me.


java.lang.Exception are reported as "Empty message" and no stack trace

Environment

Ubuntu 16
JRuby <IP_ADDRESS>
rollbar 2.15.0

Description of the problem
While working with a production JRuby project, exceptions that are raised in Java parts of the code (3rd party API) during Sidekiq jobs are propagated to Rollbar, but with "Empty message" as the message, and no stack trace.
Reproduction
I haven't got yet a reproduction mimicking this production issue exactly (while I have something close).
I will work on that and hopefully will report back with something here.
Potential fix
I believe a potential fix (not completely tested yet) would be to adapt extract_arguments to whitelist java exceptions, like:
      args.each do |arg|
        if arg.is_a?(String)
          message = arg
        elsif arg.is_a?(Exception)
          exception = arg
        elsif arg.is_a?(java.lang.Exception)
          exception = arg

A proper fix would have to maintain MRI compatibility, obviously.

Here is a reproduction as a sidekiq job, which will completely mimics the issue I've initially met:
class JobRaisingException
  include Sidekiq::Worker
  sidekiq_options retry: false

  def perform
    raise java.lang.Exception.new("Hello")
  end
end

(then start sidekiq, and JobRaisingException.perform_async).

Hi @thbar, thanks for reporting this! We'll take a look into it.

Hi @rivkahstandig3636 and thanks for acknowledging this.
@rokob here is a more narrow reproduction:
RSpec.describe "Rollbar behaviour" do
  it "reports java exceptions properly to rollbar" do
    begin
      raise java.lang.Exception.new("Hello")
    rescue => e
      message, exception, extra = Rollbar::Notifier.new.send(:extract_arguments, [e])
      expect(exception).to eq(e)
    end
  end
end

I initially wanted to make something closer from the rollbar test suite, but could not easily run it with success locally.

(note that the fix I proposed, although not working as is for MRI, also works to fix this smaller reproduction)

The fix and the test have been merged in the PR and will be included in the next tag release.


[Question] proxy for file upload run a while will throw OutOfDirectMemoryError

Question
any suggestion to prevent this issue？
here is the error stack
Caused by: io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 4194304 byte(s) of direct memory (used:<PHONE_NUMBER>, max:<PHONE_NUMBER>)         at io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:806)         at io.netty.util.internal.PlatformDependent.allocateDirectNoCleaner(PlatformDependent.java:735)         at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:649)         at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:624)         at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:203)         at io.netty.buffer.PoolArena.tcacheAllocateNormal(PoolArena.java:187)         at io.netty.buffer.PoolArena.allocate(PoolArena.java:136)         at io.netty.buffer.PoolArena.allocate(PoolArena.java:126)         at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:396)         at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188)         at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)         at io.netty.channel.unix.PreferredDirectByteBufAllocator.ioBuffer(PreferredDirectByteBufAllocator.java:53)         at io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator$MaxMessageHandle.allocate(DefaultMaxMessagesRecvByteBufAllocator.java:120)         at io.netty.channel.epoll.EpollRecvByteAllocatorHandle.allocate(EpollRecvByteAllocatorHandle.java:75)         at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:785)         at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487)         at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385)         at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)         at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)         at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)         at java.lang.Thread.run(Thread.java:750)

You need to provide more information about this issus, like:
how big is this file.
how big is the jvm heap.
how much does you to used plugin.
This information needs to be related to the environment when you run.

below is the jvm setting, we use apache benchmarking to test upload file with file size from 1K to 10M
java -server -Xmx4g -Xms4g -Xmn1g -Xss512k -XX:MaxDirectMemorySize=2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/heapdump.hprof -XX:LargePageSizeInBytes=128m -Dshenyu.extPlugin.scheduleTime=3600 -Dplugin-ext=./ext-lib -Dspring.jmx.enabled=true -Djava.rmi.server.hostname=*** -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=8099 -Dcom.sun.management.jmxremote.rmi.port=8099 -Dcom.sun.management.jmxremote.access.file=/root/gateway-soap-test/gateway-bootstrap/jmxremote.access -Dcom.sun.management.jmxremote.password.file=/root/gateway-soap-test/gateway-bootstrap/jmxremote.password -Dcom.sun.management.jmxremote.ssl=false -Dspring.config.location=/root/gateway-soap-test/gateway-bootstrap/bootstrap.yml -Dshenyu.work.threads=1024 -jar /root/gateway-soap-test/gateway-bootstrap/tpass-gateway-soap.jar

This error is caused by running out of direct memory when trying to allocate memory for uploading a file through a proxy. The Java Virtual Machine (JVM) uses direct memory for ByteBuffer objects used by Netty, a popular networking library used for building high-performance network applications. Direct memory is memory outside of the Java heap and is allocated using the operating system's memory management system.
The error message indicates that the JVM has used up almost all of its available direct memory, leaving only 4 MB available, which is not enough to allocate the memory needed for the file upload. The maximum amount of direct memory available to the JVM is 2 GB<PHONE_NUMBER> bytes).
To fix this error, you can try increasing the maximum amount of direct memory available to the JVM by setting the -XX:MaxDirectMemorySize JVM option. For example, you can set this option to 4 GB by adding the following to your JVM arguments:
-XX:MaxDirectMemorySize=4g

This will increase the maximum amount of direct memory available to the JVM to 4 GB, which should provide enough memory for the file upload.
Alternatively, you can try reducing the amount of direct memory used by your application by optimizing your code or reducing the size of the files being uploaded. You can also try using a different networking library that uses less direct memory or that allows you to configure the amount of direct memory used.


fix class-b RFC1918 network

I'm pretty sure this should be <IP_ADDRESS>/16, not <IP_ADDRESS>/16 as per RFC1918. Nothing against AT&T (who own <IP_ADDRESS>/16)...

Good catch! Indeed, nothing against AT&T :)
This file is generated though, so you'd need to update the IP here: https://github.com/matrix-org/matrix-authentication-service/blob/19fab3c5fac9860c1fb41143a92ca20dee13b457/crates/config/src/sections/http.rs#L68
And then run sh misc/update.sh (or just cargo run -p mas-config > ./docs/config.schema.json if you don't have a full dev environment working. This only requires cargo/rust to be installed)


does not detect pt-br audio

Program version
3.1.0
Operating System
Windows
Type
Cli
Service
Funimation
Command used
dl --service funi -s 78219 -q 0 -e 41 --novids --dubLang "por" --dlsubs pt
Show ID
78219
Episode
41
Console Output

dl --service funi -s 78219 -q 0 -e 41 --novids --dubLang "por" --dlsubs pt

=== Multi Downloader NX 3.1.0 ===
[#78219] Steins;Gate (2013)
[ 0001] Steins;Gate - #01 Turning Point (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0002] Steins;Gate - #02 Time Travel Paranoia (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0003] Steins;Gate - #03 Parallel World Paranoia (24:01) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0004] Steins;Gate - #04 Interpreter Rendezvous (24:01) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0005] Steins;Gate - #05 Starmine Rendezvous (24:01) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0006] Steins;Gate - #06 Butterfly Effect's Divergence (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0007] Steins;Gate - #07 Divergence Singularity (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0008] Steins;Gate - #08 Chaos Theory Homeostasis - I (24:01) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0009] Steins;Gate - #09 Chaos Theory Homeostasis - II (24:01) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0010] Steins;Gate - #10 Chaos Theory Homeostasis - III (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0011] Steins;Gate - #11 Dogma in Event Horizon (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0012] Steins;Gate - #12 Dogma in Ergosphere (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0013] Steins;Gate - #13 Metaphysics Necrosis (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0014] Steins;Gate - #14 Physically Necrosis (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0015] Steins;Gate - #15 Missing Link Necrosis (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0016] Steins;Gate - #16 Sacrificial Necrosis (24:01) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0017] Steins;Gate - #17 Made in Complex (24:01) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0018] Steins;Gate - #18 Fractal Androgynous (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0019] Steins;Gate - #19 Endless Apoptosis (24:01) [HD1080, English, Japanese, Spanish, Portuguese][ 0020] Steins;Gate - #20 Finalize Apoptosis (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0021] Steins;Gate - #21 Paradox Meltdown (24:01) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0022] Steins;Gate - #22 Being Meltdown (24:01) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0023] Steins;Gate - #23 Open the Steins Gate (24:01) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0024] Steins;Gate - #24 Achievement Point (24:01) [HD1080, English, Japanese, Spanish, Portuguese][V0001] Steins;Gate - ova#01 Egoistic Poriomania (00:24:45) [HD1080, Japanese, English, Portuguese, Spanish]
[V0003] Steins;Gate S2 - ova#00 23β- Divide by Zero (00:23:40) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0025] Steins;Gate S2 - #01 Missing Link of the Annihilator -Absolute Zero- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0026] Steins;Gate S2 - #02 Epigraph of the Closed Curve -Closed Epigraph- (00:23:39) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0027] Steins;Gate S2 - #03 Protocol of the Two-sided Gospel -X-day Protocol- (00:23:39) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0028] Steins;Gate S2 - #04 Solitude of the Mournful Flow -A Stray Sheep- (00:23:39) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0029] Steins;Gate S2 - #05 Solitude of the Astigmatism -Entangled Sheep- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0030] Steins;Gate S2 - #06 Eclipse of Orbital Ordering -The Orbital Eclipse- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0031] Steins;Gate S2 - #07 Eclipse of Vibronic Transition -Vibronic Transition- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0032] Steins;Gate S2 - #08 Dual of Antinomy -Antinomic Dual- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0033] Steins;Gate S2 - #09 Pandora of Eternal Return -Pandora's Box- (00:23:39) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0034] Steins;Gate S2 - #10 Pandora of Provable Existence -Forbidden Cubicle- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0035] Steins;Gate S2 - #11 Pandora of Forgotten Existence -Sealed Reliquary- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0036] Steins;Gate S2 - #12 Mother Goose of Mutual Recursion -Recursive Mother Goose- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0037] Steins;Gate S2 - #13 Mother Goose of Diffractive Recitativo -Diffraction Mother Goose- (00:23:39) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0038] Steins;Gate S2 - #14 Recognition of the Elastic Limit -Presage or Recognize- (00:23:39) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0039] Steins;Gate S2 - #15 Recognition of the Asymptotic Line -Recognize Asymptote- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0040] Steins;Gate S2 - #16 Altair of the Point at Infinity -Vega and Altair- (00:23:39) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0041] Steins;Gate S2 - #17 Altair of the Hyperbolic Plane -Beltrami Pseudosphere- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish] (selected)
[ 0042] Steins;Gate S2 - #18 Altair of Translational Symmetry -Translational Symmetry- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0043] Steins;Gate S2 - #19 Altair of the Cyclic Coordinate -Time-leap Machine- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0044] Steins;Gate S2 - #20 Rinascimento of the Unwavering Promise -Promised Rinascimento- (00:23:39) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0045] Steins;Gate S2 - #21 Rinascimento of Image Formation -Return of Phoenix- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[ 0046] Steins;Gate S2 - #22 Rinascimento of Projection -Project Amadeus- (00:23:39) [HD1080, English, Japanese, Spanish, Portuguese]
[ 0047] Steins;Gate S2 - #23 Arclight of the Point at Infinity -Arc-light of the Sky- (00:23:39) [HD1080, English, Japanese, Portuguese, Spanish]
[V0002] Steins;Gate S2 - ova#24 Valentine's of Crystal Polymorphism -Bittersweet Intermedio- (23:40) [HD1080, English, Japanese, Spanish, Portuguese]
[INFO] Selected Episodes: 0041
[INFO] Steins;Gate - S2E17 - Altair of the Hyperbolic Plane -Beltrami Pseudosphere-
[INFO] Available streams (Non-Encrypted):
[#883165] English [Uncut]
[#914474] Japanese [Uncut]
[#1333019] Portuguese (Brazil) [Uncut] (selected) (using 'Portuguese' for subtitles)
[#3406480] Spanish (Latin Am) [Uncut]
[INFO] Servers available:
vmfst-api.prd.funimationsvc.com
[INFO] Available qualities:
1: 416x234 (530KiB/s)
2: 480x270 (764KiB/s)
3: 640x360 (995KiB/s)
4: 640x360 (1689KiB/s)
5: 960x540 (2303KiB/s)
6: 1280x720 (2960KiB/s)
7: 1280x720 (4392KiB/s)
8: 1440x810 (5977KiB/s)
9: 1920x1080 (7824KiB/s)
10: 1920x1080 (9781KiB/s)
[INFO] Selected layer: 10 (1920x1080) @ vmfst-api.prd.funimationsvc.com
[INFO] Stream URL: https://vmfst-api.prd.funimationsvc.com/FunimationStoreFront/1988453/Portuguese(Brazil)/1988453_Portuguese(Brazil)_7665817_4e2616da-b878-e911-8175-020165574d09_Layer10.m3u8?t=exp%3D1659364454~acl%3Dhttps%3A%2F%2Fvideo.prd.funimation.com%2FFunimationStoreFront%2F1988453%2F*~hmac%3De55bb1f9d3d1b51654218f562f185ff146b1fa7c56c748bbcc37e1570f140fd5
[INFO] Output filename: [Funimation] Steins;Gate - S02E17 [1080p].ts
[INFO] Skip video downloading...
[INFO] Downloading subtitles...
[INFO] Subtitles downloaded!
[INFO] Unable to locate a video AND audio file
Additional Information
In this episode, the pt-br audio can only be downloaded if I put the video to download together......
So this command only ends up downloading the subtitle:
dl --service funi -s 78219 -q 0 -e 41 --novids --dubLang "por" --dlsubs pt

But I can:
dl --service funi -s 78219 -q 1 -e 41 --dubLang "por" --dlsubs pt
• Now I don't remember, on which occasion, but this has happened with other shows.
Could add the option to download the srt and vtt subtitles in addition to the ass.
• Thank you very much!!!!!!!!!!!

forgot to mention with the command: dl --service funi -s 78219 -q 1 -e 41 --dubLang "por" --dlsubs pt ........  it downloads the audio and video in a single .TS, instead of downloading the separate tracks for later remux.


add travis-ci support

I think that's it. Will file other problems as independent issues for further tracking. Merge this so that I may have some progress on other repositories.


[Commandline version] Shorter --version output

Hey guys,
Not sure if this gets through or not but I will at the least explain the point I am trying to make here.
Right now if you do:
scons --version

You get this output:
SCons by Steven Knight et al.:
        SCons: v4.0.1.c289977f8b34786ab6c334311e232886da7e8df1, 2020-07-17 01:50:03, by bdbaddog on ProDog2020
        SCons path: ['/usr/lib/python3.8/site-packages/SCons-4.0.1-py3.8.egg/SCons']
Copyright (c) 2001 - 2020 The SCons Foundation

The string I, as a user, am interested here is the "4.0.1" part only. This follows from this URL:
https://downloads.sourceforge.net/scons/scons-4.0.1.tar.gz
There is actually a reason I am filing this, because I have another project that tries to
find out which programs are installed; and also the versions. So I have to parse the
output.
Now, I can add a special rule for scons just fine; I grab the second line
and scan for the part between "v" and "c" and I guess this will work fine for
subsequent releases.
But at the same time I wonder why this output is so long?
To be fair, other programs can also be long, the GPL based programs typically
also mention the licence and copyright.
But compare this to gnuplot:
gnuplot --version

Output is:
gnuplot 5.4 patchlevel 0

Quite easy to parse.
Or, even better, python:
python --version

Output is:
Python 3.8.4

Anyway, if you guys want to retain the current output that is fine but I propose to
then also add something like --short-version or -V or well ... perhaps --verbose
to show the above verbose output, and instead use a much shorter output.
It's no big deal either way but I just wanted to mention it. :)

Probably would have to do a deprecation cycle to change the --version output in case anyone is depending on the current output (which has been the same since 2001..)
If you feel like taking a try to make this change we'd help you through a pull request.

Also.. It seems you ignored the request to bring this to the users mailing list, irc channel or discord server.
In the future please bring your issue to any of those channels first.

How about adding

-V     print the SCons version in a parseable form

-V sounds reasonable.

Was just thinking a new flag to avoid depr.

Maybe inspire by gcc, which has dumpversion (for some reason they chose to make that single-dash even though it looks like a "long option" which takes double dash, but we wouldn't follow that choice, I guess)


Add h5-index for each conference

Sourced from Google Scholar:
https://scholar.google.com/citations?view_op=top_venues&hl=en
This fixes #181.

FYI -1 is used in place of "N/A" for when I am unable to find the h5-index.
h5-index is the # of papers =h with at least h citations in the past 5 years. This is commonly used as a rough journal/conference/etc ranking.

Thank you!


FFDC to collect RHEL sosreport

sosreport --batch  --tmp-dir /var/tmp/
sosreport (version 3.5)
This command will collect diagnostic and configuration information from
this Red Hat Enterprise Linux system and installed applications.
An archive containing the collected information will be generated in
/var/tmp/sos.Wy9FES and may be provided to a Red Hat support
representative.
Any information provided to Red Hat will be treated in accordance with
the published support policies at:
https://access.redhat.com/support/
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.
No changes will be made to system configuration.
Setting up archive ...
Setting up plugins ...
....
...
Running 92/98: udev...
Running 93/98: usb...
Running 94/98: vhostmd...
Running 95/98: x11...
Running 96/98: xen...
Running 97/98: xfs...
Running 98/98: yum...
Creating compressed archive...
Your sosreport has been generated and saved in:
/var/tmp/sosreport-xx.xx.xx.xx-20190409051857.tar.xz
The checksum is: 784640ed2294f778f560f93f33a2f42b
Please send this file to your support representative.

sosreport --batch  --tmp-dir /var/tmp/ --name=opal_log

Your sosreport has been generated and saved in:
  /var/tmp/sosreport-opallog-20190409052632.tar.xz

Heading to @ssombar to add this one up..

https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-test-automation/+/24590

I'm told Ubuntu has this tool too.

Thanks @ssombar


去掉总量数据推断

I suggest you to read
https://github.com/AFNetworking/AFNetworking/blob/master/CONTRIBUTING.md


[Multi-container] endpoint name

As it turned out the endpoint name is not optional, this pr adds the field back for the hose mode.

https://www.youtube.com/watch?v=bupagiROLV8

This could be a separate issue, but when I try to change hostPort from JSON it always sets automatically assign checkbox no matter what value I have in JSON

@nLight Added parsers for automaticPort

Awesome work! 💯
I wonder how many of optional yet required fields we still have 😅


Share Popover Positioning on iOS Tablet

This is somewhat related to issue #54, but I am more interested in getting the ability to position the share popover on iOS tablets.  Currently the popover displayed in the upper top left corner of the tablet screen.

Yes, this is a duplicate of #54


Reduce EUnit log noise

We dump the logs to Jenkins console on failure, but when the volume of the logs is too large, it locks the browser and make it impossible to inspect. This should reduce the logging volume about 10MB instead of 40MB and hopefully make it more manageably to inspect in the browser.

% ls -lh tmp
     ...   10M Dec  6 20:40 couch.log

As luck would have it, it did fail and the logs are actually viewable in the browser: https://ci-couchdb.apache.org/blue/rest/organizations/jenkins/pipelines/jenkins-cm1/pipelines/PullRequests/branches/PR-4899/runs/1/nodes/140/steps/210/log/?start=0
It looks like nouveau elixir cluster setup is still flaky:
[2023-12-07T02:07:54.538Z]   jason 1.4.1
[2023-12-07T02:07:54.538Z]   junit_formatter 3.3.1
[2023-12-07T02:07:54.538Z]   ssl_verify_fun 1.1.7
[2023-12-07T02:07:58.437Z] Traceback (most recent call last):
[2023-12-07T02:07:58.437Z]   File "/home/jenkins/workspace/jenkins-cm1_PullRequests_PR-4899/26.1.2/build/apache-couchdb-3.3.3-22387ff/dev/run", line 1193, in <module>
[2023-12-07T02:07:58.437Z]     main()
[2023-12-07T02:07:58.437Z]   File "/home/jenkins/workspace/jenkins-cm1_PullRequests_PR-4899/26.1.2/build/apache-couchdb-3.3.3-22387ff/dev/run", line 96, in main
[2023-12-07T02:07:58.437Z]     startup(ctx)
[2023-12-07T02:07:58.437Z]   File "/home/jenkins/workspace/jenkins-cm1_PullRequests_PR-4899/26.1.2/build/apache-couchdb-3.3.3-22387ff/dev/run", line 852, in startup
[2023-12-07T02:07:58.437Z]     cluster_setup(ctx)
[2023-12-07T02:07:58.437Z]   File "/home/jenkins/workspace/jenkins-cm1_PullRequests_PR-4899/26.1.2/build/apache-couchdb-3.3.3-22387ff/dev/run", line 75, in wrapper
[2023-12-07T02:07:58.437Z]     res = func(*args, **kwargs)
[2023-12-07T02:07:58.437Z]   File "/home/jenkins/workspace/jenkins-cm1_PullRequests_PR-4899/26.1.2/build/apache-couchdb-3.3.3-22387ff/dev/run", line 1007, in cluster_setup
[2023-12-07T02:07:58.437Z]     finish_cluster(lead_port, *ctx["admin"])
[2023-12-07T02:07:58.437Z]   File "/home/jenkins/workspace/jenkins-cm1_PullRequests_PR-4899/26.1.2/build/apache-couchdb-3.3.3-22387ff/dev/run", line 1084, in finish_cluster
[2023-12-07T02:07:58.437Z]     conn.request(
[2023-12-07T02:07:58.437Z]   File "/usr/lib/python3.9/http/client.py", line 1255, in request
[2023-12-07T02:07:58.437Z]     self._send_request(method, url, body, headers, encode_chunked)
[2023-12-07T02:07:58.437Z]   File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
[2023-12-07T02:07:58.437Z]     self.endheaders(body, encode_chunked=encode_chunked)
[2023-12-07T02:07:58.437Z]   File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
[2023-12-07T02:07:58.437Z]     self._send_output(message_body, encode_chunked=encode_chunked)
[2023-12-07T02:07:58.437Z]   File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
[2023-12-07T02:07:58.437Z]     self.send(msg)
[2023-12-07T02:07:58.437Z]   File "/usr/lib/python3.9/http/client.py", line 950, in send
[2023-12-07T02:07:58.437Z]     self.connect()
[2023-12-07T02:07:58.437Z]   File "/usr/lib/python3.9/http/client.py", line 921, in connect
[2023-12-07T02:07:58.437Z]     self.sock = self._create_connection(
[2023-12-07T02:07:58.437Z]   File "/usr/lib/python3.9/socket.py", line 843, in create_connection
[2023-12-07T02:07:58.437Z]     raise err
[2023-12-07T02:07:58.437Z]   File "/usr/lib/python3.9/socket.py", line 831, in create_connection
[2023-12-07T02:07:58.437Z]     sock.connect(sa)
[2023-12-07T02:07:58.437Z] ConnectionRefusedError: [Errno 111] Connection refused
[2023-12-07T02:07:58.437Z] make[1]: *** [Makefile:568: nouveau-test-elixir] Error 1
[2023-12-07T02:07:58.437Z] make[1]: Leaving directory '/home/jenkins/workspace/jenkins-cm1_PullRequests_PR-4899/26.1.2/build/apache-couchdb-3.3.3-22387ff'
[2023-12-07T02:07:58.437Z] make: *** [Makefile:162: check] Error 2
[2023-12-07T02:07:58.437Z] + make build-report

But that's for another PR to fix. it's nice that we don't have to download the Jenkins logs just to inspect them


Detect corrupt char sequences with incomplete supplementary code points

Add the ability to detect corrupt char sequences with incomplete supplementary code points. For example:

a high-surrogate code unit without a corresponding low-surrogate code unit
a low-surrogate code unit without a corresponding high-surrogate code unit

In the Unicode documentation, a supplementary code point is a Unicode code point between U+10000 and U+10FFFF and requires a surrogate pair to represent the code point using two Java UTF-16 char values in a sequence. These two char values are Unicode surrogate code points which are:

A Unicode code point in the range U+D800..U+DFFF. Reserved for use by UTF-16, where a pair of surrogate code units (a high surrogate code unit followed by a low surrogate code unit) “stand in” for a supplementary code point.

This has been implemented.


Updated the links

Updated the deprecated links

Summary

Ticket Link

Hello @Sayanta66,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Thanks for participating in Hacktoberfest! You can claim your sticker set here: https://get.printfection.com/hacktober21/4144583267 @Sayanta66


bug

When server lag, you can spam clicking on reedem, and you get it more times

was this bug fixed?

deprecated, use https://forum.cfx.re/t/re-release-esx-daily-rewards-updated-1-2-15-2-20/1016265


Suggestions: Increased Functionality

I feel like there are 2 main things from logs that the program needs to be able to show. The first is the entrance list and the second is the settings used (such as what the item pool is, tricks in logic, what the bridge requirement is etc)

I would like to point out that this project could really shine if it finds a good way to exhibit the seed's entrances in the case of an entrance randomizer seed, because currently reading entrances is quite difficult.

Thanks @ETR-BTF, I created #2 to address this issue. You are much more familiar than I am, so please feel free to expand on what I've written (which isn't much).

Closing this issue, splitting into #2 and #12


Add support for node-webkit runtime

node-webkit / nwjs is supported by node-abi, yet, is unusable in node-gyp-build due to a bug in runtime negotiation.
Find related PR : https://github.com/prebuild/node-gyp-build/pull/43

4.4.0


Communication through data files

The standardization of communication that uses data files (XML files for example), is needed.

Added to release 1.2.4


Type.ToString is broken.

Bridge Fiddle
Dot Net Fiddle
Expected
System.Int32

Actual
function Class(){if(!(this instanceof Class)){var args=Array.prototype.slice.call(arguments,0),object=Object.create(Class.prototype),result=Class.apply(object,args);return typeof result==="object"?result:object;}
if(!initializing){if(this.$staticInit){this.$staticInit();}
if(this.$initMembers){this.$initMembers.apply(this,arguments);}
this.$$initCtor.apply(this,arguments);}}

Steps To Reproduce
public class App
{
    [Ready]
    public static void Main()
    {
        int v = 2;
        Console.WriteLine(v.GetType().ToString());
    }
}

This might be a tough one to change. The current result is the expected result in JavaScript. Calling .ToString() on any function will return the actual function source code.
If you need the name, how about using the .FullName property?
v.GetType().FullName

@geoffreymcgill, question? I don't see how it is a question. It is a behaviour which is different from .NET. This is a defect and it is an issue about .NET and javascript ToString having different behaviours.

I believe this scenario is working correctly as of Bridge 1.14. The return result will be System.Int32 instead of Bridge.Int32.

Yes, this one is fixed by #1337 as well.

@geoffreymcgill, @geoffreymcgill, Bridge Fiddle doesn't work.

Right, it uses System.Int32 as underlying type, that was fixed for 1.14, but .toString() is not defined.

Related to #1335

Type still isn't boxed so I think this issue should stay open, also ToString does not have the same behavior as FullName.
https://dev.deck.net/a6d9b30b78668e8998ee56a3da7ac2c2
https://dotnetfiddle.net/20L6fu

Hi, guys.
It seems typeof(T) broken also:
Actual - Deck.Net: https://deck.net/13ce5c57e4284bd5fefa9eb09a074aa4
Expected - Ideone.com: https://ideone.com/1jKpgl
public class Program
{
    public static void Main()
    {
        // Expected:
        Console.WriteLine(typeof(string));
        var type = typeof(string);
        Console.WriteLine(type);

        // Not expected:
        Console.WriteLine("{0}", typeof(string));
        Console.WriteLine($"{typeof(string)}");
    }
}

Expected:
System.String
System.String
System.String
System.String

Actual:
System.String
System.String
function(){this.$initialize();u.$base&&(u.$$inherits&&u.$$inherits.length>0&&u.$$inherits[0].$staticInit&&u.$$inherits[0].$staticInit(),u.$base.ctor?u.$base.ctor.call(this):Bridge.isFunction(u.$base.constructor)&&u.$base.constructor.call(this))}
function(){this.$initialize();u.$base&&(u.$$inherits&&u.$$inherits.length>0&&u.$$inherits[0].$staticInit&&u.$$inherits[0].$staticInit(),u.$base.ctor?u.$base.ctor.call(this):Bridge.isFunction(u.$base.constructor)&&u.$base.constructor.call(this))}

It seems Bridge simply doesn't generate a call of Bridge.getTypeName() over the specified type when we call typeof from string.Format or from interpolated line.
I'm don't know should I create new issue or such case will be covered by current issue.


DataFactory API returns resource group name in lower-case

Hello! This is following up on #3964. It looks like the DataFactory API based off 2018-06-01 inside v26.7.0 of the azure sdk also returns the resource group name in lower case.
Terraform is throwing a ForceNew when a capitalized resource group name is passed into any DataFactory resource. For example:
------- Stdout: -------
=== RUN   TestAccAzureRMDataFactoryDatasetPostgreSQL_update
=== PAUSE TestAccAzureRMDataFactoryDatasetPostgreSQL_update
=== CONT  TestAccAzureRMDataFactoryDatasetPostgreSQL_update
--- FAIL: TestAccAzureRMDataFactoryDatasetPostgreSQL_update (83.73s)
    testing.go:568: Step 0 error: After applying this step, the plan was not empty:

        DIFF:

        DESTROY/CREATE: azurerm_data_factory.test
          github_configuration.#: "0" => "0"
          id:                     "/subscriptions/8708baf2-0a54-4bb4-905b-78d21ac150da/resourceGroups/acctestrg-1154640959761039184/providers/Microsoft.DataFactory/factories/acctestdf1154640959761039184" => "<computed>"
          identity:               "" => "<computed>"
          identity.#:             "0" => ""
          location:               "westeurope" => "westeurope"
          name:                   "acctestdf1154640959761039184" => "acctestdf1154640959761039184"
          resource_group_name:    "acctestrg-1154640959761039184" => "acctestRG-1154640959761039184" (forces new resource)
          tags:                   "" => "<computed>"
          vsts_configuration.#:   "0" => "0"

The following tests are failing as well;
 TestAccAzureRMDataFactoryDatasetMySQL_basic
 TestAccAzureRMDataFactoryDatasetMySQL_update
 TestAccAzureRMDataFactoryDatasetPostgreSQL_basic
 TestAccAzureRMDataFactoryDatasetPostgreSQL_update
 TestAccAzureRMDataFactoryDatasetSQLServerTable_basic
 TestAccAzureRMDataFactoryDatasetSQLServerTable_update
 TestAccAzureRMDataFactoryLinkedServiceMySQL_basic
 TestAccAzureRMDataFactoryLinkedServiceMySQL_update
 TestAccAzureRMDataFactoryLinkedServicePostgreSQL_basic
 TestAccAzureRMDataFactoryLinkedServicePostgreSQL_update
 TestAccAzureRMDataFactoryLinkedServiceSQLServer_basic
 TestAccAzureRMDataFactoryPipeline_basic
 TestAccAzureRMDataFactoryPipeline_update
 TestAccAzureRMDataFactory_basic
 TestAccAzureRMDataFactory_github
 TestAccAzureRMDataFactory_identity
 TestAccAzureRMDataFactory_tags

Thanks!

@shawnxza to take a look

@LijuanZ Could you please have a look at this?

This is by design that Data Factory stores only lowercase resource group name


VS Notebook editor: unable to adjust zoom for code and markdown blocks

Describe the bug
Zoom level is only possible for output blocks. It should be available for all blocks.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
1.0.310301

OS

[ ] Windows 11
[X] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Frontend

[ ] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[ ] Visual Studio Code
[ ] Visual Studio Code Insiders
[X] Visual Studio
[ ] Other (please specify)

@jonsequitur , How do you reproduce this issue?

Open a Notebook with the VS2022 Notebook editor
Move your cursor over either a Code block, or a Text block
Try to use the mouse wheel (or keyboard shortcuts) to "zoom" the text size
Text size is not changed

Now, do the exact same thing with your mouse over an Output block, and watch as the text size shrinks/grows (as expected).
Let me know if you need more details.

As @luisquintanilla mentioned  in NET Interactive issues review chat this is inherited issue from the visual studio IDE. Visual studio has this know issue to zoom text.  The issue is not specific to Notebook rather inherited from VS.

@zewditu ok, thanks for explaining. Would you happen to have a link to the issue on Visual Studio's tracker? I'd like to read the details. Cheers.

Closing as support for notebooks in VS has been discontinued


Host-agent DNS forwarder improvements (fixes #770)

Previous issues:

https://github.com/lima-vm/lima/issues/270
https://github.com/rancher-sandbox/rancher-desktop/issues/702

Fixes: https://github.com/rancher-sandbox/rancher-desktop/issues/770

Listen for TCP traffic
Fix responding with more than one A record
Add AAAA, CNAME, NS and TXT forwarding
Fix iptables forward rules so hostagent is accessible from containers

Once you are done with this PR please squash commits into either a single commit, or two commits: one for adding the TCP port, and one for adding additional A records.

Is this still a draft?

Most of the discussion is actually happening in https://github.com/rancher-sandbox/rancher-desktop/issues/770

@dee-kryvenko Sorry, I can't finish the review right now. I want to understand the logic behind recursion, and if returning CNAME and A records in the same response is fine etc (I assume it is), but my mind has been broken by looking at too many iptables docs; will have to finish on the weekend, or Monday.
I'll also want to take a look into adding support for SRV queries.

@jandubois added the SRV too.
As to the recursion - so the client can request server to do a recursion for it (req.RecursionDesired). If the server responds with reply.RecursionAvailable = false - client will swallow the bullet and do recursion on it's own. 		IN	A

;; ANSWER SECTION:
updates.jenkins.io.	686	IN	CNAME	mirrors.jenkins.io.
mirrors.jenkins.io.	741	IN	A	<IP_ADDRESS>

;; Query time: 16 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Fri Oct 15 18:14:04 PDT 2021
;; MSG SIZE  rcvd: 85

This is one of the things I mentioned in https://github.com/rancher-sandbox/rancher-desktop/issues/770 - I don't know the RFC and I don't know if it's a correct behavior, I just observed other public recursive resolvers are doing that.

Well, and here goes the first - I was wrong. Apparently recursion only meant for the zone delegation stuff and not the CNAME. 		IN	A

;; ANSWER SECTION:
updates.jenkins.io.	2796	IN	CNAME	mirrors.jenkins.io.
mirrors.jenkins.io.	2893	IN	A	<IP_ADDRESS>

;; Query time: 9 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Fri Oct 15 18:46:15 PDT 2021
;; MSG SIZE  rcvd: 85

So it always gives both CNAME and A.

@AkihiroSuda - just a feedback, git commit --amend followed by git push --force-with-lease kind of freaks me out as I am loosing all the contextual history on the PR. Which means if I mess up with amend - it won't be as easy to revert which kind of defeats usefulness of Git... Have you considered to only enable Allow squash merging and disable rest of the merging options? That will keep master branch history clean and linear while not taking away my git log in my own branch.

With this final change I would be willing to merge:
--- pkg/hostagent/dns.go
+++ pkg/hostagent/dns.go
@@ -97,12 +97,14 @@ func (h *Handler) handleQuery(w dns.ResponseWriter, req *dns.Msg) {
                                        ipv6 := ip.To4() == nil
                                        if q.Qtype == dns.TypeA && !ipv6 {
                                                hdr.Rrtype = dns.TypeA
+                                               hdr.Name = lookupName
                                                a = &dns.A{
                                                        Hdr: hdr,
                                                        A:   ip.To4(),
                                                }
                                        } else if q.Qtype == dns.TypeAAAA && ipv6 {
                                                hdr.Rrtype = dns.TypeAAAA
+                                               hdr.Name = lookupName
                                                a = &dns.AAAA{
                                                        Hdr:  hdr,
                                                        AAAA: ip.To16(),

Which means if I mess up with amend or need to get back to the older version of the code due to feedback on the PR - it won't be as easy to revert which kind of defeats usefulness of Git...

Are you familiar with git reflog? It keeps the history of your HEAD for the last 90 days, so you are always able to return to an older commit by simply running git reset --hard 1234567.
Github also shows you the old and new SHA1 of your branch for each forced push, so that also allows you to switch back to any older commit.
And the string "force-pushed" in the Github UI is a hyperlink that lets you see the difference between the previous and the new branch.
So there are plenty of ways to recover your older commits and branches. After 90 days the reflog no longer holds a reference to them, so a garbage collection run might remove them. But chances are high that if you haven't missed them in 90 days, you will never need them again.

Are you familiar with git reflog?

I am, but I don't find working with detached heads even remotely comparable, not to mention that many of us have more than one workspation and it brings additional complexity when you need partial rollback or something. I find it useful to have contextual history in the PR available handy as sometimes it helps the reviewer (or even a user) to easily find and browse what was done and why it wasn't included in the final version.

I mean Allow squash merging does exactly that - squashes everything into one new commit on top of the current HEAD, so it is always a fast-forward merges and linear history.

I believe the idea is that the PR author is the one to decide how to structure commits. We don't want each PR to be a single commit; you should still separate unrelated changes into their own commits, with a focused commit message (when possible).
But anything that is just part of development history, like any changes that are being reverted in later commits, should not become part of permanent history.
There is no requirement to always squash your commits right away, just during the final code review before they are being merged.

Also, DCO bot doesn't seem to like missing sign off... I'm not a lawyer but why is my cryptographic signature isn't enough?

There is no signature on the latest commit:
commit 19ebfb6fb8fc04db9d4f5bca50eb8ebf8f945a5f (HEAD -> fix-dns-server-tcp)
Author: Dee Kryvenko<EMAIL_ADDRESS>Date:   Tue Oct 19 20:00:23 2021 -0700

    Fix undefined cname race condition

    Co-authored-by: Jan Dubois<EMAIL_ADDRESS>

There is a GPG signature:
> git verify-commit HEAD
gpg: Signature made Tue Oct 19 20:00:23 2021 PDT
gpg:                using RSA key 4AEE18F83AFDEB23
gpg: Can't check signature: No public key

I thought it's "mine" (one GitHub auto generated for my account), but turns out it is GitHub's one that they use for everyone making changes in the UI. That's what gives that commit a Verified badge.
I will re-sign with mine, but I think what DCO is complaining about is a sign-off and not a signature (a text in the commit message). I'm slightly confused why this is important and not the actual signature, as the signature is what gives it authentic and not the text, right?

I think what DCO is complaining about is a sign-off and not a signature (a text in the commit message). I'm slightly confused why this is important and not the actual signature, as the signature is what gives it authenticity and not the text, right?

Yes, the DCO bot cares only about the sign-off. I'm somewhat confused how this holds legal significance, given how easily it can be spoofed, but it is a requirement from all the big foundations nowadays that all contributions have to come with a DCO "declaration".
It is certainly a barrier to contribution, but compared to the old days, when you had to send a CLA by snail-mail and include a copyright assignment, this is much simpler and less intrusive.
So to keep the option open to eventually transfer Lima to e.g. the CNCF or the Linux Foundation, or whatever a good home would be, we need to insist on getting DCO sign-off on every commit.
And I think this would also prevent us from "squash during merge" because we could not attach a sign-off to the squashed commit; only the original developer can do that.

Thank you for your work, and your patience going through the whole process!


Redact PII from request URLs in logs

We've recently added more logging of request URLs to logit.io. Some of those URLs contain sensitive information that we don't want to log.
This PR builds on the redaction setup we've previously only had on the API and extends it for all three web apps. It also adds support for redacting segments of the URL path based on the route template parameter name e.g. trn.
It works by looking for query parameters and route template parameters that are in either in a fixed list of known 'PII' fields or have been explicitly added to the endpoint by an RedactParametersAttribute.

 Ensure PII is redacted from logit.io


[WIP] Various changes to remove reflection usage

Generates KnownColors instead of going though reflection
Introduces ZOrderComparer so nativeaot doesn't have to resolve one via reflection
Generates code for X11Atoms.cs (previously atom fields were populated with reflection)
Generates values for X11 cursor shapes

You can test this PR using the following package version. 0.10.999-cibuild0023241-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0023245-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Bot timeout variable

Hello,
Is it possible to make bot timeout configurable? Some people find it annoying that it just leaves after playing the songs.

If you take a look at the example config, you can make it so it doesn't leave the channel

Thank you! Silly me, I somehow completely missed the option despite looking
couple of times
On 20 Nov 2017 23:54, "John Grosh"<EMAIL_ADDRESS>wrote:

If you take a look at the example config, you can make it so it doesn't
leave the channel
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jagrosh/MusicBot/issues/106#issuecomment-345870619,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQoczc0psbBgBY5JMFheuQxDumfQ9Je5ks5s4hE3gaJpZM4QlDhn
.


feat(logger): write to stderr for errors and warnings

write warning logs to stderr instead of stdout

@maksadbek you should describe the breaking changes as follows:

After the merge, a new major version (v13) will be released.

@maksadbek you should describe the breaking changes as follows:
 After the merge, a new major version (v13) will be released.

@adirdidi @bararchy FYI, the logging fix will trigger v13 release - breaking change.

@orubin not immediately ofc, we will release the v13 release candidate (i.e., v13.0.0-next.1) first. We can postpone the final release of v13 and maintain both v12.x and the v13.x.x-next.x for a while and you can plan other breaking changes and migration util this moment.
@maksadbek in that case, you need to keep working in next branch and use cherry-picks to port changes from next to main when needed instead of merge as before.

Will update you about v13 release, we may add one more feature to it (discovery).


MINOR: Clean up to avoid errors in dynamic broker config tests

Clean up cached instances in dynamic broker config on broker shutdown to avoid spurious session expiry errors in tests which restart broker.
Committer Checklist (excluded from commit message)

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

LGTM


core: update tool versions

core: update tool versions

Updated latest tool versions with today's date
Auto-generated by create-pull-request

Duplicated - will increase the timer schedule to 14 days