bug(client/windows): Enabling the Internet Resource disconnects me from the Internet, if I'm on Wi-Fi

Describe the bug
When the Internet Resource is enabled on Windows, nothing works
To Reproduce

Install Firezone Client 1.3.0 on Windows
Enable the Internet Resource
Try to load any non-Resource like <IP_ADDRESS> or example.com, it times out

Also Windows changes from the Wi-Fi icon to the "No Internet" icon.
Resources will load if you still have a connection from when the Internet Resource was disabled, e.g.

Disable Internet Resource
Run curl -4 -s https://ifconfig.net/ip, it will show the Gateway's IP
Enable Internet Resource
Run curl again, it will still show the Gateway's IP

If you don't have a recent connection, Resources don't seem to work.
Expected behavior
Expect non-Resources to be tunneled through Gateways when the Internet Resource is enabled
Screenshots / Logs
Logs in private Slack: https://firezonehq.slack.com/archives/C067DSY7TFX/p1725045527700329?thread_ts=1725039440.607859&cid=C067DSY7TFX
Interesting parts:
2024-08-30T19:18:07.223521Z DEBUG on_not_connected_resource{resource=dca3fcc6-b5e0-470a-bc7b-6446cdd03bb3}: firezone_tunnel::client: Sending connection intent
2024-08-30T19:18:07.744608Z DEBUG on_not_connected_resource{resource=1bf16ce9-058c-48de-8404-621772dd7e39}: firezone_tunnel::client: Sending connection intent
2024-08-30T19:18:09.227827Z DEBUG on_not_connected_resource{resource=dca3fcc6-b5e0-470a-bc7b-6446cdd03bb3}: firezone_tunnel::client: Sending connection intent
2024-08-30T19:18:11.517653Z DEBUG on_not_connected_resource{resource=dca3fcc6-b5e0-470a-bc7b-6446cdd03bb3}: firezone_tunnel::client: Sending connection intent
2024-08-30T19:18:11.571512Z DEBUG phoenix_channel: Reconnecting to portal on transient client error: websocket connection failed: IO error: tls handshake eof backoff=1.44404054s max_elapsed_time=Some(2592000s)
2024-08-30T19:18:13.026175Z DEBUG firezone_bin_shared::windows: Resolved best route outside of tunnel interface src=<IP_ADDRESS> dst=<IP_ADDRESS>
2024-08-30T19:18:13.190863Z DEBUG on_not_connected_resource{resource=1bf16ce9-058c-48de-8404-621772dd7e39}: firezone_tunnel::client: Sending connection intent
2024-08-30T19:18:13.583648Z DEBUG on_not_connected_resource{resource=dca3fcc6-b5e0-470a-bc7b-6446cdd03bb3}: firezone_tunnel::client: Sending connection intent

Platform (please complete the following information)

Component (i.e. macOS client / Linux client / Gateway / Admin portal): Windows Client
Firezone Version (e.g. 1.0.0 or N/A): 1.3.0
OS and version: (e.g. Ubuntu 22.04 or N/A): Windows 11
Deployment method: (e.g. Docker / Systemd / App Store or N/A): Official 1.3.0 release on GitHub

Additional context
Replicates easily on bare metal on the Windows dev laptop

Did https://github.com/firezone/firezone/pull/6584 fix this?

Yeah I remember we tested it on the same laptop. So I'll close this until it happens again


Spatial axis lines in editor are choppy.

Using Win10 and a 64-bit build from this morning, I noticed the axis lines in the spatial editor are having some rendering issues.  Maybe the problem is deeper than this?

Looks fine in the stable release.

I thought this was fixed by #21129. CC @Calinou

It looks like the grid doesn't take the origin into account when it's first created. This can be worked around by unchecking View -> View Origin and then checking it again, but the editor should be fixed to draw the grid correctly from the start.

@Calinou Seems fine now, has anything changed?  If it can be fixed in a permanent way with that work-around, I'm not sure how to recreate it to check for it.

Nevermind, cleared the editor settings out today, still there until the origin option gets toggled.


VaultSchedule key casing

Good catch. Keep this PR around but don't merge yet. We can merge when we get a preliminary audit report back. For now, code freeze. Thanks 👍


Aes 256 implementation

I have a code that uses this library for AES128 and I wish to change it to AES256. If I just change the key size to 32bytes and change the number of bits passed in " int AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key)) " function. Will it work?

Yes - that should be fine - although note that we discourage the use of the low level AES_* functions (they will be deprecated in OpenSSL 3.0). Instead you should rewrite your code to use the EVP APIs.


Add Global MMLU Lite

Hi @baberabb
Here's the PR for integrating global mmlu with eval harness. We have prepared a "lite" version of global mmlu which contains 200 CS (culturally sensitive) and 200 CA (culturally agnostic) samples across 15 languages with human translations.
We recommend using this dataset for evaluating multilingual models and would like to integrate this with eval-harness.
This is the initial version of the PR based on our discussion here. Let me know if any changes are needed before we can merge this.

Hi @baberabb , sorry closing this and opening another PR. Had to move the changes to a different branch to pass the checks run upon committing after doing (pre-commit install).


Update module github.com/google/go-github/v59 to v60

This PR contains the following updates:

Package
Type
Update
Change

github.com/google/go-github/v59
require
major
v59.0.0 -> v60.0.0

Release Notes

google/go-github (github.com/google/go-github/v59)
v60.0.0
Compare Source
This release contains the following breaking API changes:

Turn RequiredStatusChecks Checks and Contexts into pointers (#3070)
feat!: Change Hook.Config field from map to *HookConfig (#3073)

...and the following additional changes:

Bump go-github from v58 to v59 in /scrape (#3069)
Bump golang.org/x/net from 0.20.0 to 0.21.0 in /scrape (#3071)
Update workflow and tools to use Go 1.22 and 1.21 (#3074)
Add test case for JSON resource marshaling (#3075)
Add test case for JSON resource marshaling (#3076)
Rename function parameters to match usage as url parameters (#3078)
Add test case for JSON resource marshaling (#3080)
Bump github.com/PuerkitoBio/goquery from 1.8.1 to 1.9.0 in /scrape (#3085)
Bump codecov/codecov-action from 4.0.1 to 4.0.2 (#3084)
Bump version of go-github to v60.0.0 (#3086)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Submitting Scores on Unsupported Maps

The ScoreSaber banner will be stuck loading forever after submitting a score on an unsupported map. It will continue to load after selecting other unsupported maps, and will only fix itself after selecting a map that has at least one public score set on it.

Since those maps are no longer unsupported on the next version I guess this can be closed.


Fix typos and implement garbageCollect function

garbageCollect function now collects the least-recently-used images up to the amount of space to be reclaimed, and then removes them with bluebird and dockerode.

This change is

Changes were already implemented elsewhere. Closing.


replaced info with containerize command on README

Because not exist info command. but we can use containerize command.
$ docker-slim help
Incorrect Usage. flag: help requested

NAME:
   docker-slim - optimize and secure your Docker containers!

USAGE:
   docker-slim [global options] command [command options] [arguments...]

VERSION:
   darwin|Transformer|1.29.0|afff2c9679a697ebfc933360267253a10325269d|2020-03-18_07:11:20PM

COMMANDS:
   help, h          Show help info
   version, v       Shows docker-slim and docker version information
   update, u        Updates docker-slim
   containerize, c  Containerize the target artifacts
   lint, l          Lint the target Dockerfile or image
   xray, x          Collects fat image information and reverse engineers its Dockerfile
   build, b         Collects fat image information and builds a slim image from it
   profile, p       Collects fat image information and generates a fat container report

GLOBAL OPTIONS:
   --report value         command report location (enabled by default; set it to "off" to disable it) (default: "slim.report.json")
   --check-version        check if the current version is outdated [$DSLIM_CHECK_VERSION]
   --debug                enable debug logs
   --verbose              enable info logs
   --log-level value      set the logging level ('debug', 'info', 'warn' (default), 'error', 'fatal', 'panic') (default: "warn")
   --log value            log file to store logs
   --log-format value     set the format used by logs ('text' (default), or 'json') (default: "text")
   --tls                  use TLS
   --tls-verify           verify TLS
   --tls-cert-path value  path to TLS cert files
   --host value           Docker host address
   --state-path value     DockerSlim state base path
   --in-container         DockerSlim is running in a container
   --archive-state value  archive DockerSlim state to the selected Docker volume (default volume - docker-slim-state). By default, enabled when DockerSlim is running in a container (disabled otherwise). Set it to "off" to disable explicitly.
   --version, -v          print the version

info is the old name for xray. Good catch! Will be good to remove this old command reference. The containerize command is not really doing anything yet though... It's just a placeholder for now :-)


Plan printer fixes

Can we add a test for this?

The only way would be to match the exact output of explain, which would be super brittle.


[Feature Fix] Fixed long profile names being cutoff.  Closes #2100

Purpose
Closes #2100.  Previously, users with long names would have the name be clipped/cut-off at the top.  This PR fixes this issue so that if the name overflows onto another line, everything is still visible.
Changes
There was a class defined in site.css that was being applied to the name.  This was also the name of a class from Bootstrap, meaning both were being applied even though only one was necessary.  Through searching, it appears that the class definition in site.css is outdated and now deprecated.  It has been deleted so that it does not get inadvertently applied to more things.
Side effects
I could not find anything that had this class applied to it that should be affected by this deletion, however it is certainly possible.  The following is a list of places where that class may be an issue:

The various "Claim account" screens
Dashboard
Merge accounts
Resend Confirmation email
Account settings
Configure add-ons
Notifications
Settings/profile information
Reset password
Various project elements

Contributors
Files
Forks
Registrations
Settings
Statistics

About page
How OSF works
About the Reproducibility Project
Public Activity

Thanks @ticklemepierce  ... @caneruguz can you review this one? TY

@lbanner, I just noticed you asked @caneruguz to review this so I unassigned myself from reviewing.

@ticklemepierce Can you add a screenshot with the user name same length as the original issue so we can see visually how things have changed.
You probably resolved the original issue but what happens with very long names now?

You say there was a class, it's best to state that it is '.page-header' so that we don't have to hunt for it. That also is not deprecated as far as I know but yes I don't know why there is an overflow:hidden on it.

@caneruguz I meant deprecated in that regards.  It is a bootstrap class that was then also in site.css.  Based on the commit when it was added in site.css, this definition of it was deprecated, while of course the bootstrap definition is not.

@Saman this looks ready to merge.

Minor style change and this is good to merge.


Apostrophe issue with sharing content

Formatting issue occurs with text when '' apostrophes are used in the title. However, curly apostrophes are fine: ‘’.

Attempted fix in 01fe306811fe4a28adeba35b40fbfafd57a3b006.
Needs more testing.

Tagging in @ellenoredsson for help with testing.

This was related to the other sharing issue, introduced a hopefully more reliable method in fb8d9d10548089f2d009e437d2c6bdc54e54bf01. Still recommend testing!

Thanks, @rdunk — we'll keep an eye out on how this behaves.

Think we can close this one now, tested with the dedicated sharing text field and looks like straight quotes are no longer an issue. I would urge editors to use curly quotes wherever possible though as these are favourable from a typographic standpoint.

Hi @rdunk — we've had an instance today of this apostrophe issue raising its head. Please see image below from Slack share:

Thanks @rdunk — we agree that curly quotes are better — but the default keyboard entry for apostrophes in the CMS is straight quotes. Can we make apostrophes curly by default? This would make it a lot easier to manage. We have to enter apostrophes outside of the CMS at the moment.


Submodule update

PR title
Status
READY/IN DEVELOPMENT/HOLD
Description
A few sentences describing the overall goals of the pull request's commits.
Related PRs
List related PRs against other branches:

branch
PR

other_pr_production
link

other_pr_master
link

Todos

[ ] Tests
[ ] Documentation

Steps to Test or Reproduce
Outline the steps to test or reproduce the PR here.
git pull --prune
git checkout <feature_branch>
pytest --showlocals

Impacted Areas in Application
List general components of the application that this PR will affect:

:white_check_mark: Build ebook_homebrew 1.0.397 completed (commit https://github.com/tubone24/ebook_homebrew/commit/e6a79c9aca by @)


Cannot compile Parse 1.9.0. 'Bolts/BFDefines.h' file not found

Using xcode 7.0.1 7A1001 and
pod 'Parse', '1.9.0'
pod 'ParseFacebookUtilsV4', '1.9.0'
pod 'ParseUI', '1.1.6'
It seems also happens if I use 1.8.5
/Users/personal/Desktop/sharewifi-ios/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h:13:9: 'Bolts/BFDefines.h' file not found
Impossible to compile my project again.
Any help?
It seems 1.3 and 1.1 of Bolts are being mixed.

Hey @Ricardo1980, thanks for the report.
I am not sure how 1.1 and 1.3  are mixed in your case?
Can you double check that you don't have another copy of Bolts.framework in your checkout or basically anywhere where FRAMEWORK_SEARCH_PATHS build setting can find it?
(maybe in ~/Documents/FacebookSDK - since that was the path where FB SDK installed for a long time)

My mistake. I deleted everything regarding cocoapods, launching pod install and works fine.
Thanks a lot for help.


Add Search capability to site

It looks like this can be easily done with Google Search

Added to the Summit Logistics page (for testing)


Make MLE and MAP more robust

Hello,
For many models, MLE and MAP return results for local rather than global maxima. Sometimes switching optimizers, or tweaking optimizer options can help. In my experience, a simple solution is to run the optimizer multiple times and select the maximum from the various attempts. Would it be possible to add a second method for MLE and MAP, which allows users to specify the number of attemps? For example,
function maximum_likelihood(model::DynamicPPL.Model, n_reps::Integer, args...; kwargs...)
    best_lp = -Inf
    mle = estimate_mode(model, MLE(), args...; kwargs...)
    for i in 2:n_reps
        _mle = estimate_mode(model, MLE(), args...; kwargs...)
        mle = _mle.lp > best_lp ? _mle : mle
    end
    return mle
end

Here is an example of the problem using a fairly simple model:
Example
using SequentialSamplingModels
using Random
using Turing

Random.seed!(100)

n_samples = 50
rts = rand(ShiftedLogNormal(ν=-1, σ=.8, τ=.3), n_samples)

@model function model(rts; min_rt = minimum(rts))
    ν ~ Normal(-1, 2)
    σ ~ truncated(Normal(.8, 2), 0, Inf)
    τ ~ Uniform(0, min_rt)
    rts ~ ShiftedLogNormal(ν, σ, τ)
    return (;ν, σ, τ)
end

lb = [-1,0,0]
ub = [10, 10, minimum(rts)]

# Generate a MLE estimate.
lps = map(_ -> maximum_likelihood(model(rts); lb, ub).lp, 1:10)

# Generate a MAP estimate.
map_estimate = maximum_a_posteriori(model(rts); lb, ub)

Results
10-element Vector{Float64}:
 -12.226295752323539
 -12.226295752292035
 -80.44912241263312
 -12.226295752293689
 -64.40215460329794
 -12.22629575228706
 -12.226295752286504
 -84.43334167030277
 -76.50164720237467
 -55.60874854749243

As you can see, half of the time the algorithm landed on a local maxima.
If this is something you are willing to support, I can submit a PR.

Thank you for your reply. If my proposal for maximum_a_posterior and maximum_likelihood is acceptable, I can submit a PR.

Thanks for the proposal @itsdfish! I don't see a harm in adding it as an optional (keyword?) arg with a default of 1. It won't solve the local maximum problem in general, but it does sometimes help.

I added the keyword for multiple trys and the unit tests pass. I would like to add an example illustrating the new keyword works for the example above. I wanted to emulate the shifted log normal without defining a new type to make it more lightweight. Is this possible?
Here was my attempt
Code
using Distributions
using Random
using Turing

Random.seed!(50)

y = rand(LogNormal(-1, 1), 50) .+ .3

@model function lognormal(y, min_obs = minimum(y))
    μ ~ Normal(-1, 2)
    σ ~ truncated(Normal(.8, 2), 0, Inf)
    τ ~ Uniform(0, min_obs)
    _y = y .- τ
    #println(typeof(_y))
    _y ~ LogNormal(μ, σ)
end

lb = [-10,0, 0]
ub = [10, 10, minimum(y)]

maximum_likelihood(lognormal(y); lb, ub)

It returns the following error:
Error
ERROR: BoundsError: attempt to access 3-element Vector{Float64} at index [4:4]
Stacktrace:
  [1] throw_boundserror(A::Vector{Float64}, I::Tuple{UnitRange{Int64}})
    @ Base ./abstractarray.jl:737
  [2] checkbounds
    @ ./abstractarray.jl:702 [inlined]
  [3] getindex
    @ ./array.jl:973 [inlined]
  [4] macro expansion
    @ ~/.julia/packages/DynamicPPL/ACaKr/src/varinfo.jl:0 [inlined]
  [5] newmetadata(metadata::@NamedTuple{…}, ::Val{…}, x::Vector{…})
     Use `show(err)` to see complete types.

I think what happens is that Turing gets confused as to whether _y is observed data or parameters to be optimised. Not sure if there's a more general fix that could be implemented in Turing, or a better error that could be raised at least, but you can fix your example by replacing the last two lines of the model with y ~ LogNormal(μ, σ) .+ τ.

I'm closing this issue because this functionality is built in MultistartOptimization.jl.


Short solution needed: "Split dataset" (python-scikit-learn)

Please help us write most modern and shortest code solution for this issue:
Split dataset (technology: python-scikit-learn)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to split dataset to test and train samples


AggFuncTypeFrame is partially Unknown

Describe the bug
A clear and concise description of what the bug is.
To Reproduce

Provide a minimal runnable pandas example that is not properly checked by the stubs.
Indicate which type checker you are using (mypy or  pyright).
Show the error message received from that type checker while checking your example.

pyright in strict mode:
from pandas._typing import AggFuncTypeFrame

def foo(bar: AggFuncTypeFrame): ...

error: Type of "AggFuncTypeFrame" is partially unknown
    Type of "AggFuncTypeFrame" is "type[(...) -> Unknown] | type[str] | type[ufunc] | type[list[((...) -> Unknown) | str | ufunc]] | type[Mapping[Unknown, ((...) -> Unknown) | str | ufunc | list[((...) -> Unknown) | str | ufunc]]]" (reportUnknownVariableType)
error: Type of parameter "bar" is partially unknown
    Parameter type is "((...) -> Unknown) | str | ufunc | list[((...) -> Unknown) | str | ufunc] | Mapping[Unknown, ((...) -> Unknown) | str | ufunc | list[((...) -> Unknown) | str | ufunc]]" (reportUnknownParameterType)

This is due to the partial Callable, which could instead be Callable[..., Any] or Callable[..., object] (sorry I always get confused about variance, can't remember if object is fine here).
As well as missing a type argument to AggFuncTypeDictFrame in AggFuncTypeFrame's alias.
Please complete the following information:

OS: Windows
OS Version	10.0.19045 Build 19045
python version: 3.9.13
version of type checker<EMAIL_ADDRESS>version of installed pandas-stubs: <IP_ADDRESS>928

Additional context
Noticed while drilling down seaborn types to complete some method signatures in typeshed

We don't support the strict setting of pyright.  In this particular case, the issue is that we have to support any type of Callable, which is "partially unknown"
So we won't provide a fix for this.


PPX in iocaml

Extension points and attributes do not seem to work properly from a non-JS iocaml environment.  For example:
#use "topfind"

#require "ppx_deriving_yojson"

type t = {
  x : int;
  y : int;
} [@@deriving yojson]

Those cells don't end up defining the expected to_yojson/of_yojson functions.
This is with the latest from opam as of April 14, 2016.

The kernel needs to run Pparse.apply_rewriters.  I've tried to add it, but it causes strange crashes elsewhere after a ppx is enabled.  Will need to have a closer look into why this is happening.


refactor(core): using JSX

Really? without any changes?
At least you should refactor these lines to jsx IMO :
https://github.com/koishijs/koishi-plugin-booru/blob/f07ba50b8ed7e600045c4ba4c68f97b3611324a4/packages/core/src/index.ts#L231

Really? without any changes?

At least you should refactor these lines to jsx IMO :
https://github.com/koishijs/koishi-plugin-booru/blob/f07ba50b8ed7e600045c4ba4c68f97b3611324a4/packages/core/src/index.ts#L231
喵，忘记这里了


[BEAM-11570] Disable classloader check for [auto] mode.

I was surprised that [auto] does not seem to respect the user-provided
Flink configuration (BEAM-11612).
This PR makes [auto] respect the user-provided
Flink configuration when it creates a local stream environment.
For batch, simply modify the default Configuration.
The difference is because batch ExecutionEnvironment exposes its configuration publicly, while StreamExecutionEnvironment does not.
R: @mxm

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java Flink PortableValidatesRunner Batch

Run Java Flink PortableValidatesRunner Batch

Run Java Flink PortableValidatesRunner Streaming

Run Java Flink PortableValidatesRunner Streaming

LGTM but we should come up with a way to avoid these leaks by shutting down GRPC resources properly. It may be difficult due to the way GRPC keeps static thread pools. Luckily, Flink 1.12 onwards recycles classloaders, so it will be less of a problem.

It seems the context classloader is sometimes set to SafetyNetWrapperClassLoader instead of AppClassLoader like it should be. This is nondeterministic but usually happens. I found the stale context classloader is set in the thread that runs JobInvocation.start, which is inherited by the child thread that runs runPipeline. https://github.com/apache/beam/blob/17fbe8be70b71bc1236e553a5fe7902a2df5dda4/runners/java-job-service/src/main/java/org/apache/beam/runners/jobsubmission/JobInvocation.java#L90
I chased this bug for a while but couldn't figure out exactly why this is happening. How would GRPC's static thread pools cause the class loader to leak?

LGTM but we should come up with a way to avoid these leaks by shutting down GRPC resources properly. It may be difficult due to the way GRPC keeps static thread pools. Luckily, Flink 1.12 onwards recycles classloaders, so it will be less of a problem.

It seems the context classloader is sometimes set to SafetyNetWrapperClassLoader instead of AppClassLoader like it should be. This is nondeterministic but usually happens. I found the stale context classloader is set in the thread that runs JobInvocation.start, which is inherited by the child thread that runs runPipeline. https://github.com/apache/beam/blob/17fbe8be70b71bc1236e553a5fe7902a2df5dda4/runners/java-job-service/src/main/java/org/apache/beam/runners/jobsubmission/JobInvocation.java#L90
I chased this bug for a while but couldn't figure out exactly why this is happening. How would GRPC's static thread pools cause the class loader to leak?

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit


[LW-10019] chore: set up sanchonet ci

Context
LW-10019
Adding dev-sanchonet to CI

After some more thinking, I’m not 100% sure if this should be a PR to master or conway-era.

On one hand master contains the definitions of dev-sanchonet.
On the other, it would be a bit strange to add a dev-sanchonet checkbox to manual workflow runs from master?

However, these checkboxes should not be used in general.

It would be good to hear other voices.


feat: add dev and pr name check workflows

:tada: This PR is included in version 1.1.0-dev.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


List stake pools

Issue Number
#1718, #1720
Overview

[x] Allow heterogeneous queues of LSQ queries such that we can query for stake, rewards, and pparams using the same queue.
[x] Retrieve pool id, stake and saturation and make the API return it
[x] Stubbed values for non-myopic member rewards, margin, cost, produced blocks

Comments

Actually fetching non-myopic member rewards depends on a consensus change reaching cardano-node.

Working chain following may be a non-goal for this PR, but trying to make room for it.

bors try

Perhaps we would just need another NetworkLayer method for this.

The NetworkLayer is shared between jormungandr and haskell, and I don't see the point in trying to generalise over the two where they are different. We'd need to move a bunch of Shelley-specific types to core, and we'd need to add error "not implemented" on the jormungandr side.

we needed to track pools

We are still going to track pool registration certificates. It could perhaps be useful to allow the LSQ to fetch metrics from the chain-follower tip, instead of the NetworkLayer's currentNodeTip, to guarantee consistency — but just a guess.

bors try

bors try


px_sem_open.c bug

threadx/utility/rtos_compatibility_layers/posix/px_sem_open.c
Line 113
    if(semid= posix_find_sem( name))

= should be ==
    if(semid== posix_find_sem( name))

Maybe write like this is better to read:
    semid = posix_find_sem( name);
    if(semid != NULL)

This is intended behavior, and your suggestion is indeed easier to understand. We will look into improving the POSIX layer.


Link to route the proper way

The relative path used in https://github.com/pondersource/mfazones/blob/1f5d37ff002bcd7fb218e79dfeaaf37ec508f123/js/tabview.js#L240 sometimes ends up on
http://<IP_ADDRESS>:8080/index.php/apps/settings/user/security
instead of
http://<IP_ADDRESS>:8080/index.php/settings/user/security
I think there is a utility function to find the path for a route in a more robust way, will see if I can use that instead.

ah yes https://docs.nextcloud.com/server/latest/developer_manual/basics/front-end/js.html#generating-urls


feat: Add a rotation animation in Animator

🛠 Fixes Issue
Closes #256
👨💻 Changes proposed

add the rotation animation option to the Animator section

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Ops sorry, I see now I've forgotten to remove a consol.log()

:tada: This PR is included in version 2.10.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Compile error: macro DBGNPROF_LOG_TO_ROS passed 3+ arguments, but takes just 2

Compile error: macro DBGNPROF_LOG_TO_ROS passed 3+ arguments, but takes just 2
Reproduction

set up an DBGNPROF_LOG_TO_ROS that has some expressions (taken from example 3):

DBGNPROF_LOG("matrix", Eigen::Matrix<double, 3, 3>::Random());

Build it, catkin build -DDBGNPROF_BUILD_EXAMPLE=ON.

Expected
Compiles successfully.
Actual
Compile error:
error: macro "DBGNPROF_LOG_TO_ROS" passed 4 arguments, but takes just 2
   38 |         DBGNPROF_LOG("matrix", Eigen::Matrix<double, 3, 3>::Random());
      |                                                                     ^

Solution:
As you might already notice, this problem comes from the commas in template, i.e. this macro understands input as
"matrix", Eigen::Matrix<double, 3, 3>::Random()) instead what we want "matrix", Eigen::Matrix<double, 3, 3>::Random());.
As a very simple and easy fix up as user you just use a ( ) to change the priority of evaluation. Notice you might meet #2. There are no direct way to solve it in code design level. (Or there is, maybe variadic macro (variable number of arguments)?).


Removing unused method arguments

Description
@keckler  recently opened a ticket for an unused method argument.  Well, we fixed his method, but I thought I should do a quick cull through the rest of the repo to see if I could find other methods with unused arguments, and fix those as well.

Checklist

[X] The code is understandable and maintainable to people beyond the author.
[X] Tests have been added/updated to verify that the new or changed code works.
[X] There is no commented out code in this PR.
[X] The commit message follows good practices.
[X] All docstrings are still up-to-date with these changes.

Running internal in-use tests suggests that at least some of these are indeed used by internal plugins. Did yall run the internal tests?


Markdown files

[x] README.md : A well-detailed README with usage examples for partial & full requires,  is required for a better tomorrow. Specifically remember to add badges from Travis and Waffle. See this and this for other badges. Also, merge PR #20 whenever the README has become well-maintained.
[x] CONTRIBUTING.md : Guidelines to contribute, for fellow open-source developers.
[x] LICENSE.md: License has currently been set as MIT.
[x] CODE_OF_CONDUCT.md

Badges -

Waffle            :
Travis             :
Inch CI           :
YARD Doc     :
Codeclimate :
MIT License :

Added with PR #50 🎉


Handle duplicate accounts in migration scripts

Maybe search for bad data, and then refuse to run migrations until data integrity is fixed?

Also uppercase uid, like in Delaney's case.


need more metadata

to make reviews easier and more reliable, i'd love to have more metadata in the generated emails, esp. the cover letter.
the cover letter should have the hash of each commit, and per commit list of affected files with the resulting hash.  while i'm here, the output of git-request-pull is too chatty for my taste, i would welcome a change there as well.  something like:
repo = git@git.suse.de:yac/mtui.git
head = extend-config-command-3
sha1 = 7ef5511b53aec17f9963e20bfd9d103a49791443
base = 248d83f6826501aceb31e7c8f26bb6af6373577e

fa1afe1 Add config.max_attr_len
  875a800 mtui/config.py
  f42e845 tests/test_config.py
b00b1e5 Add `config show` command so
  4339879 mtui/commands.py
ba0babs Add documentation and fixmes
  3df71bc mtui/commands.py
  82f92ce mtui/prompt.py

this would give me a quick and effortless overview of changes in the pull request compared to the previous round of review for the same PR, eg. it would be obvious that only one file of the last commit changed and the previous review results stand.

addressed by git-mantle and git-pimp.


blog: one sentence typo of blog go-maps-in-action

in blog
https://blog.golang.org/go-maps-in-action
section Iteration order

When iterating over a map with a range loop, the iteration order is not specified and is not guaranteed to be the same from one iteration to the next. Since Go 1 the runtime randomizes map iteration order, as programmers relied on the stable iteration order of the previous implementation. If you require a stable iteration order you must maintain a separate data structure that specifies that order. This example uses a separate sorted slice of keys to print a map[int]string in key order:

may be the sentence should be below
Since Go in the runtime randomizes map iteration order

It's actually correct as written, though I see the ambiguity that confuses you. What it means is that the behavior of maps is like this, since the release of Go version 1. It is easy to fix the ambiguity: Just delete the "Since Go 1" preamble and move the sentence to the present tense.


add svelte/no-unnecessary-reactive-curlies rule

Porting over a simple rule from https://github.com/tivac/eslint-plugin-svelte/ as per the conversation in https://github.com/ota-meshi/eslint-plugin-svelte/issues/198
I haven't been able to test that the documentation looks right, yarn svelte-kit is doing some funny path stuff on my windows machine. 🤷🏻♂

What do you think about rename the rule to no-lone-reactive-blocks or no-extra-reactive-curlies? I think it's similar to eslint's no-lone-blocks and no-extra-parens.
https://eslint.org/docs/latest/rules/no-lone-blocks
https://eslint.org/docs/latest/rules/no-extra-parens

I didn't explain it, use the yarn docs:watch command to preview the document site. However, I'm not sure if there is a problem with windows.

I didn't explain it, use the yarn docs:watch command to preview the document site. However, I'm not sure if there is a problem with windows.

This is what I see as output
C:\Users\pcavi\Documents\GitHub\eslint-svelte>yarn docs:watch
yarn run v1.22.19
$ yarn svelte-kit dev
$ node --experimental-loader ./svelte-kit-import-hook.mjs node_modules/vite/bin/vite.js dev
(node:9368) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:9368) DeprecationWarning: Obsolete loader hook(s) supplied and will be ignored: transformSource
build@ \C:\Users\pcavi\Documents\GitHub\eslint-svelte\docs-svelte-kit\build-system\src\eslint.mjs
X [ERROR] Could not read from file: C:\Users\pcavi\Documents\GitHub\eslint-svelte\C:\Users\pcavi\Documents\GitHub\eslint-svelte\docs-svelte-kit\build-system\src\process-shim.mjs

X [ERROR] Could not resolve "\\C:\\Users\\pcavi\\Documents\\GitHub\\eslint-svelte\\docs-svelte-kit\\build-system\\src\\eslint.mjs"

failed to load config from C:\Users\pcavi\Documents\GitHub\eslint-svelte\vite.config.mts
error when starting dev server:
Error: Build failed with 2 errors:
error: Could not read from file: C:\Users\pcavi\Documents\GitHub\eslint-svelte\C:\Users\pcavi\Documents\GitHub\eslint-svelte\docs-svelte-kit\build-system\src\process-shim.mjs
error: Could not resolve "\\C:\\Users\\pcavi\\Documents\\GitHub\\eslint-svelte\\docs-svelte-kit\\build-system\\src\\eslint.mjs"
    at failureErrorWithLog (C:\Users\pcavi\Documents\GitHub\eslint-svelte\node_modules\esbuild\lib\main.js:1621:15)
    at C:\Users\pcavi\Documents\GitHub\eslint-svelte\node_modules\esbuild\lib\main.js:1263:28
    at runOnEndCallbacks (C:\Users\pcavi\Documents\GitHub\eslint-svelte\node_modules\esbuild\lib\main.js:1176:65)
    at buildResponseToResult (C:\Users\pcavi\Documents\GitHub\eslint-svelte\node_modules\esbuild\lib\main.js:1261:7)
    at C:\Users\pcavi\Documents\GitHub\eslint-svelte\node_modules\esbuild\lib\main.js:1374:14
    at C:\Users\pcavi\Documents\GitHub\eslint-svelte\node_modules\esbuild\lib\main.js:675:9
    at handleIncomingPacket (C:\Users\pcavi\Documents\GitHub\eslint-svelte\node_modules\esbuild\lib\main.js:772:9)
    at Socket.readFromStdout (C:\Users\pcavi\Documents\GitHub\eslint-svelte\node_modules\esbuild\lib\main.js:641:7)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This one in particular seems like a likely culprit with the doubled-up folder structure.
X [ERROR] Could not read from file: C:\Users\pcavi\Documents\GitHub\eslint-svelte\C:\Users\pcavi\Documents\GitHub\eslint-svelte\docs-svelte-kit\build-system\src\process-shim.mjs

This one in particular seems like a likely culprit with the doubled-up folder structure.

Hmm. I don't know how to fix it. I think we giving esbuild the correct absolute path.


Upgrade to Jest

Live from jsconf! HI! I'll explain later.

We auto-generate the tests 😄 But I assume you also used automation for this, and I'm happy to learn about it as I have a few other projects still on mocha that i'd love to port to jest as well 💯 🎖

Good luck with your talk 👊  and say hi to the folks at jsconf 👋

Yes, that is true but it was a good way during the conference to send out an automated codemod on a large amount of files :) Jest actually makes the test-suite here a little bit faster (on subsequent runs), so if you are interested in adopting it, it should be easy. After the codemod/regenerating the tests, only about 8 or so fail. The talk went great, I sent this pull request during it.

@kvz let me know if need any help migrating to Jest. @cpojer used https://github.com/skovhus/jest-codemods to migrate the tests over. : )

Well so the tests are generated by looking at the function's header comments. So we'd need to modify the generator and not its results.
I'm open to switching to Jest, but don't have the time to hammer that out at the moment


Send email on menu_contact

Fixes #3.

This contact field is for the app whose details are displayed.
Once #2 is sufficiently implemented, the information would be used to open an email, an reddit app or a browser to contact the dev of that app.
For official support regarding the appstore app itself, people should check the about activity and then use the issue tracker.


Spring cloud gateway is not working in kubernetes

Hi Team,
I am developing micro-services with following configurations
Eureka discovery service with spring cloud gateway and oAuth2 authentication
All configurations working perfectly in my local IDE and in tomcat server also in docker.
Now I am trying to run in kubernetes cluster and in kubernetes everything is working except spring cloud api gateway..
Request to share your experience.
Did any one implemented spring cloud gateway with eureka discovery service in kubernetes.

Hi after doing debug I found the issue is in eureka server
As I am using lb:

There is no point in using Eureka with Kubernetes.  Spring Cloud Kubernetes provides its own DiscoveryClient implementation.
https://cloud.spring.io/spring-cloud-static/spring-cloud-kubernetes/1.1.1.RELEASE/reference/html/#discoveryclient-for-kubernetes

@ryanjbaxter thanks for your advice.
I am able to fix that issue with ip address
eureka:
instance:
prefer-ip-address: true


fix ttyAMA0 sorting for diy users

Hi,
You made a mistake in your fix for tty for DIY user.
So here is a fix to the fix :)

Thanks @Arti4ever . I don't have any hardware to test this on, so I appreciate the PR. :+1:


GitHub Service Hook

Enable GitHub Service Hook?

No idea what you have in mind. Please specify in more details.


Footer

Checklists
General Checks

[x] the branch is up to date with main/master
[x] the code works when pulled and run locally
[x] All CI checks pass
[x] all conflicts are resolved (if any)
[x] PR has a descriptive title
[ ] PR has appropriate labels and milestones for easy identification
[x] PR it is assigned to the owner
[x] reviewers are assigned
[x] the PR contributes only one focused change
[x] It is in the appropriate column in the project board (if necessary)
[x] has short and clear description
[x] is linked to an issue (if it is related)
[x] feedback is addressed (if any and if it is appropriate feedback.)

Markdown

[ ] the markdown source is formatted
[ ] spelling and grammar is correct in all text
[ ] The markdown looks correct when you preview the file
[ ] all links and images work

HTML

[x] the code is well-formatted
[x] the HTML code passes validation
[x] there are no inline styles (example: style='color: red;')
[x] there are no <style> tags with CSS, all styles are hrefs
[x] there is no inline JavaScript (example: onclick='doSomething()')
[x] there are no <script> tags with JS, all JS is in an separate file
[x] ids are used for JavaScript only, not for CSS
[ ] semantic tags are used
[x] spelling and grammar is correct in all site content

CSS

[x] the code is well-formatted
[x] passes all the linting checks

Hello Sane. Can you please review the code and merge it to let you and the others use the same header and footer?


Ignore exportable key import errors

A recent change in Key Vault returned HTTP 400 when trying to import an exportable key, so ignore those errors for now as well.

/azp run net - keyvault - tests


Investigate possible benefits of implementing java.util.Iterator

Often allocations of iterators and iterator like objects are not eliminated because methods constructing the iterator appear right before an expensive block of code (the iteration itself) so according to profiling data, the iterator construction method looks cold, and won't be inlined. Backported from JDK14, there is a heuristic to handle this case (see JDK-8223504) which forces inlining whenever the method responsible for creating the iterator is called iterator() and the return type implements java.util.Iterator (see diff).
I would be interested to know if bitmap iteration could benefit from this JIT compiler heuristic. Container would need a new method iterator() which returns a ShortIterator. ShortIterator would implement Iterator<Short> but the method Short next() would not be used.
A positive test case would be to verify that all ShortIterator allocations are eliminated during a bitmap iteration when using a recent JDK build.

What do we know about the current handling of our code by the most recent JDKs? I am not an expert in the JDK, but surely it can do things like escape analysis?

It does, but profiling informs the analysis. Because allocation of an iterator is usually associated with a subsequent loop, the allocation of the iterator may not be hot enough for the analysis to actually happen. The ticket I linked describes a new heuristic where any call site where a method called iterator produces a subclass of Iterator will be analysed automatically. I did an experiment, but couldn't find any benefit.


Faster FP32 power calculation on CUDA GPUs

This is related to #8068 but concerns performance rather than accuracy.
@nouiz and I noticed that jax.numpy.power currently lowers to nearly 200 PTX instructions. This is similar to how nvcc would compile powerf without -use_fast_math.
However, the hardware-implemented SP exponential/logarithm functions can compute a**b as exp(b*log(a)) with much better performance and slightly worse accuracy. This corresponds to the __powf CUDA C++ intrinsic or powerf with -use_fast_math.
        lg2.approx.ftz.f32      %f3, %f1;
        mul.ftz.f32     %f4, %f2, %f3;
        ex2.approx.ftz.f32      %f5, %f4;

Is this something worths further investigation?

I think it's a good question. This optimization could certainly be done in XLA and seems worthwhile particularly for neural network users.
The key thing to my mind is we need a better API at both XLA and JAX levels for allowing the user to choose either the "fast" implementation or the "accurate" implementation. If we had that, we would have more flexibility to have both and choose between them. The closest analogue I can think of is the precision flag on Dot and Conv operations in HLO.

@cheshire What do you think about adding an XLA_FLAGS=--use_fast_math that would trigger using the hardware implementation of functions when available?
Like the nvcc --use_fast_math parameter?
At least, it will give a way to try it and see if it give useful speed up or not on different model.

Another option might be to introduce a new JAX config entry, so that users can enable it from within Python (e.g. a notebook) by:
jax.config.update('use_fast_math_cuda', True)
# or alternatively
jax.config.update('use_fast_pow_cuda', True)

@nouiz Generally I'm against flags as each flag doubles a possible number of XLA configurations. Then we end up with an exponential number of configurations, only one of them being tested. Fast math flag in particular is not great, as it's not clear what semantics it implies (e.g. losing some precision is generally OK, but incorrect nan/inf propagation is unacceptable, fastmath tends to bundle the two)
@hawkinsp for additional thoughts.
In this particular case,

Would something like jax.numpy.fast_power make sense?
How much precision do we lose by converting to exp(b*log(a))? Maybe we could even do it by default?

Would something like jax.numpy.fast_power make sense?

Throwing my 2c here: A new ufunc like this need to work on all hardware targets. However, it may not be 'fast' on the CPU, which does not have hardware log/exp instructions. Or maybe an alternative implementation of power/log/exp using SSE/AVX could help...

Just be aware that when you say "slightly worse accuracy" that computing pow(x,y) = exp2(y*log2(x)) can lead to several thousand ULPs of error, even when exp2 and log2 are accurate to 1 ULP, say. There are arguments where the error magnification is very large. I would definitely recommend an explicit fast_power API or equivalent.

Another point is special case handling, which is particularly convoluted and ugly to implement for pow. See, e.g., the long laundry list of cases to handle here: https://en.cppreference.com/w/cpp/numeric/math/pow

Out of curiosity, what was the original workload that calls pow() heavily? Do you have a benchmark?

Out of curiosity, what was the original workload that calls pow() heavily? Do you have a benchmark?

It is relatively infrequent for deep learning workloads to use pow().
However, kernel methods such as Gaussian process regression may use it heavily because exponentiation with a learnable exponent is a very common trick to tune a kernel. The rational quadratic kernel also uses exponentiation with learnable exponents. To create a kernel matrix of NxN, the pow() method will have to be applied elementwise to each of the matrix element so the cost could potentially be significant.

I wonder if it might not be cleanest to write this at the Python as exp(b * log(a)). That is simple, clear, and it's obvious to the user what to do if they don't like the numerics of the result. XLA should fuse the computations into a single kernel.

I'm not sure I like that suggestion. exp(b * log(a)) can be quite
inaccurate, and many people might not be aware of that.
On Tue, Nov 15, 2022 at 4:13 PM Peter Hawkins @.***>
wrote:

I wonder if it might not be cleanest to write this at the Python level as exp(b

log(a)). That is simple, clear, and it's obvious to the user what to do
if they don't like the numerics of the result. XLA should fuse the
computations into a single kernel.

—
Reply to this email directly, view it on GitHub
https://github.com/google/jax/issues/12509#issuecomment-1315453733, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA72DVZLQP3N3IZ4TA4NVDWIOSDLANCNFSM6AAAAAAQVPVTLI
.
You are receiving this because you commented.Message ID:
@.***>

To clarify, my suggestion was the user writes that. They would need to be aware of it to write it! By default you get an accurate pow() if you write pow().

I understand. But once the user writes that, we are obliged to give them
the inaccurate result. It's a bad forcing function to push them towards
that.
On Tue, Nov 15, 2022 at 9:45 PM Peter Hawkins @.***>
wrote:

To clarify, my suggestion was the user writes that. They would need to
be aware of it to write it! By default you get an accurate pow() if you
write pow().
—
Reply to this email directly, view it on GitHub
https://github.com/google/jax/issues/12509#issuecomment-1315841799, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA72DSNKO5KBJMTI7C2GODWIPY6VANCNFSM6AAAAAAQVPVTLI
.
You are receiving this because you commented.Message ID:
@.***>


Chinese translation ReadMe (Initial Version)

Issue #, if available:
N/A
Description of changes:
This pull request contains a localized Readme in Traditional Chinese.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks!


Update UG (fix inaccurate commands, improve ordering)

Just an initial PR to improve the UG
Other potential things to do

[ ] Update the command summary table (and potentially move it to the top)
[ ] Add hyperlinks to navigate around the document
[ ] Improve the language at the top of the User Guide
[ ] Improve based on CS2101 feedback

Codecov Report
Base: 39.13% // Head: 39.13% // No change to project coverage :thumbsup:

Coverage data is based on head (d12fbfd) compared to base (af503b5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #128   +/-   ##
=========================================
  Coverage     39.13%   39.13%
  Complexity      457      457
=========================================
  Files           143      143
  Lines          2619     2619
  Branches        327      327
=========================================
  Hits           1025     1025
  Misses         1529     1529
  Partials         65       65

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Fixes #168

Remaining issues will be addressed in #84


ci: configure renovate

Slightly modified version of the one used in crossplane/crossplane.
Signed-off-by: Philippe Scorsolini<EMAIL_ADDRESS>Description of your changes
I have:

[x] Run make reviewable to ensure this PR is ready for review.

How has this code been tested
This same configuration is already in place for crossplane/crossplane.

I would disable dependabot given, although keep in mind the configuration is slightly different w.r.t. the current one, with this config renovate will only propose bumps to non Kubernetes related Go dependencies in case of known vulnerabilities, not for every new version available as currently done by dependabot.

Thanks @phisco!


Metrics

This PR adds the following metrics to the plugin:

Number of connected users.
Subscription and legacy webhook performance data. Includes the counters for usage metrics.
Jira API performance data, by API/method. Includes the counters for usage metrics.
Statistics are persisted for each server individually, using the server's IP address to differentiate the keys.
Consolidated stats are delayed by up to 10 minutes, since they only summarize what's already been stored in the database, and are available as /jira stats <regexp> or at https://.../plugin/jira/api/v2/stats. Note that to get the entire stats you should use . for regexp.  To access the https API, the request should be authenticated with a sysadmin user session token, or with a StatsSecret value.
Each server's real-time statistics are exposed as expvar's and are accessible with a /jira debug stats expvar <name-regex> command. Note that to get the entire stats you should use . for regexp.

This is awesome, thanks for collecting all this data into one place!

@cpoile @mickmister feedback (mostly) fixed, please re-review as needed.

@jfrerich @crspeller ping for a review?

@levb, sure.  I can review also.  I'll add my name to the reviewers list

@levb when I deploy this /jira stats' only returns the help. Jira info shows 43f82fd` as the build hash which seems correct.
I did do some regression testing on this build but would need stteps to actually test the new functionality.

@mickmister I just synced to master with the new subscriptions code in it, can you please verify that I didn't loose any changes in the merge? subscription.go in particular?

@DHaussermann should be ready to test

@levb Merge with master looks clean. I pulled the branch down, and subscriptions are working correctly.

@levb I deployed this and have had it running for a while but the new slash commands you provided still just return the help text.
I have multiple connected users and subscription events to report on. Is it possible there is some config needed to enable this that I'm just not seeing?

@levb I deployed this and have had it running for a while but the new slash commands you provided still just return the help text.
I have multiple connected users and subscription events to report on. Is it possible there is some config needed to enable this that I'm just not seeing?

@DHaussermann Just tried again, seems to work for me. Steps.

Deploy the plugin.
Just in case, do /jira debug stats reset
type /jira debug stats expvar jira - should display the number of connected users, nothing else (unless webhooks already came in)
Use the plugin - receive some webhooks, use attach to issue, create issue
/jira debug stats expvar jira should now display some statistics, /jira stats jira displays nothing of interest.
Wait 10 minutes+ after step 4, try /jira stats jira again, the output should match /jira debug stats expvar jira

Thank you @levb I see the slash commands pulling back data.
I will start testing the feature as well as the regression testing now.

@levb
I have tested the new functionality on cloud and server. One thing that seems a bit odd is that 3 values come back as empty when using /jira debug stats expvar jira they are:
api/jira/2/issue/assignee/PUT
api/jira/2/issue/transitions/POST
api/jira/2/myself/GET
When I wait 10 minutes and then return them from the store using /jira stats jira there is data shown (same user running the command) Any thoughts on this?
Regression testing of the PR is still ongoing.

Curious about the 3 values that never get populated unless the data means something different than what I think. (I was confused earlier these values do not appear when pulling from the store)
api/jira/2/issue/assignee/PUT
api/jira/2/issue/transitions/POST
api/jira/2/myself/GET

Also seeing that mapped_users  only appears in debug and not /jira stats

@levb Regression testing has now completed for this and I did not find any regressions in the existing behavior were found. Can you please advise if 1. and 2. are expected?

Curious about the 3 values that never get populated unless the data means something different than what I think. (I was confused earlier these values do not appear when pulling from the store)
api/jira/2/issue/assignee/PUT
api/jira/2/issue/transitions/POST
api/jira/2/myself/GET

This is weird, I do not have a good explanation for it, but I'd still argue for deploying this to community and testing there, with real usage. I am assuming you executed some /jira assign  and /jira transition commands in  your testing, right?

Also seeing that mapped_users  only appears in debug and not /jira stats

Yes, we should probably file a ticket for this; I missed adding it to the "consolidated" stats because there's nothing consolidated about it.

@levb Regression testing has now completed for this and I did not find any regressions in the existing behavior were found. Can you please advise if 1. and 2. are expected?

1 is not expected but I'd like to gather more  data there, 2 is "expected" but we should fix it anyway, separate PR.

I am assuming you executed some /jira assign and /jira transition commands in your testing, right?

Yes correct. That said, I agree that this should not block deployment to community. We can see what data is created on community and add a new task if needed.
I can also create a follow-up task to add the mapped_users to the stats command that pull from the data store.

In case I need it for future reference, listing regression testing done here as there is no corresponding Jira task.
For server and Cloud:

Install

Uninstall

Connect

Disconnect

Post menu stays current between multiple clients

Use transition slash command

Use assign slash command

Use Create slash command

Create a Jira Issue from main thread

Create a Jira Issue from Reply thread

Create multiple types of issue

Use attachments functionality

Tested almost each event type

Tested multiple filter cases based on various fields


Recursive Translation & Interpolation

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

Current behavior
Support for parameters to be added/interpolated to another translated string is fine.
Expected/desired behavior
The parameters which need to be added to the translated string might need to be translated themselves.
Reproduction of the problem
I have various output on a form for errors. The field names are added into the output error string as a parameter:
en.json
{
    "GENERAL": {
        "ERROR": "The {field} field has an error"
    },
    "FIELDS":{
        "FIRSTNAME": "First Name"
    }
}

component.html
<p *ngIf="errors" translate [translateParams]="{field: labels[key]}">
    GENERAL.ERROR
</p>

What is the expected behavior?
The 'field' parameter should be catered for translation too, as for now, the field names would only be in English.
What is the motivation / use case for changing the behavior?
By allowing the key for another field to be translated too, a more dynamic translation implementation could be achieved.
Is it possible to achieve something like this without referencing the TranslateService in a components class to translate the labels prior to adding them as parameters for another string to be translated in the components template?

This is a valid scenario. Is this possible any other way ?

Hey @cjkumaresh  - what I managed to achieve in the mean time is recursively translating all the required parameters prior to rendering the final string

So there's no other way to do this then?

Currently not - sorry. It would require creating a quite complex way of handling the strings. Especially if user input contains {} and triggers other unwanted replacements...

@CodeAndWeb  ok cool thanks man, was just wanting to know why :P does make sense though


Added test case for NPE when parsing DT column headers

Added test case for bug
https://bugzilla.redhat.com/show_bug.cgi?id=743262
(empty column header like action or condition throws NPE, but it should
print standard error message).

thanks, I 'll process it monday or thuesday normally

Merged and problem fixed


bob: init at 0.5.3

Description of changes
Add package for bob.build a build system tool
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

There is an output binary called tui, apart from bob. It does not seem to do anything when called. If it is not required for the main package you can omit it, for example using the subPackages variable.

There is an output binary called tui, apart from bob. It does not seem to do anything when called. If it is not required for the main package you can omit it, for example using the subPackages variable.

Updated the excludedPackages and now it looks like tui binary is no longer created.

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

1 package built:

bob

Please, squash commits.

Was not able to squash commits after merging master, will create another cleaner pr

Please add a link to this PR from the new one. Also, please try to avoid creating new PRs when possible - it makes reviewing a bit more difficult since context gets lost. Generally you don't need to merge master as chance of complex merge conflicts for new packages is pretty low.
Without creating a new PR, you could locally clean up the branch and then force push to this PR's branch.

@dit7ya New PR: https://github.com/NixOS/nixpkgs/pull/189968
Sorry for the inconvenience


Cannot read properties of undefined (reading 'createSocket')

I keep on getting the error "Cannot read properties of undefined (reading 'createSocket')" in the error history.
react-native-udp is there, and I couldn't figure why createSocket is not working. Any idea how I can fix it?
My app is running on RN 0.69.6 on Expo.
Many thanks!

I made this repo for a project that I'm no longer working on.
You could try this fork of my repo https://github.com/luneo7/react-native-ntp-sync or this fork of that fork https://github.com/ruanitto/react-native-ntp-sync
I'll update the README and mark this project as deprecated. Sorry I couldn't be of more help.


Conflicts with existing packages

Have you seen these messages in the osx jenkins build?
https://jenkins.choderalab.org/job/conda-omnia-release-osx-2/30/console
+ binstar --quiet -t **** upload -u omnia --channel main miniconda/conda-bld/broken/repex-dev-py27_0.tar.bz2 miniconda/conda-bld/osx-64/gaff2xml-0.0.0-py33_0.tar.bz2 miniconda/conda-bld/osx-64/gaff2xml-0.0.0-py34_0.tar.bz2 miniconda/conda-bld/osx-64/pybtex-docutils-0.2.0-py27_0.tar.bz2 miniconda/conda-bld/osx-64/pybtex-docutils-0.2.0-py33_0.tar.bz2 miniconda/conda-bld/osx-64/pybtex-docutils-0.2.0-py34_0.tar.bz2 miniconda/conda-bld/osx-64/sphinxcontrib-bibtex-0.3.1-py27_0.tar.bz2 miniconda/conda-bld/osx-64/sphinxcontrib-bibtex-0.3.1-py33_0.tar.bz2 miniconda/conda-bld/osx-64/sphinxcontrib-bibtex-0.3.1-py34_0.tar.bz2
Using binstar api site https://api.binstar.org
[Conflict] file osx-64/pybtex-docutils-0.2.0-py27_0.tar.bz2 already exists for package pybtex-docutils version 0.2.0
Traceback (most recent call last):
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/bin/binstar", line 6, in <module>
    sys.exit(main())
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/binstar_client/scripts/cli.py", line 94, in main
    description=__doc__, version=version)
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/binstar_client/scripts/cli.py", line 76, in binstar_main
    return args.main(args)
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/binstar_client/commands/upload.py", line 203, in main
    callback=upload_print_callback(args))
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/binstar_client/__init__.py", line 398, in upload
    self._check_response(res)
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/binstar_client/__init__.py", line 155, in _check_response
    raise ErrCls(msg, res.status_code)
Conflict: (u'file osx-64/pybtex-docutils-0.2.0-py27_0.tar.bz2 already exists for package pybtex-docutils version 0.2.0', 409)

Build step 'Execute shell' marked build as failure
Finished: FAILURE

This flags the jenkins run as a failure, but does this mean packages are not actually being uploaded when they should?
Also, isn't the new build script supposed to be not rebuilding recipes that are already present, meaning we shouldn't be seeing conflicts?

Is this with the latest version, or earlier. I think I fixed a bug related to this in https://github.com/omnia-md/conda-recipes/pull/95

Huh. Must have been from earlier.
For some reason, the linux vagrant build has been running since 2.00P EST, 7h45m ago:
https://jenkins.choderalab.org/job/conda-omnia-release-linux-vagrant/
It seems to be hung here:
https://jenkins.choderalab.org/job/conda-omnia-release-linux-vagrant/23/consoleFull
BUILD START: repex-dev-py27_0
Fetching package metadata: ....
Solving package specifications: .
The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    curl-7.38.0                |                0         521 KB
    hdf5-1.8.14                |                0         1.8 MB
    libnetcdf-4.3.2            |                1         881 KB
    numpy-1.9.1                |           py27_0         7.7 MB
    scipy-0.14.0               |       np19py27_0        34.6 MB
    netcdf4-1.1.1              |       np19py27_1         1.0 MB
    pandas-0.15.2              |       np19py27_0         9.9 MB
    mdtraj-1.2.0               |       np19py27_0         7.7 MB
    ------------------------------------------------------------
                                           Total:        64.1 MB

The following NEW packages will be INSTALLED:
...

after pandas is installed.
Terminating manually.

Well, we can disable repex anyway.  It's not used for anythign

Maybe this is a good time to just specify the omnia metapackage to
conda-build-all, instead of *?
On Jan 10, 2015 10:42 PM, "Kyle Beauchamp"<EMAIL_ADDRESS>wrote:

Well, we can disable repex anyway. It's not used for anythign
—
Reply to this email directly or view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/99#issuecomment-69482451
.

works for me
On Sat, Jan 10, 2015 at 10:45 PM, John Chodera<EMAIL_ADDRESS>wrote:

Maybe this is a good time to just specify the omnia metapackage to
conda-build-all, instead of *?
On Jan 10, 2015 10:42 PM, "Kyle Beauchamp"<EMAIL_ADDRESS>wrote:

Well, we can disable repex anyway. It's not used for anythign
—
Reply to this email directly or view it on GitHub
<
https://github.com/omnia-md/conda-recipes/issues/99#issuecomment-69482451>

.

—
Reply to this email directly or view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/99#issuecomment-69482503
.

Might have some issues with the topology sort, though
On Sat, Jan 10, 2015 at 10:46 PM, Kyle Beauchamp<EMAIL_ADDRESS>wrote:

works for me
On Sat, Jan 10, 2015 at 10:45 PM, John Chodera<EMAIL_ADDRESS>wrote:

Maybe this is a good time to just specify the omnia metapackage to
conda-build-all, instead of *?
On Jan 10, 2015 10:42 PM, "Kyle Beauchamp"<EMAIL_ADDRESS>wrote:

Well, we can disable repex anyway. It's not used for anythign
—
Reply to this email directly or view it on GitHub
<
https://github.com/omnia-md/conda-recipes/issues/99#issuecomment-69482451>

.

—
Reply to this email directly or view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/99#issuecomment-69482503
.

I'm pretty sure there's nothing wrong with the current config. The only issue is that some of the packages don't work for various version of platform/python, and that's fine. I mean, ideally they would work, but if they don't, they don't get uploaded.

The original bug that sparked this gh-issue is already fixed.

Ok!


Update dependencies

https://dotsub.atlassian.net/browse/VTMS-3089

Don't forget to update the CHANGELOG.md


rbd: Add rbd_sparsify_with_progress rbd API

Description:
Added a new rbd API rbd_sparsify_with_progress, and supporting tests.
Fixes: #281
Checklist

[X] Added tests for features and functional changes
[X] Public functions and types are documented
[X] Standard formatting is applied to Go code
[X] Is this a new API? Added a new file that begins with //go:build ceph_preview
[X] Ran make api-update to record new APIs

@Mergifyio rebase

Docs changes will be handled in a follow-up PR.

See: https://github.com/ceph/go-ceph/pull/861


ERR_DIRECT_INVOKE: fail to invoke, id: invokedemo, err: cannot invoke local endpoint: app channel not initialized

When I come across this mistake. What should I do to enable me to call the local dapr program normally

Can you show the commands you are using and what is the log output for app and sidecar?


Fix typescript interface FileOptions does not have duplex

What kind of change does this PR introduce?
Bug fix
What is the current behavior?
With #147 PR merged. There is no duplex key available in FileOptions and still being accessed. Which is failing unit tests. And also not allowing to pass duplex in typescript projects.
What is the new behavior?
This PR included duplex parameter in FileOptions interface.
Additional context
Add any other context or screenshots.
Before

After

Thanks a lot @junedkhatri31

@fenos Any idea when these changes will be available in npm release? I am stuck with this error.

Today @junedkhatri31 apologies for the delay

:tada: This PR is included in version 2.4.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Reference varnish-operator in https://operatorhub.io/

Looking for an operator for varnish, I headed to https://operatorhub.io/ but couldn't find any.
Luckily I also did a search and found this project (and will soon test it out).
Any reason why this operator is not referenced on https://operatorhub.io/ ?

Hey, sorry for radiosilence.
Yeah, we definitely want to do it, just haven't had the time for that yet. We plan to do it in the nearest future, but can't give exact timelines.

Hey, sorry for radiosilence.
Yeah, we definitely want to do it, just haven't had the time for that yet. We plan to do it in the nearest future, but can't give exact timelines.

We're actually getting close to releasing the operator on operator hub. We just awaiting approval for the name and logo. Hopefully that will happen soon. We'll follow up here when it's released. Thanks!

resolved by #31
Listed both in operatorhub.com and in Openshift's web console interface.


send_command not working with some commands

Ubuntu 16.04, Digitalocean
Node: 8.11.3
redis: ^2.8.0
I am trying to run this command and I am getting wired results of true and undefined, can you please tell me how to run this command?
client.send_command("scan 0 count 10", [], function (err, replies) {
console.log(replies);
});

@may215 the first argument is the command (scan) and the rest would go individually in the second argument array.


GPU vs CPU Models in MnistDemo

Any ideas why there is a difference between GPU and CPU models?
Here's my training code:
private void MnistDemo()
{
    BuilderInstance.Volume = new VolumeBuilder();

    var datasets = new DataSets();
    if (!datasets.Load(100))
    {
        return;
    }

    // Create network
    _net = new Net<double>();
    _net.AddLayer(new InputLayer(28, 28, 1));
    _net.AddLayer(new ConvLayer(5, 5, 8) { Stride = 1, Pad = 2 });
    _net.AddLayer(new ReluLayer());
    _net.AddLayer(new PoolLayer(2, 2) { Stride = 2 });
    _net.AddLayer(new ConvLayer(5, 5, 16) { Stride = 1, Pad = 2 });
    _net.AddLayer(new ReluLayer());
    _net.AddLayer(new PoolLayer(3, 3) { Stride = 3 });
    _net.AddLayer(new FullyConnLayer(10));
    _net.AddLayer(new SoftmaxLayer(10));

    _trainer = new SgdTrainer(_net)
    {
        LearningRate = 0.01,
        BatchSize = 20,
        L2Decay = 0.001,
        Momentum = 0.9
    };

    var startTime = DateTime.Now;
    var epochStartTime = DateTime.Now;
    var totalTrainCount = datasets.Train.Count;
    var stepSize = _trainer.BatchSize;
    var numberOfTotalSteps = totalTrainCount / stepSize;

    Console.WriteLine("Convolutional neural network learning...[Press any key to stop]");
    //do
    //{
    for (int i = 0; i < numberOfTotalSteps; i++)
    {
        if (Console.KeyAvailable)
            break;

        epochStartTime = DateTime.Now;

        var trainSample = datasets.Train.NextBatch(_trainer.BatchSize);
        Train(trainSample.Item1, trainSample.Item2, trainSample.Item3);

        var testSample = datasets.Test.NextBatch(_trainer.BatchSize);
        Test(testSample.Item1, testSample.Item3, _testAccWindow);

        Console.WriteLine($"Loss: {_trainer.Loss} Train accuracy: {Math.Round(_trainAccWindow.Items.Average() * 100.0, 2)}% Test accuracy: {Math.Round(_testAccWindow.Items.Average() * 100.0, 2)}%");
        Console.WriteLine($"  Examples seen: {i} {_stepCount} of {totalTrainCount} Fwd: {Math.Round(_trainer.ForwardTimeMs, 2)}ms Bckw: {Math.Round(_trainer.BackwardTimeMs, 2)}ms");

        TimeSpan timeSpan = DateTime.Now - epochStartTime;
        int epochsRemainingByCount = totalTrainCount - _stepCount;
        double minutesRemaining = epochsRemainingByCount * timeSpan.TotalMinutes;
        DateTime finishTime = DateTime.Now + TimeSpan.FromMinutes(minutesRemaining);
        float percComplete = (float)((float)_stepCount / (float)totalTrainCount) * 100f;
        var timeTakenSoFar = DateTime.Now - startTime;
        Console.WriteLine($"    % Complete = {percComplete.ToString("N3")} % - {Math.Round(timeSpan.TotalMinutes)}m ({Math.Round(timeSpan.TotalSeconds)}s), eta {finishTime.ToShortTimeString()}, taken so far {timeTakenSoFar}");
        Console.WriteLine($"epochRemaining={epochsRemainingByCount} minRemaining={minutesRemaining} Now={DateTime.Now.ToShortTimeString()}");
    }
    //} while (!Console.KeyAvailable);

    var json = _net.ToJson();
    File.WriteAllText("net.model-full.json", json);
}

Here's the testing code:
private void TestModel()
{
    var json = File.ReadAllText("net.model-full.json");
    var model = SerializationExtensions.FromJson<double>(json);
    var bmp = (Bitmap)Image.FromFile(@"C:\Users\Path\To\100.0.png");

    var vol = ConvertToVolume(bmp);
    var res = model.Forward(vol).Storage.ToArray();
    var prediction = model.GetPrediction();
}

For completeness here's the ConvertToVolume method:
unsafe private Volume<double> ConvertToVolume(Bitmap bmp)
{
    //var vol = ConvNetSharp.Volume.GPU.Double.BuilderInstance.Volume.From(new double[bmp.Width * bmp.Height], new Shape(bmp.Width, bmp.Height, 1, 1));
    var vol = BuilderInstance.Volume.From(new double[bmp.Width * bmp.Height], new Shape(bmp.Width, bmp.Height, 1, 1));
    var data = bmp.LockBits(new Rectangle(0, 0, bmp.Width, bmp.Height), System.Drawing.Imaging.ImageLockMode.ReadOnly, bmp.PixelFormat);
    byte* src = (byte*)data.Scan0.ToPointer();
    var width = data.Width;
    var height = data.Height;
    int dst = 0;
    int pixelSize = Image.GetPixelFormatSize(bmp.PixelFormat) / 8;
    int offset = data.Stride - width * pixelSize;

    for (int y = 0; y < height; y++)
    {
        for (int x = 0; x < width; x++, dst++, src += pixelSize)
        {
            double pixel = *src / 255d;
            vol.Set(x, y, 0, 0, pixel);
        }
        src += offset;
    }
    bmp.UnlockBits(data);

    return vol;
}

Here are the two models, trained on the same data but give different results.
net.model-full-CPU.json.txt
net.model-full-GPU.json.txt

Hi, What kind of difference do you see ?
If you compare the two files, the weights will be different because they are initiated randomly.

Have you tried using the same model for CPU and GPU?

I have tried to classify your image using model net.model-full-CPU.json.txt in CPU and GPU mode and I got the same prediction (8).
The serialized model is independant of the way it is computed: e.g. you can teach a model using GPU, serialize it, and then load it in CPU mode.

To answer your first question, No, I have never tried using the CPU model during GPU prediction or vice-versa, but I can.
I understand what you're saying about the serialized model but perhaps I'm not making myself clear. Let me try again.

I expect to be able to train on CPU and use on CPU or GPU.
I expect to be able to train on GPU and use on CPU or GPU.
I expect to be able to train on CPU and train on GPU and the models be identical, or at least, produce the same results.
My post here with all the code is mean to give you or someone else a testable app to get consistent results. It's not doing that and I'm not sure if that's because of my ignorance, a bug in your code or a bug in my code.
I'm really just trying to figure out why the two models give different results, and more importantly, why the result is wrong. It should be returning 0 since I trained it on all 60k mnist data. I realize the model won't be 100% but this image is supposed to be an "easy" one to predict.

Thanks for trying to help,
Darren

Understood. I believe MNIST has dark background and bright digits. Try to inverse the pixel brightness (or invert the picture directly):
 double pixel = 1.0 - *src / 255d;
rather than
 double pixel = *src / 255d;

I get '0' with both models :)

Ah... inversion. I get the same results too! Thanks for the help.

Here's the same results without the scientific notation. It makes it easier to see that all the other guesses are so far off that they don't matter.


Updates from main repository

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 3 committers have signed the CLA.:x: Viacheslav Tikhonov:x: vat78:x: ArcTearViacheslav Tikhonov seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Adds Fastcoin support.  'FST Genesis 2013'

  √

For any questions email us at<EMAIL_ADDRESS>

@SomberNight can we get a review/pull

Please rebase against current master, and make sure the CI checks pass.


feat(integration): Allow conditions option to pass through to esbuild

Modifying conditions is needed when you need to customize the import paths used by esbuild. Relevant docs
For example, I've got a UI library that uses SolidJS and it exports built JS and CSS. This is what the "exports" looks like in its package.json:
// package.json
"exports": {
  ".": {
    "solid": "./dist/index.jsx",
    "import": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    }
  },
  "./styles": "./dist/index.css"
},

I'm then consuming this library along with Vanilla Extract in an Astro project. If I then do any imports of the UI library from a .css.ts file, the wrong import path is used. In the case above, the "solid" import condition needs to be used (due to how SSR needs a separate entrypoint with frameworks like Astro).
LMK if any changes are needed 👍

Thanks @lars-berger!


ionicLoading module backdrop on modal (doesnt disable clicks/input)

ionicLoading module does not disable background click/functionality on modal views; only on the primary view.
Here is an example of the problem:
http://codepen.io/ftorre/pen/GwqeI
For more info and a possible solution, see:
http://forum.ionicframework.com/t/ionicloading-overlay-doesnt-disable-background-buttons-on-modal/6355/3

I am also facing this issue recently, and I have be end up with this solution:
overwrite the loader css, for example:
.loading-container {width:68px;height:73px;left:50%;top:50%;margin-top:-34px;margin-left:-36.5px}
and bind the loader hide event when click the back button:
$ionicLoading.hide();
I think this will be easier and safe to use it.
(I don't want to touch the main core, so it will be always worked even after I upgrade to the new version of ionic.)


New "Deploy Orleans app to Azure App Service" article.

New "Deploy Orleans app to Azure App Service" article.

Closed by https://github.com/dotnet/docs/pull/29083


Failed start when base image from pytorch/pytorch:2.1.2-cuda12.1-cudnn8-devel to vllm/vllm-openai:latest

System Info / 系統信息
cuda 12.0 xprobe/xinference:v0.13.1 docker image from dockerhub
Running Xinference with Docker? / 是否使用 Docker 运行 Xinfernece？

[X] docker / docker
[ ] pip install / 通过 pip install 安装
[ ] installation from source / 从源码安装

Version info / 版本信息
v0.13.1
The command used to start Xinference / 用以启动 xinference 的命令
xinference-local --host <IP_ADDRESS> --port 9997
Reproduction / 复现过程
start container show the error msg：
2024-07-16 Traceback (most recent call last):
2024-07-16   File "/usr/local/lib/python3.10/dist-packages/llama_cpp/llama_cpp.py", line 75, in _load_shared_library
2024-07-16     return ctypes.CDLL(str(_lib_path), **cdll_args)  # type: ignore
2024-07-16   File "/usr/lib/python3.10/ctypes/init.py", line 374, in init
2024-07-16     self._handle = _dlopen(self._name, mode)
2024-07-16 OSError: libcublas.so.12: cannot open shared object file: No such file or directory
2024-07-16
2024-07-16 During handling of the above exception, another exception occurred:
2024-07-16
2024-07-16 Traceback (most recent call last):
2024-07-16   File "/usr/local/bin/xinference-local", line 5, in
2024-07-16     from xinference.deploy.cmdline import local
2024-07-16   File "/usr/local/lib/python3.10/dist-packages/xinference/init.py", line 38, in
2024-07-16     _install()
2024-07-16   File "/usr/local/lib/python3.10/dist-packages/xinference/init.py", line 35, in _install
2024-07-16     install_model()
2024-07-16   File "/usr/local/lib/python3.10/dist-packages/xinference/model/init.py", line 17, in _install
2024-07-16     from .llm import _install as llm_install
2024-07-16   File "/usr/local/lib/python3.10/dist-packages/xinference/model/llm/init.py", line 20, in
2024-07-16     from .core import (
2024-07-16   File "/usr/local/lib/python3.10/dist-packages/xinference/model/llm/core.py", line 26, in
2024-07-16     from ...types import PeftModelConfig
2024-07-16   File "/usr/local/lib/python3.10/dist-packages/xinference/types.py", line 399, in
2024-07-16     from llama_cpp import Llama
2024-07-16   File "/usr/local/lib/python3.10/dist-packages/llama_cpp/init.py", line 1, in
2024-07-16     from .llama_cpp import *
2024-07-16   File "/usr/local/lib/python3.10/dist-packages/llama_cpp/llama_cpp.py", line 88, in
2024-07-16     _lib = _load_shared_library(_lib_base_name)
2024-07-16   File "/usr/local/lib/python3.10/dist-packages/llama_cpp/llama_cpp.py", line 77, in _load_shared_library
2024-07-16     raise RuntimeError(f"Failed to load shared library '{_lib_path}': {e}")
2024-07-16 RuntimeError: Failed to load shared library '/usr/local/lib/python3.10/dist-packages/llama_cpp/lib/libllama.so': libcublas.so.12: cannot open shared object file: No such file or directory
Expected behavior / 期待表现
start container success

You need to upgrade your cuda version to 12.4 at least.

Thank you for your response. Upgrading CUDA is not a simple task. Is it possible to keep two versions of the Docker image?

If you want to insist on the older image, you can pull the older image, and use `pip install xinference==0.13.1' to upgrade inside the docker.

If you want to insist on the older image, you can pull the older image, and use `pip install xinference==0.13.1' to upgrade inside the docker.

Can start the server, but can not run gemma-2, a error msg "need to upgrade TensorFlow"


[ct] update max child vasp in test

Motivation
The max supported child account is increased to 2^16 in ab391a0bd1. Update the limit in cluster test setup to be in sync.
Test Plan
Canary

/canary

:broken_heart: Test Failed - Build images and run cluster test

/canary

:sunny: Canary successful

I think simply change this number will not work, this number dependents on how many VASP accounts. Currently we only have 16 vasps for CT so this number can not be changed more than 256

Maybe I have a misunderstanding of cluster test.  I thought cluster test creates up to MAX_VASP_ACCOUNT_NUM (currently set to 16) * MAX_CHILD_VASP_NUM accounts during testing.  Since the child account limit is bumped in the Diem framework, I supposed we can bump it in the testing, no?

I think simply change this number will not work, this number dependents on how many VASP accounts. Currently we only have 16 vasps for CT so this number can not be changed more than 256

Maybe I have a misunderstanding of cluster test. I thought cluster test creates up to MAX_VASP_ACCOUNT_NUM (currently set to 16) * MAX_CHILD_VASP_NUM accounts during testing. Since the child account limit is bumped in the Diem framework, I supposed we can bump it in the testing, no?

oh, sorry its my fault misunderstood your pr... MAX_CHILD_VASP_NUM is previously hard limit of max number for each VASP account, if child account limit is bumped in Diem, I think it's ok to bump it to latest value in CT as well.

/land

/land


Add stack CRD

Use stack ref in custom builder specs

Signed-off-by: Danny Joyce<EMAIL_ADDRESS>

Codecov Report

Merging #256 into master will decrease coverage by 0.17%.
The diff coverage is 66.66%.

@@            Coverage Diff            @@
##           master    #256      +/-   ##
=========================================
- Coverage   66.08%   65.9%   -0.18%
=========================================
  Files          73      75       +2
  Lines        2677    2789     +112
=========================================
+ Hits         1769    1838      +69
- Misses        691     720      +29
- Partials      217     231      +14

Impacted Files
Coverage Δ

...apis/experimental/v1alpha1/custom_builder_types.go
0% <ø> (ø)
:arrow_up:

pkg/apis/experimental/v1alpha1/stack_types.go
0% <0%> (ø)

pkg/apis/experimental/v1alpha1/register.go
0% <0%> (ø)
:arrow_up:

pkg/cnb/create_builder.go
62.5% <100%> (ø)
:arrow_up:

...experimental/v1alpha1/custom_builder_validation.go
100% <100%> (ø)
:arrow_up:

...lpha1/customclusterbuilder/customclusterbuilder.go
44.44% <33.33%> (-2.83%)
:arrow_down:

...reconciler/v1alpha1/custombuilder/custombuilder.go
44.44% <33.33%> (-2.83%)
:arrow_down:

pkg/reconciler/v1alpha1/stack/stack.go
68.91% <68.91%> (ø)

pkg/cnb/builder_builder.go
80.95% <78.94%> (-1.74%)
:arrow_down:

... and 1 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 bafb642...c37ead8. Read the comment docs.

This is great! A real game changer. I hope to read through the tests one more time.


Figure and Table Captions should not be bold according to reviewers

Describe the bug
The figure and table captions are made in all caps and bold by the template. However after submission reviewers said, that the captions should not be bold. The provided word template implements this already. (https://www.asme.org/publications-submissions/proceedings/author-guidelines/elements-of-a-paper/author-templates)
Screenshots

Template output:

Format as wished by the reviewers:

Word template:

Platform (please complete the following information):

OS: No os, using Overleaf
Distribution: TexLive 2022
TeX Program:  Overleaf

Additional context
I changed the following lines to achieve the normal font captions:
\captionsetup[figure]{labelformat=uppercase, labelfont={sf,bf,small},textfont={sf,md,small},textformat=boldmath,labelsep=colon}
\captionsetup[table]{labelformat=uppercase, labelfont={sf,bf,small},textfont={sf,md,small},textformat=boldmath,labelsep=colon,skip=0.5\baselineskip}

If your reviewers are requesting not to use bold, then it's fine not to use bold.  (Bold captions have been in use for a long time, but different organizers have edits the Word file over the years.)  However, you should also delete "textformat=boldmath" to avoid having math in captions render in bold.
You don't need to edit the class file. Just put these two lines in your preamble (after \begin{document}):
\captionsetup[figure]{labelformat=uppercase, labelfont={sf,bf,small},textfont={sf,md,small},labelsep=colon}
\captionsetup[table]{labelformat=uppercase, labelfont={sf,bf,small},textfont={sf,md,small},labelsep=colon,skip=0.5\baselineskip}

I see. Thank you very much!

Version 1.35 of asmeconf includes a new class option [unboldcaption] that will set caption text to normal sans serif (not bold). Labels will remain in boldface.  This version should appear in the CTAN mirror sites within a few days.


Add k8s tolerations for aarch64 and x86

Summary: Adds k8s tolerations for aarch64 and x86.
The base has patches for multiarch.
For skaffold deploys we use single arch versions of the patches.
Relevant Issues: #147
Type of change: /kind cleanup
Test Plan: Tested that I can build the yamls, and skaffold deploy. Will cut an RC to test that the yamls look good there.

Testing with an RC, and then will merge

Tested that an RC works on a multiarch cluster.


[Bugfix] Config file not correctly get set in fresh builds

The defines for the config file were too late in the cmake process and so the config file was not correctly getting set.
I hadn't noticed this problem in #13 simply because I usually wasn't doing fresh builds of the whole project so everything was usually already set.

It's fine. I probably should've spotted this in the last PR as well.


update example .env

update example .env to include hub and rpc
Question? What is a WARPCAST_HUB_KEY? Is this something MerkelM hands out? Where can I get one?

Thanks for the PR. Yeah, WARPCAST_HUB_KEY is specific to the Warpcast API. https://warpcast.notion.site/Warpcast-v2-API-Documentation-c19a9494383a4ce0bd28db6d44d99ea8#1dee42ef41c146da98eaf415963422eb, ctrl+f "PUT /v2/auth". It's the stuff that starts with MK-...


Add "transformenemyanimationonspawn"

It's a small addition but it can save some animations sometimes

https://github.com/alesan99/mari0_ae/pull/332


Add option to fake out all the clusterdeployments in the clusterpool

Created clusterpool.spec.annotations field that can be used to apply fake cluster annotation on the cluster deployments
Hibernation controller will now skip processing for cluster deployments with fake annotation

x-ref: https://issues.redhat.com/browse/HIVE-1493

/assign @dgoodwin
/cc @hongkailiu


Is this project still being maintained?

I really like the api and the design goals, but I'm concerned that it hasn't been updated in a year. Would it be a good idea to use it on a large user-facing project?

Hey there! Undux is stable, and there has not been a need to update it. It’s actively being used by a bunch of teams at Facebook.


[otbn,dv] Generate extremes for offset immediate for BN.*ID

These will yield bad addresses, so can probably be shoehorned into the existing BadLoadStore generator.

The milestone was wrong here: this is about hitting a specific coverage point (from when I went through a coverage report trying to work out what we were missing). Moving to V3 and removing from the M2 project.

The coverpoint oob_base_neg_off_cp isn't being hit that could relate to this, so leaving this open but it's of low concern.

estimate range: 2 - 4


Refactor: Extract shared exec mixin logic

Per https://github.com/deislabs/porter/pull/135#discussion_r254037992 we should extract shared exec logic (basically, execute a script) into a sanely-named function that all of its actions (Install, Uninstall, Upgrade) can then use -- cuz exec gonna exec no matter what the action is!

Now that we have the pkg/exec/builder package, this is done.


Interoperability with built-in Things API

Goal
I just discovered that the Things.app has a built-in API interface. See here. One might consider making our names consistent to this API. Also, maybe we can make good use of it as well.
Suggested approach
Look more into the provided Things API and how it can improve this library.

I found a library on PyPI implementing aspects of this. Source here.

Some findings after research:
Their JSON keys are very close to ours. Made two changes involving "deadline" and "checklist-item" on our end. Other then that, I find the remaining differences confusing and adding more complexity.

Some fields are merged together, for example, start and start_date is merged to "when".
stop_date is called "completion-date", which is confusing, because a task can also be canceled.
"attributes" and splitting "status" into various properties I find unhelpful too.

The API can be combined with the xcall app for x-callback-urls. However, as of now it mostly seems useful for changing the Things app, not so much for getting data from it.

Research closed.


Default interface width

Code of Conduct

[X] I agree to follow this project's Code of Conduct.

Submission validity

[X] This is not a personal support request, that should be posted on discussions community.
[X] I checked current issues and this request isn't a duplicate of an existing issue, opened or closed.

Summary
Consider increasing the interface width from the default 950px to a slightly larger value.
Motivation
Increasing the width will allow you to navigate the interface more efficiently and improve its readability, especially if the Random Keyword Length is greater than 5 characters.
Describe the solution
No response

This is more a personal need than an issue per se, especially the problem described and the solution proposed don't cover much.
FYI there are custom themes that may suit your needs. See https://github.com/YOURLS/awesome-yourls


Support for open version of Superpoint

Hello,
I have just found out that a new repository to train Lightglue is available (https://github.com/cvg/glue-factory). They have included the open version of Superpoint this time so I was wondering if you are planning to include this also into LightGlue-ONNX.
Thank you very much in advance!

Hi @adricostas
Thank you for the information. I am able to export SuperPoint-Open (), however, it seems that when I try to pass its output features to the LightGlue matcher that was trained on SuperPoint-MagicLeap's features, I obtain a blank output (zero matches).
I cannot find any weights for a LightGlue that has been trained on SuperPoint-Open's features. Could you point me to a URL for these weights?

Hi,
Well, I'm not sure, but they say that: "All models and datasets in gluefactory have auto-downloaders, so you can get started right away!". So, inside the code of the model of each extractor/matcher exists an url from which the weights are downloaded. However, as you pointed out, it seems that in the LightGlue case, only the weights for the not open version of SuperPoint are available: https://github.com/cvg/LightGlue/releases.
I guess that it is necessary to train the LightGlue network by yourself using the outputs of the open version of SuperPoint. I don't know if this makes sense.
Thanks

@adricostas It appears that LightGlue weights trained on SuperPoint-Open haven't been released yet. See https://github.com/cvg/glue-factory/issues/22

Ok, thanks for the information! Let's wait for them, then.

From: https://github.com/rpautrat/SuperPoint

Update: We have converted the Tensorflow model into a Pytorch one. This provides a version of SuperPoint with MIT license, which can be used with the Pytorch model defined in superpoint_pytorch.py.

It sounds like those weights might work?

Hi @adricostas
Thank you for the information. I am able to export SuperPoint-Open, however, it seems that when I try to pass its output features to the LightGlue matcher that was trained on SuperPoint-MagicLeap's features, I obtain a blank output (zero matches).
I cannot find any weights for a LightGlue that has been trained on SuperPoint-Open's features. Could you point me to a URL for these weights?

HI, can you share your code to export superpoint-open? I tried by myself, but I have warnings like this
UserWarning: Exporting aten::index operator of advanced indexing in opset 17 is achieved by combination of multiple ONNX operators, including Reshape, Transpose, Concat, and Gather. If indices include negative values, the exported graph will produce incorrect results.   warnings.warn(
UserWarning: The exported ONNX model failed ONNX shape inference. The model will not be executable by the ONNX Runtime. If this is unintended and you believe there is a bug, please report an issue at https://github.com/pytorch/pytorch/issues. Error reported by strict ONNX shape inference: [ShapeInferenceError] Inference error(s): (op_type:MaxPool, node name: /MaxPool): [ShapeInferenceError] Attribute dilations has incorrect size  (Triggered internally at ../torch/csrc/jit/serialization/export.cpp:1484.)   _C._check_onnx_proto(proto)

@fabio-sim Thanks a lot!!


This package  does not get listed in list of packages in Sublime version 3

I would like to install this package in my sublime. However, this is not getting listed.

This is a problem with your setup: this package is listed correctly on package control.
Did you tinker with the channels setting of Package Control? Make sure the default channel is there (in your user settings if it overrides the channels setting):
	"channels": [
		"https://packagecontrol.io/channel_v3.json"
	],


Steps to create folder structure for the tutorial should appear before docker instructions

Problem
While following the quick start tutorial, I got bitten by the fact that the documentation instructs the users to spring up their db via docker but if you haven't ran the Connect Soda SQL to the warehouse steps docker run will fail since it won't have a local folder to mount to.
Potential Solution
I think moving  Connect Soda SQL to the warehouse steps to be the first step on the tutorial should do the trick as users will have all they need locally to then spring up the db.

I'd be happy to open a code change for this if needed as it's pretty simple.

Awesome-- thanks for the feedback, Bastien, that points to this gap! I'll adjust the docs today.

Tweaked to perfect the flow. Thanks, @bastienboutonnet !


Allow tabs as CsvDelimiter

Right now tabs are not being allowed as csv delimiters as the validation is checking for whitespace.
suggested change:
https://github.com/sravimohan/WebAPIContrib.Core/blob/master/src/WebApiContrib.Core.Formatter.Csv/CsvFormatterMvcBuilderExtensions.cs
Let me know if I can do a PR.

Looks good - please open a PR

Have created the PR . Thank you.

fixed with #145


Add list of supported functions in reduced docs

resolves #1766

Thank you very much for persevering with this!