MNT: Update pinned versions.

Hi! This is the friendly conda-forge-admin automated user.
I've bumped some of the conda-forge pinned versions, and noticed that it impacts this feedstock.
If the changes look good, then please go ahead and merge this PR.
If you have any questions about the changes though, please feel free to ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

If you are happy with this @jjhelmus, we should probably remove the existing distribution from anaconda.

LGTM


[Docs] Add link to First Timers’ Welcome Guide in Project page

Current State:
The Layer5 projects page in the Meshery does not have a link to the first timers' welcome guide.
Desired State:
First-time open source contributors should be encouraged and shown a link to this document.

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation

first timers' welcome guide  requires access for me when I clicked on it

@nuggetnchill, oops. I linked to the wrong document. Here is the document that I meant to link to - https://docs.google.com/document/d/1tpg2sLxirozNt3Ofr3GdM002f9rExp74EqrsGZBU710/edit

I would like to take this up

Thanks, @Kennygrace 👍

Ooh, wait. @seun-beta did not reference or have this issue assigned before working on it here already - https://github.com/layer5io/meshery/pull/1418

Does that mean it's no longer available?

Hi @Kennygrace yes it’s no longer available for now, you could check other issues.💪🏽

@seun-beta, will you land a comment here signaling that you will pick up this issue (this way, it can be assigned to you).

@leecalcote  I am still on it. @PluckyPrecious is putting me through on it.


How to paginate back from a 'n' the row key (using RandomPartitioner) ?

Hi,
How to paginate back from a 'n' the row key  using RangeSlicesQuery ?
The data is based on RP and the reverse option on the setRange function seems to be applicable only for the columns not on the rows. (http://tinyurl.com/73tncn3)
Could you please provide your comments on this ?
Thanks,
Sribalaji

It is a function of the hashing algorithm when you page via
rangeslices with random partitioner. In other words, you are using the
order of the hashed values - not the values themselves.
On Tue, Jan 10, 2012 at 2:03 AM, asribalaji
<EMAIL_ADDRESS>wrote:

Hi,
How to paginate back from a 'n' the row key  using RangeSlicesQuery ?
The data is based on RP and the reverse option on the setRange function seems to be applicable only for the columns not on the rows. (http://tinyurl.com/73tncn3)
Could you please provide your comments on this ?
Thanks,
Sribalaji

Reply to this email directly or view it on GitHub:
https://github.com/zznate/hector-examples/issues/3


Deleting messages

Facebook recently added the ability to delete messages. This was implemented as unsending by @kapi2289 in #333, but that might be broken now?
I just looked into it, seems like message deletion moved to https://www.facebook.com/ajax/mercury/delete_messages.php, which you POST with:
"message_ids[0]": "mid.XYZ"

Plus all the other usual Facebook cruft.
This suggests that we may be able to delete multiple messages at once? Don't have the time to investigate further right now.

unsend still works for me, maybe you have new functions that are not yet in my country.

Okay, now I know. You (or your bot) haven't got unsending function yet. This URL you provided is for private deletion that is already in fbchat, added in #318

Could very probably be. I can't detect these with the deleted tag on Message either, though I can detect it with a different delta class, "MessageDelete":
{
  "delta": {
    "class": "MessageDelete",
    "irisSeqId": "1234567",
    "messageIds": [
      <message_id>
    ],
    "randomNonce": 123456789,
    "requestContext": {
      "apiArgs": {}
    },
    "threadKey": {
      "threadFbId": <thread_id>
    }
  },
  "iseq": 1234567,
  "ofd_ts": <timestamp>,
  "queue": <user_id>,
  "type": "delta"
}

For handling this is onMessageDeleted 😉

Yeah, but there's a difference between deleted messages, and unsent messages 🤔


Blender BIM Integration Scoping/Tests

@izzylys moved this to done, but i'll leave the closing thereof up to you (it's done from our point of view, but you maybe will wanna hack on it more)


[ConfigTransformer] Revert: Add -n alias for --dry-run by convention

-n alias conflicts with \Symfony\Component\Console\Application::getDefaultInputDefinition
fix #4326

What about disablind the -n option from getDefaultInputDefinition()? We don't use it anyway and this shortcut comes hand.y

I just push a dirty fix, what did you think about?
I need to find a more cleaner way to do

I think this look good. How does it perform when you change it locally?
Btw, could you add a comment there about "why"? Just so we don't remove it and know it was a "-n" option blocker :)

Hi,
thanks on working on this so quickly :)
I think the approach in Application::getDefaultInputDefinition() is better, because it's closer to the point of origin of this problem.
The Kernel is quite abstract place and might be hard to connect the dots.
Could you move it to the Application one?

I move back to the KernelBootAndApplicationRun with simple implementation (and comment).

Thank you :clap:


Comments feature doesn't work correctly in vscode but works correctly in vscode.dev (web)

Extension version: 0.80.1
VSCode Version: VSCode Version: 1.86.2 (using cursor editor)
OS: Mac OS Sonoma 14.3.1

Steps to Reproduce:

add comment but dont submit it or anything
click outside of text area
now when you try to click inside the text area to edit text nothing happens
same thing happens when i add comment and then try to edit it. I am not able to select text or move it with mouse.
text editing works correctly only in pull request overview where are all of the 'pending' comments listed.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.87.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


How to use AbstractDifferentiation as a user?

Thanks for working on AbstractDifferentiation! It tackles a very relevant practical problem.
Unfortunately, I cannot figure out from the Readme how AbstractDifferentiation should be used.
The Readme says

"To use AbstractDifferentiation, first construct a backend instance ab::AD.AbstractBackend using your favorite differentiation package in Julia that supports AbstractDifferentiation."

but does not explain how to do this, see my failed attempt below (inspired from the test code).
Also,iIt would be nice if I could list all available backends somehow.
using AbstractDifferentiation

import Zygote
import ForwardDiff

# test function
foo(x) = sin(x[1]) + prod(x[2:end].^2)
x = rand(4)

# direct usage works
Zygote.gradient(foo, x)[1]
ForwardDiff.gradient(foo, x)

# Is this the correct way to create a Backend?
struct ForwardDiffBackend1 <: AD.AbstractForwardMode end
const forwarddiff_backend1 = ForwardDiffBackend1()

struct ZygoteBackend1 <: AD.AbstractReverseMode end
const zygote_backend1 = ZygoteBackend1()

# both fail with:
# MethodError: no method matching adjoint(::Nothing)
AD.gradient(zygote_backend1, foo, x)
AD.gradient(forwarddiff_backend1, foo, x)

We want AD package developers to depend on AbstractDifferentiation to define one primitive operation (and potentially the primal_value if needed).  Currently, it is not implemented in any lower-level AD package yet. So, at the moment, you also need to add the primitive operation. That is missing in your attempt above.
using AbstractDifferentiation
import Zygote
import ForwardDiff

# test function
foo(x) = sin(x[1]) + prod(x[2:end].^2)
x = rand(4)

# direct usage works
Zygote.gradient(foo, x)[1]
ForwardDiff.gradient(foo, x)

# correct way to use a backend
struct ForwardDiffBackend1 <: AD.AbstractForwardMode end
const forwarddiff_backend1 = ForwardDiffBackend1()

AD.@primitive function pushforward_function(ab::ForwardDiffBackend1, f, xs...)
    # jvp = f'(x)*v, i.e., differentiate f(x + h*v) wrt h at 0
    return function (vs)
        if xs isa Tuple
            @assert length(xs) <= 2
            if length(xs) == 1
                (ForwardDiff.derivative(h->f(xs[1]+h*vs[1]),0),)
            else
                ForwardDiff.derivative(h->f(xs[1]+h*vs[1], xs[2]+h*vs[2]),0)
            end
        else
            ForwardDiff.derivative(h->f(xs+h*vs),0)
        end
    end
end
AD.primal_value(::ForwardDiffBackend1, ::Any, f, xs) = ForwardDiff.value.(f(xs...))

struct ZygoteBackend1 <: AD.AbstractReverseMode end
const zygote_backend1 = ZygoteBackend1()

AD.@primitive function pullback_function(ab::ZygoteBackend1, f, xs...)
    return function (vs)
        # Supports only single output
        _, back = Zygote.pullback(f, xs...)
        if vs isa AbstractVector
            back(vs)
        else
            @assert length(vs) == 1
            back(vs[1])
        end
    end
end

AD.gradient(zygote_backend1, foo, x)
AD.gradient(forwarddiff_backend1, foo, x)

Also,iIt would be nice if I could list all available backends somehow.

Absolutely! The next steps include adding more primitives for different AD packages as test cases to check if all macros etc., in AbstractDifferentiation are fine. Then, AD package developers could go ahead and add these primitives to their package (as it is done above). Afterwards, end-users would only have to call
const zygote_backend = ZygoteBackend(),

where the primitives are then defined in Zygote.jl, and get all listed "derivative operations" like Jacobian from the API of AbstractDifferentiation.

Could the connections be added via Requires and then upstreamed?


build: allow the user to specify the ICU paths for compilation

This brings the default compilation model more in line with the
cross-compilation model by allowing the user to specify the ICU UC/I18N
paths when invoking CMake.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @gottesmm

@swift-ci please test and merge


Sync Changes button options

I would love for an option when there are no pending changes to hide the "Sync Changes" button in the SCM view as it can be a little noisy when not needed.

See https://github.com/microsoft/vscode/issues/154478#issuecomment-1179180462

Closing this as duplicate of #154478


Reported votes and weighted total don't always agree

Evidently some people find this confusing.

#463 Should fix this, I think...

Sort of, but some people still aren't contributors and are new.

this post

/vote close


Update azure-stack-get-pki-certs.md

Added known issue about older clients and renewal process.

@erskinejohn : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Network Load Balancer Support

AWS just announced the availability of Network Load Balancers. To support this the following Cloud Formation changes are required:

ELB 2 resources now have a Type attribute
ELB 2 resources now have a SubnetMappings attribute, a primary function being attaching EIP's to the NLB
TargetGroups now accept IP's as targets

#806 has a pull request for NLB support

Fixed via merge of #806


document usage of ESLint presets in README

Document usage of rules presets from https://github.com/code-pushup/eslint-config/issues/1

Added set up instruction to docs, should be pretty comprehensive now 😁

README
... other configs, e.g. TypeScript config


Make finrl.test() 's output directly usable with portfolio analysis tool

finrl.test() return a list of int of portfolio value, it doesn't contain date data:
from finrl.test import test
account_value_sb3=test(start_date = '2021-10-18',
                      end_date = '2021-10-19',
...
                      net_dimension = 512)
account_value_sb3

output:
[1000000.0,
<PHONE_NUMBER>275314,
<PHONE_NUMBER>182714,
...

But portfolio analysis tool(like pyfolio) expected 1 serie of (date,int). We can't analyze the performance of test():
import quantstats as qs
qs.reports.full(returns = pd.Series(account_value_sb3))

output:
AttributeError: 'int' object has no attribute 'days'

I propose finrl.test() return a serie of (date,int), such as we can directly use portfolio analysis tool on.

@dev590t Do you know how to submit a Pull Request?

Sorry for the delay of code review. Will update soon. Thanks!


1.8.x

同步1.8.5Release

Codecov Report

Merging #6034 into master will increase coverage by 0.02%.
The diff coverage is 37.58%.

@@            Coverage Diff             @@
##           master    #6034      +/-   ##
==========================================
+ Coverage   40.64%   40.66%   +0.02%
==========================================
  Files        3011     2670     -341
  Lines       90297    80368    -9929
  Branches    11808    10889     -919
==========================================
- Hits        36701    32685    -4016
+ Misses      50433    44721    -5712
+ Partials     3163     2962     -201

Impacted Files
Coverage Δ

...om/navercorp/pinpoint/plugin/php/PhpConstants.java
0% <ø> (ø)

...avercorp/pinpoint/plugin/mongo/MongoConstants.java
0% <ø> (ø)
:arrow_up:

...avercorp/pinpoint/plugin/dubbo/DubboConstants.java
0% <ø> (ø)
:arrow_up:

...iler/context/provider/sampler/SamplerProvider.java
100% <ø> (ø)
:arrow_up:

.../monitor/metric/transaction/TransactionMetric.java
0% <ø> (ø)
:arrow_up:

...erceptor/MongoInternalOperatorNameInterceptor.java
0% <0%> (ø)
:arrow_up:

...ctor/monitor/aggregate/Slf4jAggregateReporter.java
0% <0%> (ø)

...lector/mapper/thrift/stat/TransactionBoMapper.java
0% <0%> (ø)

...pper/stat/sampling/sampler/TransactionSampler.java
0% <0%> (ø)
:arrow_up:

...collector/receiver/ServerRequestPacketCounter.java
0% <0%> (ø)

... and 1324 more

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 e358004...ebaca10. Read the comment docs.


Add conduit-algorithms back

Issues blocking it are fixed in newer release
Checklist:

[x]  Some time passed since Hackage upload

[x] On your own machine, in a new directory, you have successfully run the following set of commands (replace $package with the name of the package that is submitted, $version is the version of the package you want to get into Stackage):
stack unpack $package
cd $package-$version
stack init --resolver nightly
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks

This is currently blocked by its transitive dependency, lzma:
base-<IP_ADDRESS> is out of bounds for:

[ ] lzma-<IP_ADDRESS> (>=4.5 && < 4.11). No maintainer. @hvr. Used by: library

See also: https://github.com/haskell-hvr/lzma/issues/9

Everything looks good now; we should see conduit-algorithms in the next nightly!


Make HTCondor CI a bit closer to the other CI

In an ideal world, it would be great if HTCondor CI was a bit closer to the other CI, in particular:

have a Dockerfile with the dependencies (dask, distributed etc ...) installed in the Dockerfile
maybe follow start-slurm.sh etc ... convention but maybe this is overkill since HTCondor use a single Docker image rather than a docker-compose setup so I am a bit undecided on this last point.

Originally posted by @lesteve in https://github.com/dask/dask-jobqueue/pull/420#issuecomment-624047047
(following up on #247)

As this is not urgent I guess I would wait a bit for #424to be settled as the PR #425  introduced some changes.
IMHO modularization actually makes debugging a bit harder (at least for me), but on the other hand someone else might have difficulties if everything is handled differently.
Currently there is 3 different CI setups:

(multiple) Dockerfile + additional scripts
docker-compose + additional  scripts
no Dockerfile and additional scripts

@matyasselmeci I was expecting the docker image for mini:el7 to change 2 days ago since mini:8.9.6-el7 was released (https://hub.docker.com/r/htcondor/mini/tags) . Is that a mistake or some logic behind this?
One possible thing to do would be pinning the versions (like #425) to not break the CI.  Although on the other hand it would be also very good to see if sth breaks in current version. Is there a chance for a stable tag (mini:8.8-el7 or mini:stable-el7 and maybe even mini:8.6-el7/mini:old-stable-el7 as those systems are out there in the wild ) be released as a good compromise? I guess I could build them easily but I like the "official" release.

I would favor running with the latest version as the default and only pinning when there is nothing we can do about it (or we don't really want to investigate like the mysql one recently). We can revisit this approach if things start to break too often but I am trusting you fully on this one for not making the htcondor docker image break every 2 days.
Thanks @riedel by the way about the SLURM CI fix, I don't even want to imagine all the additional hours (or maybe days) and energy I would have spent on this without you!

@riedel good catch; unfortunately building these is currently a manual step so parts of it can get lost. I fixed it.
Some of our images depend on features that are only available in 8.9 (namely TOKEN auth), so we're not planning on making 8.8 images regularly. I can do a one-off htcondor/mini for 8.8.9. We will add stable series images, but only once we start the next stable series.
You can build 8.6.11 with a few tweaks to the Dockerfiles (apparently the 8.6 RPMs don't create the condor user/group), and htcondor/mini should be functional. However, 8.6 is no longer supported by the developers so we're not going to host any builds in the htcondor organization.
By the way, thanks so much for putting together the CI in the first place! We uploaded images for the central manager (htcondor/cm), submit node (htcondor/submit) and execute node (htcondor/execute) -- I'll document them soon -- so a three-node setup with docker-compose will be an option soon.

@matyasselmeci , great news!
It would probably be great to have some minor level tags to follow ( having the tags "latest","8","8.9" all on the latest image like in the official docker images https://hub.docker.com/_/mysql: I today learned that in autobuilds this can be achieved with hooks)
I hopefully will make a docker_compose file for HTCondor soon, first with mini I guess just to make it more look like the others, but it actually then makes sense to do a full 3 node setup. Actually mini is really nice for speeding up the CI: it is currently the fastest setup! It is nice to see that you build everything on a common base image, I imaging that will also speed up the 3 node set-up!

We could probably do something like "8.9-el7" or "latest-el7". I hesitate to make just plain "latest" because, at least for the execute node image, the underlying distribution matters because it determines what jobs the user can run, and we don't want to break anything when we start making el8 images.

that would work perfectly, 8.9-el7 would be a perfect image to pull i guess for the CI, I probably would not want update with each single release. But no hassle, it works!


Update NAT types and fix segmentation fault

Full-cone NAT => FullCone
Restricted-cone NAT => RestrictedCone
Restricted-port NAT => PortRestrictedCone
Symmetric NAT => Symmetric

Thanks for this PR.


[master] Automated Bump DC/OS UI v5.2.1

closes COPS-4665
closes D2IQ-57756

@mesosphere-mergebot backport 2.1 2.0 1.13

@mesosphere-mergebot label Ready For Review

I've removed the word "Automated" from the PR name, Mergebot's parser glitched because of that word for some reason and can't create a train.

Never mind, didn't help, returning the original name.


Publish Code Coverage Task not parsing Cobertura file, saying "No code coverage results were found to publish"

Regarding the "Publish Code Coverage" task, I have an xml output file from Cobertura that I am trying to pass into this task, but even though the file is valid and the path is correct, it is not able to parse it. Is there something about the xml that is not allowing it to be read?

I was trying to use $(Build.SourcesDirectory) at the beginning of my path to the xml file. Turns out it will only work if you use $(System.DefaultWorkingDirectory). Closing the issue

I tried to use $(Build.SourcesDirectory) at the beginning of my path to the xml file. But still issue persist.


Add recommendation feature to deeplinklist activity.

Recommend deep links based on user inputs. User could type some app name and some parameters to get deep links. Recommendation is based on fuzzy matching of app names, action names and inline inventories of app actions data.
Also refactor some code to util classes.
Fixes #33

All comments fixed. Also refactor some code.

All fixed, thanks for comments


In alacritty terminal the folder icon is missing

os: Mac OS 10.15.7 Catalina
lsd --version: 0.18.0
echo $TERM: alacritty
echo $LS_COLORS:

Expected behavior
In iterm2 I see all icons properly with FiraCode Nerd Font Mono font.
In  alacritty (same font) the folder icon is missing. I expect it to show up.
Actual behavior
In iterm2 I see all icons properly with FiraCode Nerd Font Mono font.
In  alacritty (same font) the folder icon is missing.

LOVE lsd!
Any ideas at all for how I could troubleshoot this?

I try Hack Nerd Font in alacritty, it works as expected.
could you make sure the font is configured correctly, or try another one?
PS: you could try with this command to print the folder icon in shell.
echo '\uf115'

@zwpaper Thank you for confirming. Doh. Figured out that I had a patched font for regular, but not for bold (which is what the folders are). Thank you!


Support for Atom 0.3

I noticed Miniflux doesn't support ancient Atom 0.3 feeds. Such feeds still exist in the wild, e.g. http://www.joyoftech.com/joyoftech/jotblog/atom.xml

Unable to parse Atom feed: "expected element  in name space http://www.w3.org/2005/Atom but have http://purl.org/atom/ns#"

Support for Atom 0.3 has been added in this commit: https://github.com/miniflux/miniflux/commit/33fdb2c489727f8af972d69506fef02c121c4fd0

Atom 0.3 is supported since Miniflux >= 2.0.20.


Google Map Loading issue on iphone

We are using this plugin for loading google map with two marker only.
It will more time while it is loading.
Map view can show Google Text at bottom quickly but map loading will take more time.

Hi @parasvaid31, please provide a completed and minimal reproducible code sample so that we may verify this. Please provide the output of flutter doctor -v as well.
Thank you!


[11.x] Add an option to dump data from specified tables

I would like to improve the schema:dump by adding an optional config key to dump the data from specified tables.
In a project, it's common to have some tables containing "reference" data such as countries or currencies.
This data almost never change and needs to be populated every time we deploy the project in a new environment.
How to use:
    # config/database.php
    'dump' => [
        'data_from_tables' => [
            'countries',
            'currencies',
        ],
    ],

php artisan schema:dump  # generate a dump file containing structure from all tables in the schema
                         # + data from tables countries and currencies (& migrations table)

I would like to suggest this feature as an easier alternative that could be used instead of Database Seeding.
When used with migration squashing, this could make life easier to run tests suite on CI with a database pre populated with reference data just by running the artisan migrate command.

The schema:dump generates a "structure only" SQL dump.
That PR is to specify the list of tables we also want to dump the data.
This may be an option added to the command, but I think having a list defined in the configuration is better especially when we regularly use the command to squash migrations. (we don't need to remember every time the list of tables we want to keep)

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


chore(package): move license-reporter to be a dependency

Since we use license-reporter in the postinstall script, we need it to be a normal dependency.  If it was still a dev dependency and the user used the --production flag when installing, the postinstall script would break

Coverage remained the same at 93.75% when pulling 4d3e10f56b9e103e31d409009dbc1537a1636822 on lholmquist:dependency-update into a84efab6bdf8b997aa7d7465906404defcc078bf on bucharest-gold:master.


chore: release devcontainer

:robot: I have created a release beep boop
container: 1.0.0
1.0.0 (2024-10-23)
Features

✨ add devcontainer (#167) (1c94186)

Bug Fixes

remove development environment  from create-issue-action (#28) (09f31e4)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

container-v1.0.0
:sunflower:


Update FP8 scale-inverse in kernels with FP8 output

Description
We currently treat the FP8 scale-inverse (the dequantization scaling factor) as part of the FP8 recipe, along with the FP8 scale (the quantization scaling factor) and the absmax history. However, this is uncomfortable because any change to the FP8 recipe will invalidate the corresponding FP8 data. We work around this by creating copies of the scale-invs whenever there might be a recipe update, e.g. in between the forward and backward passes of the linear layer:
https://github.com/NVIDIA/TransformerEngine/blob/6717554f11f9b8bd79f917560e525d538c95b3bc/transformer_engine/pytorch/module/linear.py#L318
This adds non-trivial CPU overhead (I estimate ~20% for the PyTorch linear layer forward pass on an L40).
A better approach is to treat the scale-inv as part of the FP8 data, something that should be output along with the FP8 bits and should never change independently of the FP8 bits. The FP8 recipe tells us how we want to cast into FP8, while the scale-inv tells us how to convert back to higher precision. Note that this generalizes nicely to block-scaling schemes, where the scale-inv tensor may be large and must be packaged with the data during communication.
This PR makes initial work toward this scheme by including scale-inv updates in most of the kernels with FP8 output: casting, activations, LayerNorm, RMSNorm. It doesn't seem that cuBLAS supports this, so I've added a small kernel that is launched after FP8 GEMMs. I have not attempted to propagate this change into Userbuffers or attention. I've also updated the PyTorch Linear and LayerNormLinear modules to avoid maintaining extra copies of the scale-inv and I see a 1.12x speedup in the Linear forward pass.
I'm a little apprehensive since this is technically a breaking change. Every time we generate FP8 values we will overwrite the FP8 recipe scale-inv. I have a hard time imagining why we would ever use a stale FP8 scale-inv though if the FP8 data has already been overwritten.
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Infra/Build change
[x] Code refractor

Changes

Update FP8 scale-inverse in cast-transpose kernels
Update FP8 scale-inverse in cast and activation kernels
Update FP8 scale-inverse in LayerNorm and RMSNorm kernels
Update FP8 scale-inverse after FP8 GEMMs
Avoid unnecessary FP8 scale-inverse copies in PyTorch Linear module
Avoid unnecessary FP8 scale-inverse copies in PyTorch LayerNormLinear module

Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/te-ci

/te-ci

/te-ci

/te-ci

/te-ci

/te-ci


Add optional FIPS feature and use BoringSSL with FIPS enabled for TLS connections

It's the first step to make Teleport's Desktop Access FIPS compatibile: https://github.com/gravitational/teleport/issues/9987

@zmb3 I couldn't compile BoringSSL on the Mac computer with Apple silicon so I had to test it on the linux machine.
However, I had to prepare the machine and install this packages to make it work:
sudo yum -y install openssl-devel
sudo yum -y install clang-libs.x86_64
sudo yum -y install clang7.0.x86_64

I think that it has to be clang7 in order to make it work.
Sometimes I've encountered this issue when compiling boring rust crate and I'm yet not sure why it is happening:
Compiling boring-sys v2.1.0
The following warnings were emitted during compilation:

warning: fetching boringssl git submodule

error: failed to run custom build command for `boring-sys v2.1.0`

Caused by:
  process didn't exit successfully: `/home/ec2-user/code/rdp-rs/target/debug/build/boring-sys-a3aa8ea313c221eb/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=BORING_BSSL_PATH
  cargo:warning=fetching boringssl git submodule

  --- stderr
  fatal: not a git repository (or any of the parent directories): .git
  thread 'main' panicked at 'failed to fetch submodule - consider running `git submodule update --init --recursive deps/boringssl` yourself', /home/ec2-user/.cargo/registry/src/github.com-1ecc6299db9ec823/boring-sys-2.1.0/build.rs:325:17
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

One of thing that worked for me was to clone the boring crate to the local environment and specify its path in the Cargo.toml file of this crate, e.g.:
boring = { path = "/home/ec2-user/code/boring/boring",  features = ["fips"], optional = true }
but I know that it is not the proper fix.
It's enough to make it work when you're testing, but I'll have to investigate why it sometimes fails to fetch submodules during compilation of the crate.


feat: make boltcard message customizable

This adds a field to the card create/edit screen that allows you to customize the message that gets sent with the scan response.
The current default message which includes a long URL for refunds can be jarring to look at. There needs to be a way to opt out from that.

Reverted the replacement logic as it is not essential for this feature.

Maybe I'm blind but where is the part where the message is actually shown?

Codecov Report

Merging #1139 (d5e56af) into main (4f7e911) will increase coverage by 1.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1139      +/-   ##
==========================================
+ Coverage   48.72%   49.77%   +1.05%
==========================================
  Files         239      255      +16
  Lines       13505    14725    +1220
==========================================
+ Hits         6580     7330     +750
- Misses       6925     7395     +470

Impacted Files
Coverage Δ

lnbits/extensions/boltcards/crud.py
21.92% <ø> (-0.80%)
:arrow_down:

lnbits/extensions/boltcards/lnurl.py
26.12% <100.00%> (-6.34%)
:arrow_down:

lnbits/extensions/boltcards/migrations.py
100.00% <100.00%> (ø)

lnbits/extensions/boltcards/models.py
91.42% <100.00%> (+0.25%)
:arrow_up:

lnbits/extensions/satspay/helpers.py
26.08% <0.00%> (-40.58%)
:arrow_down:

lnbits/extensions/splitpayments/tasks.py
29.26% <0.00%> (-12.12%)
:arrow_down:

lnbits/core/migrations.py
63.63% <0.00%> (-10.73%)
:arrow_down:

lnbits/settings.py
85.39% <0.00%> (-9.85%)
:arrow_down:

lnbits/extensions/lnurlp/tasks.py
38.46% <0.00%> (-9.82%)
:arrow_down:

lnbits/core/services.py
45.65% <0.00%> (-8.25%)
:arrow_down:

... and 81 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

We have moved Boltcards into its own repo, can you add here https://github.com/lnbits/boltcards


square brackets are wrongly escaped in code blocks

// ```rust
// let a = vec![1];
// ```
message Test{}

Will become
/// ```rust
/// let a = vec!\[1\];
/// ```
#[derive(prost_helpers::AnyPB)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Test {
}

Good catch, would be good to fix this and write a test.

Has anyone worked on this yet? I'm happy to help.

@trasua go for it!


Added Kinde auth

Added kinde auth
Closes #1811

@rupali-codes pls review

@Toyin5
There is a workflow, so if you read contribution guidelines. There are conventions for making PR title such as chore and other stuff. It's not mandatory, but the workflow add labels and automatically calls us for reviews whenever that is done.
I would highly recommend using it. It just improves credibility.
https://www.conventionalcommits.org/en/v1.0.0/
@CBID2
Ready for review.


move Terrascope registration from authentication to federation docs

As discussed in #7: move terrascope registration details from authentication to federation docs
to be approved by @jdries

FYI: I'm also checking internally if this

Go to the[Terrascope portal, click the 'sign in' menu item at the top

can be done with a directly link (because currently that "sign in" link is a dynamic one)
(ref: TERRA-1659)

I kept it generic by pointing to the parent '#registration' section


Persisting collection after wrap(...).assign fails

Describe the bug
Ids assigned to a collection via wrap(...).assign are not persisted.
Stack trace
...

To Reproduce
Steps to reproduce the behavior:
@Entity()
export class Book2 {
  @ManyToMany({ entity: () => BookTag2, cascade: [], fixedOrderColumn: 'order' })
  tags = new Collection<BookTag2>(this);
}
...
const id1 = 1; //id of existing tag
const book = new Book2();
wrap(book).assign({
  tags: [id1]
})
orm.em.persistAndFlus(book);

Expected behavior
I expect that assigning ids to collections works just like assigning an id to a reference with wrap(...).assign and would be persisted normally.
Additional context
Problem also exists when assigning entities, see PR.
Versions

Dependency
Version

node
10.18

typescript
?

mikro-orm
3.6.4

your-driver
test is mysql but I observed it with postgres

You disabled cascading, therefore the persist is not propagated to the collection. Working as expected.

Sorry, I missed that one, I just tried to reproduce the failure I've seen where I did not set cascade explicitly (which defaults to 'persist' according to docs). But I assign ids directly, not entities. Is this a supported use case?

The test is also assigning ids directly. Also the PR does not reproduce anything, the changes before your assert are not flushed, therefore the state stays (there are all 3 tags).

Try to create reproduction in a separate file, like here: https://github.com/mikro-orm/mikro-orm/blob/master/tests/issues/GH463.test.ts
Define the entities there, do not reuse the existing ones so I can clearly see what you are doing and it won't be affected with how the existing entities are defined.

Thanks, will do that.

Hmm actually it does not work even with the added em.flush(), I think I know where the problem is...

Ok got it, it is indeed a problem with assign() and the new snapshots diffing of collection. Will send fix in a minute and release it later this evening.

You're too fast, I just finished fixing the test. Thanks.

I still have this issue, see #469

Your test would pass if it was not having that typo. You load b2 but assert on b :]

Hmm ok looks like you actually found a bit different problem.
Your test was missing em.clear(), without that, you are not really testing what you think - you have the context filled, both entities are there when you do the last findOneOrFail call. So it was giving me false positive feedback when I fixed your typo...

Ok so the problem is that you are working with the inverse side (the one without FK). ORM by default propagates changes to the owning side so things like this can work, but assign does not do that. If you do this instead of the assign, it will work:
const b = new B();
b.id = 'b';
b.as.add(a);

In my use case I have an upsert with the list of all ids, so I would need to remove the missing ones and add the new ones. Definitely possible, but having this functionality in assign would be much more convenient. Also Collection.add wants to have the entity not just the id, doesn't it? This would require loading those first.

In my use case I have an upsert with the list of all ids, so I would need to remove the missing ones and add the new ones.

Use Collection.set() then.

Also Collection.add wants to have the entity not just the id, doesn't it? This would require loading those first.

You can use em.getReference() to obtain the instance without loading anything.

Tried this, not as convenient (and confusing when to use what) and also still doesn't work for me.

Hmm ok the problem is again a bit different, sorry for confusion. You can't work like this with 1:m collections, as they are the inverse side. You need to get the value to the owning side. It works automatically under the hood (https://mikro-orm.io/docs/propagation/), but you need to have the owning side initialized. So it won't work with references (entities with only PK).
I will add validation for this (it is already there for M:N).
So to wrap up, you need query builder here, if you do not want to load the owning side entities. ORM always does changeset diffs only on owning sides, and if your owning side is not initialized, there is no changeset.

That's a bummer as this was one of the main reasons to switch from TypeORM, not needing to double check each modification from which side I have to do these and when I've got it wrong it just fails silently.
If I can use the model only for some updates and need to resort to querybuilders for other (simple ones as this) then there is no big advantage for me. The issue was also hidden at first because the context does not work for me either which caused the owning side to be still around making the TypeORM API appear really nice.
Would be nice if this would be optional and I could choose to load the owning side under the hood when using collection.set/add/remove or assign.

That's a bummer as this was one of the main reasons to switch from TypeORM, not needing to double check each modification from which side I have to do these and when I've got it wrong it just fails silently.

As said, there is a validation missing. It is there for M:N already. Silent failures are definitely not a valid state.

Would be nice if this would be optional and I could choose to load the owning side under the hood when using collection.set/add/remove or assign.

Well, loading the owner is async operation, so don't expect that to happen automatically by calling synchronous API like Collection.add/set/remove or assign methods.

Well, loading the owner is async operation, so don't expect that to happen automatically by calling synchronous API like Collection.add/set/remove or assign methods.

I imagine it could just be a flag in the collection which would be checked when computing the changeset. Would also need to be checked when loading the primary side of a n:1 or m:n relation.

I will need to think about this more, maybe we could fire the necessary update query if we see dirty collection on inverse side and we see that the owners are not loaded (I don't think we would have to load the owners this way). Currently the inverse side collection are never marked as dirty.
Just for you to understand, the problem is that the changeset that would trigger this is on the owning side (where the m:1 property is), so as long as it is not initialized there is no changeset for that entity, therefore no queries made.

Will be fixed in v4 alpha 9.

Hi there, I found this issue while trying to understand why updates within a collection where not being persisted. I think I've read the comments here (and I think I understand them right), then my use case should work.
I have an entity that has a collection and when I update that entity with one of the collection members also containing updates, those updates should propagate down and all be persisted. This isn't working for me and it could totally be user error (I'm not an expert here).
I thought I'd create a super simple repo to reproduce the problem. Would appreciate any guidance but understand this is open source and your likely swamped so no pressure. Big thanks for the library.
Example repo - https://github.com/chasevida/mikro-orm-wrap

mergeObjects has nothing to do with entities, that is for "scalar object props", e.g. json columns, not for relations. This issue is about persisting the collection (1:m, which was previously not supported unless all the items were loaded), not about updating its items (which sounds like what you are up to).
The assign helper does not work this way, it only handles the root entity and its properties. So it will handle updating what items are in a collection, but not how they should be updated. The code is quite simple, take a look yourself. I would not be opposed by allowing what you want (maybe under some flag, but probably enabled by default, like recursive: true).
https://github.com/mikro-orm/mikro-orm/blob/master/packages/core/src/entity/EntityAssigner.ts

Thanks @B4nan for walking me through that, my confusion I think was because it worked in creating the entity I had wrongly assumed I could update the same way. Cheers for pointing me in the right direction, I'll go through the EntityAssigner and see if I can make a small tweak for the change with a flag like recursive: true as you suggested.

@chasevida ... were you able to add the recursive: true flag?
@B4nan  ... What other way we can achieve this? As I have a scenario of creating(this works) and updating (which pk are present) or deleting(which pk are now no longer present - orphanRemoval works) collection entities as per the request. Should I loop it and add updated object and remove manually in collection?

currently even passing object with primaryKey id is trying to insert it instead of update it

Yes, this ORM always worked like that - presence of a PK does not mean anything. Only way the ORM will issue update query (from flush operation) is when you have the entity already loaded and you mutate its state. Calling assign can never do that, it is sync method that mutates what you already have loaded.
assign helper will never work like this, because you want to issue update queries, while this ORM is change set based - it first needs to understand the state to be able to update it. Moreover this would never work for client side generated PKs (like UUID). For this reason I also don't see a way to implement the recursive flag at all - the method would need to be async or we would need to allow doing updates on references (not loaded entities) via UoW - which is something I was thinking about just recently, so just an early idea that will need a bit of experiments...
If you want such helper, write it yourself, it's not that hard :] See the EntityAssigner class, it is less than 150 loc (whitespace included).

@B4nan ... I currently implemented the update by finding the collection entity and doing wrap().assign() on it. Is it fine way to do it?
I also checked the EntityAssigner flow and I want to mention some observations. So I checked on EntityAssigner the collection entity are created by using em.create(updatedData, ...) and em.create end up returning the original entity (not loading data that is passed to it at all). As we are already loading/ trying to merge the entity and want to merge the data, cant this work like this (After this change, persistAndFlush(a) is working as expected, updating b entity properly).
if (exists && exists.__helper.__initialized && !options.refresh) {
     return Object.assign(exists, data);
}

instead of
if (exists && exists.__helper.__initialized && !options.refresh) {
     return exists;
}

Nope, we can't change ORM internals because of how assign helper works. Definitely not such integral part like EntityFactory. The change needs to be in the EntityAssigner. Also in general using Object.assign won't work, as it will never handle things like references and identity look ups - instead the assign call should be propagated like if you would call it manually on the child property.
If you want to experiment with something you'd like to propose, it's best to clone the ORM and try what your changed do in the test suite. I can assure you this change would make a lot of tests fail.

Thanks for quick reply, I am learning stuff. This is pretty much what I am doing after finding nested entity separately. Any thoughts on doing this way?
...
// loop through a.b.getItems()
const entity = await this.bRepo.get(b.id);
wrap(entity)?.assign(bUpdateData);
...

And this is thing can be implemented in Assigner this way -
if (Utils_1.Utils.isObject(item)) {
       return em.create(prop.type, item);
}

replaced by
if (Utils_1.Utils.isObject(item)) {
       const entity = em.create(prop.type, item) // returning original entity
       this.assign(entity, item); // merging entity with data passed
       return entity;
}


Gradient Generator

I can add gradient generator using react and tailwind !

I can add gradient generator using react and tailwind !

go ahead. create README file for this project and write its details in it


fix(relay-kit): User Operation gas estimation ignored

What it solves
We have a bug in the getEstimateFee calculation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 78.565%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
710

Relevant Lines:
844

💛  - Coveralls


Define image_grid early, since it's used in multiple places

Moves the definition of the image_grid method up, since it's used in more places than the section where it was previously defined.
Also removes a duplicate import.

Closing due to lack of interest.


chore: improve proof quality in Data.Finset.Card

Switch to using tactics rather than term proofs, and cleanup formatting that was from mathport. The intent is to make it more maintainable.
(A subproof of Finset.card_eq_of_bijective was used as an example of mathlib in the LeanSSR paper.)

Thanks!
bors merge


Shapes without flat bottom can't jump on a rising moving platform

Godot version:
OS/device including version:
Tested on Win & mac, version 3.1 & 3.2 beta 3
Issue description:
Some shape can not jump if they do not have a flat bottom on a rising plateform, here is a screenshot
EDIT:
If I increase the safe margin (KinematicBody2D) from 0.08 to 0.5, the behaviour is ok. I don't know if it's an issue or the correct behaviour, I let the issue open just in case.
Minimal reproduction project:
Here

I was thinking that increase the safe margin(KinematicBody2D) wis problematic shapes was a good workaround, but you need to increase (too much) this value relative to the platform speed, so it’s not good at all.
Unfortunately, I don't find any workaround.

I can confirm that this is broken in 3.2.3.stable and that #35945 with #42574 fixed for me the issue on the 3.2 branch.


Add gkaiyan's file

Create a branch
New file from branch
Made a commit
Made a pull request

deleted


o5 is not initialized

o5 is uninitialized in file liblink/asmv.c: LINE: 935

@gawanaka don't give up
i saw the pull requests and used some tree code , not success
i find a docker images about this, it's work fine conoro/go-mips32


[WIP] improve doc

Description of changes:
I'm prototyping a new version of documents to make it easier to read and find resources. My progress may be slow given I cannot reserve too much time on it.  So I open a WIP PR to continuously test my changes.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1209-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1209/1/index.html

Job PR-1209-4 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1209/4/index.html

Job PR-1209-5 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1209/5/index.html

Job PR-1209-6 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1209/6/index.html

Job PR-1209-8 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1209/8/index.html

Job PR-1209-9 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1209/9/index.html

Job PR-1209-11 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1209/11/index.html

Job PR-1209-12 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1209/12/index.html


Reorganize tests

SMART credentials are a suite-level input, which means they show up as an input to the SMART launch tests, even though they're really an output of those tests. Consider the following test organization to prevent this (see IPA Test Kit for an example):

Suite (url input here)

SMART group

SMART discovery group
SMART standalone launch group

Carin4BB FHIR API group (smart credentials input and fhir client defined here)

CapabilityStatement Tests
Patient Tests
Etc.

Fixed by #29


pre-commit: PR106492

Link: https://github.com/llvm/llvm-project/pull/106492
Requested by: @dtcxzyw

/close


Etcdv3: Print the Modified index when Lock or CAS API fails.

Closing this PR as the changes are moved into #55


[Bug]: The new query editor looks empty when user tries to add the new curl API

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The new query editor looks empty when user tries to add the new curl API
https://www.loom.com/share/fbaaf26a70684646b437405c0163e2ce?sid=960387d1-a0e7-425f-aea1-ba1cbf9b9f9e
Steps To Reproduce

go to application
go to edit mode and enable split screen
got to queries tab
click on + icon try to add new curl datasource
the query pane looks empty now

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
v1.1.5

internal tracking: https://www.notion.so/appsmith/Test-party-New-IDE-457ce3d37cbc44c08f4a8b877de2f984?p=b659d0f88329406abc685173f5b06633&pm=s


Resolve python 3.7 actions-runner issue on MacOS 11

Summary
Resolve python 3.7 MacOS agent issue that recently filed to python-setup action repo.
https://github.com/actions/setup-python/issues/682#issue-1755039266

checked here: https://github.com/openvinotoolkit/datumaro/actions/runs/5386656704


Cannot Find Extension Functions

([x] becomes a filled in checkbox, [ ] is an empty one)

[x] I have verified there are no duplicate active or recent bugs, questions, or requests
[x] I understand that versions below 2.0.0 will no longer be supported for updates.
[x] I have given my issue a non-generic title.
[x] I have read over the documentation (before asking questions on how to do something).

Include the following:

Material Dialogs version: 2.0.0-alpha10

Also, please wrap your code with correct syntax highlighting (not just indents).
val dialog = MaterialDialog(this)
            .customView(view = dialogTrainerChange, false)
            .show()

Thanks for your fully convenient library :)
Recently I try to migrate from <IP_ADDRESS> to 2.00-alpha because of proguard issue of previous version. but when I access extension function customView of new version, AS says cannot find declaration to go to( It's same for all of other extension functions).
My project is in Kotlin version 1.2.70, AndroidX, gradle 3.2.0-rc03, tested in AS 3.2-RC02. I have tried many things like invalidate and restart, rearrange library with restart, update AS version,  Kotlin version, gradle version.. but I can't figure it out why it happens.
Any Advise for me? ;(

Can you try 2.0.0-alpha09? It doesn't have AndroidX but another recent issue has the same problem with 10.

It resolved. Thanks!

going back to version 09 fixed the problem for me too, so whatever changed after 09 in version 10 is causing this problem

Should be fixed in alpha11

Looks like it could maybe still be an issue

Nevermind all is well


Fixed Migrate site switcher to use Stimulus approach AutoFieldController #10035

Please check the following:

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?

[x] Run make lint from the Wagtail root.

[x] For Python changes: Have you added tests to cover the new/fixed behaviour?
[x] For front-end changes: Did you test on all of Wagtail’s supported environments?[^2]

[x] Please list the exact browser and operating system versions you tested:
[x] Please list which assistive technologies [^3] you tested:

[x] For new features: Has the documentation been updated accordingly?

Please describe additional details for testing this change.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

Solution for #10035
@Aadijindal07 please ensure you include the issue number being fixed in the PR description.
We have some recommended reading for new contributors here https://wagtail.org/blog/ten-tasty-ingredients-for-a-delicious-pull-request/
It's good to take the time to read this as it helps with ensuring your PR is good to review.

@lb- thanks a lot brother

@Aadijindal07 please note that the AutoFieldController has now been renamed to SubmitController. You will need to rebase these changes or potentially redo some of them.
While normally we recommend not doing a new PR for changes on the same 'fix', you may be better off actually creating a new branch off of main in this case if you get stuck.
#10035

Now that #10098 is in - I have renamed and refined this issue description to reflect w-submit / SubmitController.

@Aadijindal07  just checking in if you are still ok to finish this out, it's ok if not.
Note that we are doing a webinar about contributing to the Stimulus adoption next week that may help.

This is happening next Tuesday, 28th of Feb. More details and links to join: https://wagtail.org/blog/contributors-webinar-plans-for-stimulus-in-wagtail/

@lb- Sorry bro I was inactive actually exam are going on and gsoc also. I will definitely do it in a week's time. Btw please give some suggestion for gsoc any useful tip or something as am targeting wagtail as it fits my interest.
Regards
Aadi
✌🏻

Thanks for the update. Don't want to pressure - just wanted to check in.
I think for GSoC - best to.char about it in the channel on Slack. This kind of code though will give you a good sense of what it's like writing some JS in Wagtail.

@lb- thanks a lot brother 😉

Rebased after #10212 & moved the behaviour to w-action, same code/tests but the action controller makes more sense here as we are no longer actually submitting the existing form.


Skip Kafka TLS tests on ubuntu 24.10

What does this PR do?
Skips Kafka TLS tests on Ubuntu 24.10
Motivation
During work on this PR, we discovered that Kafka TLS tests are failing on Ubuntu 24.10 (x86 only). To avoid blocking this PR while we investigate the issue, we’re temporarily disabling these tests.
Describe how to test/QA your changes
Run inv -e kmt.test --vms=ubuntu24.10-x86-distro --packages=./pkg/network/usm --run=TestKafkaProtocolParsing --retry=0. Without this change, the test fails, but with this change, all tests pass successfully.
Possible Drawbacks / Trade-offs
Additional Notes

/merge


namespaces "user-secrets-source-admin" not found

Tring to install fabric8 through helm
$ helm install fabric8/cd-pipeline
Error: release exhaling-gopher failed: namespaces "user-secrets-source-admin" not found

we're gonna be moving away from the user-secrets-source-admin with the 4.x release of fabric8 like these instructions: https://blog.fabric8.io/early-access-to-the-openshift-io-experience-on-minishift-using-the-upstream-fabric8-495ddcdf00a8
I'll close this issue when we've got a working helm chart using 4.x

Any word on this? Seems kind of broken just following the main doco at https://fabric8.io/guide/helm.html for K8S


Fails to build on ARM / POWER

FreeBSD 13.1-RELEASE / powerpc64le:
     Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=varnish CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12 CARGO_PKG_AUTHORS='Guillaume Quintard<EMAIL_ADDRESS>CARGO_PKG_DESCRIPTION='Access to the Varnish modules API' CARGO_PKG_HOMEPAGE='https://github.com/gquintard/varnish-rs' CARGO_PKG_LICENSE=BSD-3-Clause CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=varnish CARGO_PKG_REPOSITORY='https://github.com/gquintard/varnish-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.0.12 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=12 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name varnish --edition=2021 /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=f0afb3fb4fd4e964 -C extra-filename=-f0afb3fb4fd4e964 --out-dir /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps -C
linker=cc -L dependency=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps --extern pkg_config=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libpkg_config-41c43f636ae5d5d0.rmeta --extern serde=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libserde-8edc8c05c311a1eb.rmeta --extern varnish_sys=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libvarnish_sys-1a00dd511b9f5d11.rmeta --cap-lints warn -L native=/usr/local/lib`
error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/convert.rs:142:16
    |
142 |             Ok(self.as_ptr() as *const i8)
    |             -- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |             |
    |             arguments to this enum variant are incorrect
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`
note: tuple variant defined here

error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/convert.rs:144:16
    |
144 |             Ok(ws.copy_bytes_with_null(&self)?.as_ptr() as *const i8)
    |             -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |             |
    |             arguments to this enum variant are incorrect
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`
note: tuple variant defined here

error[E0308]: mismatched types
    --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:106:32
     |
106  |             VRT_fail(self.raw, "%s\0".as_ptr() as *const i8, c_cstring.as_ptr());
     |             --------           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
     |             |
     |             arguments to this function are incorrect
     |
     = note: expected raw pointer `*const u8`
                found raw pointer `*const i8`
note: function defined here
    --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/build/varnish-sys-fcc62855bd2145db/out/bindings.rs:4144:12
     |
4144 |     pub fn VRT_fail(ctx: *const vrt_ctx, fmt: *const ::std::os::raw::c_char, ...) -> VCL_VOID;
     |            ^^^^^^^^

error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:119:24
    |
119 |                     b: msg.as_ptr() as *const i8,
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:120:24
    |
120 |                     e: msg.as_ptr().add(msg.len()) as *const i8,
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error[E0308]: mismatched types
    --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:248:48
     |
248  |         varnish_sys::VSL(logtag.into_u32(), 0, b"%s\0".as_ptr() as *const i8, c_cstring.as_ptr() as *const u8);
     |         ----------------                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
     |         |
     |         arguments to this function are incorrect
     |
     = note: expected raw pointer `*const u8`
                found raw pointer `*const i8`
note: function defined here
    --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/build/varnish-sys-fcc62855bd2145db/out/bindings.rs:8675:12
     |
8675 |     pub fn VSL(tag: VSL_tag_e, vxid: u32, fmt: *const ::std::os::raw::c_char, ...);
     |            ^^^

error[E0308]: mismatched types
  --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/http.rs:56:23
   |
56 |             (*hd).b = hdr_buf.as_ptr() as *const i8;
   |             -------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
   |             |
   |             expected due to the type of this binding
   |
   = note: expected raw pointer `*const u8`
              found raw pointer `*const i8`

error[E0308]: mismatched types
  --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/http.rs:58:23
   |
58 |             (*hd).e = hdr_buf.as_ptr().add(hdr_buf.len() - 1) as *const i8;
   |             -------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
   |             |
   |             expected due to the type of this binding
   |
   = note: expected raw pointer `*const u8`
              found raw pointer `*const i8`

error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/processor.rs:132:15
    |
132 |         name: T::name().as_ptr() as *const i8,
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/processor.rs:249:15
    |
249 |         name: T::name().as_ptr() as *const i8,
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ws.rs:232:22
    |
232 |                 id: ['t' as i8, 's' as i8, 't' as i8, '\0' as i8],
    |                      ^^^^^^^^^ expected `u8`, found `i8`
    |
help: you can convert an `i8` to a `u8` and panic if the converted value doesn't fit
    |
232 |                 id: [('t' as i8).try_into().unwrap(), 's' as i8, 't' as i8, '\0' as i8],
    |                      +         +++++++++++++++++++++

error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ws.rs:238:20
    |
238 |             space: v,
    |                    ^ expected `i8`, found `u8`
    |
    = note: expected struct `Vec<i8>`
               found struct `Vec<u8>`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `varnish` due to 12 previous errors

The correct way of accessing char would be as libc::c_char instead of as i8.

Ah, thanks for raising that, I'll fix it soon (I'll gladly accept a PR if
you feel like it, too)
On Sat, Jan 7, 2023, 15:52 pkubaj @.***> wrote:

FreeBSD 13.1-RELEASE / powerpc64le:
 Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=varnish CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12 CARGO_PKG_AUTHORS='Guillaume Quintard<EMAIL_ADDRESS>CARGO_PKG_DESCRIPTION='Access to the Varnish modules API' CARGO_PKG_HOMEPAGE='https://github.com/gquintard/varnish-rs' CARGO_PKG_LICENSE=BSD-3-Clause CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=varnish CARGO_PKG_REPOSITORY='https://github.com/gquintard/varnish-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.0.12 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=12 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name varnish --edition=2021 /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=f0afb3fb4fd4e964 -C extra-filename=-f0afb3fb4fd4e964 --out-dir /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps -C

linker=cc -L dependency=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps --extern pkg_config=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libpkg_config-41c43f636ae5d5d0.rmeta --extern serde=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libserde-8edc8c05c311a1eb.rmeta --extern varnish_sys=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libvarnish_sys-1a00dd511b9f5d11.rmeta --cap-lints warn -L native=/usr/local/liberror[E0308]: mismatched types    --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/convert.rs:142:16     | 142 |             Ok(self.as_ptr() as *const i8)     |             -- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expectedu8, found i8    |             |     |             arguments to this enum variant are incorrect     |     = note: expected raw pointer*const u8               found raw pointer*const i8`
note: tuple variant defined here
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/convert.rs:144:16
|
144 |             Ok(ws.copy_bytes_with_null(&self)?.as_ptr() as *const i8)
|             -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|             |
|             arguments to this enum variant are incorrect
|
= note: expected raw pointer *const u8
found raw pointer *const i8
note: tuple variant defined here
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:106:32
|
106  |             VRT_fail(self.raw, "%s\0".as_ptr() as *const i8, c_cstring.as_ptr());
|             --------           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|             |
|             arguments to this function are incorrect
|
= note: expected raw pointer *const u8
found raw pointer *const i8
note: function defined here
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/build/varnish-sys-fcc62855bd2145db/out/bindings.rs:4144:12
|
4144 |     pub fn VRT_fail(ctx: *const vrt_ctx, fmt: *const ::std::os::raw::c_char, ...) -> VCL_VOID;
|            ^^^^^^^^
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:119:24
|
119 |                     b: msg.as_ptr() as *const i8,
|                        ^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|
= note: expected raw pointer *const u8
found raw pointer *const i8
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:120:24
|
120 |                     e: msg.as_ptr().add(msg.len()) as *const i8,
|                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|
= note: expected raw pointer *const u8
found raw pointer *const i8
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:248:48
|
248  |         varnish_sys::VSL(logtag.into_u32(), 0, b"%s\0".as_ptr() as *const i8, c_cstring.as_ptr() as *const u8);
|         ----------------                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|         |
|         arguments to this function are incorrect
|
= note: expected raw pointer *const u8
found raw pointer *const i8
note: function defined here
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/build/varnish-sys-fcc62855bd2145db/out/bindings.rs:8675:12
|
8675 |     pub fn VSL(tag: VSL_tag_e, vxid: u32, fmt: *const ::std::os::raw::c_char, ...);
|            ^^^
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/http.rs:56:23
|
56 |             (*hd).b = hdr_buf.as_ptr() as *const i8;
|             -------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|             |
|             expected due to the type of this binding
|
= note: expected raw pointer *const u8
found raw pointer *const i8
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/http.rs:58:23
|
58 |             (*hd).e = hdr_buf.as_ptr().add(hdr_buf.len() - 1) as *const i8;
|             -------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|             |
|             expected due to the type of this binding
|
= note: expected raw pointer *const u8
found raw pointer *const i8
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/processor.rs:132:15
|
132 |         name: T::name().as_ptr() as *const i8,
|               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|
= note: expected raw pointer *const u8
found raw pointer *const i8
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/processor.rs:249:15
|
249 |         name: T::name().as_ptr() as *const i8,
|               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|
= note: expected raw pointer *const u8
found raw pointer *const i8
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ws.rs:232:22
|
232 |                 id: ['t' as i8, 's' as i8, 't' as i8, '\0' as i8],
|                      ^^^^^^^^^ expected u8, found i8
|
help: you can convert an i8 to a u8 and panic if the converted value doesn't fit
|
232 |                 id: [('t' as i8).try_into().unwrap(), 's' as i8, 't' as i8, '\0' as i8],
|                      +         +++++++++++++++++++++
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ws.rs:238:20
|
238 |             space: v,
|                    ^ expected i8, found u8
|
= note: expected struct Vec<i8>
found struct Vec<u8>
For more information about this error, try rustc --explain E0308.
error: could not compile varnish due to 12 previous errors
The correct way of accessing char would be as libc::c_char instead of as
i8.
—
Reply to this email directly, view it on GitHub
https://github.com/gquintard/varnish-rs/issues/14, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA42AKJZMSQ5AHJTYFF3P2DWRH6UNANCNFSM6AAAAAATUHLC4E
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Xml

See https://github.com/Simn/HaxeManual/issues/21

The link is broken, but we need to document http://old.haxe.org/doc/advanced/xml_fast
Is the content still relevant?

I kind of hate that and would prefer to not promote it, but I think Nicolas likes it. :P

Btw good to see  that you are back home! It was really nice to meet you and fienne in person. You are great people!
Please remove this comment when you've seen it.

Hm, what to do, we could create a page about xml global and make a subsection (more hidden ) about fast http://haxe.org/manual/std.html
Btw I find the name Fast really confusing, what is the reason its called like that?

Let's document what's in std, without political considerations please :)

Ok, but can we get rid of haxe.xml.Fast before that? :D

@ncannasse I think as subsection would be an expected place, so it will be there.
I have some questions while I'm looking at it, I'm sure this is incorrect place:

Why is Json in haxe.Json and Xml at toplevel? To streamline it, it would be more intuitive to have haxe.Json/haxe.Xml or Json/Xml or even haxe.json.Json/haxe.xml.Xml; for me they look like they are both in the same category.
For documentation purpose I also like to know why Fast is called like this? Could I for example call the page "Fast Xml access"?


Android add2app can fail during Gradle sync if buildSrc directory exists

When a buildSrc directory exists in the Android host app's directory structure, with a valid gradle project, then Gradle sync will fail when building with gradle 4.
The following assert from include_flutter.groovy fires when the buildSrc project is being processed during the sync:
assert flutterProject != null
The following code fixes the issue. Notice the if (p.name == gradle.rootProject.name) { addition
gradle.getGradle().projectsLoaded { g ->
    g.rootProject.beforeEvaluate { p ->
        if (p.name == gradle.rootProject.name) {
            _mainModuleName = binding.variables['mainModuleName']
            if (_mainModuleName != null && !_mainModuleName.empty) {
                p.ext.mainModuleName = _mainModuleName
            }
            def subprojects = []
            def flutterProject
            p.subprojects { sp ->
                if (sp.name == 'flutter') {
                    flutterProject = sp
                } else {
                    subprojects.add(sp)
                }
            }
            assert flutterProject != null
            flutterProject.ext.hostProjects = subprojects
            flutterProject.ext.pluginBuildDir = new File(flutterProjectRoot, 'build/host')
        }
    }
    g.rootProject.afterEvaluate { p ->
        p.subprojects { sp ->
            if (sp.name != 'flutter') {
                sp.evaluationDependsOn(':flutter')
            }
        }
    }
}

Please add the output of flutter doctor here.

[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.5 18F132, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
[✓] Android Studio (version 3.5)

Flutter stable 1.12 no longer has this issue. Probably safe to close if master hasn't changed this since the stable version.


Mod loading error

when I start the mod even by itself it crashes with the error:
at nova.committee.avaritia.init.registry.ModEntities.<clinit>(ModEntities.java:27) ~[Avaritia-Reforged-forge-1.19-1.0.9-universal.jar%23143!/:1.19-1.0.9] {re:classloading}

fixed


Purchase History Widget

This widget shows purchase history of the token.
There is an API call for the insight explorer API which will return this info.
https://explorer.komodoplatform.com:10000/tokel/api/tokens/trades?cctxid=3e54d1f345949815edb138c29ae81972dc96a47c5499804490b555a8b421b142

currently not being implemented


⚠ Bofrost.si has degraded performance

In 477fc43, Bofrost.si (https://www.bofrost.si) experienced degraded performance:

HTTP code: 200
Response time: 1732 ms

Resolved: Bofrost.si performance has improved in a82015a after 6 minutes.


Adding icons

I want to add icons for the components present in the navbar.

@Mayuresh-22  kindly assign me this issue

That's a great idea @Soumya6Tiwari, go ahead with it.
Remember:
Your changes should be responsive which means they should look perfect on mobile and desktop devices
Your icons should match the existing icon themes and should follow the platform theme.

@Mayuresh-22 kindly assign me this issue


Adding bash completion to kubectl

pushd dockerfiles/k8s
docker build . -t jmkhael/pwd-k8
docker run -it jmkhael/pwd-k8

then type kubectl <TAB> <TAB>

hey @jmkhael have you actually tried this locally?. I'm wondering if sourcing will work before the final container is executed.

Hello @marcosnils, yes I've tested it, but without launching everything, just by issuing the above two commands.
Note that the source instructions is echoed to .bashrc, thus gets taken into account when bash is started. hth

right, missed that. I'll probably test and merge tomorrow.


feat: improve localnet scripts and containers

Overview

This PR updates the Dockerfiles and scripts to run a localnet with all the contracts required for the liquid staking protocol. These updates account for the fact that the liquid staking contract now uses a single oracle contract and the newer version of the treasury contract.
closes: #XXXX
What changes have been made in this PR?

Refactored the scripts to use a set of shared params defined in the params.sh file
Added a script to dowload all the required binaries
Refactored the init-stake-contract.sh script to use  only a single oracle contract
Updated the Dockerfiles to used the new scripts

Checklist

[ ] Appropriate labels applied
[ ] Targeted PR against correct branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit and integration
[ ] Updated relevant documentation

@coderabbitai review


UI shows "Creating Kubernetes system stack.." page and no access to pods/rc/kubectl shell even after k8s system stack is deployed successfully.

UI shows "Creating Kubernetes system stack.." page and no access to pods/rc/kubectl shell even after k8s system stack is deployed successfully.
Steps to reproduce the problem:
Create an environment template with K8s service enabled.
Add an environment with this template.
K8s system stack comes up successfully in this environment.
But UI continues to show "Creating Kubernetes system stack.." page and no access to pods/rc/kubectl shell even after k8s system stack is deployed successfully.

Updated to find stack with the appropriate templateBase+name instead of more specific exact externalId (also Mesos and Swarm)

Tested with latest build from master.
This issue is not seen anymore.


'Rep' template parameter referred as 'Ref'

max          Static. Returns the maximum allowable value of template parameter Ref.

Ref should actually be Rep, since the template declaration above was:
template <class Rep, class Period> class duration;
template <class Rep, class Period = ratio<1>> class duration;
template <class Rep, class Period1, class Period2> class duration <duration<Rep, Period1>, Period2>;

Look out for other Ref / Rep typos throughout <chrono> stl documentation (e.g. see time_point class).

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

ID: 111e1edd-c2c2-5d07-4331-1606e5d8895a
Version Independent ID: 1d0eb9b9-97d0-14e9-3d6d-1040a5eb3578
Content: duration Class
Content Source: docs/standard-library/duration-class.md
Product: visual-cpp
Technology: cpp-standard-libraries
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

@zzxoto , thank you for flagging this. I fixed this topic and the time_point topic. I grepped for this mistake in other topics and didn't see other instances.
This fix should be live tomorrow afternoon (1/6/2022)


remove GCE smartstate analysis option

I managed GCE, it discovered a bunch of public templates, click through to template details, it shows smartstate analysis as an option.  This needs to be removed until its actually supported.

Hey @agrare could you take a look at this?

@miq-bot add_label providers/google ui

@miq-bot add_label providers/google, ui

Thanks @agrare   ;)

@dajohnso this should be fixed in https://github.com/ManageIQ/manageiq/commit/fad802701904ae4bba9a28189dec4aecd2048184, can you confirm this fixes the issue?

I can confirm this is no longer an option. I'm running off 6673ba0bb9469a7d236efd57009cdb0dc44b300d.

@dajohnso - I believe this can be closed.

This looks good now on the 0323 nightly build

@miq-bot add_label verified


[Avatar] Allow Avatar.Image to be supplied a component to render the image

Feature request
Overview
The Avatar.Image primitive assumes I want to use an img without the ability to override that. I'd like to use the Next.js Image component instead for its optimizations. If I try to use the Next Image component instead of the primitive, the Fallback fails to work properly.
Examples in other libraries
Other libraries, such as Material UI, allow you to pass an optional component as a prop.
<Image
  alt={altText}
  className="aspect-square h-full w-full"
  component={NextImage} // Provide a React component or a string value of an HTML element, default would be "img"
  src={src}
/>

Who does this impact? Who is this for?
This would affect anyone utilizing the Next.js framework who wants to use it's image optimizations.
Other Notes
If there are any other primitives that make use of images, allowing overrides on them would be greatly appreciated.

Did you try this?
<Avatar.Image asChild>
  <NextImage />
</Avatar.Image>

Did you try this?
<Avatar.Image asChild>
  <NextImage />
</Avatar.Image>

For me this does not throw type errors, it just outright does not work. Instead it renders the AvatarFallback instead.

I faced a similar issue. My workaround was to also supply src to Avatar.Image and NextImage.
<Avatar.Image asChild src='image.svg'>
  <NextImage src='image.svg' alt='Some alt text' {...otherProps} />
</Avatar.Image>

It's a little bit redundant, but it could be wrapped inside a wrapper component.
I think it would be nice to make src not required if asChild is present or use a solution like other libraries as stated above by the author.

Another issue with having to supply the src on Avatar.Image, is that asset imports, which enables further build-time optimisation, is not possible as Avatar.Image would not accept it for the src value.

I faced a similar issue. My workaround was to also supply src to Avatar.Image and NextImage.
<Avatar.Image asChild src='image.svg'>
  <NextImage src='image.svg' alt='Some alt text' {...otherProps} />
</Avatar.Image>

It's a little bit redundant, but it could be wrapped inside a wrapper component.
I think it would be nice to make src not required if asChild is present or use a solution like other libraries as stated above by the author.

This is not only redundant but highly inefficient. Just checked devtools and both the avatar and next-image components load the asset. So we end up loading the optimized image by next-image and then the avatar-image also loads the image. So, in the end there are 2 requests for the same image.

The solution i am using currently is to not use the Avatar.Image at all and just use the NextImage and Avatar.Fallback . Just to give a barebones example:
<Avatar.Root>
    {imageSrc && <NextImage src={imageSrc} alt='Some alt text' {...otherProps} />}
    {!imageSrc && <Avatar.Fallback>John Doe</Avatar.Fallback>}
</Avatar.Root>

If imageSrc is not valid or there are errors loading the image then NextImage  error handling and some state variables can be used to handle the case.

I am facing the same issue. Fixing this would make radix way more viable

agreed, would be a really nice feature

Any update on this?

Any update?

How to use custom components?
import NextImage from 'next/image';
import * as Avatar from '@radix-ui/react-avatar';

const App = () => (
    <Avatar.Root>
        <Avatar.Image src="./img/url" alt="" width={20} height={20} asChild>
            <Image />
        </Avatar.Image>
        <Avatar.Fallback delayMs={600}>Fallback</Avatar.Fallback>
    </Avatar.Root>
);

If you are using TypeScript, you can refer to shadcn/ui Avatar to resolve type issues.

Why does the image load twice?
I couldn't resolve this bug, but it seems to be related to Next.js rather than Radix Primitive.
I ran the following demo in both pure React and Next.js environments, and found that the pure React application loaded the image only once, while the Next.js one loaded it twice.
"use client"; // just for next.js

const CustomImg = React.forwardRef((props, forwardRef) => <img {...props} ref={forwardedRef} />);
const Page = () => (
    <Avatar.Root>
        <Avatar.Image src="./img/url" alt="" asChild>
            <CustomImg />
        </Avatar.Image>
        <Avatar.Fallback delayMs={600}>Fallback</Avatar.Fallback>
    </Avatar.Root>
);

Additionally, from the source code, it appears that the Avatar component is not the issue, because the part that handles asChild is written like this in the Primitive.tsx file:
 const Primitive = NODES.reduce((primitive, node) => {
     const Node = React.forwardRef(
         (props: PrimitivePropsWithRef<typeof node>, forwardedRef: any) => {
             const { asChild, ...primitiveProps } = props;
+            const Comp: any = asChild ? Slot : node;

             React.useEffect(() => {
                 (window as any)[Symbol.for('radix-ui')] = true;
             }, []);

             return <Comp {...primitiveProps} ref={forwardedRef} />;
         },
     );

     Node.displayName = `Primitive.${node}`;

     return { ...primitive, [node]: Node };
 }, {} as Primitives);

The solution i am using currently is to not use the Avatar.Image at all and just use the NextImage and Avatar.Fallback . Just to give a barebones example:
<Avatar.Root>
    {imageSrc && <NextImage src={imageSrc} alt='Some alt text' {...otherProps} />}
    {!imageSrc && <Avatar.Fallback>John Doe</Avatar.Fallback>}
</Avatar.Root>

If imageSrc is not valid or there are errors loading the image then NextImage error handling and some state variables can be used to handle the case.

Unfortunately, this approach will cause the Fallback feature to fail 😢.

Additionally, from the source code, it appears that the Avatar component is not the issue, because the part that handles asChild is written like this in the Primitive.tsx file:
 const Primitive = NODES.reduce((primitive, node) => {
     const Node = React.forwardRef(
         (props: PrimitivePropsWithRef<typeof node>, forwardedRef: any) => {
             const { asChild, ...primitiveProps } = props;
+            const Comp: any = asChild ? Slot : node;

             React.useEffect(() => {
                 (window as any)[Symbol.for('radix-ui')] = true;
             }, []);

             return <Comp {...primitiveProps} ref={forwardedRef} />;
         },
     );

     Node.displayName = `Primitive.${node}`;

     return { ...primitive, [node]: Node };
 }, {} as Primitives);

According to changes made in #2999, this code is no longer executed via Avatar.Image.
What I mean is, Avatar.Image
creates the clone of the child node and returns & renders, unlike the current approach where the child is rendered from
Primitive.tsx

This works
src={logo.src}


plugin://plugin.video.pulsar/show/%s/season/%s/episode/%s/links results in 302

I'm trying to ask pulsar to start video's using the endpoint:
plugin://plugin.video.pulsar/show/%s/season/%s/episode/%s/links
or
plugin://plugin.video.pulsar/show/%s/season/%s/episode/%s/play
I'm doing this by simply building a listItem and adding them as a directoryitem :
xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li)
In the case of the /links, it does show me a list from which I can choose a source. When I click the link nothing happens. The log ends with the following
20:25:49 T:123145302839296 WARNING: Attempt to use invalid handle -1
20:25:49 T:123145317560320  NOTICE: [plugin.video.pulsar] [GIN] 2015/10/30 - 20:25:49 | 302 | 11.248275893s | <IP_ADDRESS>:63905 |   GET     /show/******/season/**/episode/*/links

I suspect I need to pass the window handle, but I don't know where or how it is expected.
/play has the same problem. The difference is, the warning about the invalid handle shows up a bit earlier in the logs. It still ends with the [GIN] 302.
Any idea what I'm doing wrong?

I believe I found the answer to the problem myself. The listItem that I created in my plugin requires the property isPlayable set to true.
listItem = xbmcgui.ListItem("Some Title")
listItem.setProperty('IsPlayable', 'true')


[production] GDrive doesn't display folders named with cyrillic alphabet

User reports he is unable to authorize an individual folder for his Google Drive account. In add-on, only 'full drive' option is shown, with the 'syncing' symbol (which never goes away):

Removing and then adding google drive back to the project does not solve the problem, nor does deleting the access token and creating a new one.
User is on Windows NT: 6.1 SP1, with Chrome 42.0.2311.90 m, but also experiences issue on IE.
I cannot recreate the issue on my end in Chrome or Safari (OS X 10.9.5)

Saw this discussion on OSF Dev flow .... any resolution?

So far no one can replicate the error.
On Apr 30, 2015 7:43 PM, "LarryB"<EMAIL_ADDRESS>wrote:

Saw this discussion on OSF Dev flow .... any resolution?
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/osf.io/issues/2610#issuecomment-98001927
.

The user still experiencing it? Tried the ol' log-off account, restart your machine, log back on and connect the add-on again approach? :smiling_imp:

this was the case yesterday, but I will confirm.
On Thu, Apr 30, 2015 at 7:54 PM, LarryB<EMAIL_ADDRESS>wrote:

The user still experiencing it? Tried the ol' log-off account, restart
your machine, log back on and connect the add-on again approach? [image:
:smiling_imp:]
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/osf.io/issues/2610#issuecomment-98004195
.

Since we are unable to reproduce, we will close this and reopen if more issues surface.

A second report on the help desk, and user diagnosed the issue. In this second case, only certain folders would not expand (did not affect the entire drive):
The folders which don't expand (+) contain subfolders with cyrillic
names in it. To test this I've created three new folders on my GDrive with
different subfolders (folders at first level, subfolders - at second):

Trial folder 1
New folder
Trial folder 2
Новая папка # that means "New folder" in russian
Trial folder 3
New folder
Новая папка

Trial folder 1 expanded without any problems, Trial folders 2 and 3 did not
(screenshoots below).

Also, after I've created folder with the name "Новая папка" right in the
root of my disk it stopped expand (+) at all.

@saradbowman is checking with the first user to confirm these are similar issues.

First user has folders with Hebrew characters, so the issues are related.

@saradbowman This should be fixed as of last night, would you mind checking?

@chrisseto it is! y'all are fast! Thanks. I'll update the users who reported the bug.

This issue is fixed now, but user reports that there are unrecognized characters in one of the folder names. Folder name: 2015 РФФИ а Маркеры ошибок
Displays as:

The pr has been merged and deployed on production.


Is there a way to respond with text

Hi
Is there a way to respond with text ?

Hi @chaplin,
Probably, you can check:
https://github.com/typicode/json-server#custom-routes-example if you want to add a route that outputs text
https://github.com/typicode/json-server#custom-output-example if you need to change the output to something else than JSON


SX [Epic] Project Decomposition

[Epic]
Project Decomposition

Epic Title
Project Decomposition

User Story Title
Project Decomposition

T-shirt size: S(mall), M(edium), L(arge)
L

Story Points - Fibonacci (1,2,3,5,8,13)
N/A

User Story
The project should be decomposed into user stories such that developers and stakeholders can prioritize and timeline the stories, developers have a practiced process for creating new stories, and developers are able to pick up stories to work on.

Description

Business Need (the why):

Details
Brainstorm the components that need to get built to achieve the vision of this project. Decompose those components into deliverable pieces and create a user story for those pieces. Mark that user story "SX [User Story] {Title}", assign them to the current sprint. Put them on the groomed board if they have no dependencies and can be worked on this sprint, otherwise leave them on the backlog board. Don't assign points until picked up.

Additional User Story

Dependencies

Assumptions

This is a story that just describe the Agile/Scrum project process.  Not really needed...


Algorithms Sorting

Problem Link-
Counting Sort-1 - https://www.hackerrank.com/challenges/countingsort1/problem
Find the Median - https://www.hackerrank.com/challenges/find-the-median/problem
Category- Algorithms/Sorting
Difficulty Level- Easy
In Language:

[ ] C++
[x] JAVA
[x] Python

I want to do this in Java.

Can i do it in python?

can i do it in cpp

Can i do this in c++?

Go ahead @suhas142

Can I do in c++

Can I do in c++

@keshav340 C++ is already taken

@keshav340 C++ is already taken

@suhas142 Please make a PR by today

@suhas142 Please make a PR by today


New Automation: Could you guys make possible to add a Condition to a Strike so if the target takes the damage it becomes Flat-Footed (for instance) without the need of dragging the effect to the token?

It's gonna make so much easier to apply the effect of bombs, Debilitations (from Rogues), etc. I know it's possible to do it with Persistent Damage, but not with Conditions (hopefully yet).

Applying non-damaging effects isn't going to happen without user intervention.


Build from source fail : web_animations_js

Environment info
Ubuntu 14.04
hardware - NVidia DIGITS DevBox
Installed version of CUDA and cuDNN: CUDA 7.5, cuDNN 5
Issue
Issue: trying to install TensorFlow from source and have run into a number of issues.

Resolved: Issue reported elsewhere with pulling eigen. Resolved by downloading eigen manually and modifying workspace.bzl to point to local eigen repository.
Unresolved: Error with getting web-animations for bower:

Output
xxx@yyy:~/tensorflow⟫ bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
ERROR: /home/liam/tensorflow/tensorflow/tensorboard/bower/BUILD:5:1: no such package '@web_animations_js//': Error cloning repository: https://github.com/web-animations/web-animations-js.git: cannot open git-upload-pack caused by https://github.com/web-animations/web-animations-js.git: cannot open git-upload-pack caused by https://github.com/web-animations/web-animations-js.git: cannot open git-upload-pack and referenced by '//tensorflow/tensorboard/bower:bower'.
ERROR: Loading failed; build aborted.
I'm not sure how to fix this - any help at all would be appreciated.

I managed to resolve this by getting my proxy issues sorted out.

Got exactly the same issue as yours. Can you please be more specific?  What is your proxy issue?


Issue with reflex.dev documentation

Path: /docs/library/forms/upload
rx.upload(
    rx.text(
        "Drag and drop files here or click to select files"
    ),
    id="my_upload",
    border="1px dotted rgb(107,99,246)",
    padding="5em",
)

The code is wrong it should be:
border=f"1px dotted rgb(107,99,246)",
Thank you

what is the difference? i don't see any format specifiers in the string so why does it have to be an f-string?

Without the f-string it doesn't work with the f-string it does work.

Without the f-string it doesn't work with the f-string it does work in windows.

when you say it doesn't work, is there a specific error message or unexpected behavior you can point out or share?

I have not been able to reproduce the error again.
When I wrote the original code that was my solution and it worked in my code but now I remove the f-string and it works the same.
I'm sorry for the inconvenience caused

no worries, closing this issue now