fix(Q&A): input fields getting cleared and autoclosing the box pop after submission

fixed the input getting cleared if input failed the validation
fixes #977
Issue that this pull request solves
Closes: #977
Proposed changes

fixed the issue of input fields getting cleared in QandA page ( ask your question fields ) if input is not matching the validation criteria

previously reseting of input field code was written outside the both condition whether error occur or not due to which if any condition happen reset code used to run and input get cleared

i modified the code that reset condition will work only when  validation is matched and q&a is submitted successfully otherwise it will not reset the input field

also question box pop will be closed automatically after the successfull submission

Types of changes
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Screenshots
https://github.com/HITK-TECH-Community/Community-Website/assets/127100604/e5415a09-219c-4fb7-bcfa-489e7f362af0

@Kajol-Kumari  this the new pr


 Tag doesn't respect playsinline on iOS

Bug Report
Ionic version:

[x] 4.x
Current behavior:

Referencing this because I'm assuming it is a webview bug but I don't know that for sure.
I'm wondering if by some reason this is by design.
https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/294
Expected behavior:

<video playsinline /> will always open fullscreen video player on iOS when it comes into view
Steps to reproduce:

Just add a video to new ionic project see
https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/294
Other information:

Ionic info:

Ionic:
ionic (Ionic CLI)             : 4.9.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework               : @ionic/angular 4.0.0
@angular-devkit/build-angular : 0.12.3
@angular-devkit/schematics    : 7.2.3
@angular/cli                  : 7.2.3
@ionic/angular-toolkit        : 1.2.2
Cordova:
cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>Cordova Platforms     : ios 4.5.5
Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.1, (and 14 other plugins)
System:
ios-deploy : 1.9.4
NodeJS     : v11.6.0 (/usr/local/bin/node)
npm        : 6.5.0-next.0
OS         : macOS Mojave
Xcode      : Xcode 10.1 Build version 10B61

use this in the config.xml for ios
<preference name="AllowInlineMediaPlayback" value="true" />


feat(probe): implement basic FastCGI (PHP-FPM) support in HTTP probe

Fixes-265
What
Implement FastCGI support in the HTTP probe, and add configuration options for the FastCGI client.
Why
See #265
How Tested
TODO

lots of vendored dependencies :) not sure where some of them come from (e.g., https://github.com/alecthomas/chroma ). will be nice to investigate

I believe from the top-level caddy import
$ go mod graph | grep caddy/v2
github.com/docker-slim/docker-slim<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
This is quite a hefty import addition regardless. I'll look for ways to slim this down considerably.

@kcq copied the relevant client code with attribution to remove all the top-level caddy deps. Should be good to go!


HTML Font tag is deprecated, replace with Span tag?

For https://github.com/erincayaz/obsidian-colored-text/blob/be050f389a944346443127332661f7df9c25f45a/src/main.ts#L36
See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font

https://github.com/erincayaz/obsidian-colored-text/blob/main/src/main.ts#LL43C3-L43C3
Thanks for looking into it. However, it seems the ending </font> tag wasn't updated 😅

Oops, didn't know it could work like that 😄. Replaced it.


Basis instance for cats.free.Free

Hi there!
I have a use-case requiring an instance of Basis for cats.free.Free. I see that one for Cofree is already included (#28). Would you welcome a PR adding an instance for Free?

I believe that we can't provide a Project instance for Free, can we? that's what's blocking us from providing the Basis instance for it.
In a Free[F, A] structure, you don't have A values in all nodes, just in some of them.

I was under the impression that this is possible since recursion-schemes has instances for both Recursive and Corecursive on Free. (See here and here)
The instance would be for Basis[CoattrF[F, A, ?], Free[F, A]] since CoattrF is the base functor for Free. The Project instance would then map the Pure[A] case to the Left[A] of CoattrF, and the F[Free[F,A]] case to the Right of CoattrF.

This is what it would potentially look like:
implicit def drosteBasisForCatsFree[F[_]: Functor, A]: Basis[CoattrF[F, A, ?], Free[F, A]] =
  Basis.Default[CoattrF[F, A, ?], Free[F, A]](
    Algebra { CoattrF.un(_).fold(Free.pure, Free.roll) },
    Coalgebra { _.fold[CoattrF[F, A, Free[F,A]]](CoattrF.pure, CoattrF.roll) }
  )

hm, I didn't know that, I'm OK with it if it's lawful!


Not using previously computed Freesurfer outputs (Freesurfer version too new?)

Hi. Using the following command:
docker run -ti --rm \ -v /data/adam_music/raw_data:/data/in \ -v /data/adam_music/derivatives/freesurfer:/data/freesurfer \ -v /data/adam_music/derivatives/baracus:/data/out \ bids/baracus /data/in /data/out participant \ --license_key "XX" --freesurfer_dir /data/freesurfer --participant_label P01
And it's saying Freesurfer data not found for P01. I previously ran fMRIprep on these subjects and Freesurfer outputs are there in derivatives/freesurfer. Actually, it started to run recon-all in the exact same directory where the other outputs are...lol.
The docs mention Freesurfer 5.3.0. Mine are in a newer version: 7.3.2. Could this be the problem? I could re-run recon-all, but this would be cumbersome, and I'm also on a deadline.
Any help is appreciated! Thanks.

Hello. I got an error when trying to execute the commands to obtain the predicted brain age. I previously processed the data with FreeSurfer v7.4.0, but an error about "shape does not look right: (1, 58)" appeared. When I processed the data with FreeSurfer v5.3 using Baracus, everything was fine.
My question is whether it is possible to adjust something to run Baracus using the processed FreeSurfer data with the latest version in order to avoid re-processing the images.
Thanks!
"FINISHED. Prepared sub-103_ses-1 sub-103_ses-6
Traceback (most recent call last):
File "/usr/local/anaconda/bin/run_brain_age_bids.py", line 6, in
exec(compile(open(file).read(), file, 'exec'))
File "/code/scripts/run_brain_age_bids.py", line 83, in
predict_brain_age_single_subject(**d)
File "/code/baracus/predict.py", line 102, in predict_brain_age_single_subject
X = get_data(lh_thickness_file, rh_thickness_file, lh_area_file, rh_area_file, aseg_file)
File "/code/baracus/predict.py", line 60, in get_data
X["aseg"] = _vectorize_fs_tab(aseg_file)
File "/code/baracus/predict.py", line 24, in _vectorize_fs_tab
vectorized_data.shape)
AssertionError: /data/out/baracus/sub-103_ses-1/data/aseg shape does not look right: (1, 58)"


verbose config option is not working

The verbose config option does not work.
The typeof verbose is string and not boolean so all these === comparisons with a boolean value fail always.
https://github.com/bbriatte/homebridge-soundtouch-platform/blob/b8c919f589524dc0191c8ca70318f4c3afe71a62/src/sound-touch-device.ts#L62

Just due to typo in config file... there is a difference between "true" and true in JS:D

Show me your config file

Ahah ok !


No overload matches this call.

Hi @ALL,
I am using vue-polyglot library.
I have tested it in core vue application and there it was working fine.
As soon as I install it in my typescript application it started giving me error.
16:9 No overload matches this call.
Overload 1 of 2, '(plugin: PluginObject<{ defaultLanguage: string; languagesAvailable: string[]; }> | PluginFunction<{ defaultLanguage: string; lang
uagesAvailable: string[]; }>, options?: { ...; } | undefined): VueConstructor<...>', gave the following error.
Argument of type '{ name: string; components: { [x: number]: any; }; data(): { msg: string; }; }' is not assignable to parameter of type 'PluginOb
ject<{ defaultLanguage: string; languagesAvailable: string[]; }> | PluginFunction<{ defaultLanguage: string; languagesAvailable: string[]; }>'.
Property 'install' is missing in type '{ name: string; components: { [x: number]: any; }; data(): { msg: string; }; }' but required in type 'Plu
ginObject<{ defaultLanguage: string; languagesAvailable: string[]; }>'.
Overload 2 of 2, '(plugin: PluginObject | PluginFunction, ...options: any[]): VueConstructor', gave the following error.
Argument of type '{ name: string; components: { [x: number]: any; }; data(): { msg: string; }; }' is not assignable to parameter of type 'PluginOb
ject | PluginFunction'.
Property 'install' is missing in type '{ name: string; components: { [x: number]: any; }; data(): { msg: string; }; }' but required in type 'Plu
ginObject'.
14 | const authService = new AuthService();
15 |
16 | Vue.use(Polyglot, {
| ^
17 | defaultLanguage: 'en',
18 | languagesAvailable: [ 'fr', 'es', 'zh' ],
19 | });

Thank you,
do you think you can update the function definition to match the plugin API for typescript to be happy ?

Hi @guillaumevincent,
I am new to VUE and Typescript so it will be difficult for me to update the function definition.
Can you please help us in this situation OR you can guide us please.
It will be helpful.
Any help will be appreciated.


macOS Time Machine backup causes an unresponsive pty host

https://github.com/microsoft/vscode/issues/117542#issuecomment-800002777
Not sure whether it's briefly unresponsive and recovers or it breaks the pty host.

I just did some more testing. The problem for me happens only when I start the time machine backup. I was working the whole day without issues and as soon as I started (manually) the backup I had the experience I'm about to describe.
First I saw the message as a pop up and in devtools which I had open:

The connection to the terminal's pty host process is unresponsive, the terminals may stop working.

My terminal became unresponsive and showed as disconnected. I clicked on the + button to try and create one new which didn't work for awhile and I got another message in devtools:
 INFO ptyHost restarted
log.ts:296   ERR Could not find pty with id "3": Error: Could not find pty with id "3"
    at P._throwIfNoPty (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:12:36891)
    at P.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:12:35519)
    at Object.call (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:11:8178)
    at C.onPromise (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:10:27579)
    at C.onRawMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:10:26938)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:10:26191
    at A.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:8:1836)
    at process.Z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:6:30611)
    at process.emit (events.js:315:20)
    at emit (internal/child_process.js:876:12)
    at processTicksAndRejections (internal/process/task_queues.js:85:21)
log.ts:296   ERR Could not find pty with id "4": Error: Could not find pty with id "4"
    at P._throwIfNoPty (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:12:36891)
    at P.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:12:35519)
    at Object.call (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:11:8178)
    at C.onPromise (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:10:27579)
    at C.onRawMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:10:26938)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:10:26191
    at A.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:8:1836)
    at process.Z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/platform/terminal/node/ptyHostMain.js:6:30611)
    at process.emit (events.js:315:20)
    at emit (internal/child_process.js:876:12)
    at processTicksAndRejections (internal/process/task_queues.js:85:21)

The whole thing repeated a number of times. The backup was still ongoing.
I'm not sure if that helps but I do want to mention that none of my other terminals were affected:

iTerm running with few tabs
terminal (the one that comes with the OS)
terminals within Goland (intellij) which I also had open

The problem happened at the same time on both insider and standard vscode versions:
Version: 1.54.3
Commit: 2b9aebd5354a3629c3aba0a5f5df49f43d6689f8
Date: 2021-03-15T11:57:12.728Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.3.0

Version: 1.55.0-insider (Universal)
Commit: 84fe402d655e029eb1a5c04e675bf64788fa7fcf
Date: 2021-03-15T08:13:06.179Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.3.0

+1 Seeing this same symptom and my Time Machine backup is currently running as I get the symptom.

Is there any easy way to do a time machine backup without buying extra hardware?

This crash behavior happened for me last night, but only when Time Machine was in a 'Cleaning Up' phase. So far today, I'm not having the same problem.
Version: 1.55.2
Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d
Date: 2021-04-13T09:36:32.643Z (1 wk ago)
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 18.7.0

Is there any easy way to do a time machine backup without buying extra hardware?

@Tyriar Not to my knowledge, but you could run tests with a USB thumb drive if you have one.
Apple's details on Time Machine compatible drives: https://support.apple.com/en-us/HT202784

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


add more fields to the customEditor

Could you tell me, how to add more fields to the customEditor?
I need more fields when editing to the customEditor. Now only comes interface CalendarEvent

Though, you can use props.loading(true/false) and props.close() to control the modal.
If that still not clear yet, share a sandbox of what you try to implement and I can look into it

Re-open if you face issues


Add license info

Work for this issue will begin begin on branch work-liquid-labs/s3-empty-bucket/16.


Update Blockchain-ML medical health .ipynb

here's a brief description of the code:
Import Libraries: The necessary libraries such as pandas, scikit-learn, XGBoost, and Kaggle API are imported. Blockchain Class: Defines a simple blockchain class to store medical reports. Download Data Function: Downloads the dataset from Kaggle using the Kaggle API and unzips it. Load and Prepare Data Function: Reads the downloaded CSV file, preprocesses it by dropping irrelevant columns, encoding categorical variables, and processing the 'Blood Pressure' column. Train Model Function: Splits the data into training and testing sets, scales the features, and trains a voting classifier ensemble using Random Forest and XGBoost classifiers. Predict Stress Level Function: Predicts the stress level based on the user input using the trained model. Get Diagnosis Function: Provides a diagnosis based on the predicted stress level. Get User Input Function: Takes user input for various health parameters. Main Execution:
Downloads the dataset.
Loads and prepares the data.
Trains the model.
Takes user input for health parameters.
Predicts stress level and provides a diagnosis.
Creates a blockchain instance, adds the medical report to it, and retrieves reports based on a user-provided key. This code essentially demonstrates how to build a simple system for predicting stress levels based on health parameters, providing a diagnosis, and storing medical reports securely using blockchain technology.

@TushtiSavarn merged!

@TAHIR0110 thank you verification and merging by pull request


data: Akshat171

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Since you have made a new Pull Request. I would assume that you have latest changes on this PR https://github.com/EddieHubCommunity/BioDrop/pull/9606
So,  I am closing this PR.


feat: basic Dockerfile for ExCubicOdsIngestion

Meets our Dockerfile best practices:

multi-stage build
COPY not ADD, and only the files which are needed
separate non-root user account
dumb-init

Will be needed once we are ready to deploy to ECS/Fargate.

@paulswartz this is good with me. I tested the Dockerfile. I'm going to bring into the main branch for some additional workflow work.


Issue with sub-branches coming from split custom classes

The title is a bit generic ;)
Let me rewind and show how it looked the early days of UnROOT (v0.1.7), where the getindex was different:
julia> using UnROOT

julia> f = UnROOT.ROOTFile("test/samples/km3net_online.root")
ROOTFile("test/samples/km3net_online.root") with 10 entries and 54 streamers.

julia> f["KM3NET_EVENT/KM3NET_EVENT"].fClassName
"KM3NETDAQ::JDAQEvent"

julia> keys(f["KM3NET_EVENT/KM3NET_EVENT"])
4-element Vector{String}:
 "KM3NETDAQ::JDAQPreamble"
 "KM3NETDAQ::JDAQEventHeader"
 "triggeredHits"
 "snapshotHits"

julia> f["KM3NET_EVENT/KM3NET_EVENT/snapshotHits"]
UnROOT.TBranchElement_10
  cursor: UnROOT.Cursor
  fName: String "snapshotHits"
  fTitle: String "snapshotHits"
  fFillColor: Int16 0
  fFillStyle: Int16 1001
...
...
...

Here you can see that keys(f["KM3NET_EVENT/KM3NET_EVENT"]) lists the "branches", which are fields of the KM3NETDAQ::JDAQEvent class entry.
Of course, there is some complicated way to read this class by deserialising all the four sub-branches but it's a tough thing and I haven't even managed to do so in uproot. However, It's possible to do it branch-by-branch.
With the new API we currently work on, there is currently no easy way to access subranches of such a custom branch like f["KM3NET_EVENT/KM3NET_EVENT"]:
julia> keys(f["KM3NET_EVENT/KM3NET_EVENT"])
┌ Warning: Can't automatically create LazyBranch for branch KM3NET_EVENT/KM3NET_EVENT. Returning a branch object
└ @ UnROOT ~/Dev/UnROOT.jl/src/root.jl:93
ERROR: MethodError: no method matching keys(::UnROOT.TBranchElement_10)
Closest candidates are:
  keys(::Union{Tables.AbstractColumns, Tables.AbstractRow}) at /Users/tamasgal/.julia/packages/Tables/gg6Id/src/Tables.jl:181
  keys(::Missings.EachFailMissing) at /Users/tamasgal/.julia/packages/Missings/sx5js/src/Missings.jl:154
  keys(::Dictionaries.Dictionary) at /Users/tamasgal/.julia/packages/Dictionaries/YpAxR/src/Dictionary.jl:270
  ...
Stacktrace:
 [1] top-level scope
   @ REPL[3]:1

That's quite an easy fix since we have the abstract type TBranchElement which we can use to implement keys(branch::TBranchElement).
However, the API to introduce the custom parsing currently only looks at the base class and is not able to distinguish between subbranches. This means that it only looks at fClassName and if there is a match, it will use the type in customstructs:
struct KM3NETDAQHit
   dom_id::Int32
   channel_id::UInt8
   tdc::Int32
   tot::UInt8
end

function UnROOT.interped_data(rawdata, rawoffsets, ::Type{Vector{KM3NETDAQHit}}, ::Type{J}) where J<:UnROOT.JaggType
    @views map(1:length(rawoffsets)-1) do idx
        idxrange = rawoffsets[idx]+10+1 : rawoffsets[idx+1]
        UnROOT.interped_data(rawdata[idxrange], rawoffsets[idx], KM3NETDAQHit, UnROOT.Nojagg)
    end
en

function UnROOT.interped_data(rawdata, rawoffsets, T::Type{KM3NETDAQHit}, ::Type{J}) where J <: UnROOT.JaggType
    splitdata = Base.Iterators.partition(rawdata, 10)
    out = KM3NETDAQHit[]
    sizehint!(out, length(splitdata))
    for single in splitdata
        io = IOBuffer(single)
        push!(out, T(UnROOT.readtype(io, Int32), read(io, UInt8), read(io, Int32), read(io, UInt8)))
    end
    out
end

customstructs = Dict("KM3NETDAQ::JDAQEvent" => Vector{KM3NETDAQHit})

f = UnROOT.ROOTFile("../test/samples/km3net_online.root", customstructs=customstructs)

With this code, f["KM3NET_EVENT/KM3NET_EVENT/snapshotHits"] magically becomes a jagged Vector{Vector{KM3NETDAQHit}} which is nice, but it uses the same type also for f["KM3NET_EVENT/KM3NET_EVENT/triggeredHits"] and fails.
Furthermore, the printout of f["KM3NET_EVENT/KM3NET_EVENT"] is broken when using customstructs:
MethodError: no method matching -(::Nothing, ::Int64)
Closest candidates are:
  -(::T, ::T) where T<:Union{Int128, Int16, Int32, Int64, Int8, UInt128, UInt16, UInt32, UInt64, UInt8} at int.jl:86
  -(::T, ::Integer) where T<:AbstractChar at char.jl:222
  -(::LinearAlgebra.UniformScaling, ::Number) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/uniformscaling.jl:147
  ...

 Given the example above, it would be something like this:
customstructs = Dict(
    "KM3NETDAQ::JDAQEvent.snapshotHits" => Vector{KM3NETDAQHit},
    "KM3NETDAQ::JDAQEvent.triggeredHits" => Vector{KM3NETDAQTriggeredHit},
    "KM3NETDAQ::JDAQEvent.KM3NETDAQ::JDAQPreamble" => KM3NETDAQPreamble,
    "KM3NETDAQ::JDAQEvent.KM3NETDAQ::JDAQEventHeader" => KM3NETDAQEventHeader
)

what's the recommended workaround for now? I'm trying to figure out how to work with Math::LorentzVector from ROOT

Yeah, we need to start working on the custom interpretation stuff, but I fear (as always) that I can't spend much time on it 😢


[terra-form-field] Updated Regular expression of Email

Summary
Previously email field was accepting n number of characters after dot( . ). Now it has been updated to accept minimum 2 and maximum 63 characters after the dot ( . ) in the email field.
Why it was changed:
Because the email field was accepting n number of characters which is not a valid email address.
Additional Details

This PR resolves:
UXPLATFORM-9384

Thank you for contributing to Terra.
@cerner/terra

I believe there are domains with more than 3 characters after the dot, i.e. .info, etc. Is this a restriction we really want to make?

I believe there are domains with more than 3 characters after the dot, i.e. .info, etc. Is this a restriction we really want to make?
example: https://www.identity.digital

+1

I believe there are domains with more than 3 characters after the dot, i.e. .info, etc. Is this a restriction we really want to make?
example: https://www.identity.digital

I believe there are domains with more than 3 characters after the dot, i.e. .info, etc. Is this a restriction we really want to make?
example: https://www.identity.digital

We have updated the email address field that will accept upto 63 characters after the dot ( . )  For this, we have referred the below link.
https://www.mindbaz.com/en/email-deliverability/what-is-the-maximum-size-of-an-mail-address/


Refreshed chests don't go back to "unopened" texture

Using the config for refresh loot, after it refreshs the loot it still says you've looted it

Another relevant and associated (but not a connected issue) #107

is there a way just to reset all of them back to where they were instead of refresh? like say you made custom loot chests?


Include More AWS Legos

Is your feature request related to a problem? Please describe.
Include More AWS Legos to cover EC2, S3, ECR and EKS services.
Describe the solution you'd like
More Legos for AWS Services would definitely be useful for future
Runbooks. It is good to have such Legos.
Describe alternatives you've considered
N/A
Additional context
N/A

closing WE have added dozens. Im sure there are more, but this Issue is not directly actionable


"Reconnected" or similar message after losing connection to webapp

Description
After losing and regaining connection to the webapp, show a message along the lines of "Reconnected, your changes are being saved".
Use Case
When connection to the webapp is lost, a message along the lines of "Disconnected, your changes are not being saved until the connection is restablished" is shown. However, no matching message like "Connected again" is shown, instead the message just disappears. This leaves me feeling not sure if my edits were saved, or if the message just expired.
It's a small improvement, I would like to receive some solid feedback that the connection was restablished and my data is safe.

The web app shows "last synced 10 minutes ago" or similar message in the top right corner. If that isn't visible, the changes should be synced. We'll consider adding a message like you propose in addition.

Glad to see the app improving!


Violet Rails iOS support

Violet Rails harmonized apps (web and native)
Client detection
As of Version 0.9.5 (https://github.com/restarone/violet_rails/releases/tag/0.9.5) the only officially recognized mobile client is iOS (VioletRailsiOS). Clients that set the user agent VioletRailsiOS are detected under the mobile? flag.
Conditional rendering
For native clients web navbar and footer are hidden in favour of native navigation (currently WIP (https://github.com/restarone/violet_rails_ios_client/issues/1) to dynamically set tab navigation / other navigational elements from Violet Rails API Namespace)
known issues

Forum login is not seamless (view is broken until the forum view is revisited due to turbo / http request change)
Forum images/assets not loading (perhaps due to strict HTTPS rules?)
2FA screen not working

Pull request that made Violet Mobile Native aware: https://github.com/restarone/violet_rails/pull/819
iOS client repo: https://github.com/restarone/violet_rails_ios_client

App Store review:


HIVE-28494: Iceberg: mvn build enables iceberg module by default

What changes were proposed in this pull request?

Why are the changes needed?

HIVE-25027 hidden the iceberg module by default. IMO, we have put lots of effort into iceberg module and it is more stable than before. We should enable the iceberg module by default in case of mvn build.
Does this PR introduce any user-facing change?

No
Is the change a dependency upgrade?

No
How was this patch tested?

After this change, you can build the package including iceberg moudle with this cmd:
mvn clean install -DskipTests -Pdist

In the past (HIVE-25998), this was breaking the compilation of the project in IntelliJ. Are these problems resolved?

@zabetak IMO, before HIVE-25998, we need to shade&patch lots of Apache Iceberg API&Core code by two patched moudle patched-iceberg-api & patched-iceberg-core, to make our hive-iceberg handler development more faster, and these shaded code can't be read easily by developers unless they manually add the missing dependency in the Intellij idea dependency moule.
But now, the two patched moudle patched-iceberg-api & patched-iceberg-core are rarely used, and hive-iceberg handler module is more stable than before. So we can safely enable the iceberg module by default.

It seems that you also need to update the following file: .github/workflows/docker-GA-images.yml

Fixed in https://github.com/apache/hive/pull/5428/commits/a2735295654d16d6f9a95b66e63fb2381a4f1426
@zabetak Thanks a lot!


[BUG] 2 Node (ipxe-examples) Upgrade from v1.1.2 -> v1.2.0-rc3 Causes dmesg I/O Errors On Nodes

Describe the bug
I/O Errors pop up in dmesg on qemu/kvm upgrade.
This does not seem to effect anything however.
To Reproduce
Steps to reproduce the behavior:

Have 2 Node qemu/kvm, 500G disk on each node, utilizing ipxe-examples
Upgrade from v1.1.2 -> v1.2.0-rc3
blk_update_request errors & Buffer I/O error will appear in dmesg during:

post-drained
waiting reboot

Expected behavior
An error perhaps not be present in dmesg
Environment

Harvester ISO version:  v1.1.2->v1.2.0-rc3
Underlying Infrastructure: qemu/kvm

Additional context

hvst-upgrade-nw7cv-upgradelog-archive-2023-07-10T18-10-40Z.zip

@irishgordo Is the upgrade eventually complete?

@bk201 - the upgrade did complete :smile: :+1:  - I just wanted to open this with low severity as I noticed just the dmesg I/O errors on both nodes at post-drained & waiting-reboot stages


HorizontalPager shows scroll glow on each page change

Describe the bug
Whenever I scroll to a new page, the scroll glow shows as if Ive reached the end of the list even though there are several items left.
To Reproduce
Im seeing the same behavior seemingly regardless of my setup, all using HorizontalPager.
Expected behavior
The glow effect should only show when trying to scroll past the first/last item in the list.
Environment:

Android OS version: API 30
Device: Emulator, Pixel 4
Accompanist version: 0.19.0

Also happening to me.
API 31
Pixel 4a
Accompanist version: 0.19.0
There are a lot of things wrong with the pager right now. Why did they break everything like this and remove so many useful features?


Node: Update Calendar Event

PR Acceptance Criteria
Guidelines

[X] PR follows the Contributing guidelines?
[X] PR Adheres to our Code of Conduct?
[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code complete

[X] A README.md available describing how to setup and test the code?
[X] The code sample in the correct location (i.e. email/node/read-email)?
[X] Link added to the repository readme (view # Code Snippets created by the Nylas Community with examples) describing what the code sample does for others to try out
[X] The code can be run using Github Codespaces, so the maintainer can try out the code sample remotely to ensure everything is working before we accept the PR.

For PR Reviewer use

[ ] Purpose of code sample is clear
[ ] The code sample is readable
[ ] Steps try out the code are provided
[ ] Code sample runs on codespaces environment
[ ] Code works as expected
[ ] PR labels added

PS: This PR aims to fix #27

I've resolved the conflicts. Please let me know if I have to improve something or add something, I'll be happy to do that. Thanks :)

Right, I realised what happened.

I got these values from the v3 dashboard, and I looked up about how to use them. And I ended up using the v2 config. I don't know how I got no issues while testing, probably since the v2 API also works.
I'm sorry, I'll implement the v3 config and test it again. I'll fix the code.
Thank you for letting me know.

@destryptor  - let me know when its ready to review, you can also click on the request review icon :)

Ah right I'll do that haha

@destryptor closed for now, we can revisit after your exams if you like.


Add gps import command

The idea with the gps import command is that you would be able to gps import -n <branch-name> and it would cherry pick the commits from that branch onto the top of your patch stack. Effectively, conceptually importing the patches from a branch into your patch stack. Duplicates would naturally collapse a way.
I think this should almost be a proxy command as I want to execute the external git cherry-pick command in range made. That way the conflict resolution, etc. is all standard to Git.
It won't actually be just a proxy as it has to do some analysis of the Git tree and figure out where the range of patches should start and where it should end so that we can pass those shas onto the git cherry-pick <start-exclusive-sha>..<end-sha-inclusive> or git cherry-pick <start-inclusive-sha>^..<end-sha-inclusive>.
This could be useful for the scenario where you have requested review of a patch and a co-worker has pushed up an additional commit to your rr branch. You likely would want to import the patches from that remote branch. This would import your own patch which would go away as a duplicate, but then it would also import the patch from your co-worker. This would then allow you to iterate on the patch to get a new version and ready and re-request review.

Given the use case presented above, gps import <patch-index> might be a nice usage at least for the scenario where a branch is already associated with a patch. That way the user doesn't have think about the branch name.
We would also need to support gps import <ref-name> though so that we can import patches from other references.

For reference, https://www.tollmanz.com/git-cherry-pick-range/ and https://stackoverflow.com/questions/35437253/how-to-git-cherrypick-all-changes-introduced-in-specific-branch

Thinking about this some more. I think what this should do is actually find the common ancestor between the specified branch name (or associated branch when patch index is provided) and the currently checked out patch stack. Then it should present the list of patch that will be cherry picked if the user decides to continue by enterying y/yes when prompted. Any other value will abort the import.


Add ApolloColor new variants

Remark describes the different ways of calling .new() rather than listing them with the proper parameters.
.new("sColor"), .new(tColor), maybe even .new(r, g, b, a)

Yep, that's something that should be listed, I think I can also extract the constant names for colors, or are they a enum? Will investigate this.

Haven't found an enum but you can look at the list with houston.


Testing extension locally with firebase emulator

I followed steps 1-4 at Extensions Marketplace by Firebase  (https://extensions.dev/extensions/revenuecat/firestore-revenuecat-purchases).  In step 4, it says that I can test the extension locally with firebase emulator.  Could you please help me understand how this is possible?  I have not followed step 5 yet.
What I would like to see is that when a user pays for subscription, then the events collection gets updated locally so that I can trigger cloud function.
Also, currently I am using 3 different environments were each environment corresponds to firebase project.  I installed RevenueCat instance for each environment but when I run the emulator, all three RevenueCat instances runs.  I would like the instance for the current environment to run.  The others should not.
Thanks

Bump

I dont think this could work without ngrok or passing webhooks that way.
But at least they should make docs/steps how to do it.
And also add flags to SDKs so we can bypass it if needed

these installation instructions are the "standard" Firebase extension installation instructions and we can't customize them for this extension, unfortunately. There isn't right way a way to test this extension locally (it's correct, you would need to use ngrok or something similar to catch webhooks locally, but then you would also need to be able to point the RevenueCat Firebase integration to that different webhook URL instead of the default Firebase one, which isn't possible right now either.
I would love to understand better though why it is important to you to test this locally – could you not just set up a test project on Firebase to see if this works as intended if you want to try it before sending it to a production Firebase project?

If you need a reference on how it should look, it's stripe local webhooks. That's how it should work.


Correct way to integrate tf2jax output with a hk.Module

I'm looking at the tf2jax project, and the ability to take TensorFlow pretrained modules and convert them to haiku would be a really useful functionality, since there aren't a lot of available Haiku checkpoints. A typical application is something like
import tf2jax
import tensorflow as tf
import jax.numpy as jnp
jax_func, jax_params = tf2jax.convert(tf.function(tf.keras.applications.resnet50.ResNet50()), jnp.zeros((1, 224, 224, 3)))

So now I have a function and parameters to do what I want, but I need to insert them into a Haiku module. How should I do this? I'm hoping for some way to eventually be able to
class MyModule(hk.Module):
    def __call__(self, x):
        x = ResNet50Jax()(x)
        x = # some other module specific stuff
        return x

that I can then proceed with hk.transform as usual. I wasn't able to find an obvious way to do this. Any thoughts?
More broadly, is it a bad idea to rely on tf2jax for checkpoints, versus perhaps making the model directly in Haiku and manually copying over weights from PyTorch/tensorflow?

Hi @rdilip, here is an example of integrating Haiku and tf2jax: https://colab.research.google.com/gist/tomhennigan/5a6a264bccbbe8ecac1b475ad8049c72/example-of-using-tf2jax-with-haiku.ipynb
tf2jax does introduce quite a bit of complexity/indirection (for example if you want to fine tune the model and take gradients through the tf code). I think it might be worth trying to take some pre-existing checkpoint and adapting it to work with Haiku.
Alternatively, if you have access to GPU/TPUs for training then we provide a training script to train a resnet50 model on imagenet.


Cleanup the stale running labs

After a user is done with a lab and after some time, they haven't come back to it, we need to kill the resources for that lab on the cluster. @Mierdin had the idea to do this with time-series data about the events inside the lab nodes so we can determine true activity and lack thereof.
I don't know if we want to let the inactivity time or half-life of the Syringe-injected lab be configurable in the lab template, but that can be considered with this issue or broken off separately if not implemented.

I can't think of a reason why we would want the GC interval to be configurable, can you? What would make a lesson more or less important to clean up quickly?


new version of pysb with gpu_ssa

I know that there is a specific version of pysb that is capable of simulating with GPU with ssa method (1.11.0+170.g43c73d5)
It works no problem with python 3.7, but when I tried it with python 3.8.0, it reports a bug (please find the error message below).
It seems that the object return from any simulator (BngSimulator,CudaSSASimulator,etc.,) would raise such TypeError.
Newer version of pysb (1.14.0) does not report such error, but it does not contain the CudaSSASimulator.
Is there any version of pysb with GPU_ssa function that works for python 3.8 or above?
Thank you
Traceback (most recent call last):
File "E:\python\lib\site-packages\IPython\core\interactiveshell.py", line 3378, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
result = x.run(number_sim=100)
File "E:\python\lib\site-packages\pysb\simulator\cuda_ssa.py", line 249, in run
return SimulationResult(self, tout, result[:self.num_sim, :, :])
File "E:\python\lib\site-packages\pysb\simulator\base.py", line 744, in init
self._model = copy.deepcopy(simulator._model)
File "E:\python\lib\copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
File "E:\python\lib\copy.py", line 270, in _reconstruct
state = deepcopy(state, memo)
File "E:\python\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "E:\python\lib\copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "E:\python\lib\copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
File "E:\python\lib\copy.py", line 270, in _reconstruct
state = deepcopy(state, memo)
File "E:\python\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "E:\python\lib\copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "E:\python\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "E:\python\lib\copy.py", line 205, in _deepcopy_list
append(deepcopy(a, memo))
File "E:\python\lib\copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
File "E:\python\lib\copy.py", line 264, in _reconstruct
y = func(*args)
File "E:\python\lib\copyreg.py", line 97, in newobj_ex
return cls.new(cls, *args, **kwargs)
TypeError: new() got an unexpected keyword argument 'real'

Sorry I didn't see this before. I recently committed updates to the branch for the PR to be complete. That branch works currently.


[BUG]: CurrentItem is not updated in Table Widget and JSONForm Widget

Add a Table widget or JSONForm and change the Table Data or source data respectively to
TableData
{{[
	currentItem
]}}

or Source Data
{{currentItem}}

The table or JSON Form doesn't receive the correct value when you switch pages

Closing this issue in favour of merged PR


Compare new Simd code with hnswrecall + lucene

I remember seeing 40% improvement enabling simd, we're seeing less now.  Did Lucene's hand-unrolled simd add value?

TL;DR Lucene's hand-unrolled code seems to actually be worse than Jake's simplified versions.  Lucene nosimd:simd ratio is 1.37.  JVector nosimd:simd is 1.45.  Jake was seeing ~1.25 but it looks like that's just differences in hardware.
Lucene without simd:
hdf5/nytimes-256-angular.hdf5: 289761 base and 9991 query vectors loaded, dimensions 256
HNSW   M=16 ef=160: top 100/1 recall 0.7093, build 27.70s, query 1.37s. 40402092 nodes visited
HNSW   M=16 ef=160: top 100/2 recall 0.7725, build 27.70s, query 1.85s. 68021786 nodes visited
HNSW   M=16 ef=200: top 100/1 recall 0.7327, build 34.89s, query 1.11s. 39631050 nodes visited
HNSW   M=16 ef=200: top 100/2 recall 0.7865, build 34.89s, query 1.85s. 68973674 nodes visited
HNSW   M=16 ef=400: top 100/1 recall 0.7640, build 63.68s, query 1.23s. 44485000 nodes visited
HNSW   M=16 ef=400: top 100/2 recall 0.8114, build 63.68s, query 2.05s. 77989640 nodes visited
HNSW   M=16 ef=600: top 100/1 recall 0.7724, build 91.02s, query 1.26s. 46114612 nodes visited
HNSW   M=16 ef=600: top 100/2 recall 0.8183, build 91.02s, query 2.17s. 81109964 nodes visited
HNSW   M=16 ef=800: top 100/1 recall 0.7748, build 116.84s, query 1.30s. 46717632 nodes visited
HNSW   M=16 ef=800: top 100/2 recall 0.8211, build 116.84s, query 2.21s. 82387410 nodes visited
HNSW   M=24 ef=160: top 100/1 recall 0.7511, build 45.21s, query 1.30s. 48685892 nodes visited
HNSW   M=24 ef=160: top 100/2 recall 0.8062, build 45.21s, query 2.29s. 86242262 nodes visited
HNSW   M=24 ef=200: top 100/1 recall 0.7721, build 53.83s, query 1.41s. 52491700 nodes visited
HNSW   M=24 ef=200: top 100/2 recall 0.8220, build 53.83s, query 2.49s. 93662468 nodes visited
HNSW   M=24 ef=400: top 100/1 recall 0.8072, build 95.76s, query 1.70s. 63279642 nodes visited
HNSW   M=24 ef=400: top 100/2 recall 0.8522, build 95.76s, query 2.95s. 113996650 nodes visited
HNSW   M=24 ef=600: top 100/1 recall 0.8167, build 134.56s, query 1.78s. 67251422 nodes visited
HNSW   M=24 ef=600: top 100/2 recall 0.8603, build 134.56s, query 3.11s. 121447002 nodes visited

Lucene with simd:
hdf5/nytimes-256-angular.hdf5: 289761 base and 9991 query vectors loaded, dimensions 256
HNSW   M=16 ef=160: top 100/1 recall 0.7085, build 20.54s, query 1.04s. 37141336 nodes visited
HNSW   M=16 ef=160: top 100/2 recall 0.7716, build 20.54s, query 1.34s. 64743348 nodes visited
HNSW   M=16 ef=200: top 100/1 recall 0.7334, build 25.56s, query 0.86s. 39514380 nodes visited
HNSW   M=16 ef=200: top 100/2 recall 0.7869, build 25.56s, query 1.46s. 68945092 nodes visited
HNSW   M=16 ef=400: top 100/1 recall 0.7638, build 47.40s, query 0.95s. 44509010 nodes visited
HNSW   M=16 ef=400: top 100/2 recall 0.8112, build 47.40s, query 1.62s. 78002356 nodes visited
HNSW   M=16 ef=600: top 100/1 recall 0.7722, build 68.20s, query 0.99s. 46143760 nodes visited
HNSW   M=16 ef=600: top 100/2 recall 0.8181, build 68.20s, query 1.64s. 81123014 nodes visited
HNSW   M=16 ef=800: top 100/1 recall 0.7745, build 88.20s, query 0.99s. 46701082 nodes visited
HNSW   M=16 ef=800: top 100/2 recall 0.8211, build 88.20s, query 1.66s. 82386926 nodes visited
HNSW   M=24 ef=160: top 100/1 recall 0.7524, build 29.63s, query 1.04s. 48835936 nodes visited
HNSW   M=24 ef=160: top 100/2 recall 0.8060, build 29.63s, query 1.75s. 86302652 nodes visited
HNSW   M=24 ef=200: top 100/1 recall 0.7725, build 36.51s, query 1.09s. 52468796 nodes visited
HNSW   M=24 ef=200: top 100/2 recall 0.8223, build 36.51s, query 1.89s. 93635118 nodes visited
HNSW   M=24 ef=400: top 100/1 recall 0.8071, build 68.52s, query 1.30s. 63247954 nodes visited
HNSW   M=24 ef=400: top 100/2 recall 0.8521, build 68.52s, query 2.24s. 114010318 nodes visited
HNSW   M=24 ef=600: top 100/1 recall 0.8168, build 98.29s, query 1.37s. 67252014 nodes visited
HNSW   M=24 ef=600: top 100/2 recall 0.8603, build 98.29s, query 2.39s. 121441292 nodes visited

JVector without simd:
hdf5/nytimes-256-angular.hdf5: 289761 base and 9991 query vectors loaded, dimensions 256
Index   M=16 ef=160: top 100/1 recall 0.7140, build 30.20s, query 4.91s. 185528320 nodes visited
Index   M=16 ef=160: top 100/2 recall 0.7720, build 30.20s, query 8.29s. 323914800 nodes visited
Index   M=16 ef=200: top 100/1 recall 0.7241, build 38.65s, query 5.20s. 207153550 nodes visited
Index   M=16 ef=200: top 100/2 recall 0.7853, build 38.65s, query 9.00s. 355127830 nodes visited
Index   M=16 ef=400: top 100/1 recall 0.7622, build 70.34s, query 5.82s. 229773510 nodes visited
Index   M=16 ef=400: top 100/2 recall 0.8115, build 70.34s, query 10.01s. 397866900 nodes visited
Index   M=16 ef=600: top 100/1 recall 0.7718, build 98.29s, query 6.02s. 237238330 nodes visited
Index   M=16 ef=600: top 100/2 recall 0.8192, build 98.29s, query 10.40s. 412561070 nodes visited
Index   M=16 ef=800: top 100/1 recall 0.7749, build 126.83s, query 6.09s. 240236370 nodes visited
Index   M=16 ef=800: top 100/2 recall 0.8224, build 126.83s, query 10.54s. 419315380 nodes visited
Index   M=24 ef=160: top 100/1 recall 0.7473, build 46.57s, query 6.30s. 250193170 nodes visited
Index   M=24 ef=160: top 100/2 recall 0.8051, build 46.57s, query 11.04s. 438624360 nodes visited
Index   M=24 ef=200: top 100/1 recall 0.7700, build 57.13s, query 6.76s. 268582770 nodes visited
Index   M=24 ef=200: top 100/2 recall 0.8220, build 57.13s, query 11.84s. 475761230 nodes visited
Index   M=24 ef=400: top 100/1 recall 0.8069, build 102.66s, query 8.10s. 324259460 nodes visited
Index   M=24 ef=400: top 100/2 recall 0.8512, build 102.66s, query 14.42s. 578344450 nodes visited
Index   M=24 ef=600: top 100/1 recall 0.8167, build 143.75s, query 8.46s. 341072130 nodes visited
Index   M=24 ef=600: top 100/2 recall 0.8598, build 143.75s, query 15.14s. 611984800 nodes visited

JVector with simd:
hdf5/nytimes-256-angular.hdf5: 289761 base and 9991 query vectors loaded, dimensions 256
Index   M=16 ef=160: top 100/1 recall 0.7127, build 19.85s, query 3.70s. 187676330 nodes visited
Index   M=16 ef=160: top 100/2 recall 0.7728, build 19.85s, query 6.26s. 326377860 nodes visited
Index   M=16 ef=200: top 100/1 recall 0.7232, build 25.49s, query 3.90s. 206051240 nodes visited
Index   M=16 ef=200: top 100/2 recall 0.7839, build 25.49s, query 6.76s. 354166730 nodes visited
Index   M=16 ef=400: top 100/1 recall 0.7620, build 47.78s, query 4.32s. 228629970 nodes visited
Index   M=16 ef=400: top 100/2 recall 0.8105, build 47.78s, query 7.47s. 396610530 nodes visited
Index   M=16 ef=600: top 100/1 recall 0.7715, build 69.82s, query 4.44s. 236785010 nodes visited
Index   M=16 ef=600: top 100/2 recall 0.8187, build 69.82s, query 7.74s. 412374650 nodes visited
Index   M=16 ef=800: top 100/1 recall 0.7759, build 90.16s, query 4.50s. 239333220 nodes visited
Index   M=16 ef=800: top 100/2 recall 0.8222, build 90.16s, query 7.85s. 418157600 nodes visited
Index   M=24 ef=160: top 100/1 recall 0.7464, build 29.46s, query 4.67s. 252084040 nodes visited
Index   M=24 ef=160: top 100/2 recall 0.8061, build 29.46s, query 8.26s. 441173410 nodes visited
Index   M=24 ef=200: top 100/1 recall 0.7694, build 35.74s, query 5.04s. 271780770 nodes visited
Index   M=24 ef=200: top 100/2 recall 0.8218, build 35.74s, query 8.95s. 478582210 nodes visited
Index   M=24 ef=400: top 100/1 recall 0.8082, build 69.16s, query 5.98s. 323595720 nodes visited
Index   M=24 ef=400: top 100/2 recall 0.8521, build 69.16s, query 10.64s. 577337550 nodes visited
Index   M=24 ef=600: top 100/1 recall 0.8166, build 99.86s, query 6.29s. 341908910 nodes visited
Index   M=24 ef=600: top 100/2 recall 0.8596, build 99.86s, query 11.29s. 613498820 nodes visited


Websocket panic

If I open and close socket connections to LXD at "clicking speed" (hoping between one instance and another) it makes LXD panic.
Debug logs
DBUG[01-24|22:28:42] DefaultWriter got error getting next reader err="websocket: close 1005 (no status)"
DBUG[01-24|22:28:42] Got err writing websocket: close sent
DBUG[01-24|22:28:42] Failed getting exec control websocket reader, killing command project=default instance=c1 PID=700859 interactive=true err="websocket: close 1005 (no status)"
DBUG[01-24|22:28:42] Exec mirror websocket finished           project=default instance=c1 PID=700859 interactive=true number=0
DBUG[01-24|22:28:42] Failed to send SIGKILL signal            project=default instance=c1 PID=700859 interactive=true err="no such process"
DBUG[01-24|22:28:42] Exec control handler finished            project=default instance=c1 PID=700859 interactive=true
DBUG[01-24|22:28:42] Instance process stopped                 project=default instance=c1 PID=700859 interactive=true exitStatus=0
WARN[01-24|22:28:42] Detected poll(POLLNVAL) event.
panic: send on closed channel

goroutine 14326 [running]:
github.com/lxc/lxd/shared.ExecReaderToChannel.func3()
	/build/lxd/parts/lxd/src/shared/util_linux.go:618 +0x387
created by github.com/lxc/lxd/shared.ExecReaderToChannel
	/build/lxd/parts/lxd/src/shared/util_linux.go:506 +0x225

The code that caused / fixed the problem was the following
// This is called when a client disconnects from an xterm.js instance
my_connection_to_lxd[0].send(
       "exit\r\n",
      { binary: true },
      () => {
          // NOTE Without the timeout LXD will panic as it tries to send any final responses
          setTimeout(()=>{
              my_connection_to_lxd[0].close();
              my_connection_to_lxd["control"].close();
          }, 100)
      }
    );

I also encounter a strange issue with VM channels I suspect is of a similar nature, but I cant (hopefully) verify without #9838

Similar error on spice VGA socket, though this one doesn't panic
DBUG[01-24|23:43:50] Connected websocket Operation: 18f0a70d-8027-4b74-af4a-2f40af142c42
DBUG[01-24|23:43:50] VGA dynamic websocket connected
DBUG[01-24|23:43:50] Handled websocket Operation: 18f0a70d-8027-4b74-af4a-2f40af142c42
DBUG[01-24|23:43:54] Got error getting next reader websocket: close 1005 (no status)
DBUG[01-24|23:43:54] VGA control websocket finished
DBUG[01-24|23:43:54] DefaultWriter got error getting next reader err="read tcp <IP_ADDRESS>:8443-><IP_ADDRESS>:43788: use of closed network connection"
DBUG[01-24|23:43:54] Sending write barrier
DBUG[01-24|23:43:54] DefaultWriter got error getting next reader err="read tcp <IP_ADDRESS>:8443-><IP_ADDRESS>:43800: use of closed network connection"
DBUG[01-24|23:43:54] Sending write barrier
DBUG[01-24|23:43:54] DefaultWriter got error getting next reader err="read tcp <IP_ADDRESS>:8443-><IP_ADDRESS>:43806: use of closed network connection"
DBUG[01-24|23:43:54] Sending write barrier
DBUG[01-24|23:43:54] VGA websocket finished
DBUG[01-24|23:43:54] Success for websocket operation: 18f0a70d-8027-4b74-af4a-2f40af142c42

@tomponline FYI, I've got a branch which completely rewrites our websocket logic, makes it all pure Go and moves it to a new shared/ws package. So far I've confirmed that it's working well for text console, vga console, interactive exec and non-interactive exec.
It however has issues when dealing with migration streams so there's a bit of work left to do to track that down before I can put it up for review.

https://github.com/stgraber/lxd/tree/websocket

Cool that would be nice to remove some of that complicated c based copying logic which ive not had time to fully comprehend. Look forward to PR!

@turtle0x1 that should fix it ^


[BEAM-12166] Beam Sql - Combine Accumulator return Map fails with class…

… cast exception
Added Map Creation type logic to solve the problem.

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.

Thanks..I will check

Sorry about that. I have removed the merge commit. Please check.

Hi @ibzib
Please let me know if anything else is needed from my side on this.
Thanks.

Thank you @ibzib
I have a query - When I tried to use calcite function LISTAGG, I got an exception message it is not yet supported.
Could you pls share your inputs on this - if work is to be done on this and if it is feasible to be supported ?

I don't think it would be too hard to add support. Aggregation functions are implemented in Beam SQL as CombineFns. They are defined in BeamBuiltinAggregations.

Thanks. I will study this part and see if I can contribute.


Upgrade Thrift dependency in broker to solve CVE-2019-0210, CVE-2019-0205 and CVE-2020-13949

Library from Apache Thrift (libthrift-0.12.jar) used by Apache Pulsar Broker is affected by two high risk vulnerabilities:
CVE-2019-0210 and CVE-2019-0205
These vulnerabilities are solved by version 0.13.
Update 2021/02/19
New vulnerability CVE-2020-13949 has been published affecting libthrift up to (including) version 0.13. Version 0.14 seems to solve the issue.

Since these update-needs regularly occurs,
one should think of implementing a procedure to address this:
Automated security and update routine before every release https://github.com/apache/pulsar/issues/8815

Since these update-needs regularly occurs,
one should think of implementing a procedure to address this:
Automated security and update routine before every release https://github.com/apache/pulsar/issues/8815

Fixing this issue depends on Bookkeeper issue apache/bookkeeper#2695 . libthrift 0.14.1 is broken and a new version is needed before the upgrade can be completed. More details in https://github.com/apache/bookkeeper/pull/2695#pullrequestreview-670542965 .

The issue had no activity for 30 days, mark with Stale label.

Closed as stale. Please open a new issue if it's still relevant to the maintained versions.
IIRC we have a OWASP checker to prevent high risk vulnerabilities


Modify PackingIterator to return the biggest bin

As discussed in this email thread, we should modify PackingIterator to return the biggest bin instead of the first one when the number of bins exceeds lookback.

I'll attempt a crack at this!

@aokolnychyi : I'm unable to close this issue. Can you help close it given the corresponding is merged? Thank you.

@rominparekh sorry, I was away for a few days. Thanks for working on this!


Implementing latest version of HumbleNet to the Unity

I have tested WebGLRoller on my computer. It works fine aside from some bugs. But I want to use latest version of HumbleNet in my Unity project(running in 2020.3.15f1). I am trying to implement it to my Unity project past couple of days but couldn't manage to do it. So if you remember how you did it back then can you share some kind of guidelines. If I can manage to do it in this version I will be happy to share test project with you.

I have tested WebGLRoller on my computer. It works fine aside from some bugs. But I want to use latest version of HumbleNet in my Unity project(running in 2020.3.15f1). I am trying to implement it to my Unity project past couple of days but couldn't manage to do it. So if you remember how you did it back then can you share some kind of guidelines. If I can manage to do it in this version I will be happy to share test project with you.

Hey man, did you manage to use the latest HumbleNet in Unity? I'm also trying to test the WebGLRoller but, currently is not finding my own peer don't know why... any suggestions?


Header

I thought someone took this but I guess not, temporarily assigning to myself but anyone can take it


Multiple push patterns

Is there a way to send two different on and off push sequences?
For example I have a button that when pushed 3 times it means on, 2 times means auto and then the off command is either 2 or 3 pushes depending on what the first on sequence was.
Thanks

I think the latest bot firmware supports 3 modes. I haven't tried it yet thouhh or how it interact with my code
modes : switch, press, custom
if you set the mode to custom you can define a number of pushes for on and a number of pushes for off.... I think
If you want to try that out and let me know if the esp32 shows a bot with setting 'custom' if it shows as press mode or switch mode from the esp32. If it shows as 'switch', then it should just work I think. If it shows as 'press' then I'll need to make a minor change in the esp32 code do that custom and switch are both seen as switch
I think that would be the easiest way to support it and would save more battery. only one command would be sent to the bot instead of multiple


Take actions by value

What's the motivation behind this change?

We want all actions to behave similarly regarding self (either by shared reference or by value) since we want to compose them (e.g. RustAppletInstall depends on RustAppletBuild and AppletInstall and possibly AppletExitStatus). Doing this by value is much simpler and most existing actions already do so. This is fixing historical actions.


Claudianavarrofragoso add billing data export setup documentation

The CBS team at SSC requires that new GCP customers set up billing data export so that they can collect this data and monitor consumption.
These are the steps that customers need to follow to set up billing data export in the GCP console.

LGTM
ready to merge

Any updates on this merge?


Add [optimser] labels to tests

Some optimiser tests are missing the [optimiser] label within TEST_CASE.


SCT-1147 Add more remove mapping tests

:+1:

Pull Request Test Coverage Report for Build 98

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.156%

Totals

Change from base Build 97:
0.0%

Covered Lines:
435

Relevant Lines:
462

💛  - Coveralls


[Feature] Setup Script to do the entire install after installing the ubuntu server for users

Feature description
Currently we just have individual steps one by one , lets look into getting the setup script to do it all in one shot
Use Cases
Currently we just have individual steps one by one , lets look into getting the setup script to do it all in one shot
Test Cases
No response
Additional Information
No response

I think we did it on https://github.com/project-chip/certification-tool/pull/238
It is target to fall2024 release

https://github.com/project-chip/certification-tool/blob/main/docs/Matter_TH_User_Guide/Matter_TH_User_Guide.adoc#th-installation-on-raspberry-pi

Could we close this issue?


Add content to the facility details page excluding the interactive map

Depends on #2075
Refer the the "Facility Profile" section of the Figma board
Icons can be exported from Figma by selecting them then using the Export panel at the right side of the page.
Show all content on the new details page except for the interactive map

Do NOT implement "last updated" as part of this issue
Add the new "Report" dropdown button to contain the existing links that appear at the bottom of the facility profile
The section at the bottom of the new page for showing associated contributors is collapsed by default
Add a "drawer' component that opens on the right and shows multiple values for a field instead of an expanding list.

This drawer is used throughout the new site design so the functionality should be reusable
At mobile widths the drawer should cover the entire page

Comments from the OAR team:

can we make the font for the OAR ID itself size 18 instead of 14
is it possible to pin the "Description" data point as the last data point and allow it to be the width of the 2 columns, instead of wrapping into the one column. E.g. see this facility's description
Note that description only shows up for claimed facilities if the owner has entered a description


Add: MTV Max

Channel Name
MTV Max
Alternative Names (optional)
MTV Max HD
Network (optional)
No response
Owners (optional)
No response
Country
FI
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
c/FI
Languages
fin
Categories (optional)
No response
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://fi.wikipedia.org/wiki/MTV_Max
Logo
https://img.prod.telkku.com/channel-logos/MTV Max lightBG.png
Notes
No response

Please update your request:

link to the official website is incorrect
the size of the logo should not exceed 512x512px

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels

Duplicate of https://iptv-org.github.io/channels/fi/CMoreMax


Many Thanks

[Enter feedback here]

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

ID: b57afd33-2977-a71d-a206-2a4eba82b706
Version Independent ID: e3fdd5da-ba7f-875f-ee95-7b9283bdd205
Content: Embed a survey in a webpage
Content Source: cv-docs/embed-web-page.md
Service: dynamics-365-customervoice
GitHub Login: @sbmjais
Microsoft Alias: shjais

Thanks for your feedback. We’re glad our content helped you. Closing the issue.


ACI Create - Base image windows server core 2019

Hi,
Cannot create containers, when base image is Windows Server core 2019. When will Windows server 2019 be support in azure container instances?
Thank you for answer.

@TBurda can you please provide the document you are following so we can better assist?

@iainfoulds @seanmck any idea on when we will support Windows server 2019 in Container Instances?

This is a question for @ChackDan and his team.

@MicahMcKittrick-MSFT - please assign this to @dkkapur

@TBurda we are working on this now and will likely have it available in the next 3-4 months.

Thanks @dkkapur !
Looking forward to this update.
@TBurda I will close this out for now and once it is supported the docs will be updated :)


Should the title words be included when searching or filtering the file list?

Under https://github.com/phetsims/papyrus/issues/36 we are adding the ability to search or filter the file list based on keywords.  So far, we have talked about the keywords being explicitly specified on the 2nd line of the file.  Should we include the words in the title in the list of keywords?  In other words, if the first two lines of the file look like this:
// Altitude Image
// Keywords: image, model, control

...and the user entered the search term "altitude", should it match?

@BLFiedler, @terracoda, and I discussed this briefly in a development meeting today, and we decided to include the title words for now and think on it for a bit.  We could also add a checkbox with something like "Include Title", but that might clutter the UI unnecessarily.

The filter works nice, if all related programs have a keyword in the initial program comment. I added "Ohm's Law Model" to the resistance slider and the voltage slider and now I can filter on "Ohm".

Continued use has shown this is a useful feature.
We do need to change the filter to use logical AND instead of OR, so the search becomes more exclusive with additional words.
I'm not sure if that was being done as part of a separate issue. If not, let's complete it here, since it affects the title search and makes it more useful, and then close this issue. @jbphet
If that has already been done, then good to close anyway!

I've made the filter operation a logical "AND".  At first, the behavior felt a bit awkward because it was matching on whole words using the AND logic, so if I started to enter a filter string of, say, "add image", the "Add Image" program would show up after typing "add" then disappear while typing "image" until I finished typing the whole word.  In an attempt to improve upon this, I changed the filtering code to allow partial matches of the most recently typed word in the filter string.  This seems to work pretty nicely.
@BLFiedler - Since I ran into the complications described above, I think it would be good if you took a look at it and signed off on the behavior.  If you're cool with it, feel free to close.

Delayed response - sorry! this has been working great.


Selected date with custom minutes bug

Hi,
when custom minutes are set, if i confirm the date without making any change to the date, initial date is returned so it's not rounded to the nearest minute found.
ex.
-initial date = 2024-09-12 14:05:00
-confirm selection
-returns same date instead of rounded 2024-09-12 14:00:00
here's the code
ElevatedButton(
            child: const Text("test"),
            onPressed: () async {
              DateTime? selected = await showBoardDateTimePicker(
                context: context,
                pickerType: DateTimePickerType.datetime,
                initialDate: DateTime.now(),
                minimumDate: null,
                maximumDate: null,
                breakpoint: 950,
                options: BoardDateTimeOptions(
                  languages: const BoardPickerLanguages.it(),
                  startDayOfWeek: DateTime.monday,
                  pickerFormat: PickerFormat.dmy,
                  customOptions: BoardPickerCustomOptions(
                    minutes: [0, 15, 30, 45],
                  ),
                  boardTitle: "title",
                  showDateButton: false,
                  pickerSubTitles: const BoardDateTimeItemTitles(
                      year: "Anno",
                      month: "Mese",
                      day: "Giorno",
                      hour: "Ora",
                      minute: "Minuto"),
                ),
              );
              print(selected);
            },
          ),

i'll try to fix the error looking into the code

No change is considered a cancellation, so the corrected value is not returned

Isn't it possibile to adjust the initial data value once showBoardDateTimePicker is called, so if it isn't rounded correctly it is forces to a valid value of the picker?
Even if it will be rounded to the first valid valu, it would be perfect

i've decided to handle it by rounding the input before opening the picker.
If someone will need to do this type of operation here's a function to do it.
static DateTime nearestQuarter(DateTime val) {
    return DateTime(val.year, val.month, val.day, val.hour,
        [0, 15, 30, 45][(val.minute / 15).floor()]);
  }


[svg2png] size limitation while converting the file

In case the svg file size is too large, a heap overflow occurred when conversting to png. To prevent this a size limitation has been added - the resolution of the resulting png file cannot be higher than 8k (7680 x 4320).

thx for comments, I'll apply changes tmr


Unable to download from youtube

Checklist

[x ] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE
lubuntu@lubuntu:~/Documents/clips$ youtube-dl --verbose  https://www.youtube.com/watch?v=o9aTTFtErbs
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=o9aTTFtErbs']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.2 (CPython) - Linux-5.4.0-42-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] o9aTTFtErbs: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

WRITE DESCRIPTION HERE
Unable to download from youtube.

[x] I've searched the bugtracker for similar issues including closed ones

Really? Duplicate of #31530.


Oh-my-zsh does not work when used with bash on Ubuntu on Windows

So I installed the new Windows 10 insider build to check out Bash on windows and I immediately felt the need to change to zsh and install oh-my zsh.
But when I start zsh or source ~/.zshrc I get this output:
root@localhost:~# su -l wesley
compaudit:105: wait failed: invalid argument
compdef:95: wait failed: invalid argument
_update_zsh_update:1: wait failed: invalid argument
/home/wesley/.oh-my-zsh/oh-my-zsh.sh:3: wait failed: invalid argument

Disabling auto update gives me even more issues:
root@localhost:~# su -l wesley
compaudit:105: wait failed: invalid argument
compdef:95: wait failed: invalid argument
git_compare_version:3: wait failed: invalid argument
/home/wesley/.oh-my-zsh/lib/git.zsh:204: wait failed: invalid argument
grep-flag-available:1: wait failed: invalid argument
/home/wesley/.oh-my-zsh/lib/misc.zsh:6: wait failed: invalid argument
/home/wesley/.oh-my-zsh/lib/theme-and-appearance.zsh:9: wait failed: invalid argument
compaudit:105: wait failed: invalid argument
compdef:95: wait failed: invalid argument
localhost%

After some digging it seems to be more related to zsh itself than oh-my-zsh so I think this can be closed

Ok, thanks. I'll dig around anyway, I'm just now installing the newest build.

BTW, Microsoft has enabled a github repo to report issues, you can find it at https://github.com/Microsoft/BashOnWindows.


Can't move new window(ctrl+shift+n) with "tilling window manager mode" checked

bug
Can't move new window(ctrl+shift+n) with "tilling window manager mode" checked.
expected
Move windows freely when holding with ponter the titlebar.
platform
Windows 10 2004 (19041.508)

no. tiling window manager mode is meant for when windows are handled independently of apps by a window manager (see https://github.com/dragonwocky/notion-enhancer/issues/69).
if you want to be able to move windows normally, don't use tiling window manager mode.


Constant spamming of E16: Invalid range: 2wincmd w

This commit 319ffc79e58d64b147ce258d526cef6fbfbb887d broke neomake for me.

I've narrowed it down to this commit because when I comment out the code that was added between lines 406 - 408, the messages stop.
The code in question is this block:
if winnr() != a:maker.winnr
    let cur_window = winnr()
    let prev_window = winnr('#')
    exec a:maker.winnr.'wincmd w'
endif

I see that a:maker.winnr has the value of 2, while prev/cur_window are both 1.
I'm getting the error on python3 code and I always reproduce it by exiting the :Gstatus buffer from the fugitive plugin. I tried with both asm and c code, and wasn't able to reproduce the error.
The code block in question seems to fire too late as if it thinks that my :Gstatus buffer is still open, since that buffer will return 1 from calling winnr() and the main buffer 2. But it fires when there's only one buffer and tries to move to a second non existing buffer.
Sorry for not making a more detailed report, but I really am under a time crunch. Hope this helps and let me know if there's anything I can do to help you debug.
Thanks for a really nice plugin.

I am seeing this occasionally myself (and added the broken code, sorry!).
I've not really investigated, but it appears to be related to a job being processed for some buffer, but with a changed window layout.

Also reported in #348 already.

@ironhouzi
Please try https://github.com/benekastah/neomake/pull/354 and report back how it works for you.

No more errors. :+1: Thanks!
Even learned how to fetch/checkout a pull request from github.

@ironhouzi
Cool!  I've pushed some more commits to it, please update and keep evaluating.

Still works fine when trying to reproduce the old bug. :+1:

Would be great to see that merged as I also see similar errors

Can also confirm that errors went away when I switched to #354.

Just commenting since #354 has been open for over a month.  Any chance of weighing in here @benekastah?  I was getting spammed by these messages constantly until switching to @blueyed 's branch (I switch between zero and 1 splits often).  Huge respect and thanks for the work you put into this plugin but unfortunately, it's unusable in this state.  #354 totally fixes it.

Looks like neomake needs a maintainer, so we might not see this fixed for a while :(

Does this mean you are taking over this project, @blueyed?  Or at least temporarily?

@sodapopcan

Does this mean you are taking over this project, @blueyed?

I am just helping out, and have now more freedom to do so.. :)
@simonsmith
Thanks for referring to that commit, that helped get things going.
I'm glad that this issue could be fixed!

Great wor @blueyed, thanks


Support Image Zoom on Posts

Implementing image zoom functionality would be really helpful, especially when large images are inserted into a post.
https://ant.design/components/image#examples
screencast-ant_design-2024_07_21-15_10_34.webm
I am willing to submit a pull request to add this feature.

Thank you for your support! This is exactly what I want to implement.
My plan is to implement this with PhotoSwipe rather than introducing another UI framework. I currently don’t have enough time for it. If you are willing to help I would greatly appreciate it.
FYR:

https://photoswipe.com/getting-started/
https://dev.to/petrovicz/astro-photoswipe-549a


Initial changes to try to make sure the ECC plugins can accept masked…

… data
Addresses #GitHubissuenum
Description
Testing:

[x] Ran tests and they passed OK
[x] Added new tests for the new feature(s)

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 3

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  12
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_utilities.py  5
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  7

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  12
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  7
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_utilities.py  5

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  12
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  6
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_utilities.py  6

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  6
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  12
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_utilities.py  6

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  6
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_utilities.py  6
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  12

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  5
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  12

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  5
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  12

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  5
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  5
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  5
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones added
============
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToProbabilities.py  5
- improver_tests/ensemble_copula_coupling/ensemble_copula_coupling/test_ConvertLocationAndScaleParametersToPercentiles.py  2

See the complete overview on Codacy


reuse download function of scoop

i've written a json file for installing apache spark using scoop, as a part of postinstall i need to download winutils.exe from another link. Is there a way i can reuse any of scoops downloads function instead of configuring proxy again for this download call.
https://github.com/siddarthasagar/scoopbucket/blob/master/apache-spark2.json

What about creating a separate manifest for winutils itself and add it as a dependency?
Also, there is no need to use textise.net to extract the version. Just change it to http://spark.apache.org/downloads.html

Thank you  for the quick response l'll fix the regex for the version check. I need to copy winutils into the bin folder of the Apache spark directory installation directory thats the reason I'm trying to download the exe as post install step.
But may be I can write a copy command instead by installing winutils as a dependency I'll give it try.

I also wanted ask am I missing anything in hash check in the auto update script ,it always says hash not found

You could use the dl() function. Doesn't Apache Spark work when winutils is only in the PATH?
The hash extraction doesn't work because the file content looks like this:
spark-2.3.0-bin-hadoop2.7.tgz: AF 45 EE B0 6D C1 BE EE  6D 4C 70 B9 2C 0E 02 37
Currently, we use the following regex for hash extractions:
https://github.com/lukesampson/scoop/blob/1f3757f32827f110b30a6b2bd3db412a319d83a4/lib/autoupdate.ps1#L60

Made a small fix https://github.com/lukesampson/scoop/commit/cc9412c0ec646aa8b971fd1fb48a4a96b1d397a8
You can now match the hash like this:
        "hash": {
            "url": "https://archive.apache.org/dist/spark/spark-$version/spark-$version-bin-hadoop2.7.tgz.md5",
            "find": "$basename:\\s+([a-fA-F\\d\\x20]+)"
        }

Improved and working manifest:

Changed all URLs to HTTPS
Use winutils from https://github.com/steveloughran/winutils
Added post_install script to move winutils into bin
Fixed hash extraction

{
    "homepage": "https://spark.apache.org/",
    "version": "2.3.0",
    "extract_dir": "spark-2.3.0-bin-hadoop2.7",
    "url": [
        "https://www.apache.org/dist/spark/spark-2.3.0/spark-2.3.0-bin-hadoop2.7.tgz#/spark.tar.gz",
        "https://github.com/steveloughran/winutils/raw/master/hadoop-2.7.1/bin/winutils.exe"
    ],
    "hash": [
        "md5:AF45EEB06DC1BEEE6D4C70B92C0E0237",
        "f933bd8d2547f795dc3165d269b3dc26b22059695616523fc06c8d69f6a54736"
    ],
    "post_install": "If(Test-Path(\"$dir\\winutils.exe\")) { Move-Item \"$dir\\winutils.exe\" \"$dir\\bin\\winutils.exe\" }",
    "env_add_path": "bin",
    "env_set": {
        "SPARK_HOME": "$dir",
        "HADOOP_HOME": "$dir"
    },
    "checkver": {
        "url": "https://spark.apache.org/downloads.html",
        "re": "Latest Release \\(Spark ([\\d.]+)\\)"
    },
    "autoupdate": {
        "url": "https://www.apache.org/dist/spark/spark-$version/spark-$version-bin-hadoop2.7.tgz#/spark.tar.gz",
        "extract_dir": "spark-$version-bin-hadoop2.7",
        "hash": {
            "url": "https://archive.apache.org/dist/spark/spark-$version/spark-$version-bin-hadoop2.7.tgz.md5",
            "find": "$basename:\\s+([a-fA-F\\d\\x20]+)"
        }
    }
}

Thank you very much richard, the above solution solves all my challenges.

Thank you very much richard, the above solution solves all my challenges.


Ansible request for single parameterised adoptopenjdk role on AIX

Please put the name of the software product (and affected platforms if relevant) in the title of this issue

[ ] Missing install
[ ] Bug in ansible playbook
[x] Request for new playbook addition

Details:
Currently we have multiple bootjdk* roles in the AIX playbook. These should be consolidated into a single paramterised one as we do for Windows and UNIX playbooks to make maintenance simpler.

Will take a look at this

All but bootjdk7 qualify for consolidation into one role. The bootjdk7 role transfers a jdk7 binary from the host instead of downloading it from the adoptopenjdk api

Yep JDK7 being another method is fine as it'll be required for bootstrapping JDK8 for quite a long time - The need here is  to make it as simple as possible when a new release comes out to just switch the numbers :-)

Related PR merged, therefore closing


[Event Request] table 39 "Purchase Line" - extend existing event OnCalcVATAmountLinesOnAfterCalcShouldProcessRounding

Hello colleagues,
Could you please extend existing event OnCalcVATAmountLinesOnAfterCalcShouldProcessRounding in table 39 "Purchase Line" by adding additional parameters VATAmountLine and TotalVATAmount (by reference).
        OnCalcVATAmountLinesOnAfterCalcShouldProcessRounding(PurchLine, VATAmountLine, TotalVATAmount, Currency);// new event

New event signature:
    [IntegrationEvent(false, false)]
    local procedure OnCalcVATAmountLinesOnAfterCalcShouldProcessRounding(var PurchLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line"; var TotalVATAmount: Decimal; Currency: Record Currency)
    begin
    end;

Hello @Mike-1984
Event OnCalcVATAmountLinesOnAfterCalcShouldProcessRounding not exist in Purchase Line table.
Please provide correct values.

Hello @AleksandricMarko,
My bad, i have fixed the Issue description to create a new event instead. Thank you.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11820.


Allow cluster wide service traffic to receive traffic from original IP address

At the moment if one needs to have access to the original source IP address of a request, one has to switch to LoadBalancer or NodePort.
Instead of using either of these, this request is to allow cluster wide access and at the same time preserving the original source IP.
Expected Behavior

The pods that are assigned to a service should receive traffic from the original source IP

Current Behavior

If a Service is defined with a ClusterIP, calico rewrites the source IP

Possible Solution

Route the traffic

Steps to Reproduce (for bugs)

Deploy calico into an IPv6 only k8s cluster (probably also true for IPv4, but IPv6 only is my case)
Deploy a service on a clusterip
Configure calico with BGP so that clusterips are reachable from outside
Receive traffic to that clusterip from outside
Traffic has incorrect source IP

Context
The context of this request is a bit bigger:

IPv6 enabled clusters can (and should) receive external traffic to ClusterIPs
CoreDNS (kube-dns) is running on a ClusterIP
CoreDNS is an open resolver by default
With the source IP rewritten, ACLs in coredns do not function (see https://github.com/coredns/coredns/issues/4697)
This way CoreDNS stays an open resolver, harming not only the k8s cluster, but the whole Internet

Related ticket to this is: https://github.com/projectcalico/calico/issues/3585
One could argue that coredns/kube-dns should not be reachable from outside, however I argue the opposite:
with the standard k8s behaviour of assigning servicename.namespace.svc.CLUSTERDOMAIN one has a perfect, globally reachable, automatic DNS for services in k8s - so this behaviour is explicitly helpful.
Your Environment

Calico version: 3.20.4, 3.22.1
Orchestrator version (e.g. kubernetes, mesos, rkt): k8s v1.23.5,but any version will do
Operating System and version: Alpine Linux
Link to your project (optional): Related blog post: https://ungleich.ch/u/blog/kubernetes-making-dns-publicly-reachable/

@caseydavenport Thanks for the update. It totally makes sense with the kube-proxy part. From my understanding calico does not yet support eBPF with IPv6, which is our default use-case.
Thus I was wondering why eBPF is needed to get around kube-proxy - couldn't calico just route the traffic on its own? Calico has all information (target, tunnel mode, etc.) and already knows how to pass traffic on, even without eBPF or am I mistaken?

From my understanding calico does not yet support eBPF with IPv6, which is our default use-case.

This is in the works, so stay tuned!

couldn't calico just route the traffic on its own?

In theory I think you're correct - we could replace kube-proxy in iptables mode as well and encap traffic destined to services from outside of the cluster instead of using SNAT to ensure a symmetric traffic path. In practice, with the amount of work required for that, it would probably be more beneficial to invest that effort into making eBPF more capable (e.g., introducing V6 support to eBPF mode).

Thanks for the feedback, @caseydavenport. Is there anything we can do to help speeding up eBPF w/ IPv6? I know this is a feature being discussed for some months, but I was unable to see where "it hangs" or "what is needed to be done"

Thanks for the feedback, @caseydavenport. Is there anything we can do to help speeding up eBPF w/ IPv6? I know this is a feature being discussed for some months, but I was unable to see where "it hangs" or "what is needed to be done"

If using eBPF, all the intra-cluster connections would be podIP -> podIP so you would see the original address. But we do not support IPv6 in eBPF atm. The good news is that it is a work-in-progress, currently in prototyping stage. Once we pass that stage, we would appreciate any help, especially whoever would be brave enough to be a guinea-pig. Relates to  https://github.com/projectcalico/calico/issues/4736

We can provide a full k8s cluster just for testing this, as IPv6 (only) is our main business, @tomastigera. If it were to help, we could even provide this on a permanent basis for testing calico.


Printing in Brackets

Brackets is real great software but what about printing code? Will this EVER be implemented?
A "no" is fine, but any answer would really be appreciated (or is the 4+ years of silence, and the closure of the original 'Please Make it Print' thread without resolution, what you consider to be an answer?).
Thanks! An official reply is appreciated.

Duplicate of #12788


(feature) send context in http headers with xml rpc

When communicating with remote servers it would be good to set http headers with the test name & suite name. This will allow the remote server to keep context with requests.
For example.
One remote server is running and serveral parallel tests are using it. The server needs to have a context to identify its clients.

How would this work in practice? Would it requite changes to existing remote servers?
A problem with passing context information in keyword calls is that libs don't get notification suites/tests/keywords start/end. Any ideas could we enhance the remote API to support listeners like normal libraries nowadays do (#811)?

All remote servers listen on a port, they receive http requesta carrying xml. So when multiple tests want to use the keyword server at the same time, there is nothing unique in the http the server gets. So adding a http header would allow the one keyword server to identify what tests is making the request.  This means keyword servers can go from stateless servers to maintaining a session.
For example one keyword server for web tests serving multiple parallel tests. The keyword server is maintaining the browser instance for each test. When a client requests to execute Click keyword, the server needa to route that to the browser for that tests.  So it needs to know "who" the request came from!
I think adding a http header wont break xml rpc protocol.
Thanks

How would this be implemented in practice?

Any new comments about this? Is this something that you @claytonneal would be interested to implement yourself?

Hiya.
Am not really a python guy, we do all our work in c#/java and use remote servers.
It would be better to configure this, perhaps via a keyword like:
Set Remote HTTP Header  ${Name}  ${VALUE}
As then when tests are executed via jenkins i could use:
Set Remote HTTP Header  TestName ${TEST NAME}
Set Remote HTTP Header  Build %{BUILD_NUMBER}
so that the remote server gets all the context it needs.
what do you think?

I don't know what would be the best way to do something like this. I'm not yet convinced that adding something like this to the remote API would be a good idea in the first place. Passing information like test names or build numbers is already easy with keywords. You can use them in suite/test setups/teardowns to pass context information automatically.
There's quite a lot to do if you want to get further with this enhancement:

You need to explain use cases where this kind of functionality would be useful and just using keywords wouldn't be enough.

You also should explain why the library listener approach supported by other libraries wouldn't work. I'm not sure how easy that would be to implement, but I'd anyway rather have a consistent feature set in all libraries than have similar but different features.

If we agree a new feature is needed, you need to design how it would in practice on the remote API level.

Once we agree on design, we need to ask how developers of various remote server implementations think about it. A feature in the remote API is not very useful if no remote server supports it.

Once there's a general consensus that the feature and the design are good, you need to be prepared to implement it or pay someone to implement it. It will need changes (including tests) to the Remote library and to the Python remote server that works as the reference remote server implementation as well as updates to the remote API documentation. That's going to be quite a lot of work but that doesn't mean it wouldn't be doable.

No activity lately. Closing.


Add circular FK support?

Hi, I'm messing around with this library a bit, looks like it can be very useful!
I notice table-order (well actually, dep/depend) freaks out when it encounters a circular foreign key. Examples:

a table contains a foreign key to itself
table A has a foreign key to a column on table B, and vice versa

As a quick test I altered table-order to include a filter as follows:
(defn- table-order
  "used to create an omap for tables"
  [xray]
  (let [deps (table-deps xray)
        deps-set (set deps)]
    (->> deps
         (filter (fn without-circular-dependencies [[table-name dep]]
                   (let [flipped [dep table-name]]
                     (nil? (get deps-set flipped)))))
         (reduce (fn reduce-fn [g [table-name dep]]
                   (dep/depend g table-name dep))
                 (dep/graph))
         (dep/topo-sort))))

This prevents the error when calling the xray function, but I can't say for sure it still does what it's supposed to be doing correctly, or that it doesn't cause some other issue.
In my case, I run into the following error when  trying to call plumatic-schema on the result:
Execution error (NullPointerException) at donut.dbxray.generate.plumatic-schema/column-spec (form-init12429061481132598728.clj:41).
Cannot invoke "clojure.lang.IFn.invoke(Object, Object)" because "column_type" is null

I'm not sure this is related, though.
Oh, one minor nitpick: the name xray is used as an input variable in multiple functions, but xray is a function name as well.
It may make things a bit easier on the eye if a different name is used for the inputs, or maybe the function can be named ->xray, e.g.

Appreciate your writing this up! I'll try to respond soon

I believe this is handled now, could you give it a try and let me know? I didn't specifically test for it, real cowboy coding over here, but if there's still a problem I'll do it the right way :P
Note that I changed the top-level structure of the xray map, it now includes a :tables key and a :table-order key. The :tables key contains what was previously the entire xray map

This works, fantastic! Thank you very much! 🎉


Ingredients js

Made four ingredient arrays and constructor function to populate arrays. 15 ingredients made. Created sourLevel, bitterLevel, and sweetLevel properties for potential use later, but left values at zero for now. Hopefully, constructor function pushes ingredients to the correct array based on type, but I don't know how to test this without linking to the HTML.

decided to go ahead and link ingredients.js to HTML; need to fix constructor