Paths not being exported

I apologize if this is not the place to report this issue but I couldn't find a better one.
As far as I can tell, some paths (PKG_CONFIG_PATH, CMAKE_MODULE_PATH, CMAKE_PREFIX_PATH) are not being exported through the environment setup scripts and hooks. That makes integration with other build tools more painful than it should be.
arjones@dfcdfc78e327:~$ find /opt/ros/galactic/ -name "*.pc"
/opt/ros/galactic/lib/pkgconfig/orocos-kdl.pc
/opt/ros/galactic/lib/pkgconfig/orocos_kdl.pc
/opt/ros/galactic/lib/pkgconfig/libzstd.pc
/opt/ros/galactic/lib/x86_64-linux-gnu/pkgconfig/console_bridge.pc
/opt/ros/galactic/lib/x86_64-linux-gnu/pkgconfig/urdfdom.pc
/opt/ros/galactic/lib/x86_64-linux-gnu/pkgconfig/urdfdom_headers.pc
/opt/ros/galactic/opt/rviz_ogre_vendor/lib/pkgconfig/OGRE-Overlay.pc
/opt/ros/galactic/opt/rviz_ogre_vendor/lib/pkgconfig/OGRE.pc
/opt/ros/galactic/opt/rviz_ogre_vendor/lib/pkgconfig/OGRE-Paging.pc
/opt/ros/galactic/opt/rviz_ogre_vendor/lib/pkgconfig/OGRE-MeshLodGenerator.pc
/opt/ros/galactic/opt/rviz_ogre_vendor/lib/pkgconfig/OGRE-PCZ.pc
/opt/ros/galactic/opt/rviz_ogre_vendor/lib/pkgconfig/OGRE-RTShaderSystem.pc
/opt/ros/galactic/opt/rviz_ogre_vendor/lib/pkgconfig/OGRE-Terrain.pc
/opt/ros/galactic/opt/rviz_ogre_vendor/lib/pkgconfig/OGRE-HLMS.pc
/opt/ros/galactic/opt/rviz_ogre_vendor/lib/pkgconfig/OGRE-Volume.pc
/opt/ros/galactic/opt/rviz_ogre_vendor/lib/pkgconfig/OGRE-Property.pc
/opt/ros/galactic/opt/yaml_cpp_vendor/lib/pkgconfig/yaml-cpp.pc
arjones@dfcdfc78e327:~$ source /opt/ros/galactic/setup.bash
arjones@dfcdfc78e327:~$ env | egrep "PKG_CONFIG_PATH|CMAKE_MODULE_PATH|CMAKE_PREFIX_PATH"
arjones@dfcdfc78e327:~$

Is this a bug or am I missing something?

This repository is strictly for the documentation for ROS 2.  I'm going to move this one over to ros2/ros2, where it is more appropriate.


Search box on docs

Feature Request
there is none or I have an issue with the site ?
is it possible to have one please (https://www.mkdocs.org/user-guide/configuration/#search)
Please complete:

OS: ?
Python version import sys; print(sys.version): ?
Pydantic version import pydantic; print(pydantic.VERSION): ?

Please read the docs and search through issues to
confirm your feature hasn't been asked for before, or already implemented.

weird, it used to be there, now has vanished.

thanks for reporting, fixed and deployed.


预测数据结构查询

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04):
Apollo installed from (source or binary):
Apollo version8.0:
Output of apollo.sh config if on master branch:

Steps to reproduce the issue:

我播放demo3.5，然后运行prediction组件，cyber_monitor查看预测通道数据时，翻页翻不过去是什么原因。:

Supporting materials (screenshots, command lines, code/script snippets):

You can use 'pageUp' and 'pageDown' to do that, at the same time 'ctrl + d' and 'ctrl + u' can also make it.


Fix EqualsAndHashCode Annotation Warning Messages

Description
Fix warning messages in GitHub actions associated with EqualsAndHashCode annotations.
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Hey @GabeFernandez310,
core/src/main/java/org/opensearch/sql/ast/tree/Limit.java:20: warning: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. @EqualsAndHashCode
/core/src/main/java/org/opensearch/sql/expression/ParseExpression.java:25: warning: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. @EqualsAndHashCode
Looks like there are two more calls to EqualsAndHashCode that didn't get updated. Could you please see about updating them.


Expand serialization tests with float and integer values

I added some additional serialization test cases, as only Strings and null values were being tested.
Related to this, does Electric support Blob columns? I haven't found any example in the tests, so I'm not sure if it's supported or not.

@davidmartos96, as to BLOBs -- I'm not sure. It should (i.e. they are not treated differently) as long as Satellite and Postgres agree on string serialization of the blob (i.e. so that when the blob gets on replication stream to PG it will get deserialized properly), and I cannot say I verified if they do agree


cache-extension-demo

Hi,
It looks like this extension works only for string data type. If "Data" has an object it returns none.
DDB entry:
{
"pKey": "pKey2",
"sKey": "sKey2",
"Data": {
"Admission": "12345"
}
}
Query:
const options = {
hostname: 'localhost',
port: 4000,
path: '/dynamodb?name=DynamoDbTable-pKey2-sKey2',
method: 'GET'
};
output : {"pKey":"pKey2"}

Hi @agnel0410,
Yes currently the code only works for string data types (https://github.com/aws-samples/aws-lambda-extensions/blob/main/cache-extension-demo/plugins/dynamodb.go#L86), but you can tweak this code to be more generic. We would be happy to receive any pull request and contributions on this. Thanks


v23.0.0 Update & Clean PR #2: Dgraph Client Refactor

Most of the changed files contain simple style, formatting, and naming cleanup.
Functional changes are mainly related to aligning this client to the dgo client and are concentrated in these classes/interfaces:

DgraphCloudChannel

The static Create method implements the dgo DialCloud logic.

DgraphClient
IDgraphClient

Users will interact with this interface instead of the DgraphClient class directly.

Transaction

Added a Do method similar to the dgo implementation.

ITransaction

Again, users will interact with this interface instead of the Transaction class directly.

IQuery

Represents a read-only transaction.
Transaction class is hidden behind this interface when creating it with client.NewReadOnlyTransaction

RequestBuilder
MutationBuilder

README.md is also heavily rewritten to match the dgo readme as closely as possible.
Note: The tests will fail until PR #34 is merged.

I was able to merge the first PR, please do a rebase and we will review this PR.

Tests fail right now. Is that expected?

@all-seeing-code yeah, next PR will fix it


ui-validate and ui.bootstrap.popover have a problem working together

When i use popover when password confirm (http://angular-ui.github.io/ui-utils/#/validate), ui-validate does not work properly. Expression ui-validate=" '$value == user.password' " return false instead true.
http://bit.ly/1ESpTWO

UI.Utils modules was split in individuals repositories. If still valid, please consider re-submitting on its dedicated repository: https://github.com/angular-ui/ui-validate
See the README for details.


bundle exec CMD --help opens bundler man-page

When running bundle exec rspec --help on bundler 1.11.2 it displays the help output of RSpec, as expected.
Running the same command on bundler 1.12.0 opens the bundler-exec man page and completely ignores the specified command.
For some reason it works for the bundler command, only bundle is affected.
Some more examples:
# these work as expected
bundle exec rspec --version
bundle exec rspec -- --version
bundle exec rspec
bundler exec rspec --help

# these don't work
bundle exec rspec --help
bundle exec rspec -- --help
bundle exec this_will_never_be_executed_anyway --help
bundle exec this_will_never_be_executed_anyway -- --help

To reproduce it:
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y ruby
RUN gem install bundler -v 1.12.0

docker build -t bundler-test .

# works as expected (says no Gemfile)
docker run bundler-test bundler exec foobar --help

# opens the man-page
docker run bundler-test bundle exec foobar --help

Hi @dziemba, thanks for the issue. I believe this was introduced in #4178. While having --help go to the man pages for all the other Bundler commands makes sense (I.e. bundle package --help goes to the man page for bundle package), I do agree that following that behavior for bundle exec might feel weird and unexpected.
Are there any other Bundler commands you as a user might feel the --help redirect behavior is unexpected for?

Also. I'm assigning this issue and fix to one of our Google Summer of Code students: @b-ggs


Add sparklines to MetricOverview component

Not needed - the MetricOverview component takes a prop to render a chart (which won't always be sparklines)


Update kabinspace/AstroVim to AstroNvim/AstroNvim

AstroVim was recently rebranded to AstroNvim
Checklist:

[x] The plugin is specifically built for Neovim.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[ ] It's not already on the list.
[ ] If it's a colorscheme, it supports treesitter syntax.
[x] The title of the pull request is Add `username/repo`  when adding a new plugin.

Thanks for the PR!


iOS 9 Sampler in Awesome-iOS?

How can we add this to Awesome?
I really think that this page is cool, specially for 3D touch stuff
iOS-9-Sampler

this is a list of samples, right? other awesome lists maybe?

it is a project that shows all new ios9 apis

kinda tricky because that apps basically fits many categories: text, image, audio, ...


Wrong autocomplete suggestion for

It gives proper suggestions for strings:

and hex numbers:

and floats

and int16

but not for integers

Fixed in https://github.com/Microsoft/visualfsharp/pull/1930


[USAGE]: How do I check conformity while displacing the mesh?

Say I want to displace the nodes in my mesh so that it remains conforming after the displacement, without actually moving the nodes. How do I do this?
"Conforming" here is quite a strong word. In fact I would be satisfied if I could ensure, before doing the displacement, that each of my triangles have a minimum area of tmin, i.e. no triangle has flipped over. Now from the Doxygen page, the function CheckDisplacements seems to return the maximum triangle area for the given displacements which is not really useful to me.
Is there a way to do this?

Hi @cbritopacheco,
Can you explain a little more what you mean by "displace the mesh nodes without actually moving the nodes". Are you working with linear or curved meshes?

If you only want to check validity, CheckDisplacements will be sufficient, as it exits with tmax = 0 when the displacements invert the mesh. But I think it works only for linear meshes.

Hi @vladotomov ,
Thank you for your response it is exactly what I needed. Just one more question, Wwat does the tmax parameter represent?

Whoever wrote the function can correct me, but it seems to be the maximum t > 1, so that x + t dx still produces a mesh with no inverted elements.

This answers my question. I will be closing the issue.


problem dji googles v2  015

hi i have this problem. my dji googles v2 are back from dji and they have the new firmware 015. my dji fpv holds dronehack 00 what can i do?

This was raised in issue #1

where can i see the solution?

there is no solution

Closing as dupe of #1.


fix: rate limiting

Fix rate limiting logic
Separate code validation into 2 steps: ValidateCode and ValidateCodeSession. The first will be used to perform quick checks before we fetch the code from the database and the latter will be used to validate the code session that we fetched from the database. ValidateCodeSession is called when parsing the request and when constructing the response. This feels like an overkill but I didn't want to introduce any breaking changes.

I have tested this using https://github.com/canonical/hydra-rock/pull/39 and it works.


Render with left table column as header column

As suggested by the ISO/TC 211 EPM, the table headings in the left column can be rendered in bold for clarity.

In ISO or in general? @ronaldtse

Not yet merged.

Confirmed to be fixed. Thanks @opoudjis !


firefox issue with babel

Since last JS cleanup and introduction of Babel, it throws an error on my Firefox 38.8.0:
TypeError: t(...).Object is undefined browser.min.js:8:31611
SyntaxError: missing ; before statement room.js:2:6

also fails on safari
but works fine on chrome

Interesting, when I remove <script src="//cdnjs.cloudflare.com/ajax/libs/babel-core/6.1.19/browser.min.js"></script>  from room.ecr it works on firefox but not anymore on chrome.

hmm, for now I removed babel (that thing is 500k damn) and went back to a less future-proof js. But it's so small, it will be easy to change it back later on. At least now it's back to working on all 3 browsers cited above.


ArrowError ExternalError General AsyncChunkReader::get_byte_ranges error: Generic S3 error

Environment
Delta-rs version: 0.9.0
Binding: rust
Environment: macos / s3

Cloud provider:
OS: MacOS Ventura M1  Version 13.3.1 (22E261)
Other:

Bug
#[tokio::test]
async fn test_delta_read() -> Result<(), Box<dyn Error>> {
    let path =
        "s3://<REDACTED>";
    let table = deltalake::open_table(path).await?;
    let ops = deltalake::DeltaOps(table);
    let (_table, stream) = ops.load().await?;

    let _data = datafusion::physical_plan::common::collect(stream).await?;

    Ok(())
}

generates following error
 Error: ArrowError(ExternalError(General("AsyncChunkReader::get_byte_ranges error: Generic S3 error: Error performing get request <REDACTED>.snappy.parquet: response error \"request error\", after 0 retries: error sending request for url (https://s3.us-west-2.amazonaws.com/<REDACTED>.snappy.parquet): connection closed before message completed")))

Note that reading from the bucket using data-fusion and SELECT * FROM table LIMIT 5 does work
What happened:
What you expected to happen:
How to reproduce it:
More details:

I am trying to overcome the same issue. Connection with s3 is closing after second use of the idle connection. Providing some logs:

2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: loading checkpoint from _delta_log/_last_checkpoint
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: starting new connection: https://s3.us-east-1.amazonaws.com/
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: resolving host="s3.us-east-1.amazonaws.com"
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: connecting to <IP_ADDRESS>:443
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: connected to <IP_ADDRESS>:443
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: flushed 503 bytes
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: parsed 10 headers
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: incoming body is content-length (3202 bytes)
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: incoming body completed
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: pooling idle connection for ("https", s3.us-east-1.amazonaws.com)
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: update with latest checkpoint CheckPoint { version: 13270, size: 1551421, parts: None }
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: reuse idle connection for ("https", s3.us-east-1.amazonaws.com)
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: flushed 526 bytes
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: parsed 10 headers
2023-04-26T11:12:56 [DEBUG] - some_kafka_topic: incoming body is content-length (610247159 bytes)
2023-04-26T11:13:04 [DEBUG] - some_kafka_topic: incoming body completed
2023-04-26T11:13:04 [DEBUG] - some_kafka_topic: pooling idle connection for ("https", s3.us-east-1.amazonaws.com)
2023-04-26T11:13:13 [DEBUG] - some_kafka_topic: incremental update with version(13270) and max_version(None)
2023-04-26T11:13:13 [DEBUG] - some_kafka_topic: reuse idle connection for ("https", s3.us-east-1.amazonaws.com)
2023-04-26T11:13:13 [DEBUG] - some_kafka_topic: flushed 512 bytes
2023-04-26T11:13:13 [DEBUG] - some_kafka_topic: parse error (connection closed before message completed) with 0 bytes
2023-04-26T11:13:13 [DEBUG] - some_kafka_topic: read_head error: connection closed before message completed


IoT Hub Unit

[Enter feedback here]
I have a question regarding IoT hub unit. What's an IoT hub unit and in Azure portal how can I adjust the units within an IoT Hub?

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

ID: 45b76f3e-0318-070e-ff9f-0598ed6379b1
Version Independent ID: 52d8706b-30a2-93db-020c-1dc7098730f9
Content: Azure IoT Hub scaling
Content Source: articles/iot-hub/iot-hub-scaling.md
Service: iot-hub
GitHub Login: @kgremban
Microsoft Alias: kgremban

@amaneight IoT Hub units are a way to scale the number of devices and messages that your IoT hub can handle. Each unit provides ingress of up to 1 million events per day and costs vary based on the number of units you choose. You can scale the number of units up or down to handle the number of devices and messages you need to support.
In azure Portal, Goto your IoTHub --> In the Scale pane, select the number of units you want to use and save the settings.

Hope this helps. if you have a product-related questions like this, please post to Microsoft Q&A and we will happily continue the conversation.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Release 0.42.0

Prepping for 0.42.0 release. :tada:
Release checklist:

[x] run integration tests on this branch
[x] merge this PR
[x] run integration tests on master
[ ] publish new crates
[ ] tag new releases

Looks like circular dev-dependencies were added in #1566, which is preventing publication of new crates. We're going to need to do a pull request to fix that.


Fix wg0 DNS comment

Pull request
Purpose
Hope I'm not mistaken, but should we not make sure to remove the DNS line in our wg0-fix.conf file, regardless of its value? The container then sets the DNS values, right?

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

I'm not sure, but i believe the environment variables overrule the wg0 dns setting.
If we know this for sure, we can ignore it in the conf file.

With VPN_CONF you can set the name used for your WireGuard config. This is an example of how your wg0.conf file should look like. If there's a lot of extra stuff, remove it unless you know what it's there for. The WireGuard config is automatically modified to use AllowedIPs = <IP_ADDRESS>/1,<IP_ADDRESS>/1 for compatibility with Synology/QNAP/Asustor/WSL2 systems if you append -fix, so VPN_CONF=wg0-fix. WSL2 users can also compile their own kernel if they don't wanna use this workaround.
[Interface]
PrivateKey = supersecretprivatekey
Address = xx.xx.xxx.xxx/32 # Yes, /32
DNS = x.x.x.x
[Peer]
PublicKey = publickey
AllowedIPs = <IP_ADDRESS>/0
Endpoint = xxx.x.xxx.x:51820

@bakerboy448 but regardless of that, does the DNS settings in the template for qbit override the DNS setting in the conf?

@bakerboy448 but regardless of that, does the DNS settings in the template for qbit override the DNS setting in the conf?

This is answered in hotio's documentation.


Add support for including images

Hi,
any plans to add support for including images in DXF file?

Hi,
I have not had such a plan. I do not know how complicated would that be, do you have the idea?

Actually, I do not have any idea about the level of complexity of this feature.
I have seen this feature in LibreCAD. Maybe this could be useful reference for you.
Let me know your thoughts.

Hi,
After some research the js-dxf need a dynamic API for managing sections.
In order to implementing an IMAGE entity we need tow objects in OBJECTS section IMAGEDEF and IMAGEDEF_REACTOR and I think we need a class in CLASSES section.
I am curently aiming to implementig this feature but I am strugling with DXF reference, also finding a good algorithm for the current api.

I'm also very intersted in being able to add raster images!

I'm also very intersted in being able to add raster images!

Hi, now i have problems, how to fill the color for the graphics, and  my English is bad ,sry

Hi,
After some research the js-dxf need a dynamic API for managing sections. In order to implement an IMAGE entity we need tow objects in OBJECTS section IMAGEDEF and IMAGEDEF_REACTOR and I think we need a class in CLASSES section. I am curently aiming to implementig this feature but I am strugling with DXF reference, also finding a good algorithm for the current api.

hi, I see that you added image support for your TypeScript library. Can we add the same here for js-dxf?

Hi,
@ognjen-petrovic said to keep js-dxf simple as possible so implementing Image entity is a bit tricky because needs objects to be implemented.
I am working on my lib so the next version support as many features as possible but I am struggling with time(I am not free) and the dxf spec.
And about hatch I will see if can implement  it

thanks very much! Hatch is a very vital part of DXF or DWG files, so adding it to js-dxf will be a great step ahead. Thank you again for the quick reply.

Hi,
The HATCH, IMAGE, INSERT and BLOCKS are implemented in my lib, and I published a pre-release see NPM or Github.
For more informations see Documantation.
And I want to say sorry I can't implent them in js-dxf because focusing in tow libs is hard for me, I will add features that are easy to implement.
Thank you.


fix(ts): add treesitter diff highlights

Add updated Treesitter diff highlight colors and link old ones to traditional Vim diff highlight groups.
See https://neovim.io/doc/user/syntax.html#:~:text=FIXME and XXX-,Added,-added line in
Before:

After:

@aymanbagabas Appreciate your contribution. Thank you 🙏🏼


brew installation issue

Hi all,
Could you please help to resolve the following issue during brew installation:
brew tap wallix/awless; brew install awless
==> Tapping wallix/awless
Cloning into '/usr/local/Homebrew/Library/Taps/wallix/homebrew-awless'...
remote: Enumerating objects: 130, done.
remote: Total 130 (delta 0), reused 0 (delta 0), pack-reused 130
Receiving objects: 100% (130/130), 20.09 KiB | 1.67 MiB/s, done.
Resolving deltas: 100% (31/31), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/wallix/homebrew-awless/Formula/awless.rb
awless: Calling `cellar` in a bottle block is disabled! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
Please report this issue to the wallix/awless tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/wallix/homebrew-awless/Formula/awless.rb:12

Error: Cannot tap wallix/awless: invalid syntax in tap!
Warning: No available formula or cask with the name "awless". Did you mean less?
==> Searching for similarly named formulae...
This similarly named formula was found:
less
To install it, run:
  brew install less
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.```

Hi all,
Could you please help to resolve the following issue during brew installation:
brew tap wallix/awless; brew install awless
==> Tapping wallix/awless
Cloning into '/usr/local/Homebrew/Library/Taps/wallix/homebrew-awless'...
remote: Enumerating objects: 130, done.
remote: Total 130 (delta 0), reused 0 (delta 0), pack-reused 130
Receiving objects: 100% (130/130), 20.09 KiB | 1.67 MiB/s, done.
Resolving deltas: 100% (31/31), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/wallix/homebrew-awless/Formula/awless.rb
awless: Calling `cellar` in a bottle block is disabled! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
Please report this issue to the wallix/awless tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/wallix/homebrew-awless/Formula/awless.rb:12

Error: Cannot tap wallix/awless: invalid syntax in tap!
Warning: No available formula or cask with the name "awless". Did you mean less?
==> Searching for similarly named formulae...
This similarly named formula was found:
less
To install it, run:
  brew install less
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.```


Benchmark Batch

=================
Benchmark results
=================
bench                          | fail |   n |       perf |   sem% |   std% | peak_memory |      score | weight
brax                           |    1 |   1 |    6469.30 |   0.0% |   0.1% |         nan |       0.00 |   1.00
diffusion-gpus                 |    1 |   1 |        nan |   nan% |   nan% |       28401 |        nan |   1.00
diffusion-single               |    1 |   1 |        nan |   nan% |   nan% |        3505 |        nan |   0.00
dinov2-giant-gpus              |    1 |   1 |        nan |   nan% |   nan% |       46021 |        nan |   1.00
dinov2-giant-single            |    4 |   4 |        nan |   nan% |   nan% |       28417 |        nan |   0.00
bf16                           |    0 |   4 |     282.41 |   0.2% |   4.4% |        1391 |    1134.03 |   0.00
fp16                           |    0 |   4 |     276.40 |   0.1% |   2.5% |        1391 |    1107.57 |   0.00
fp32                           |    0 |   4 |      49.29 |   0.1% |   1.3% |        1769 |     197.18 |   0.00
tf32                           |    0 |   4 |     143.37 |   0.1% |   2.3% |        1769 |     574.32 |   0.00
dimenet                        |    0 |   4 |     363.82 |   1.5% |  23.4% |        6183 |    1467.64 |   0.00
bert-fp16                      |    0 |   4 |     200.23 |   1.7% |  18.7% |         nan |     816.20 |   0.00
bert-fp32                      |    0 |   4 |      72.41 |   1.1% |  12.3% |        1491 |     293.17 |   0.00
bert-tf32                      |    0 |   4 |     117.56 |   1.4% |  15.0% |        1491 |     477.17 |   0.00
bert-tf32-fp16                 |    0 |   4 |     202.08 |   1.6% |  17.5% |         nan |     823.87 |   3.00
reformer                       |    0 |   4 |      29.75 |   0.2% |   2.8% |       25005 |     119.37 |   1.00
t5                             |    0 |   4 |      30.33 |   0.5% |   8.2% |       33991 |     122.19 |   2.00
whisper                        |    0 |   4 |     392.12 |   1.2% |  18.7% |        8837 |    1582.22 |   1.00
lightning                      |    0 |   4 |     351.16 |   2.2% |  35.4% |       26491 |    1412.54 |   0.00
lightning-gpus                 |    0 |   1 |    1080.26 |   4.5% |  35.6% |       26313 |    1080.26 |   1.00
llama                          |    0 |   4 |     275.94 |   6.9% |  88.2% |       27423 |    1047.76 |   1.00
llm-full-mp-gpus               |    1 |   1 |        nan |   nan% |   nan% |       26373 |        nan |   1.00
llm-lora-ddp-gpus              |    0 |   1 |    3327.81 |   1.0% |   5.6% |       32681 |    3327.81 |   1.00
llm-lora-mp-gpus               |    1 |   1 |        nan |   nan% |   nan% |       44739 |        nan |   1.00
llm-lora-single                |    0 |   4 |    2581.76 |   0.2% |   1.7% |       32649 |   10346.37 |   1.00
recursiongfn                   |    0 |   4 |    4693.88 |   2.3% |  36.4% |        8901 |   18718.74 |   0.00
super-slomo                    |    4 |   4 |        nan |   nan% |   nan% |         nan |        nan |   1.00
focalnet                       |    0 |   4 |     329.59 |   0.9% |  14.1% |       23149 |    1331.78 |   2.00
torchatari                     |    4 |   4 |        nan |   nan% |   nan% |        3377 |        nan |   0.00
convnext_large-fp16            |    0 |   4 |     253.50 |   1.5% |  16.9% |       26981 |    1034.76 |   0.00
convnext_large-fp32            |    0 |   4 |      76.77 |   1.0% |  11.4% |       45103 |     312.47 |   0.00
convnext_large-tf32            |    0 |   4 |     109.22 |   1.5% |  16.2% |       45695 |     445.01 |   0.00
convnext_large-tf32-fp16       |    0 |   4 |     252.13 |   1.6% |  17.9% |       26981 |    1029.01 |   3.00
regnet_y_128gf                 |    0 |   4 |      89.53 |   0.6% |   9.8% |       28923 |     361.48 |   2.00
resnet152-ddp-gpus             |    0 |   1 |    1239.94 |   5.4% |  40.9% |       26113 |    1239.94 |   0.00
resnet50                       |    0 |   4 |     446.42 |   2.1% |  33.4% |       13981 |    1798.23 |   1.00
resnet50-noio                  |    0 |   4 |     853.60 |   0.4% |   6.2% |       26997 |    3436.95 |   0.00

Codecov Report
Attention: Patch coverage is 59.13043% with 94 lines in your changes missing coverage. Please review.

Project coverage is 71.27%. Comparing base (bdf7705) to head (c2ad383).
Report is 16 commits behind head on master.

Files with missing lines
Patch %
Lines

milabench/remote.py
17.24%
24 Missing :warning:

milabench/system.py
73.23%
19 Missing :warning:

milabench/cli/slurm.py
30.00%
14 Missing :warning:

milabench/multi.py
22.22%
14 Missing :warning:

milabench/cli/env.py
30.76%
9 Missing :warning:

milabench/sizer.py
82.75%
5 Missing :warning:

milabench/cli/prepare_run.py
55.55%
4 Missing :warning:

milabench/cli/__init__.py
66.66%
2 Missing :warning:

milabench/pack.py
0.00%
2 Missing :warning:

milabench/utils.py
75.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #252      +/-   ##
==========================================
- Coverage   72.42%   71.27%   -1.15%
==========================================
  Files          58       60       +2
  Lines        5505     5661     +156
==========================================
+ Hits         3987     4035      +48
- Misses       1518     1626     +108

Flag
Coverage Δ

unittests
71.27% <59.13%> (-1.15%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Cherry-pick #3063 to the stable branch

Restore POSIX signal handling on MacOS behind a feature flag

As described in Issue #3052, the switch to Mach Exception handling
removed unix::StoreExt from the public API of crate on MacOS.
That is a breaking change and makes it difficult for some
application to upgrade to the current stable Wasmtime.
As a workaround this PR introduces a feature flag called
posix-signals-on-macos that restores the old behaviour on MacOS.
The flag is disabled by default.

Fix test guard

Fix formatting in the test

Thanks for this! AFAIK though we don't really have any guidelines about what's backported and what historical versions are maintained or not. So far we have only backported and done a point release once, and that was for a security fix.
Is upgrading to the current wasmtime main branch possible for you? It should be easier to make a new release for us than to make another older release.

Right, I was also wondering if there is a process for backporting.

Is upgrading to the current wasmtime main branch possible for you?

Yep, we can update to it although it will take some time to adjust our code to the API redesign that happened in 0.28.0.
My only concern is the stability of that version. My understanding was that 0.26.1 is the current stable version suitable for production whereas the newer versions may have less coverage and may be unstable. Is this not correct?

If anything this is the process of backporting, we just haven't written it down anywhere or really exercised it that much. (we also don't have any process yet to determine what changes should be backported, a security fix was just sort of "obviously correct" to backport)
In terms of stability and production-ready-ness all recent Wasmtime versions should suffice. We mostly make new releases for releasing new features. Currently we don't have a notion of a "stable release" or similar. We hope to signal this soon with a 1.0 release that additionally signals a level of API stability, but in the meantime the quality of the implementation of 0.26 should be the same as 0.28 and beyond.

Thank you for the clarification! That sounds good. I assumed too much based on the branch name stable-v0.26.
I'll start working on updating our codebase to the main branch of wasmtime.

FWIW if this is urgent and updating to 0.28 in a reasonable timeframe isn't feasible I don't think we have a policy against backports like this, we'd just probably need to discuss it with a few more folks other than just me

@alexcrichton thanks, I'll keep that in mind and may come back to it if other options do not work out.


new browse all Depositions tab (table)

Table to include the following columns:

key photo - this will either be author defined or fallback to the image shown in the design
Deposition Name
Deposition Date
Annotations
Annotated Objects
Object Shape Type

table to be sorted by most recent deposition date first

Link to designs here: https://www.figma.com/design/Rrr54QysCLa14vOnQcmejb/Janeece---Annotation-Depositions?node-id=3196-204300&t=dxTy6cmGcD7Vgzg1-0

partially completed by #822; still needs to sort by deposition date


Kernel Panics

Device: iPad Air 2
iOS version: iOS 11.3.1
I jailbroke it with Electra before, I didn't use Rollectra
I tried to jailbreak it 3 times, got a kernel panic at 1/48 each time (logs below). Is it something you can fix? Is it because I didn't use Rollectra?
If I can do something on my side to help troubleshoot this, just ask.
https://pastebin.com/8i6x6sts
https://pastebin.com/jve9kv15
https://pastebin.com/kT2TRHQi

For some reason after the snapshot gets reset, Siri is running and is actively communicating on mptcp even after reboot. To fix this, simply turn siri on, then turn it back off. Then either reboot or clear ram.
@Ziph0n @KMamedoff

Did not make it better. It still takes me 8-10 tries to jailbreak with multipath.

That seems to be an issue with MPTCP. I’ll be taking a look at it.


use a hashmap instead of a match for release builds

match is O(n)ish on total size of paths for large numbers of paths
for small numbers of paths, match may be a better option, since rustc sorts strings into buckets by length, and the resulting memcmps get inlined
for a thousand paths, the hashmap is probably the way to go

Prolly consider using phf as well; will implement this in the next week


[AMD] Disable block merging to avoid block argument explosion

This PR disable block merging when running convert-builtin-func-to-llvm.
The reason behind this is that for now block merging can double the arguments of the blocks. This means that after a while we can start witnessing a block argument "explosion" which hangs the compiler.
I am working on this ticket: https://github.com/llvm/llvm-project/issues/63230 to make block merging better, but in the meantime, we should stop merging blocks to avoid compiler hangs.
I added the minimal test to reproduce the explosion. The test for now is checking that we don't try to merge blocks.

cc @antiagainst @zhanglx13 for review

@zahimoud and @ThomasRaoux FYI.

@giuseros I ran the test without this PR and it also passed. Can you double check?


Implementing new work design and groupings

References #3954

This is currently a bit of a hybrid. I've kept the 'Downloads',  'Using this ...' and 'We're improving..." sections (but applied the new layout to them)
Where there are discrepancies in the labels between the design file and @jennpb 's sketch in #3954 I've used the latter
Still awaiting tag design to be finalised for subjects
N.B. none of the data that's moved to the new header is now in the page

Still awaiting tag design to be finalised for subjects

Assuming this doesn't need to be done now.
We could be waiting a while on that, where the focus now is on this, and we're almost there for releasing.

Still awaiting tag design to be finalised for subjects

Assuming this doesn't need to be done now.
We could be waiting a while on that, where the focus now is on this, and we're almost there for releasing.

Yeah, wasn't suggesting we wait - just a nod to why it doesn't look like the design file


cli: Customize max sign attempts for deploy and write-buffer

Problem
People are still having issues getting their program deployments to land.
Summary of Changes
As a simple extra knob for users, allow them to specify the maximum number of signing attempts.
While updating the changelog, I noticed that --with-compute-unit-price wasn't documented, so I added that in the same line

Change looks good but I don't really understand what a user is supposed to set this to.. if they are having problems is the idea that they should add more retries? Couldn't they just restart the deploy?

I don't really understand what a user is supposed to set this to..

That's a good point, maybe the help text can be clearer to help with that? It defaults to 5, so how about we say "Transactions are resent as long as the blockhash is still valid, which is a minimum of 60 seconds. For the default value of 5, the tool will sign transactions a maximum of 5 times, which means it will keep sending transactions for at least 5 minutes or until all transactions are confirmed, whichever comes first."

if they are having problems is the idea that they should add more retries? Couldn't they just restart the deploy?

Exactly. when the network is congested and they're having a hard time landing transactions, users can set a huge number and just walk away without having to constantly kick it off again by hand.
Your previous change to read the account before creating the transaction makes it easier to restart the deploy, but it still requires someone to manually restart the deployment.

Yeah the extra context seems quite helpful!
I think "resent" is a bit confusing since it's not necessarily known that the deploy process is continuously resending transactions.
Here's my attempt, though I'm happy with yours too!
If any transactions sent during the program deploy are still unconfirmed after the initially chosen recent blockhash expires, those transactions will be resigned with a new recent blockhash and resent. Use this setting to adjust the maximum number of transaction signing iterations. Each blockhash is valid for about 60 seconds, which means using the default value of 5 will lead to sending transactions for at least 5 minutes or until all transactions are confirmed, whichever comes first

I went with yours, thanks for the suggestion :grinning:

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

Project coverage is 81.8%. Comparing base (79e316e) to head (28d8d88).
Report is 12 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master     #526    +/-   ##
========================================
  Coverage    81.8%    81.8%
========================================
  Files         843      843
  Lines      228586   228666    +80
========================================
+ Hits       187124   187226   +102
+ Misses      41462    41440    -22


[pigeon] C++ generator should make convenience constructors

It would be convenient for creating generated data class instances to have constructors with all fields (e.g., so they could be created inline as arguments in simple cases) instead of having to create them and then call each setter.

Is there anything we can do aside from a ctor? I'm wondering what undesired side effects this can stimulate since we can't force named parameters.

What do you mean by side effects?
It could make constructors that aren't all that readable at the call site (e.g., multiple bool fields), but that can be mitigated with inline comments on calls. (If it becomes a significant issue in practice, we could even generate a bunch of one-field structs called something like <ClassName>Arg<FieldName> and make those the constructor arguments.)

What I was thinking was that a breaking change with the generated constructor could be very hard to notice, since named parameters are not mandatory.
Imagine you have a class with 1 parameter, and you want to deprecate it in favor of another one, of same type, and this old one is not mandatory anymore. Still, you've added another field for something else. Since ctor parameters are not named, one could be confused by the other one, since it would not break the calls to it.
I like your suggestion, but maybe we are just over complicating things, and this is not an issue.

Oh, interesting! I hadn't considered that aspect. I can see a few options:

Ignore the problem as essentially inherent to C++

+ Easy to generate, and less boilerplate code.
+ Idiomatic at the call sites (arguably; good practice would generally be to do things like use enum args instead of bools, for instance, in hand-authored code).
- A foot gun, as you describe. And unlike changing method arguments directly in C++, where hopefully people know to check all the call sites, the degree of separation between the Dart change (which doesn't have this problem) and the generated C++ code makes it much harder to realize that you need to.

Do the named-struct-arg trick

+ Generated code should be small, with minimal perf impact.
+ Prevents the foot-gun.
+ Very self-documenting at the call sites.
- Very non-idiomatic, and verbose. (Although it would kind of match the really verbose EncodableValue code that method channels already use...)

Pretend we're Java: make the constructor private, and create a builder with chainable setters.

+ Prevents the foot-gun.
+ Very self-documenting at the call sites.
- Very non-idiomatic, and verbose.
- Generated code is more complicated.
- Doesn't allow requiring all fields to be initialized in the constructor, so we'll need default values to solve #104653

So maybe we should go ahead and do the struct trick. It shouldn't be hard, and we can see how we like it in practice, and re-evaluate if necessary.

I played with the struct approach a little bit, and it felt pretty clunky. I'm going to implement (1) for now, and we'll see if this ends up being a significant pain point in practice.
One argument against engineering either 2 or 3 is that either could be built as add-on layers in their own code by clients who find (1) problematic, without forcing people to adopt one or the other (or either). We can see if either one (or some other solution?) becomes a popular enough community solution to warrant adopting in Pigeon.


⚠ Bofrost.be has degraded performance

In 41d7502, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1130 ms

Resolved: Bofrost.be performance has improved in 892657c.


Build different versions of mozjpeg

If I don't need the latest mozjpeg but rather, say, v3.0, it would be nice to be able to configure this image to build a given git tag from mozilla/mozjpeg.
Ideally this tag would also be used as a docker tag on the docker hub.

Hi, @ThibaultLemaire 👋 I would be really happy to accept a PR for this feature!

Well I've been looking into it, and apparently mozjpeg only recently adopted cmake based compilation. Which is a problem because your script, as is, basically works only for the latest version.
I have tried and failed to checkout to other tags and build with cmake. Even v3.3.2 (the latest as far as I can tell judging from the github release page) doesn't build that way.
So I'm afraid this won't be as trivial as I first anticipated.

@ThibaultLemaire I've updated the Dockerfile to be able to build a custom version of mozjpeg. Tested with all tags starting from 2.0.
docker build -t mozjpeg-docker --build-arg tag=v3.0 .

OK, apparently I've tested all tags except master. Master throws autoreconf: 'configure.ac' or configure.in' is required, related to #1.

Thank you very much, now I can build the version I need. Do you think you could push some tagged versions to the DockerHub like major images do? It'd be great to be able to write
FROM egorovli/mozjpeg-docker:3.0

But I see you had to switch back to autotools for it to work. Doesn't that bother you? How do you plan on supporting newer versions?

I pushed the 3.0 tag manually: https://hub.docker.com/r/egorovli/mozjpeg.
FROM egorovli/mozjpeg-docker:3.0

Cheers!


retinanet num_classes includes the background

📚 The doc issue
https://pytorch.org/vision/master/models/generated/torchvision.models.detection.retinanet_resnet50_fpn_v2.html
Hi, I am currently use the retinanet, the documentation says num_classes of retinanet includes the background, but when I look at the source code of RetinaNetClassificationHead, it use a tensor with all zeros to represent background. So do we still need to use index=0 as the background?

Suggest a potential alternative/fix
Maybe num_classes is exclude background?

Maybe num_classes is exclude background?

Sorry @ABCCASa , I don't understand the question.

So do we still need to use index=0

What does that refer to?

@NicolasHug I mean should we still use index=0 as the background?
for example ["background", "apple", "cat", "bottle", "people"]
or ["apple", "cat", "bottle", "people"]
in faster rcnn the first value should be background, but in retinane maybe not?

Does this help: https://github.com/pytorch/vision/issues/4106#issuecomment-1149689846 ?

@NicolasHug Yes, Thank you so much.


Add cloud connector dependencies

Add lattice-connector, cf-connector and spring-service-connector
dependencies to stream modules so that these dependencies need not be added
into spring-cloud-stream or spring-cloud-stream-binder.
This will also let the module developer deploy the self contained modules
into local, lattice and cf environment without admin.

rebased and merged as https://github.com/spring-cloud/spring-cloud-stream-modules/commit/1a97439ad4870b2c49765818d96c8ff129e9349b


Index loading: allow setting ServiceContext other than default

ServiceContext is default constructed during Index loading, and the default constructed service is OpenAI. Currently, it is not possible to load indices that were saved from other predictors e.g. llamacpp.
Although BaseGPTIndex does take ServiceContext as an argument: llama_index/indices/base.py, load_index_from_storage does not: llama_index/indices/loading.py.
Proposed fix is to expose ServiceContext from load_index_from_storage API.
Test plan
make format
make lint
Run existing unit test:
~/projects/llama_index loading_service_context llama_index ❯ pytest tests/indices/test_loading.py
============================================================================================================ test session starts =============================================================================================================
platform darwin -- Python 3.10.11, pytest-7.2.1, pluggy-1.0.0
rootdir: /Users/xmfan/projects/llama_index
plugins: dotenv-0.5.2
collected 4 items

tests/indices/test_loading.py ....                                                                                [100%]

============================================================================================================== warnings summary ==============================================================================================================
tests/indices/test_loading.py::test_load_index_from_storage_faiss_vector_store
  /Users/xmfan/projects/llama_index/.venv/lib/python3.10/site-packages/faiss/loader.py:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if LooseVersion(numpy.__version__) >= "1.19":

tests/indices/test_loading.py::test_load_index_from_storage_faiss_vector_store
  /Users/xmfan/projects/llama_index/.venv/lib/python3.10/site-packages/setuptools/_distutils/version.py:346: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    other = LooseVersion(other)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================================================================= 4 passed, 2 warnings in 0.22s ========================================================================================================
~/projects/llama_index loading_service_context llama_index ❯

Hey @xmfan, load_index_from_storage already supports passing in kwargs. Does this not work as intended right now?

Ah you're right, thanks for pointing that out. It works as intended, I'll close the PR.


fix config_test.go to keep it up to date with changes to LoadConfig

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1609/
Test PASSed.


Separate control and statement

Now we describe control and statement all togather in pipeline.yml,  but it makes the pipeline complex, less readable.
For example:
pipeline:
  -  stage_name: check required command
     stage_type: command
     command: |
       for d in $(echo "docker mvn git bundle");do
         command -v $d >/dev/null 2>&1 ||
         { echo "Pipeline requires command $d but it's not installed.  Aborting." >&2; exit 1;}
       done
  -  stage_name: build docker image
     stage_type: command
     command: cd base && sudo docker build -t base .
     run_after:
       -  stage_name: run docker container
          stage_type: command
          command: cd base && ./run.sh node01
          run_after:
            -  stage_name: apply ansible playbook
               stage_type: command
               command: |
                  cd vendor &&
                  git clone https://github.com/ainoya/ansible-examples.git &&
                  cd ansible-examples/tomcat-standalone &&
                  TARGET=$(sudo docker inspect --format '{{ .NetworkSettings.IPAddress }}' node01) &&
                  sed -ie "s/{{ host }}/${TARGET}/g" hosts &&
                  export PYTHONUNBUFFERED=1 &&
                  export ANSIBLE_HOST_KEY_CHECKING=False
                  ansible-playbook -i hosts site.yml 2>&1
               run_after:
                 -  stage_name: validate container with serverspec
                    stage_type: command
                    command: sleep 10 && bundle exec rake spec 2>&1
       -  stage_name: maven test app
          stage_type: command
          command: |
            cd vendor &&
            git clone https://github.com/ainoya/spring-petclinic.git &&
            cd spring-petclinic &&
            mvn test 2>&1

To improve this readability problem, I suggest that allowing describe control and statement separately in pipeline.yml.
For example:
statements:
  statement_1:
    type: command
    command: echo "1"
  statement_2:
    type: command
    command: echo "1"
  statement_3:
    type: command
    command: echo "1"
###
pipeline:
  -  stage_name: stage_1
     statement: statement_1.
     run_after:
       -  stage_name:  stage_2
          statement: statement_2
       -  stage_name:  stage_3
          statement: statement_3

Fixed with #120


TODO

Scripts

[x] add programming language icons to a resource directory
[x] add cargo install step to script
[x] also install nvim plugin with the Plugins switch
[x] link scripts from the tools directory

Configuration

[x] add global .gitconfig
[x] add winget settings
[x] add wt settings
[x] add pip settings
[x] add gnupg settings
[ ] add nvim settings

Migration

[x] archive confiles repository
[x] archive dotfiles repository
[ ] https://github.com/StefanGreve/profile/pull/11

[ ] fix contrast issues in PowerShellLight theme in Windows Terminal settings


java.lang.NoSuchMethodError: No such DSL method 'ansiblePlaybook' found among steps

I'm having trouble running ansiblePlaybook in Declarative Pipeline. Jenkins 2.60.3 with installed Ansible plugin 0.6.2.
The Jenkinsfile is:
pipeline {
    agent { docker 'node:boron' }
    stages {
        stage('Deploy') {
            steps {
                ansiblePlaybook('/var/jenkins_home/workspace/my-playbooks/playbook.yml') {
                    inventoryPath('/var/jenkins_home/workspace/my-playbooks/dev')
                    credentialsId('dev.key')
                }
            }
        }
    }
}

The build fails with: java.lang.NoSuchMethodError: No such DSL method 'ansiblePlaybook' found among steps....
Please note that when ansiblePlaybook is called from Jenkins Scripted Pipeline it works:
node {
    checkout scm
    stage('Deploy') {
        ansiblePlaybook(
            playbook: '/var/jenkins_home/workspace/my-playbooks/playbook.yml',
            inventory: '/var/jenkins_home/workspace/my-playbooks/dev',
            credentialsId: 'dev.key'
        )
    }
}

Update: When running in agent any:
pipeline {
    agent any
    stages {
        stage('Deploy') {
            steps {
                ansiblePlaybook('/var/jenkins_home/workspace/my-playbooks/playbook.yml') {
                    inventoryPath('/var/jenkins_home/workspace/my-playbooks/dev')
                    credentialsId('dev.key')
                }
            }
        }
    }
}

The build fails with another error: java.lang.IllegalArgumentException: Expected named arguments but got [{playbook=/var/jenkins_home/workspace/my-playbooks/playbook.yml}, org.jenkinsci.plugins.workflow.cps.CpsClosure2@349e8c5d]


[IJ/AS plugin v2 → v3 migration helpers] Gradle dependencies in build.gradle (Groovy)

Currently the refactoring only deals with build.gradle.kts.

This would be nice to have, but doesn't seem to be a huge need, kts being used more and more - closing for now.


Some of the packed sentences.core files aren't shown in game

I made a Patch.bin to localize sentences.core for Horizon Zero Dawn but it is not shown in game
Also how do i contact you ?
I want to ask you something else

any idea? tnx


Why Task has only one type parameter?

I am a bit confused why Task has only type argument. I think it would useful if it had two arguments: one for error, another for result. Maybe (although, definitely) I am missing something. Is there an alternative to describe an async operation and types for both cases?

https://github.com/gcanti/fp-ts/issues/340

@gcanti  thanks!


Making coffeescript executable w/ shebang line on Linux

The script below works when run with the "coffee" command, but when I try to execute it using a shebang line it doesn't work.  Any idea what could be going on?   What are the outputs of node --version and coffee --version?

01:~ jhuttner$ node --version
v0.4.10-pre
01:~ jhuttner$ coffee --version
CoffeeScript version 1.1.2
01:~ jhuttner$

$ node --version
v0.4.8
$ coffee --version
CoffeeScript version 1.1.3-pre
$ cat test.coffee
#!/usr/bin/env coffee

console.log 'test'
$ coffee test.coffee
test
$ ./test.coffee
test

Clone the coffee repo and see if the current master behaves the same way for you. I can't imagine why it would behave any differently, though. If that doesn't work, try using a stable version of node.

Hrmm.  I changed to 1.1.3-pre, and it worked.  Then I flipped back to 1.1.2, and it kept working.  I tried to reproduce my earlier errors, but I cannot.  I don't know what was wrong.  Resoleving.


Update doc link

Reference Issues/PRs
Fixes #1427
Related #1428

What does this implement/fix? Explain your changes.
Updated the link for "contribute" in README.md

Does your contribution introduce a new dependency? If yes, which one?
No

Thanks again @Aparna-Sakshi - now merged! 🎉


switch (true) cannot be used to implement type guards

TypeScript Version:  2.4.0
Code
// Compiles
const typeGuardsOne = (value: number | string | Date): string => {
    if (typeof value === 'number') {
        return value.toFixed(0);
    } else if (value instanceof Date) {
        return value.getTime().toString();
    } else if (typeof value === 'string') {
        return value;
    }
};

const typeGuardsTwo = (value: number | string | Date): string => {
    switch (true) {
        case typeof value === 'number':
            // Property 'toFixed' does not exist on type 'string | number | Date'.
            return value.toFixed(0);
        case value instanceof Date:
            // Property 'getTime' does not exist on type 'string | number | Date'.
            return value.getTime().toString();
        case typeof value === 'string':
            // Type 'string | number | Date' is not assignable to type 'string'.
            return value;
    }
};

Expected behavior:
I personally find the switch (true) trick to be a really readable and concise way of implementing type guards/pattern matching (especially if a few cases need to be treated in the same way). Typescript doesn't seem to evaluate the cases and the typeGuardsTwo example doesn't compile. It treats the value inside of each case as if it still was number | string | Date.
Actual behaviour
The code doesn't compile with the errors listed in the Code section.

See #8934


Crashes inside of GenServer.init/1 callback not being reported

Environment
sentry_elixir 8.0.6
Relevant section of config/env/dev.exs:
config :logger,
  level: :debug,
  backends: [:console, Sentry.LoggerBackend]

config :logger, Sentry.LoggerBackend, capture_log_messages: true, level: :error

This is not a Phoenix project. Nothing is hooked up to Phoenix or Plug, or any similar configuration.
Steps to Reproduce

Configure Sentry to report errors. Whether or not Sentry.LoggerBackend is configured with :capture_log_messages seems to have no impact on the actual result.
Have a module that implements the GenServer.init callback fail. Even something as simple as 1 = 2 in init will suffice.
You can attempt to capture the results: {:ok, pid} = MyModule.start_link(), or simply call MyModule.start_link(). Additionally, the difference between start and start_link seems to have no effect.

Expected Result
I expect that the GenServer will crash, and that the result will be reported to Sentry according to the configuration.
Actual Result
The GenServer does indeed crash, but no error is reported to Sentry. However, if GenServer.init results in a handle_continue call, and the handle_continue call crashes, the error does get reported. I went ahead and did some rudimentary print debugging, and it seems like Sentry.LoggerBackend.handle_event is not getting called specifically for init crashes. I feel like this may have a similar root cause as #485, but am not well-versed enough in the depths of Elixir/OTP to accurately comment on that.
It seems like when init fails, the error is wrapped in a tuple, which is then passed back as the return value for start_link. When matching on the return value with {:ok, pid}, and start_link returns {:error, error_info}, a MatchError is raised, as expected. However, not even this error is getting reported, and I feel like it should be regardless of what's going on in init.

Enabling SASL reports (as described in #485) fixes this in my tests. Sadly, this is out of our control, because the issue is that we're doing this via logger handlers/backends, so only what gets to those is something we can report to Sentry.
Thanks anyways! 💟


Added OSGi example with Integration Test for testing different configs.

Includes a simple example of creating an OSGi bundle with a service that
uses driver-core.  Includes an Integration test that tests with the
following configs:

Default (default classifier with all dependencies)
Netty-Shaded (shaded classifier with all dependencies w/o netty)
Guava 15 (default classifier with Guava 15.0)
Guava 16
Guava 17
Guava 18

This test will if using the 'short' or 'long' profiles, so will be
pulled into continuous integration.
Uses pax-exam (https://ops4j1.jira.com/wiki/display/PAXEXAM4/Pax+Exam)
to test with different OSGi configurations.

I've tried commenting out dependencies to create deliberately invalid configurations, and the test still succeeds on the command line.
Something weird is happening with Configuration-annotated methods, I've added a log in each one and they seem to all be called at the beginning. The test does get executed 6 times, but it's like it's not using a different configuration each time.

ah, I hadn't noticed that, originally I had a separate class for each configuration, which seemed like overkill.  Was able to verify what you said by turning on debug logging and looking at the loaded modules.  I'll look further into this, good catch!

Fixed! The configurations were unique, but the bundles were not! I was reusing bundles in each Configuration, which I probably shouldn't have been doing.   Changing the log level to debug I noticed that every Container was using Guava 18.0 and the Shaded version of the driver.  The reason why this was happening is calling '.classifier' and '.version' on a bundle mutates it, and all the Configurations are prepared prior to execution of the tests.  I suspect this would not be a problem when using JUnit since an instance of the class is created for each test execution (which is why the examples I was looking at would work), where TestNG creates 1 instance for all test executions.  Changing this to create a new bundle instance each time seems like a better idea anyways.

Yes, works great now :+1:
The two commits should probably be squashed together, so I let you merge it on 2.0 and 2.1.

Thanks for reviewing!  I'll go ahead and squash and merge.


analytics: Use activity_details_template.html for installation activity page.

Follow-up to #27411. Use templates/analytics/activity_details_template.html for main installation activity page.
Notes:

Changes to templates/analytics/activity.html (from PR noted above) are undone. And with these changes, this template is now only used for views that still have bootstrap tabs: realm_activity and user_activity.
Fixes capitalization of title ("Installation activity") of the main installation activity page.
https://github.com/zulip/zulip/pull/27411#issuecomment-1783360854 suggested creating a new template (installation_activity.html), which could be preferred to the reuse of the newer activity_details_template.html in this PR. The template used in this PR was created when the activity/remote and activity/integrations pages were split from the main installation activity page (see #27043).

Screenshots and screen captures:

Installation activity page in dev environment

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @laurynmm!


Fix function name

Can one of the admins verify this patch?

We don't update release branches after final release except in case of a security vulnerability. In that case, we only update the branches only as needed to fix the vulnerability and release the patch.
As such, since this PR is against one such branch (r1.13), I'm closing it. Please open the PR against master if needed there.


How to add HTML5 Geolocation?

How to add HTML5 Geolocation?
How do i add the HTML5 Geolocation in order to initialise the start location to the user location?

will you use some database to track

there is the geolocation function in newer browsers
navigator.geolocation.getCurrentPosition(function(position) {

not sure that fires quick enough for this script

Someone correct this code for me thanks, not working
$.fn.locationpicker.defaults = {
			var _myLat;
			var _myLong;
				navigator.geolocation.getCurrentPosition(function(position) {
					var _myLat = position.coords.latitude;
					var _myLong = position.coords.longitude;
				});

    location: {latitude: _myLat, longitude: _myLong},

https://cordova.apache.org/docs/en/2.5.0/cordova_geolocation_geolocation.md.html
On Sat, Oct 3, 2015 at 9:30 AM, ollie007<EMAIL_ADDRESS>wrote:

Someone correct this code for me thanks, not working
$.fn.locationpicker.defaults = {
var _myLat;
var _myLong;
navigator.geolocation.getCurrentPosition(function(position) {
var _myLat = position.coords.latitude;
var _myLong = position.coords.longitude;
});
location: {latitude: _myLat, longitude: _myLong},

—
Reply to this email directly or view it on GitHub
https://github.com/Logicify/jquery-locationpicker-plugin/issues/49#issuecomment-145211762
.

SO why wont it pass the location the defaults?

add my skype call me
On Sat, Oct 3, 2015 at 9:33 AM, ollie007<EMAIL_ADDRESS>wrote:

SO why wont it pass the location the defaults?
—
Reply to this email directly or view it on GitHub
https://github.com/Logicify/jquery-locationpicker-plugin/issues/49#issuecomment-145211885
.

i dont skype LOL   check the script

maybe i need some quote characters?

i need more informations
On Sat, Oct 3, 2015 at 9:37 AM, ollie007<EMAIL_ADDRESS>wrote:

maybe i need some quote characters?
—
Reply to this email directly or view it on GitHub
https://github.com/Logicify/jquery-locationpicker-plugin/issues/49#issuecomment-145211958
.

did you add plugin
On Sat, Oct 3, 2015 at 9:37 AM, App happy hour<EMAIL_ADDRESS>wrote:

i need more informations
On Sat, Oct 3, 2015 at 9:37 AM, ollie007<EMAIL_ADDRESS>wrote:

maybe i need some quote characters?
—
Reply to this email directly or view it on GitHub
https://github.com/Logicify/jquery-locationpicker-plugin/issues/49#issuecomment-145211958
.

i am hacking the script to add in the geolocation codes

do you have whatsup
On Sat, Oct 3, 2015 at 9:39 AM, App happy hour<EMAIL_ADDRESS>wrote:

did you add plugin
On Sat, Oct 3, 2015 at 9:37 AM, App happy hour<EMAIL_ADDRESS>wrote:

i need more informations
On Sat, Oct 3, 2015 at 9:37 AM, ollie007<EMAIL_ADDRESS>wrote:

maybe i need some quote characters?
—
Reply to this email directly or view it on GitHub
https://github.com/Logicify/jquery-locationpicker-plugin/issues/49#issuecomment-145211958
.

how do you add plugins to this script??
locationpicker.jquery.js

ok  tell me  do you making cordova or what thats why i insiste skype call i
dont have enough informations
On Sat, Oct 3, 2015 at 9:40 AM, ollie007<EMAIL_ADDRESS>wrote:

how do you add plugins to this script??
locationpicker.jquery.js
—
Reply to this email directly or view it on GitHub
https://github.com/Logicify/jquery-locationpicker-plugin/issues/49#issuecomment-145212042
.

https://plugins.jquery.com/locationpicker/
On Sat, Oct 3, 2015 at 9:41 AM, App happy hour<EMAIL_ADDRESS>wrote:

ok  tell me  do you making cordova or what thats why i insiste skype call
i dont have enough informations
On Sat, Oct 3, 2015 at 9:40 AM, ollie007<EMAIL_ADDRESS>wrote:

how do you add plugins to this script??
locationpicker.jquery.js
—
Reply to this email directly or view it on GitHub
https://github.com/Logicify/jquery-locationpicker-plugin/issues/49#issuecomment-145212042
.

LOOk there is enough info, you gave me the site to get the geolocation so add it to
locationpicker.jquery.js

@ollie007 hi! It's to simple. If you want get user location just write that
if(navigator.geolocation){
    navigator.geolocation.getCurrentPosition(function (position) {
       //do something
    })
}


.well-known/jwks.json to use in REST API

Describe the bug
I saw that https://github.com/supabase/auth/pull/1674 now provides an end-point to expose JWT. My understanding is that if I send the following HTTP request
GET https://{supabase_project}.supabase.co/auth/v1/.well-known/jwks.json
Content-Type: application/json
apikey: {anonkey}

I should get back a JWK that I can use in my REST API for auth checking as a publickey location (ie https://quarkus.io/guides/security-jwt). However, I get
{
  "keys": []
}

Response code: 200 (OK); Time: 472ms; Content length: 11 bytes

Did I misunderstand this PR? Thank you. Also, is it actually safe to have the JWK exposed by public URL that is accessible via anonkey? I'm pretty new to HS256 auth and haven't quite wrapped my mind around it yet.
To Reproduce
See above.
Expected behavior
Get JWK JSON.
Thank you.

Hi @jfslin, the symmetric secret (HS256) will never be exposed in the JWKs endpoint. We're in the midst of adding asymmetric key support, so at some point soon, we'll be able to offer that as a configuration option in the platform. When an asymmetric key is used, you'll be able to see the public key reflected as a JWK in the JWKs endpoint.
This is safe because the public key is used for verifying the JWT, which is signed by the private key (not exposed at all).

Thank you for the explanation. I have a better understanding now.

Hi, I'd like to jump on the same question. I need a jwks endpoint to connect a PowerSync service to supabase. I was also under the assumption, to receive more than an empty array at this endpoint. Am I using the wrong endpoint @kangmingtay ?


feat: [UIE-6937] - Add the ability to scale up DBaaS

Description 📝
Add the ability to scale up DBaaS (e.g. from 4GB to 6GB).
Changes  🔄

Add a new tab under DBaaS instance details page(/databases/{engine}/{instance-id} to allow users to scale up DB cluster.
In the new tab, show list of available configurations which users can select to scale up.
On Selection of new plan and post submission, PUT API request will be made to scale up the configuration.

Preview 📷

Verification steps

Go to http://localhost:3000/databases/mysql/1/scale-up
Select any available plan from "Choose a plan" section.
Click on "Scale up Database Cluster" button. A confirmation dialog will open. Click on continue.
The Scale up request will be processed and once it successful, the page will be taken back to summary tab with the updated configurations displayed.

As an Author I have considered 🤔

[x] 👀 Doing a self review
[x] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[x] 🧪 Providing/Improving test coverage
[x] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[x] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[x] ♿  Providing accessibility support

I wasn't able to actually complete a scale up, is that because the back-end code supporting these changes hasn't been merged to prod yet?
Screenshots

That might have been the case. You can try it now in dev environment.

@grevanak-akamai Minor: we also need a changeset for the validation and api-v4 packages since those were touched

This PR will be reopened once feature flag for vertical scaling is added.

Just wanted to give a heads up that this PR won’t make it into Cloud Manager’s Monday (1/8/2024) production release. We’ll keep working to get the PR in a mergeable state so that it can be included in the following release (1/22).

PR is looking solid on my end! Is there any reason not to turn the feature on in production now so we can test this PR against the production environment?

@bnussman-akamai - There were API changes required for this feature due to which we thought of introducing feature flag. I don't have an update yet whether those changes are available in production environment. If the changes are ready, then we can test in production environment as well.

Providing my final review right now 👀
You can expect this to be included in our next release (1/22/2024)


fix : typos README.md

This PR addresses several typographical errors across various files in the project. The changes improve readability and maintain the professional standard of the documentation and code comments.
Justification
Typographical errors, while minor, can detract from the overall quality of the project. Correcting these errors ensures clarity and professionalism, making the project more accessible and understandable for current and future contributors.
Hope it helps.

Hi, @nnsW3!
Thank you for your attention to detail. However, since this is a matter of personal preference (British English vs. American English; both of which are valid) and we don't have a great way to enforce a specific style codebase-wide, we're rather let these inconsistencies slide until we have something like cSpell configured to only use one of those englishes.
I'm going to close this for now, but I'm still grateful that you brought this to our attention, and we look forward to any more mistakes you might find!
Thank you!


follow-up to #995 All SpanSubscription now fake QueueSubscription

Codecov Report

Merging #1008 into master will increase coverage by 0.61%.
The diff coverage is 20%.

@@             Coverage Diff              @@
##             master    #1008      +/-   ##
============================================
+ Coverage     70.74%   71.36%   +0.61%
- Complexity      618      626       +8
============================================
  Files           118      119       +1
  Lines          2762     2762
  Branches        292      292
============================================
+ Hits           1954     1971      +17
+ Misses          622      606      -16
+ Partials        186      185       -1

Impacted Files
Coverage Δ
Complexity Δ

...loud/sleuth/instrument/reactor/SpanSubscriber.java
60% <ø> (+4.28%)
8 <0> (ø)
:arrow_down:

...ud/sleuth/instrument/reactor/SpanSubscription.java
20% <20%> (ø)
1 <1> (?)

...h/instrument/reactor/SpanSubscriptionProvider.java
92.85% <0%> (+7.14%)
6% <0%> (+1%)
:arrow_up:

...cloud/sleuth/instrument/reactor/ReactorSleuth.java
57.14% <0%> (+11.9%)
11% <0%> (+1%)
:arrow_up:

.../sleuth/instrument/reactor/LazySpanSubscriber.java
62.5% <0%> (+62.5%)
5% <0%> (+5%)
:arrow_up:

Continue to review full report at Codecov.

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


Information to add for Infinix and Tecno phones

Hello! I wanna add in to dkma for Infinix and Tecno devices, because it just kills apps in the background and having notifications delayed. I'm also new to GitHub so hehe...
(I'm using a Infinix Hot 10 Play running Android 11 May 5 2022 Android Security Update)
Open "Power Marathon"
-> Power Boost = OFF
• Smart Scenes
-> Short Video Optimization = OFF
(I think its for apps like TikTok)
-> Sleep Mode Optimization = OFF (Optional)
(Turns on airplane mode at night when you're not using the phone)
• Advanced Settings
-> Power Boost Reminder = OFF (Optional)
-> Screen off push block = OFF
-> Screen off sleep = OFF
-> Screen off scheduled push = OFF
-> Battery Optimization = Basically yeah...
-> Battery Saver = OFF
Open "Phone Master"
• App Booster = Add in your messaging apps, email apps, apps that runs in the background like AccuBattery or in startup like launchers. You can only put 4 apps
• Auto-start Management = Enable all of them :)

Thanks for this information.  I was wondering what makes Tachiyomi force stop in my device.
May I ask what launcher you're using?


python3Packages.apprise: 0.9.3 -> 0.9.4

Motivation for this change
Update to latest upstream release 0.9.4
Change log: https://github.com/caronc/apprise/releases/tag/v0.9.4
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

nixpkgs-review happy for me on macos 10.15 & nixos x86_64 except for homeassistant.

Result of nixpkgs-review pr 134247 run on x86_64-linux 1

3 packages built:

apprise (python39Packages.apprise)
home-assistant
python38Packages.apprise


Add include for additional .conf files inside squid.conf.erb template

Cookbook version
1.1.1
Chef-client version
12.5.1
Platform Details
CentOS
Scenario:
I would like to write a wrapper cookbook that adds additional squid configurations but do so in a way that doesn't require overwriting the squid cookbook's squid.conf.erb template.  I'd rather create a conf.d directory and put additional configurations in that directory.  An existing pull request from 2015 appears to solve that problem.
Steps to Reproduce:
I'm using the fork of the chef-cookbooks/squid and merged in the changes from pull request 42 into master on my local repository.
Expected Result:
The updated squid.conf.erb template contains an 'include' statement allowing me to add additional rules in those directories.

Fixed and released


Add possibility to download IPFS images

See https://docs.ipfs.tech/how-to/kubo-basic-cli/ for ipfs
https://docs.ipfs.tech/how-to/address-ipfs-on-web/#native-urls
ipfs://{cidv1}/path/to/resource (see also https://cid.ipfs.tech/)
Closes #2407

The lima.yaml would look something like:
- location: "ipfs://QmUy3RRqbpsxXYQ7yp4h2koFHdGdVTCfRiqCBLkw1JobUK/ubuntu-24.04-server-cloudimg-amd64.img"
  arch: "x86_64"
  digest: "sha256:32a9d30d18803da72f5936cf2b7b9efcb4d0bb63c67933f17e3bdfd1751de3f3"

Note: the ipfs tool will output v0 by default, unless using --cid-version 1
v0: QmUy3RRqbpsxXYQ7yp4h2koFHdGdVTCfRiqCBLkw1JobUK
v1: bafybeig5sch22ecfox7gq724rz7uivydwvnnpuqdcnjz72iwelgtrakzui
$ ipfs add --cid-version 0 ubuntu-24.04-server-cloudimg-amd64.img
added QmUy3RRqbpsxXYQ7yp4h2koFHdGdVTCfRiqCBLkw1JobUK ubuntu-24.04-server-cloudimg-amd64.img
 453.00 MiB / 453.00 MiB [=================================================================================================================] 100.00%
$ ipfs add --cid-version 1 ubuntu-24.04-server-cloudimg-amd64.img
added bafybeig5sch22ecfox7gq724rz7uivydwvnnpuqdcnjz72iwelgtrakzui ubuntu-24.04-server-cloudimg-amd64.img
 453.00 MiB / 453.00 MiB [=================================================================================================================] 100.00%

Using ipfs cat to get our own progress, and ipfs ls to calculate the size.
Hash                                                        Size     Name
bafybeibnerap2c5tnmqvyftmyxftftjewvo52acwv2gg6thpipyw5zx7fe 45613056
bafybeidrbml5blbqj2i67x5gujqbwluis6jy5daiso6ir5pakx4hseztum 45613056
bafybeie56ruaziz43jj3e5iih5r3fyzudeurqbpts6vwigf7nbreoep5de 45613056
bafybeifva7p55d4szahrrxqjdjqqqlcrcfxm7n2vnpmwucrdkvcexxngmu 45613056
bafybeie5wduudyjkbcyjvcif7i6gliipapvl5cw4wia3fqoanxunud7dyi 45613056
bafybeidezz5b2zng3etcwbn4vnu3tn4ao3wrh5qdwzoyo7ywdp7rbymgzq 45613056
bafybeiaf7vcteys366fmjiclktnzwuqpygpn4u2ftqrl62juaq5sgjw4be 45613056
bafybeiasvhz6mljylbqwygb7jvp6d6sohaw325yuan5awlo7shjrlslb7m 45613056
bafybeieiuxw2i5nkelq5tihd2tgmtxjst2ln6rslt35jxslcz4w4mjsnha 45613056
bafybeiest5wjnmjwyp7vgawfbityfnkgqpr27bfleysbhdrhldcwxw4yq4 45613056
bafybeif7btzsv7657kfxu7qte6sh6zgpvpsrj7dnou7usj2nwv4zf77ft4 18874368

At first I was thinking that calculating the digest was unnecessary, since it already has one included in the storage.
But we still want to compare the download with the digest we are expecting, to make sure it's the same image...

Looks good, but needs a documentation

There is a design flaw with this approach. Currently it would look like:
- location: "https://cloud-images.ubuntu.com/releases/24.04/release-20240423/ubuntu-24.04-server-cloudimg-amd64.img"
  arch: "x86_64"
  digest: "sha256:32a9d30d18803da72f5936cf2b7b9efcb4d0bb63c67933f17e3bdfd1751de3f3"
- location: "ipfs://QmUy3RRqbpsxXYQ7yp4h2koFHdGdVTCfRiqCBLkw1JobUK/ubuntu-24.04-server-cloudimg-amd64.img"
  arch: "x86_64"
  digest: "sha256:32a9d30d18803da72f5936cf2b7b9efcb4d0bb63c67933f17e3bdfd1751de3f3"

That means the checksum is duplicated, between the transports. Maybe:
- location: "https://cloud-images.ubuntu.com/releases/24.04/release-20240423/ubuntu-24.04-server-cloudimg-amd64.img"
  arch: "x86_64"
  digest: "sha256:32a9d30d18803da72f5936cf2b7b9efcb4d0bb63c67933f17e3bdfd1751de3f3"
  cid: QmUy3RRqbpsxXYQ7yp4h2koFHdGdVTCfRiqCBLkw1JobUK

Note:
The CID can be calculated, without adding the image to the disk store:
$ sha256sum ubuntu-24.04-server-cloudimg-amd64.img
32a9d30d18803da72f5936cf2b7b9efcb4d0bb63c67933f17e3bdfd1751de3f3  ubuntu-24.04-server-cloudimg-amd64.img
$ ipfs add --only-hash --quieter ubuntu-24.04-server-cloudimg-amd64.img
QmUy3RRqbpsxXYQ7yp4h2koFHdGdVTCfRiqCBLkw1JobUK

Unfortunately, Content-Type and Last-Modified are not provided by IPFS...
Current gateway only use heuristics like file magic and relative freshness.

Looks good, but needs a documentation

Currently it assumes that IPFS Kubo is set up.
i.e. that ipfs add and ipfs get is working
https://docs.ipfs.tech/how-to/kubo-basic-cli/

Could also add support for IPFS_GATEWAY, as a fallback?
https://blog.ipfs.tech/ipfs-uri-support-in-curl/
If set, it would rewrite any ipfs: into http/https instead...
export IPFS_GATEWAY="http://<IP_ADDRESS>:8080"

Regarding addressing of ipfs objects, there are some more details here:
https://github.com/ipfs/in-web-browsers/blob/master/ADDRESSING.md
"The four stages of the upgrade path for path addressing."

Current: HTTP-to-IPFS gateway
e.g. https://ipfs.io/ipfs/$hash
Short term: URL
e.g. ipfs://$hash
Mid term: URI
e.g. dweb:/ipfs/$hash
Long term: NURI
e.g. /ipfs/$hash

So it is simpler to only provide the CID/hash, as additional information?
https://docs.ipfs.tech/concepts/content-addressing/#what-is-a-cid
Since it is a multihash, it doesn't need an additional prefix*.
* it actually already has a couple of them, but in a string encoded form
(one can use ipfs cid format, or https://cid.ipfs.io/, to decipher them)
cid: bafybeieipdaxd3fzy3j7syzzxdaqxramk65j7ajzcqgmi6b5jyq4jgbwue
# base32-cidv1-dag-pb-(sha2-256:32:8878C171ECB9C6D3F96339B8C10BC40C57BA9F8139140CC4783D4E21C49836A1)

More user-facing documentation (for the website) can go in a second PR. Maybe just use the links above?
Also needs documentation on how to update images, then again we don't have any docs for sha256 either...

"ipfssum" wrapper:
#!/bin/sh
ipfs add --only-hash --cid-version=1 --progress=false "$@"

Something like:
$ sha256sum ubuntu-24.04-server-cloudimg-*.img
0e25ca6ee9f08ec5d4f9910054b66ae7163c6152e81a3e67689d89bd6e4dfa69  ubuntu-24.04-server-cloudimg-amd64.img
5ecac6447be66a164626744a87a27fd4e6c6606dc683e0a233870af63df4276a  ubuntu-24.04-server-cloudimg-arm64.img
$ ipfssum ubuntu-24.04-server-cloudimg-*.img
added bafybeievi2i673t7kgzx6vsxc6lod3bvagzc364e6kes43p6catfowgone ubuntu-24.04-server-cloudimg-amd64.img
added bafybeich5idqhqtdh3f4nxq6kv6l2fd2nsvynha3vdqek4a7mu7nawp6sm ubuntu-24.04-server-cloudimg-arm64.img

We might want to refactor downloader separately, then it would be easier to add handlers...
i.e. ipfs for ipfs: and oras for oras:, and what other alternatives to plain http: and https:


Support for headers in requests

Hi,
I have a requirement to use two headers when calling my livy endpoint:
"Authorization" for use with a token
and
"X-Requested-By" which is required because csrf is enabled in livy.
I have modified my local code pylivy code to enable headers (only some small changes)
Should I create a pull request to merge this with the code or is it a design choice to not include headers?

This is now resolved in 0.7.0 thanks to #77.


Data import bug

I cloned this repo, ran docker-compose build, and then hit this error on the next step in the README:
Beas-MBP:mellow-bike-map beamalsky$ docker-compose -f docker-compose.yml -f db/docker-compose.yml run --rm make
Creating network "mellow-bike-map_default" with the default driver
Creating volume "mellow-bike-map_mellow-bike-map-db-data" with default driver
Creating volume "mellow-bike-map_mellow-bike-map-node-modules" with default driver
Creating mellow-bike-map-postgres ... done
Building make
Step 1/4 : FROM mdillon/postgis:11
 ---> b2a8fefe8a63
Step 2/4 : RUN apt-get update && apt-get install -y --no-install-recommends     build-essential gcc make cmake gdal-bin postgresql-server-dev-11     expat libexpat1-dev libboost-dev libboost-graph-dev libboost-program-options-dev libpqxx-dev     wget ca-certificates
 ---> Using cache
 ---> ce2f9c425429
Step 3/4 : RUN wget -O pgrouting-3.1.0.tar.gz https://github.com/pgRouting/pgrouting/archive/v3.1.0.tar.gz &&     tar xvfz pgrouting-3.1.0.tar.gz &&     cd pgrouting-3.1.0 &&     mkdir build &&     cd build &&     cmake .. &&     make &&     make install &&     cd / && rm -Rf pgrouting-3.1.0*
 ---> Using cache
 ---> 8700ee10c6bc
Step 4/4 : RUN wget -O osm2pgrouting-2.3.6.tar.gz https://github.com/pgRouting/osm2pgrouting/archive/v2.3.6.tar.gz &&     tar xvfz osm2pgrouting-2.3.6.tar.gz &&     cd osm2pgrouting-2.3.6 &&     cmake -H. -Bbuild &&     cd build &&     make &&     make install &&     cd / && rm -Rf osm2pgrouting-2.3.6*
 ---> Using cache
 ---> e708efbda884

Successfully built e708efbda884
Successfully tagged mellow-bike-map-make:latest
WARNING: Image for service make was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
python manage.py loaddata app/mbm/fixtures/mellowroute.json && touch db/import/mellowroute.table
python: can't open file 'manage.py': [Errno 2] No such file or directory
Makefile:5: recipe for target 'db/import/mellowroute.table' failed
make: *** [db/import/mellowroute.table] Error 2
Beas-MBP:mellow-bike-map beamalsky$ docker-compose -f docker-compose.yml -f db/docker-compose.yml run --rm make
Starting mellow-bike-map-postgres ... done
python manage.py loaddata app/mbm/fixtures/mellowroute.json && touch db/import/mellowroute.table
python: can't open file 'manage.py': [Errno 2] No such file or directory
Makefile:5: recipe for target 'db/import/mellowroute.table' failed
make: *** [db/import/mellowroute.table] Error 2

Do you know what's up here @jeancochrane? Looks like it's having trouble with the Django management command.

There's a couple problems with the db/import/mellowroute.table target:

It requires the dependencies in app/Dockerfile (notably Django), but the Makefile uses db/Dockerfile
We need to run management commands from the app/ directory, not from the root directory

I think fixing both these problems will require refactoring the data import pipeline to use one shared Dockerfile that has both dependencies and adjusting the target to run management commands from the right directory. I can do this but probably not till later tonight.
In the meantime, one work around would be to adjust the command that's listed in the README to skip the db/import/mellowroute.table target:
docker-compose -f docker-compose.yml -f db/docker-compose.yml run --rm make db/import/chicago.table

Then import the MellowRoute fixture manually using the app container, instead of using the broken target:
docker-compose run --rm app ./manage.py loaddata mellowroute

I'll do this workaround, thank you! If you didn't want to do the refactor, FWIW I think it'd be fine to just have an extra step in the README.

Unfortunately I'm now getting this error:
Beas-MBP:mellow-bike-map beamalsky$ docker-compose -f docker-compose.yml -f db/docker-compose.yml run --rm make db/import/chicago.table
Starting mellow-bike-map-postgres ... done
osm2pgrouting -f db/raw/chicago.osm -c /usr/local/share/osm2pgrouting/mapconfig_for_bicycles.xml --prefix chicago_ --addnodes --tags --clean \
              -d mbm -U postgres -h postgres -W postgres &&
/bin/sh: 2: Syntax error: end of file unexpected
Makefile:8: recipe for target 'db/import/chicago.table' failed
make: *** [db/import/chicago.table] Error 2

@beamalsky Good catch! I just pushed up 1d4539c91000be49ad4ea8e3b388a697e9ef0642 which should fix that syntax error.

I'm now seeing this:
Beas-MBP:mellow-bike-map beamalskydocker-compose -f docker-compose.yml -f db/docker-compose.yml run --rm make db/import/chicago.table
Starting mellow-bike-map-postgres ... done
wget --no-use-server-timestamps -O db/raw/chicago.osm https://overpass-api.de/api/map?bbox=-87.7488,41.7170,-87.5157,42.0003
--2020-09-07 02:51:43--  https://overpass-api.de/api/map?bbox=-87.7488,41.7170,-87.5157,42.0003
Resolving overpass-api.de (overpass-api.de)... <IP_ADDRESS>, <IP_ADDRESS>, 2a01:4f8:120:6464::2, ...
Connecting to overpass-api.de (overpass-api.de)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/osm3s+xml]
Saving to: ‘db/raw/chicago.osm’

db/raw/chicago.osm      [             <=>    ] 927.82M  5.03MB/s    in 3m 24s

2020-09-07 02:55:14 (4.56 MB/s) - ‘db/raw/chicago.osm’ saved [972891961]

osm2pgrouting -f db/raw/chicago.osm -c /usr/local/share/osm2pgrouting/mapconfig_for_bicycles.xml --prefix chicago_ --addnodes --tags --clean \
              -d mbm -U postgres -h postgres -W postgres && \
PGPASSWORD=postgres psql -U postgres -h postgres -d mbm -c " \
	UPDATE chicago_ways SET one_way = 2, oneway = 'NO', reverse_cost = cost \
	FROM osm_ways \
	WHERE osm_ways.osm_id = chicago_ways.osm_id \
	AND osm_ways.tags @> 'oneway:bicycle => no'" && \
touch db/import/chicago.table
Execution starts at: Mon Sep  7 02:55:14 2020

***************************************************
           COMMAND LINE CONFIGURATION             *
***************************************************
Filename = db/raw/chicago.osm
Configuration file = /usr/local/share/osm2pgrouting/mapconfig_for_bicycles.xml
host = postgres
port = 5432
dbname = mbm
username = postgres
schema=
prefix = chicago_
suffix =
Drop tables
Don't create indexes
Add OSM nodes
***************************************************
Testing database connection: mbm
database connection successful: mbm
Connecting to the database
connection success

Dropping tables...
TABLE: chicago_ways dropped ... OK.
TABLE: chicago_ways_vertices_pgr dropped ... OK.
TABLE: chicago_pointsofinterest dropped ... OK.
TABLE: configuration dropped ... OK.
TABLE: osm_nodes dropped ... OK.
TABLE: osm_ways dropped ... OK.
TABLE: osm_relations dropped ... OK.

Creating tables...
TABLE: chicago_ways_vertices_pgr created ... OK.
TABLE: chicago_ways created ... OK.
TABLE: chicago_pointsofinterest created ... OK.
TABLE: configuration created ... OK.
TABLE: osm_nodes created ... OK.
TABLE: osm_ways created ... OK.
TABLE: osm_relations created ... OK.
Opening configuration file: /usr/local/share/osm2pgrouting/mapconfig_for_bicycles.xml
    Parsing configuration

Exporting configuration ...
  - Done
Counting lines ...
  - Done
Opening data file: db/raw/chicago.osm	total lines: 13185664
    Parsing data

Current osm_nodes:Killed760000
Makefile:8: recipe for target 'db/import/chicago.table' failed
make: *** [db/import/chicago.table] Error 137

Oh looks like this is a memory error—let me try upping my docker system resources!

What’s your memory limit in your Docker preferences? That happened to me
and I’m pretty sure it’s an OutOfMemoryError, I was able to I get past it
by bumping my memory limit.
Le dim. 6 sept. 2020 à 10:09 PM, Bea Malsky<EMAIL_ADDRESS>a
écrit :

I'm now seeing this:
Beas-MBP:mellow-bike-map beamalskydocker-compose -f docker-compose.yml -f db/docker-compose.yml run --rm make db/import/chicago.table
Starting mellow-bike-map-postgres ... done
wget --no-use-server-timestamps -O db/raw/chicago.osm https://overpass-api.de/api/map?bbox=-87.7488,41.7170,-87.5157,42.0003
--2020-09-07 02:51:43--  https://overpass-api.de/api/map?bbox=-87.7488,41.7170,-87.5157,42.0003
Resolving overpass-api.de (overpass-api.de)... <IP_ADDRESS>, <IP_ADDRESS>, 2a01:4f8:120:6464::2, ...
Connecting to overpass-api.de (overpass-api.de)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/osm3s+xml]
Saving to: ‘db/raw/chicago.osm’
db/raw/chicago.osm      [             <=>    ] 927.82M  5.03MB/s    in 3m 24s
2020-09-07 02:55:14 (4.56 MB/s) - ‘db/raw/chicago.osm’ saved [972891961]
osm2pgrouting -f db/raw/chicago.osm -c /usr/local/share/osm2pgrouting/mapconfig_for_bicycles.xml --prefix chicago_ --addnodes --tags --clean \
          -d mbm -U postgres -h postgres -W postgres && \

PGPASSWORD=postgres psql -U postgres -h postgres -d mbm -c " \
UPDATE chicago_ways SET one_way = 2, oneway = 'NO', reverse_cost = cost \
FROM osm_ways \
WHERE osm_ways.osm_id = chicago_ways.osm_id \
AND osm_ways.tags @> 'oneway:bicycle => no'" && \
touch db/import/chicago.table
Execution starts at: Mon Sep  7 02:55:14 2020

       COMMAND LINE CONFIGURATION             *

Filename = db/raw/chicago.osm
Configuration file = /usr/local/share/osm2pgrouting/mapconfig_for_bicycles.xml
host = postgres
port = 5432
dbname = mbm
username = postgres
schema=
prefix = chicago_
suffix =
Drop tables
Don't create indexes
Add OSM nodes

Testing database connection: mbm
database connection successful: mbm
Connecting to the database
connection success
Dropping tables...
TABLE: chicago_ways dropped ... OK.
TABLE: chicago_ways_vertices_pgr dropped ... OK.
TABLE: chicago_pointsofinterest dropped ... OK.
TABLE: configuration dropped ... OK.
TABLE: osm_nodes dropped ... OK.
TABLE: osm_ways dropped ... OK.
TABLE: osm_relations dropped ... OK.
Creating tables...
TABLE: chicago_ways_vertices_pgr created ... OK.
TABLE: chicago_ways created ... OK.
TABLE: chicago_pointsofinterest created ... OK.
TABLE: configuration created ... OK.
TABLE: osm_nodes created ... OK.
TABLE: osm_ways created ... OK.
TABLE: osm_relations created ... OK.
Opening configuration file: /usr/local/share/osm2pgrouting/mapconfig_for_bicycles.xml
Parsing configuration

Exporting configuration ...

Done

Counting lines ...

Done

Opening data file: db/raw/chicago.osm	total lines: 13185664
Parsing data

Current osm_nodes:Killed760000
Makefile:8: recipe for target 'db/import/chicago.table' failed
make: *** [db/import/chicago.table] Error 137
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jeancochrane/mellow-bike-map/issues/17#issuecomment-687999623,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMDUGRBKN5E5SRQ24PDXM3SERFIFANCNFSM4Q46ZZPQ
.

I upped my memory limit from 2 to 6 GiB, so far so good


FBX native support

We had a lot of trouble getting assimp to work with FBX.
https://sketchfab.com/3d-models/sensei-4-cc86a15388ab403baff5c7a4b4d3eefc this was one of the tricky test models. I can spend some time throwing my 3d asset library at ambient. If you can link me to windows 11 binaries and a script that I can point to a folder recursively.
We decided to go with an external executable approach which won't work for an engine that transfers WASM from the server to the client on client join.
https://godotengine.org/fbx-import/
Let me know if you want more FBX test models etc.

Hi, that would be great! We do have a native FBX implementation too (https://github.com/AmbientRun/Ambient/tree/main/crates/model_import/src/fbx) so would be great to battle test it a bit.
You can download the latest windows binary here: https://github.com/AmbientRun/Ambient/releases
You can see an example of asset loading here: https://github.com/AmbientRun/Ambient/tree/main/guest/rust/examples/asset_loading The main thing is the assets/pipeline.json which describes how to import an asset. You can find the docs for that here: https://ambientrun.github.io/Ambient/reference/asset_pipeline.html

I'm not able to help as much as I wanted due to recent circumstance.
Here are a list of fbx test samples. https://github.com/assimp/assimp-mdb/tree/master/model-db/fbx


Patch update for 2.0 release

Quick patch to reflect the latest frameworks for 2.0.

@guardrex,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Ensure that the clipping path is reset when the state is restored (issue 6413)

According to the specification, see NOTE 2 in http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#G7.3882161, it appears that we should ensure that the clipping path is reset when the restore (Q) operator is encountered.
Fixes #6413.
Note: I'm currently trying to create a reduced test-case, hence the WIP label.

/botio-linux preview

/botio test

/botio makeref

Nice work!

Spec link is broken, here it's an updated one:
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#G7.3882161