FormatParagraph goes way over line-length (sometimes)

Using bagshow, https://gitlab.com/drj11/bagshow, which is a slightly modified version of the Go program in the installation instructions, i try and typeset a three word document:
echo FIRST THINGS FIRST | go run main.go --font-size 120 --line-height 168 --font ~/prj/eft/CraftyGirls-Regular.ttf

Getting

sample.pdf
The paragraph should be set with a line-length of 115mm, and starts 70mm from the left-hand edge. Which should leave a reasonable 25mm margin on the right (paper size is default, A4, 210mm wide). (yes, i know a 70mm gap on the left looks very large)
But what is see is that instead of breaking the first line after "FIRST", the second word "THINGS" is set also on the first line, going way past the 115mm line-length and indeed off the page. The paragraph has reasonable typesetting if you choose a smaller font-size (and therefore more text).
My experiments so far do give me the impression that boxesandglue is a little bit keen to go past the line-length, but this is the first example that seems so clearly wrong to me.
Crafty Girls font from Google Fonts, but also available here: https://gitlab.com/drj11/eft (not that this depends on the font much).

Thank you very much for the report and sorry for the late reply.
The line breaking algorithm in boxes and glues (and in TeX) does not like breaking underfull lines, it rather sticks out on the right margin. I should introduce an option for that (and also an option to increase the tolerance - the maximum inter-word spacing).
The first word has a width of 310,04 pt, the space 26,64 pt and the second word 443,62 pt, the maximum line width is 325.98 pt. It is much better to create a line break after the first word even if that would still lead to a ragged margin.
There is no short solution which I could offer except for font expansion, but this would be too much in this case IMO:
para.Settings[frontend.SettingFontExpansion] = 1.05

(I also have to have a look why a setting of 1.05 adds so much shrinkage).

You really do not need to apologise for a late reply. ;)


Inappropriate behavior in button's onclick event

Problem
When using a for loop to draw the UI and create a structure that places a button underneath from dioxus-cli 0.6.0-alpha.3, The button's onclick event points to the second element of the for statement, not the button.
Steps To Reproduce
Steps to reproduce the behavior:

Place each element within the for statement
Place a button at the bottom of the for statement
Create onclick event on button
At this time, check if the onclick event is attached to the button when the button is clicked.

Expected behavior
onclick event is normally attached to the button
Screenshots
No event occurs when the button is clicked.
When option 2 is clicked, a click event is unintentionally triggered and a log is recorded.

When clicking button
https://github.com/user-attachments/assets/72ae348d-b811-411e-b0db-84df3c4e0b5d

Environment:

Dioxus version: 0.6.0-alpha.3
Rust version: 1.81.0
OS info: Ubuntu 22.04
App platform: web, fullstack

Questionnaire
That part is part of my code.
#![allow(non_snake_case)]

use dioxus::prelude::*;
use dioxus_logger::tracing;

#[derive(Clone, Routable, Debug, PartialEq, serde::Serialize, serde::Deserialize)]
enum Route {
    #[route("/")]
    Home {},
}

#![allow(non_snake_case)]

use dioxus::prelude::*;
use dioxus_logger::tracing;

#[derive(Clone, Routable, Debug, PartialEq, serde::Serialize, serde::Deserialize)]
enum Route {
    #[route("/")]
    Home {},
}

fn main() {
    // Init logger
    dioxus_logger::init(tracing::Level::INFO).expect("failed to init logger");
    tracing::info!("starting app");
    launch(App);
}

fn App() -> Element {
    rsx! {
        Router::<Route> {}
    }
}

#[component]
fn Home() -> Element {
    let mut count: Signal<i32> = use_signal(|| 2);
    let mut show_list: Signal<bool> = use_signal(|| true);
    rsx! {
        div {
            if !show_list() {
                button {
                    onclick: move |_| {
                        show_list.set(true);
                    },
                    "Show List"
                }
            } else {
                div {
                    button {
                        onclick: move |_| {
                            show_list.set(false);
                        },
                        "Hide List"
                    }
                }
                div {
                    for i in 0..count() {
                        div {
                            id: "LIST_{i}",
                            key: "LIST_{i}",
                            style: "width: 200px; background-color:green; margin-bottom: 10px; text-align:center; color:white; padding: 10px 0px;",
                            onclick: move |_| {
                                tracing::info!("LIST {} clicked", i);
                            },
                            "LIST NUM {i}"
                        }
                    }
                    div {
                        id: "ADD_LIST",
                        key: "ADD_LIST",
                        style: "width: 200px; background-color:blue; margin-bottom: 10px; text-align:center; color:white; padding: 10px 0px;",
                        onclick: move |_| {
                            tracing::info!("ADD LIST");
                            count += 1;
                        },
                        "ADD LIST"
                    }
                }
            }
        }
    }

If I try to render that function as a conditional statement, and use a for loop to create the element and add a button below that part, the onclick event doesn't work properly.
It looks like the onclick event is not attached to the button, but to the second element in the for loop.
Wrapping the entire for loop in a div or removing the conditional seemed to work fine.
I'm raising this as an issue ticket because I'm curious as to whether that part was intentional.

Maybe the same issue as https://github.com/DioxusLabs/dioxus/pull/3094

Take a close look at the code. You use this part twice
#![allow(non_snake_case)]

use dioxus::prelude::*;
use dioxus_logger::tracing;

#[derive(Clone, Routable, Debug, PartialEq, serde::Serialize, serde::Deserialize)]
enum Route {
    #[route("/")]
    Home {},
}

#![allow(non_snake_case)]

use dioxus::prelude::*;
use dioxus_logger::tracing;

#[derive(Clone, Routable, Debug, PartialEq, serde::Serialize, serde::Deserialize)]
enum Route {
    #[route("/")]
    Home {},
}

It works fine for me
dx --version
dioxus 0.6.0-alpha.3 (ef436e4)
Dioxus.toml
[dependencies]
dioxus = { git = "https://github.com/DioxusLabs/dioxus", features = ["router"] }
dioxus-logger = "0.5.1"
serde = { version = "1.0.213", features = ["derive"] }

[features]
web = ["dioxus/web"]

Code

#![allow(non_snake_case)]
use dioxus::prelude::*;
use dioxus_logger::tracing;

#[derive(Clone, Routable, Debug, PartialEq, serde::Serialize, serde::Deserialize)]
enum Route {
    #[route("/")]
    Home {},
}

fn main() {
    // Init logger
    dioxus_logger::init(tracing::Level::INFO).expect("failed to init logger");
    tracing::info!("starting app");
    launch(App);
}

fn App() -> Element {
    rsx! {
        Router::<Route> {}
    }
}

#[component]
fn Home() -> Element {
    let mut count: Signal<i32> = use_signal(|| 2);
    let mut show_list: Signal<bool> = use_signal(|| true);
    rsx! {
        div {
            if !show_list() {
                button {
                    onclick: move |_| {
                        show_list.set(true);
                    },
                    "Show List"
                }
            } else {
                div {
                    button {
                        onclick: move |_| {
                            show_list.set(false);
                        },
                        "Hide List"
                    }
                }
                div {
                    for i in 0..count() {
                        div {
                            id: "LIST_{i}",
                            key: "LIST_{i}",
                            style: "width: 200px; background-color:green; margin-bottom: 10px; text-align:center; color:white; padding: 10px 0px;",
                            onclick: move |_| {
                                tracing::info!("LIST {} clicked", i);
                            },
                            "LIST NUM {i}"
                        }
                    }
                    div {
                        id: "ADD_LIST",
                        key: "ADD_LIST",
                        style: "width: 200px; background-color:blue; margin-bottom: 10px; text-align:center; color:white; padding: 10px 0px;",
                        onclick: move |_| {
                            tracing::info!("ADD LIST");
                            count += 1;
                        },
                        "ADD LIST"
                    }
                }
            }
        }
    }
}

https://github.com/user-attachments/assets/6a34e4b3-46ab-4720-8381-ee5d9aaa272c

@RustGrow Ok, I will close and test it. Thank you!


Feature user search by app

Filter the search by last login to take into account the selected application.

The search works fine, but it behaves a bit differently than the existing "search by application role" feature which may create some confusion:

Old: Search by application only works if you specify roles.
New: Search by application only works if you specify roles, unless you specify a last log-in date, in which case search by application works without specifying roles.

To make the search behaviour consistent, we'd have to change either the frontend of backend:

To make it consistent on the backend, we'd have to filter by application only when roles are specify.
Or to make it consistent on the frontend, we'd have to filter by application even if no roles were selected.


A typo in the 2x2 widget

Hello, just want to say that there's a typo in the 2x2 widget saying "Toady" instead of "Today", a minor issue but i hope it can be fixed, thx :)

Oh, this bug is my mistake. I will fix on next update. Thanks to report bug   x~x


Post not showing up on PWA

This post (https://2018.europe.wordcamp.org/2018/01/31/meet-the-media-partners-and-supporters/) is not showing up on the PWA (https://ssr.wp-pwa.com/?siteId=7HPcSP8pXXh4ECq6P&env=prod)

Fixed at https://github.com/wp-pwa/saturn-theme/commit/dee3d48351557c733103d544708e22fcc65ac9cd.


logging-env

It would be great to have a MINION_LOG_LEVEL environment variable to control the default logging level.
The current karaf.log default is way to noisy for production usage.

Thank you for the feedback and your PR. We have some similar discussions introducing changing configs during runtime vs. injecting configs. The talk we had in opennms-forge/docker-horizon-core-web#33 has some similar discussion. What do you think about it?

Resolved by using etc-overlay


Regression: the Down key now reports "Unbound key: Down"

Commit 6f47909c, merged 2017-02-11, introduced a regression. Prior to that commit pressing the Down key when at the end of the command history would output "End of history" (that message was introduced by commit 0dc0fce merged 2016-04-06). After that commit nothing is output. At least until commit 4187d41da, merged 2023-03-03, which causes "Unbound key: Down" to be output. The new "Unbound key: Down" message caused an Elvish user to wonder if there was a problem with their Elvish installation.

Sigh! My previous diagnosis was wrong because I didn't account for other major changes to the source since commit https://github.com/elves/elvish/commit/6f47909c20cc027ae0c586cfafd6f51c64c5f2a9 that invalidated my initial search. It appears the actual regression was introduced by commit 837f124f1, merged 2018-01-03, that moved the default bindings from hardcoded Go code to an embedded Elvish script. Specifically file eval/bundled/binding.elv.go introduced by that commit.


1.10.2 tag reports it's 1.10.1

https://github.com/JFrogDev/jfrog-cli-go/blob/1.10.2/jfrog-cli/utils/cliutils/utils.go#L140
func GetVersion() string {
	return "1.10.1"
}

So the test block in the Homebrew formula fails since it's validating the version.

Looks like it was retagged and is OK now.


"Termination" responses for ICMP/UDP traceroutes

Are you going to implement the "final" packet that terminates the traceroute?
Side note: I also have this "words in traceroute" thing on my own PI space (website, source code), so you could use that as an inspiration :)

From experience only windows really needs it, do you know of others?
On Fri, 12 Feb 2021, 02:53 Peter H. Jin<EMAIL_ADDRESS>wrote:

Are you going to implement the "final" packet that terminates the
traceroute?
Side note: I also have this "words in traceroute" thing on my own PI space
(website https://www.peterjin.org/wiki/Traceroute_Text_Generator, source
code https://git.peterjin.org/_/traceroute-text-generator), so you
could use that as an inspiration :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/benjojo/traceroute-haiku/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALPK4WGBEYH6VHBWG23O3TS6SJZBANCNFSM4XP6HROQ
.

I know that many of the online "looking glasses" need them, otherwise they'll just say "timeout".
The reason why I'm saying this is because I actually tried to "overlay" my own implementation (the same one I linked to previously in the above message) on your IPv6 addresses, and it just appears to look much nicer:

You can probably do the same by sending "ICMP Net Unreachable", "Administratively Prohibited" or similar to terminate it, just like how I handled this problem when I first wrote Traceroute Text Generator (it's actually not too different than generating ICMP Time Exceeded responses, as only the type and code numbers are different)
Be aware that if you do that, then the :4 hop will not be visible in Windows. You could mitigate this by using the :5 address as the target instead.

Also, I use "traceroute", not "mtr"


Fix setuptools link in intro.rst

Would you like to fix your commit so it correctly associates with your account? You've used an email that's not associated with your account.

Oops sorry, committed on my work account. Should be fixed

Why did you close this?


Add Zalo recipe

Zalo is best OTT application in Vietnam and it is currently missing.
Could you review and approve it!
Thank you!

yes, zalo is needed


Bugfix For handover App

Fix for handover status never update on dropdatabase fail
Fix for Compara dispatch trigger error UI
Multiple selection to delete handover token

Please could you add corresponding unit test, if possible?

It require to setup mysql,  i will make sure this test case covers in up coming PR


testutil, storage: use math/rand.Read where possible

Use the much faster math/rand.Read function where cryptographic
guarantees are not required. The unit test suite should speed up a
little bit but we've already optimized around this, so it may not
matter.
Signed-off-by: Stephen J Day<EMAIL_ADDRESS>

LGTM

Current coverage is 52.62% (diff: 100%)

Merging #1892 into master will decrease coverage by 9.98%

@@             master      #1892   diff @@
==========================================
  Files           121        120      -1
  Lines         10620      10573     -47
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6649       5564   -1085
- Misses         3099       4269   +1170
+ Partials        872        740    -132

Powered by Codecov. Last update bfa0a9c...1491404

Nice find, worth noting the math/rand reader is fairly recent to Go.
LGTM

@dmcgowan @RichardScothern Compilation errors fixed. Looks like we got a slight performance bump.

LGTM

@stevvooe 👍 🙇


Consider including support for KHR_lights

Once the draft extension is finalized, it might be worth including support for KHR_lights here.

I was using the reference shader here mostly as-is, and wanted to try getting punctual lights to work.
With a bit of refactoring, I got it separated so that I can cleanly toggle between IBL and Punctual or both/neither - but I'm really lost about adding the specific code for directional, spot, and point lights.
Here's the latest commit: https://github.com/dakom/pure3d/blob/9c0372987603a4643ad33d02cd9b92992a36f1c2/src/lib/internal/gltf/shaders/Gltf-Pbr-Shader-Fragment.glsl#L299
getDirectionalLight() seems to work (though the intensity is just a multiplier)... getPointLight() is just a copy I was playing with before this commit - but now it's basically just a duplicate.
There's a hint there about how it will differ in my actual implementation, e.g. with the dynamic variables - but if I could get it working with hardcoded values then it should be possible to just contribute it back into this repo without the dynamic lighting stuff.
Anyway - help is greatly appreciated.... even if just advice. I'm especially concerned that there might be something baked into the original approach which prevents using lights like this (e.g. requiring vectors be normalized)
I'm hoping that it's just a matter of fixing those up and then calling them with color += for each light... shrug

Cool, by looking at https://learnopengl.com/PBR/Lighting I made a few changes here which seem to be working so far
This is probably bread-and-butter for y'all but it might be helpful to have some more info lurking around, in case anyone else ends up here...
So far directional light and point light seem to be working, as well as adding them up with the IBL
However - I'm still confused how to add the IBL without a directional light. For now I just hardcoded a default value independant of the KHR/Punctual lights.
If someone could take a look at either repo and advise how to calculate the IBL without a directional light, I'd appreciate it!
Thanks :)

@dakom thanks for your effort, I'll ask around if anyone can take a look.  Perhaps @emackey, @snagy, or others.

Thanks @pjcozzi !
FYI I deleted and edited some of my questions above to keep the discussion focused on implementing lighting for this reference shader - since I'm seeing some of my questions were kinda basic/general :)
(though if someone happens to know how I can get a direction vector from a light object's transformation matrix or quaternion, independent of position - e.g. for a directional light, I'd love to know... been like 6 hours and I'm still not getting it right hehe)

@dakom None of the light-dependent members of the pbrInputs struct are actually used in the IBL contribution; either using a dummy light vector or writing a new version that just has the view & surface dependent values should do what you want.  (just to make sure I'm answering the right question...you want to call getIBLContribution without having a light in the scene, right?)

Oh, @snagy you're 100% right - I missed that NdotV and reflection didn't actually depend on the example directional light at all.
I've updated my adaptation to separate those values out and the IBL works fine without punctual lights.
Thanks!


Cannot be used with AWS Gov Cloud fails on secret and access key input.

Tried connecting a govt cloud aws account but the secret and acess keys never ask if you want to change to govt cloud and fail login in.

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

ID: 3bf4839c-f4e3-5808-c608-f2795f7b640d
Version Independent ID: 3ccbc129-d930-eb79-a034-365b89f88a13
Content: Connect Amazon Web Services with Cloud App Security
Content Source: CloudAppSecurityDocs/connect-aws-to-microsoft-cloud-app-security.md
Service: cloud-app-security
GitHub Login: @shsagir
Microsoft Alias: shsagir

Thanks for contacting Microsoft about your issue. As we understand it, you're describing a problem with the product itself and not with the product documentation.
However, the following information may be helpful to you:

Microsoft Cloud App Security for US Government GCC High

To get assistance or support for your product issue, please open a support ticket.


A Better Service Experience

Even though using Jellyfin as a Windows service is not recommended, we should take steps to improve this to be more robust for the future.
Improve the Service Host

[ ] Use the tray app as a foundation for a new Service Host app, removing NSSM

[ ] New service host should start the process in the background (no EditBin hack needed)

Temporary Fixes

[x] Use correct format for Network Service account in NSSM (#39)

Improve Logging

[ ] Write to Windows Event log in any error case

This is part of a larger restructuring effort to improve the experience on Windows.

It has extensions functionality which allow for it to be extended in many different ways, including a providing a tray icon.
It also planning several enhancement features which will improve security of the wrapped service programs. Also using a tray icon as a service host isn't recommended for several Windows environments, they tend to get disabled as their launching slows system operating down. Plus they only start when user is logged on, however if they are started from WinSW via an extension then it may not be as bad.
It has deferred file operation functionality which can be of extreme use to Jellyfin. This functionality allows for the possibility to defer the updating of files, while a wrapped program is running.

It also causes my anti-malware system to eventually evaluate the impact of the program running from a shortcut in startup group, or from registry in startup and operating speed. Running as actual Windows Service isn't evaluated as it doesn't have an impact on startup speed, also they run when user isn't logged on.

Your current idea of using tray icons also can potentially be a source of problems if running on a host environment which is based around Windows Server Core (e.g. Windows Server 2012 Core, Windows Server 2012 R2 Core, Windows Server 2016 Core, Windows Server 2019 Core etc). As there's no tray area under this environment due not having a full desktop environment install currently.

It has extensions functionality which allow for it to be extended in many different ways, including a providing a tray icon.

I'm sorry, what are you referring to here?
I'll address the other comments shortly.

It has extensions functionality which allow for it to be extended in many different ways, including a providing a tray icon.

I'm sorry, what are you referring to here?
I'll address the other comments shortly.

I mean you can extend the functionality of WinSW with extensions as needed to add any needed functionality.

@MrGrymReaper Okay, I see now that you are referring to WinSW. The way your comment was phrased didn't make this clear at first.
Before we continue, let me explain my comment further. In the initial issue post:

Even though using Jellyfin as a Windows service is not recommended

Right now we're the unwilling victims of an FFmpeg bug where if FFmpeg is called by an application without access to a desktop environment, it will not be able to run with Hardware Acceleration. For reference, see:

FFmpeg Windows version with QSV hwaccel fails over TERMINAL
Intel QSV: "Failed to create Direct3D device" on Core i7-7700K (Skylake) on Windows 10
Direct3D 9 is not supported in the context of a Windows service

It is also planning several enhancement features which will improve security of the wrapped service programs.

Could you highlight what would be beneficial here? On the one hand, we want to move away from external dependencies as much as we can.

Also using a tray icon as a service host isn't recommended for several Windows environments...

Apologies, I wasn't clear here. I'm not saying we will have a tray icon that launches the service, I want to use the code of the app to write a utility that launches Jellyfin in the background, to be used as a service. In practice, that's basically just these lines:
Process p = new Process();
p.StartInfo.FileName = _executableFile;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.Arguments = "--noautorunwebapp --datadir \"" + _dataFolder + "\"";
p.Start();

... tend to get disabled... ...only start when user is logged on...

That's the goal here, to make sure it starts in all occasions in a reliable manner. We had thought of some alternatives before (https://github.com/jellyfin/jellyfin/issues/1953), but as I've said, I want to get away from hacks and having to ship two copies of the executable (one that launches silently and one that doesn't). If we control the "launcher", then we can also have it share frameworks that are already in place (see https://github.com/jellyfin/jellyfin-server-windows/issues/28). If you look at how WinSW is built (WinSW build.yml), you'll see they're using the same options we did when building the tray app (ref .csproj). We've had so many issues with Publish Single File, that I've had to make a dedicated issue about it (see https://github.com/jellyfin/jellyfin-server-windows/issues/27, and I would link all the other issues and threads, but it's not worth it).

...inbuilt support for mapping SMB shares or other shares...

Is this referring to sharedDirectoryMapper, and https://github.com/winsw/winsw/issues/538? I will agree that getting shares accessible by the account running the service is tricky, but again, I don't know about introducing a whole dependency for this. I would also want the concerns in 538 to be addressed (and https://github.com/winsw/winsw/issues/439) for that matter.

It has deferred file operation functionality which can be of extreme use to Jellyfin.
Is this about automatic updating for Jellyfin? I want to make it super optional, and I've got another thread to talk about it: https://github.com/jellyfin/jellyfin-server-windows/issues/30. The key point would be to have a notification first (which would probably be of best use in the server, with a notification/banner in the dashboard). Haven't thought about the mechanism to do it with yet. The automatic updating of WinSW, though potentially useful, would mean I'd have to recreate the config file based on settings, from the server, and potentially re-install the service. Not great.

...nsis installer can easily generate the required config file... ... run the appropriate service install action...

Yes, but I also can run commands to do this directly with Windows, bypassing WinSW.

...running from a shortcut in startup group... / ...from registry in startup... / ...Running as actual Windows Service...  ...run when user isn't logged on.

It's not, but you knew that. / That's how it's done now, which is why I want to improve this. But, that's only for the tray icon when not in service mode. / That's the goal, and how our current NSSM solution works now (though it's still not great).

...source of problems if running on a host environment which is based around Windows Server Core...

As per above, I'm not planning to run a tray icon to run the service.
I'm open to ideas, but hopefully this explains some of the motivation behind this, and also provides some understanding of the challenges we face making a software program that is both powerful, and developed in our spare time 😄

What version of ffmpeg is being used currently as a base for your build? Is it version of ffmpeg 4.1 or newer (preferably 4.2 or a spin off of the git) as the issue may have, been fixed there. Which you reference to in regards to DirectX 9 as practically every fairly new device's GPU now has at least DirectX 11 support present.

What version of ffmpeg is being used currently as a base for your build?

We currently ship a customized FFmpeg for Windows, because it needed to include a fix for segment muxing, which we haven't been able to get upstream yet.

Is it version of ffmpeg 4.1 or newer (preferably 4.2 or a spin off of the git)...

It's 4.2.1.

as the issue may have, been fixed there.

It hasn't. See https://trac.ffmpeg.org/ticket/7933 (which has a possible solution in comment 3).

Which you reference to in regards to DirectX 9 as practically every fairly new device's GPU now has at least DirectX 11 support present.

GPUs do, but FFmpeg doesn't do that in Intel QSV init, which is the problem. See https://trac.ffmpeg.org/ticket/7511 again, specifically comments 8 & 9.

Manually copying over the following DDLs (from the Windows Server Installation Media, Sources\install.wim file opened in 7-Zip,  check in various single-number folders representing different versions until you locate the one with Desktop Experience, mine was 4) makes the Jellyfin Server work properly on Windows Server Core (2022 Insider Preview) installed as a service. Some might not necessarily be needed, but since it works now, I have no intention of experimenting anymore.
System32 and SysWOW64 folders, each its own copies from the installation media (above):

avicap32.dll
ddraw.dll
dsound.dll
dxva2.dll
glu32.dll
mfplat.dll
MFPlay.dll
msvfw32.dll
opengl32.dll


Myapps portal is not working in Edge

Reference:
https://docs.microsoft.com/en-us/azure/active-directory/user-help/my-apps-portal-end-user-access
We have observed endless looping while trying to log in to Myapplications portal using Microsoft Edge browser.
It is ended in loops. There are some reason mentioned in MS site but we tried all clearing chache and all but it did not work out.
Can you please help us to resolve it. It is perfectly working in chrome.

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

ID: 40b408ce-fede-ac0a-c72f-40cc02e92889
Version Independent ID: 11a28662-f373-61ca-aff3-300d2019d2ff
Content: Locate & use apps on the My Apps portal - Azure AD
Content Source: articles/active-directory/user-help/my-apps-portal-end-user-access.md
Service: active-directory
Sub-service: user-help
GitHub Login: @curtand
Microsoft Alias: curtand

@MonikaReddy-MSFT @vipulsparsh  please comment if you can help.
Also anyone can help please comment here.

@AmitavaHazra -
Thanks for brining this to our attention and for looping me in. We will investigate it further and update you shortly.

Hi @AmitavaHazra
Thanks for the feedback! Are you using the legacy Edge or the newer Chromium based Edge browser? Also, what version of the Edge browser are you using?

@curtand  please find my edge version. It is legacy edge . Microsoft Edge 42.17134.1098.0 / Microsoft EdgeHTML 17.17134

Hi @AmitavaHazra,
I have learned that this is a known bug with that version. The workarounds are:

Upgrade to Edge Chromium, which works and is our Edge platform going forward
Upgrade to the legacy version Microsoft Edge 44.18362.449.0, which is working as far as I could ascertain. Microsoft offers free VMs for testing edge 44 here: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
Use another browser such as Chrome or Firefox.

If I can find out about a code deployment for a fix I'll add it to this issue.

@curtand  - Thank you for providing your insights.
@AmitavaHazra - I hope @curtand has answered your question.
At this moment, Since there is no doc update required, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@curtand , thanks for clarification.
@MonikaReddy-MSFT  , Thanks for nice co-ordination.


Open external links in new tab

closes #1443

coverage: 84.862% (-0.008%) from 84.87%
when pulling e3cf4e82043554b3bbb44c858ed6be30d90c8347 on external-links-target-blank
into 6a86a2b75bbfedc69d84c438127500359ceeef5c on main.


The value of the FRC map is all NaN

When I use eSRRF->Parameters sweep-->Calculate FRC, the value of the FRC map is all NaN, I am confused about why this is happening, and is there any way to avoid or solve it, I would appreciate it if you could answer me.

Hi, could you try again with a different crop of the image? This sometimes happens if the FRC estimation is not able to optimize. If it only happens for single parameter pairs in the sweep those will be disregarded, but if it happens for the whole sweep, either your parameter range is very off or your image area does not fit well.

Thank you very much for your reply. Now I have some confusion about calculating FRC and error maps, if we have 1k frames raw image sequence, and we split raw data into odd/even frames and reconstruct it (500 frames), is the corresponding raw sequence also reconstruct with 500 frames? Compare error maps with this result(500 frames)?  It means that 1000 frames are divided into odd (500)/even (500) frames to calculate the resolution value, should we also choose frame number 500 for raw image sequence reconstruction? I would appreciate it if you could help me.

Hi,
you always need the double amount of frames for the parameter sweep and it will for example only create a reconstruction out of 500 of the 1000 frames. In the final reconstruction you can use the information of all 1000 fr, this could give slightly better results. Maybe there is no detectable difference, just try it.

Thanks for the reply, I'll try it. So this means that the input of 1000 frames is actually calculated at the FRC resolution of 500 frames reconstruction?


crypto: Add a validation test for sui-operation keystores

Description
Add validation test for keys in sui-operations.
Test Plan
unit test
If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

the other question, however is how we rmr to update this file as well when we update the addresses/keys in sui-op repo

to address more properly requires moving all the config into sui and the ability to run CI for sui-operations on sui PR. i think this will be addressed when we migrate away from github actions.


_config.yml spelling error?

Hello! I think I might've found a spelling error of Jekyll in _config.yml, but I'm not sure if it is intended.
To fix it, change the first line from
# Jykell configuration
to
# Jekyll configuration

Fixed https://github.com/jekyller/jasper/commit/85957a9b5907dcf5d2cb1ea5f0166a4b50f600e1


escodegen 1.7 breaks esmangle

The latest published version 1.7.0 seems to break the current esmangle:
git clone git@github.com:estools/esmangle.git
cd esmangle
npm install
npm view escodegen version  # shows that 1.7.0 was installed
npm test

The test test/compare/escapeless.js would fail.

If esmangle's package.json is patched so that only escodegen 1.6.x is being used:
diff --git a/package.json b/package.json
index 9094da3..f762d98 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
   },
   "dependencies": {
     "camel-case": "^1.1.2",
-    "escodegen": "^1.6.1",
+    "escodegen": "~1.6.1",
     "escope": "~2.0.6",
     "esprima": "^2.0.0",
     "esshorten": "~1.1.0",

then all the tests continue to pass.


Compute jacobians in local world oriented frame

Hi folks,
at this point the jacobians can be computed in the world or local frame. I propose to add another reference frame that is the local_cartesian_oriented frame. This is useful when dealing with point contacts.
The code to compute this boils down to:
        jac = se3.getFrameJacobian(self.model, self.data, index, se3.ReferenceFrame.LOCAL)
        world_R_joint = se3.SE3(self.data.oMf[index].rotation, zero(3))
        return world_R_joint.action.dot(jac)

As this is a convenient method to have, I would like to add it to the pinocchio se3/RobotWrapper Jacobian's C++ API but would like to get feedback of adding a PR with this feature has changes to getting accepted.
Best,
Julian

This feature is mainly worthy when you want to track a velocity field expressed at the origin of the moving frame, but with quantities expressed in the world axis.
It can then be worthy to have it, but it will also means that we will lose the fondamental relations that:
Jworld_body_i = oMi.act(Jlocal_body_i)
Then, the documentation has to be pretty clear on this point.

I would love to see more support for the traditional Cartesian way of understanding frames.

@jviereck Are you still willing to implement this feature?

@jcarpent, if someone else jumps on it, I would not mind. Otherwise I want to make a first few steps on Friday.

From my side, I may help by reviewing the code and providing some hints if needed.
Maybe @gabrielebndn would like to do it?

I like the idea and I approve of it fully, but I am quite busy with a lot of stuff at the moment :)
I have just a few recommendations:

if you do it for the frames, do not forget doing it for the joints too
I think the best way to do it would be adding another element to the enum called ReferenceFrame and take the new value into account inside the existing functions

Solved by #781


Theme Submission: Streamer Theme

I am submitting a theme called Streamer Theme

Haven't seen a theme tailored for streaming like this before, great idea!


Problem when I try to train this model

Thanks for your great work. Now I meet some problem when I try to train this model.
I get this error message : Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
I can evaluate in this model without mistake, but I can not make a train

change the version of gcc to 5


Dataset add crypto

doing Dataset.get("BTC") should return a TimeSeries with only the BTC ticker, but this is not what happens here.
It will return the first component due to this line here
Please add expected behavior


Update for use with latest Globalize, Moment 2.9.0 and cldrjs 0.4.1

done :)

We need @ichernev input.

What is the status here? Is this still comming?


Working on 3.1

REMEMBER TO UPDATE THE BRANCH ALIAS AFTER MERGE

After merge, I can make a release-3.1.0 branch and update the change log, then we can merge and tag.

Merging since this stuff has already been reviewed.


Build fails when adding bugger as a dependency

When i try to run a build on Travis CI, i always get an error as soon as i add bugger 2.3.0 to my package.json.
I am using node v6.7 with npm v3.10.3 on a linux machine (default Travis CI environment for node js projects).
><EMAIL_ADDRESS>preinstall /home/travis/build/DND-IT/cms-frontend/node_modules/.staging/v8-profiler-a67146e1
> node -e 'process.exit(0)'
><EMAIL_ADDRESS>install /home/travis/build/DND-IT/cms-frontend/node_modules/bufferutil
> node-gyp rebuild
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory `/home/travis/build/DND-IT/cms-frontend/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
In file included from ../src/bufferutil.cc:7:0:
/home/travis/.node-gyp/6.7.0/include/node/v8.h:345:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/6.7.0/include/node/v8.h:481:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/6.7.0/include/node/v8.h:882:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/6.7.0/include/node/v8.h:5431:35: error: ‘virtual v8::EmbedderHeapTracer::~EmbedderHeapTracer()’ declared virtual cannot be defaulted in the class body
In file included from ../../nan/nan.h:190:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’
../../nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’
../../nan/nan_maybe_43_inl.h:19:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:24:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:59:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:64:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:69:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:76:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:83:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:91:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:98:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:108:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:114:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:118:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:125:1: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:130:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:135:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:139:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:145:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:150:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:156:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:162:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:168:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:174:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:180:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:186:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:194:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:201:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:205:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:209:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:213:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:217:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:237:8: error: ‘MaybeLocal’ does not name a type
In file included from ../../nan/nan.h:195:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type
../../nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type
../../nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:46:1: error: ‘return_t’ does not name a type
In file included from ../../nan/nan_converters.h:59:0,
                 from ../../nan/nan.h:195,
                 from ../src/bufferutil.cc:16:
../../nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type
../../nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type
../../nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type
../../nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type
../../nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type
../../nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type
../../nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type
../../nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type
../../nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type
../../nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long int>’ does not name a type
../../nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type
../../nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a type
In file included from ../../nan/nan.h:196:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:
../../nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h:21:32: note: candidate is:
../../nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:
../../nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h:28:30: note: candidate is:
../../nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:
../../nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h:35:31: note: candidate is:
../../nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../../nan/nan_new.h: At global scope:
../../nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type
../../nan/nan_new.h:75:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:141:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:147:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:148:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:160:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:161:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:162:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:163:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:165:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:166:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:182:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:183:17: error: ‘return_t’ does not name a type
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:196,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h:61:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan_implementation_12_inl.h:95:46: error: ‘NewInstance’ was not declared in this scope
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:
../../nan/nan_implementation_12_inl.h:123:48: error: ‘NewInstance’ was not declared in this scope
../../nan/nan_implementation_12_inl.h: At global scope:
../../nan/nan_implementation_12_inl.h:202:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type
../../nan/nan_implementation_12_inl.h:221:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type
../../nan/nan_implementation_12_inl.h:227:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type
../../nan/nan_implementation_12_inl.h:259:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:267:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:273:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:280:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:352:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type
../../nan/nan_implementation_12_inl.h:359:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type
In file included from ../../nan/nan.h:196:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_new.h:293:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:299:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:305:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:311:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:317:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:323:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:329:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:335:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
../../nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:
../../nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:
../../nan/nan.h:656:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:
../../nan/nan.h:656:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:
../../nan/nan.h:657:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:
../../nan/nan.h:657:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:
../../nan/nan.h:658:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:
../../nan/nan.h:658:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:
../../nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:
../../nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: At global scope:
../../nan/nan.h:667:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:689:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:705:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:718:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:735:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:741:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:749:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:756:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:762:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1507:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1525:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:
../../nan/nan.h:1559:58: error: no matching function for call to ‘New(const char*)’
../../nan/nan.h:1559:58: note: candidates are:
../../nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../../nan/nan_implementation_12_inl.h:400:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../../nan/nan_implementation_12_inl.h:405:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../../nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../../nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../../nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../../nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../../nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../../nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../../nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../../nan/nan.h: In function ‘void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...)’:
../../nan/nan.h:1870:34: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]
../../nan/nan.h:1870:34: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../nan/nan.h: In function ‘void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback)’:
../../nan/nan.h:1882:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:
../../nan/nan.h:1897:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
../../nan/nan.h:1922:47: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:1965:51: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:
../../nan/nan.h:2024:47: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:
../../nan/nan.h:2094:47: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan.h:2149:47: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan.h:2171:47: error: ‘NewInstance’ was not declared in this scope
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:
../../nan/nan.h:2198:35: error: no matching function for call to ‘New(const char*&)’
../../nan/nan.h:2198:35: note: candidates are:
../../nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../../nan/nan_implementation_12_inl.h:400:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../../nan/nan_implementation_12_inl.h:405:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../../nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../../nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../../nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../../nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../../nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../../nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../../nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../../nan/nan.h:2199:47: error: ‘GetFunction’ was not declared in this scope
../../nan/nan.h:2199:65: error: ‘Set’ was not declared in this scope
../../nan/nan.h:2199:65: note: suggested alternative:
/home/travis/.node-gyp/6.7.0/include/node/v8.h:3087:17: note:   ‘v8::Set’
../../nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:
../../nan/nan.h:2206:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’
../../nan/nan.h:2206:30: note: candidate is:
../../nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../../nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:
../../nan/nan.h:2219:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:
../../nan/nan.h:2225:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: At global scope:
../../nan/nan.h:2249:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:2254:40: error: ‘MaybeLocal’ was not declared in this scope
../../nan/nan.h:2254:40: note: suggested alternative:
/home/travis/.node-gyp/6.7.0/include/node/v8.h:115:7: note:   ‘v8::MaybeLocal’
../../nan/nan.h:2254:52: error: template argument 1 is invalid
../../nan/nan.h:2254:54: error: expected unqualified-id before ‘>’ token
../../nan/nan.h:2263:1: error: ‘MaybeLocal’ does not name a type
../src/bufferutil.cc:25:30: error: ‘v8::Handle’ has not been declared
../src/bufferutil.cc:25:36: error: expected ‘,’ or ‘...’ before ‘<’ token
../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(int)’:
../src/bufferutil.cc:33:5: error: ‘Set’ is not a member of ‘Nan’
../src/bufferutil.cc:33:5: note: suggested alternatives:
/home/travis/.node-gyp/6.7.0/include/node/v8.h:3087:17: note:   ‘v8::Set’
/home/travis/.node-gyp/6.7.0/include/node/v8.h:3087:17: note:   ‘v8::Set’
../src/bufferutil.cc:33:14: error: ‘target’ was not declared in this scope
../src/bufferutil.cc:33:51: error: no matching function for call to ‘New(const char [11])’
../src/bufferutil.cc:33:51: note: candidates are:
../../nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../../nan/nan_implementation_12_inl.h:400:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../../nan/nan_implementation_12_inl.h:405:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../../nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../../nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../../nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../../nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../../nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../../nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../../nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../src/bufferutil.cc: At global scope:
../src/bufferutil.cc:114:12: error: variable or field ‘init’ declared void
../src/bufferutil.cc:114:12: error: ‘Handle’ was not declared in this scope
../src/bufferutil.cc:114:25: error: expected primary-expression before ‘>’ token
../src/bufferutil.cc:114:27: error: ‘target’ was not declared in this scope
../src/bufferutil.cc:120:1: error: ‘init’ was not declared in this scope
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory `/home/travis/build/DND-IT/cms-frontend/node_modules/bufferutil/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/travis/.nvm/versions/node/v6.7.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 3.13.0-40-generic
gyp ERR! command "/home/travis/.nvm/versions/node/v6.7.0/bin/node" "/home/travis/.nvm/versions/node/v6.7.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/travis/build/DND-IT/cms-frontend/node_modules/bufferutil
gyp ERR! node -v v6.7.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS><EMAIL_ADDRESS>install: `node-gyp rebuild`
npm WARN<EMAIL_ADDRESS>Exit status 1

Solved: https://github.com/travis-ci/travis-ci/issues/6757#issuecomment-255063039


PYIC-1065: Lambda and API gateway logs to Splunk

Proposed changes
What changed
Add CloudFormation resources to start sending our lambda application
logs and API gateway access logs to Splunk.
Why did it change
For the API gateway logs I've reused the JSON format we have defined for
the core-front Fargate API gateway logs, for consistency. The only
difference is the addition of responseLatency which could be helpful
when looking at slow lambdas.
For the lambdas I've explicitly declared a log group resource even
though lambda creates one for you. This is because the lambda created
log groups will store messages indefinitely by default. You can change
this by declaring the log group yourself. As long as the name is the
same as the log group lambda creates and writes to, the function should
write to this new log group. It will be interesting to see if these log
groups deploy cleanly, considering they already exist...
The subscription filters are taking the logs from the newly created log
groups and sending them to Cyber's Centralised Security Logging Service
(CSLS) Kinesis data stream. This is the recommended way of getting our
logs to Splunk. See here for more details:
https://github.com/alphagov/centralised-security-logging-service
Issue tracking

PYIC-1065

Hey Chris, nice work. I've tried applying this to my dev environment and it fails as you guessed because the log groups already exist. Given we're not live we could delete the stacks (will need to remove the param stack since it imports and export from the core-back stack) and recreate 😢  . I'm guessing you've not deployed this into your dev environment yet? I think is worth doing so just to make sure the logging works as expected before going to the effort of deploying this into build and beyond (I'm also wondering if it will actually work even if the stack doesn't already exist since if we explicitly define the log group and the AWS::Serverless::Function expands to also create the same log group, will the stack fail anyway?)


Hide or remove the back navigation button on Desktop

Desktop browsers already offer navigation buttons

Going to close. I want to let it breathe more and use it for a few weeks.
This is deeper thing than "there's another way to get the same behavior."


Provide warning if command is not immediately proceeded by '('

Without this patch, parsing 'command_name (' will cause an exception.
This change means the offending command will be ignored and a helpful warning
will be given.
Doing this instead of just ignoring the whitespace lets us refer to commands
in a test file without the command being parsed.
Note: Warnings can be suppresed with -w.
NOTE: Without a larger change/refactor I'm not sure how to make this less ugly.

Thinking about it, maybe it would make more sense to escape commands with '' and consume the whitespace instead of ignoring the command in the scenario outlined in the PR?

whitespace should be optional would be my preference, if I write '  <open_paran>' that should be the same as '<open_paran>'

I agree and think that this PR should be closed.
However, I still think we should be able to escape commands (e.g. \DexLabel() is ignored).


Workspace-On deleting debug report details, workspace chat avatar is shown fall back

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: V9. 0.69-0
Reproducible in staging?: Y
Reproducible in production?: Y
Issue reported by: Applause Internal Team
Action Performed:
Pre-condition:Enable debug mode

Go to https://staging.new.expensify.com/home
Go to workspace settings
Tap workspace - header - debug
Scroll down and tap delete
Navigate back to workspace settings
Note fall back avatar displayed for workspace
Tap on workspace
Note directed to hmm not here page
Navigate to workspace list page
Tap on workspace
Now note workspace chat is not displayed with fallback avatar and user id email id displayed instead workspace name
Tap on workspace chat
Tap back
Note workspace name shown correctly now

Expected Result:
On deleting debug report details, workspace chat avatar is must not be shown fall back and must not be directed to hmm not here page.
Actual Result:
On deleting debug report details, workspace chat avatar is shown fall back and directed to hmm not here page.
Workaround:
Unknown
Platforms:

[x] Android: Standalone
[x] Android: HybridApp
[x] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/452187e8-cf7d-470e-815d-18ca4a52365b

Add any screenshot/video evidence

View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
After deleting report from debug page, going back will show not found page. Also, the workspace chat in the workspace settings page is shown with fallback avatar.
What is the root cause of that problem?
When we delete the report, we use navigateToConciergeChatAndDeleteReport and pass shouldPopToTop (2nd param) as true.
https://github.com/Expensify/App/blob/3cc88f5a83a979c5e588e01065083a3d714e69da/src/pages/Debug/Report/DebugReportPage.tsx#L146-L149
shouldPopTop is supposed to pop all items until the top so the user is navigated back to the LHN.
https://github.com/Expensify/App/blob/3cc88f5a83a979c5e588e01065083a3d714e69da/src/libs/Navigation/Navigation.ts#L204-L206
However, in our case, we use this in a right modal navigator ([report details, debug]) and the pop to the top only pops all the screens from the right modal navigator and navigate to the concierge chat. The only screens left on the RHP is the report details page. When we go back from the concierge chat, we arrived at the report details page which the report is already deleted, so the not found page is shown.
For the 2nd issue, since the report is deleted, the fallback avatar is shown and we never hide the information when the report is not defined.
https://github.com/Expensify/App/blob/3cc88f5a83a979c5e588e01065083a3d714e69da/src/pages/workspace/WorkspaceInitialPage.tsx#L449-L462
What changes do you think we should make in order to solve the problem?

For the navigation issue, we have 2 options. First, we cam dismiss the RHP first before using navigateToConciergeChatAndDeleteReport without shouldPopToTop so going back from concierge chat will arrived at the workspace initial settings/details page.
Navigation.dismissModal();
navigateToConciergeChatAndDeleteReport(reportID, false, true);

The 2nd option is to fix the shouldPopToTop to perform the action on the root stack.
https://github.com/Expensify/App/blob/3cc88f5a83a979c5e588e01065083a3d714e69da/src/libs/Navigation/Navigation.ts#L212-L214
const rootState = navigationRef.getRootState();
navigationRef.current?.dispatch({...StackActions.popToTop(), target: rootState.key});

For the 2nd issue, we can prevent rendering the information if the report doesn't exist.
https://github.com/Expensify/App/blob/3cc88f5a83a979c5e588e01065083a3d714e69da/src/pages/workspace/WorkspaceInitialPage.tsx#L449-L462
{currentUserPolicyExpenseChat && ...}


Codeartifact

https://contractlive.atlassian.net/browse/SRE-807

Finally, we do not want to publish fork to codeartifact as it will require a lot of renaming and we will diverge from the main repo.


Naming in screen generators is different from demo screens, also casing issue

npx ignite-cli generate screen Calendar
create app/screens/calendar/calendarScreen.tsx

Name of the file in a different casing, should be CalendarScreen.tsx
I think should be used the same pattern as in the Demo project.

app/screens/CalendarScreen/CalendarScreen.tsx
app/screens/CalendarScreen/index.tsx

also noticed that import paths are wrong in the generated file, anyway it's useful and easy to adapt but anyway it's working not as expected.

@ryskin are you sure you aren't point at an old Ignite version, could you please post which you are using?
npx ignite-cli generate screen Calendar
results in this for me:
   Generated new files:
   C:\temp\PizzaApp\app\screens\CalendarScreen.tsx

hmm Ignite ignite-cli         7.15.0

yes, my bad, latest is 8.3.4
case is closed )


SNPs with 4 clusters within the joint call WGS data?

> library(snpStats)
> geno_path = "/mnt/vast/hpc/csg/molecular_phenotype_calling/genotype/ROSMAP_NIA_WGS.leftnorm.filtered.filtered.17"
> X_pl = read.plink(bed = paste(geno_path, ".bed", sep = ""),
+                   bim = paste(geno_path, ".bim", sep = ""),
+                   fam = paste(geno_path, ".fam", sep = ""))
>
> geno = unclass(X_pl$genotypes)
> print(dim(geno))
[1]   1160 450177
>
> unique(geno[,"chr17:49418427_C_CT"])
[1] 02 03 01 00
> table(as.numeric(geno[,"chr17:49418427_C_CT"]))

  0   1   2   3
 23 101 459 577

I checked this specific SNP which contains 4 categories. Potentially this could be issue of the R package reading, i.e., regarding the missing as categ 0.

Verified with the tensorQTL package, they also read four category of genotype. I presume -1 means NA.
genotype_df
plink_prefix_path = '/mnt/vast/hpc/csg/molecular_phenotype_calling/genotype/ROSMAP_NIA_WGS.leftnorm.filtered.filtered.17.bed'

pr = genotypeio.PlinkReader(plink_prefix_path)
genotype_df = pr.load_genotypes()
Mapping files: 100%|██████████| 3/3 [00:00<00:00,  3.15it/s]
)
set(genotype_df.loc['chr17:49418427_C_CT'])
{-1, 0, 1, 2}

Indeed, tensorQTL treat the missing genotype with mean imputation
def impute_mean(genotypes_t):
    """Impute missing genotypes to mean"""
    m = genotypes_t == -1
    ix = torch.nonzero(m, as_tuple=True)[0]
    if len(ix) > 0:
        a = genotypes_t.sum(1)
        b = m.sum(1).float()
        mu = (a + b) / (genotypes_t.shape[1] - b)
        genotypes_t[m] = mu[ix]


Add admin check functionality

Adds 2 templates to facilitate actions that require elevated permissions.
Templates have been split from the ping cog to make the codebase more navigable.
Summary by Sourcery
Add a new 'Templates' cog to separate command templates from the 'ping' cog, enhancing code organization. Include admin-specific command templates and update project documentation to acknowledge a new contributor.
New Features:

Introduce a new cog 'Templates' to provide command templates, including admin-specific commands.

Enhancements:

Refactor the codebase by moving template code from the 'ping' cog to a new 'templates' cog for better organization.

Documentation:

Update the README to include Zane Brotherton as a project contributor.

Closing, going to pull this branches commits into #4


align standalone behaviour of jumpToPage with pageSize

In https://github.com/BrandwatchLtd/tabler/pull/16 a fix was added to the pageSize plugin.
This PR applies the same fix to the jumpToPage plugin.

LGTM :+1:

Good job 👍


Add github workflow

This PR will setup github workflows to automatically run unit tests when new code gets pushed.

Hi Fullaxx. Do you know whether the workflow can be expanded to also run the tests with Clang? To be clear, I already manually compile and run both test suits in GCC, Clang, and MinGW before uploading any changes to the library, but there's no harm in running them again though an automated process for peace of mind.

Yes, I'm sure that it can. I can modify the run_unit_tests.sh to make it compile any way that you wish.
I didn't see a compile script or Makefile, so I just made one up.
The purpose of the github workflow is more of a double-check for anyone modifying the code,
the automated system will make sure that some basic tests are passed before code push or branch merge.
It will also give you the option of adding a badge to your README (if you desire)

my bad, It seems that clang++ was the missing link.


cordova google-plus signUp with id_token

i'm using EddyVerbruggen/cordova-plugin-googleplus in cordova, this cordova package provide id_token & how can i signUp using this id_token ?

using passport-google-id-token npm package (i don't know how to integrate it)
inside hook (like password send id_token from client) & http request to https://www.googleapis.com/oauth2/v3/tokeninfo with id_token to verify it in server, meteor integration

i saw #169, how i use passport-google-id-token for google ? is this possible ?

@HedCET yes it should work the exact same was as outline in #169 except that the params sent from the client should be the ones that are described in passport-google-id-token.

@ekryski is there any example ?

server
'use strict';

const authentication = require('feathers-authentication');

const FacebookStrategy = require('passport-facebook').Strategy;
const FacebookTokenStrategy = require('passport-facebook-token');

const GoogleStrategy = require('passport-google-oauth20').Strategy;
// const GoogleTokenStrategy = require('passport-google-token').Strategy;
const GoogleTokenStrategy = require('passport-google-id-token').Strategy;

module.exports = function() {
  const app = this;

  let config = app.get('auth');

  config.facebook.strategy = FacebookStrategy;
  config.facebook.tokenStrategy = FacebookTokenStrategy;

  config.google.strategy = GoogleStrategy;
  config.google.tokenStrategy = GoogleTokenStrategy;

  app.set('auth', config);

  app.configure(authentication(config));
};

client
    app = feathers(),
    socket = io();

  app
    .configure(feathers.socketio(socket))
    .configure(feathers.hooks())
    .configure(feathers.authentication({
      storage: window.localStorage
    }));

  app
    .authenticate({
      google_id: '108367951653523343594',
      id_token: '...',
      strategy: 'google-id-token'
    })
    .then(function(response) {
      console.log(response);
    })
    .catch(function(error) {
      console.log(error);
    });

i can't get the correct way of using it, pls help me

@HedCET Maybe post what you have done in a repo.  Since we are really busy (Feathers is built in our spare time), we need you to help us help you as much as possible.  :)

I might also add that without the extra effort on your part it kinda turns into a 1-on-1 training, which we can definitely do, but not for free since the time cost is high on our part.

i think its the issue with<EMAIL_ADDRESS>https://github.com/HedCET/Torrent-Alert-FEATHERS/blob/master/src/services/authentication/index.js

@ekryski can u pls help its not working
[config.json]{https://github.com/HedCET/Torrent-Alert-FEATHERS/blob/master/config/default.json}
{
  "auth": {
    "facebook": {
      "clientID": "clientID",
      "clientSecret": "clientSecret",
      "scope": ["email", "public_profile"]
    },
    "failureRedirect": false,
    "google": {
      "clientID": "731987698101-thavlbcphk9v1kco7l7bl3q70dph819m.apps.googleusercontent.com",
      "clientSecret": "JVs09s23ytqnolXkU-HEvBgU",
      "scope": ["profile"]
    },
    "google-id-token": {
      "clientID": "731987698101-thavlbcphk9v1kco7l7bl3q70dph819m.apps.googleusercontent.com",
      "clientSecret": "JVs09s23ytqnolXkU-HEvBgU"
    },
    "secret": "FEATHERS_AUTH_SECRET",
    "successRedirect": false
  },
  "host": "localhost",
  "nedb": "../data/",
  "port": 3000,
  "public": "../public/"
}

[authentication config @ hook]{https://github.com/HedCET/Torrent-Alert-FEATHERS/blob/master/src/services/authentication/index.js#L32}
  app
    .configure(authentication(app.get('auth')))
    .configure(jwt())
    .configure(local())
    // .configure(oauth1())
    .configure(oauth2({
      name: 'google-id-token',
      Strategy: GoogleTokenStrategy
    }));

index.html
  app.authenticate({
    id_token: '...',
    strategy: 'google-id-token'
  }).then(function(res) {
    console.log('response', res);

    return app.passport.verifyJWT(res.accessToken);
  }).catch(function(e) {
    console.log(e);
  });

@HedCET which version of the plugins are you using? You might want to try upgrading to v1.0.0. Looks like your config is slightly off. Likely it was from the generator. Please check the migration guide on how to update your config file.
It looks like everything else is correct. What is the error you are getting? I can't really help with just "It's not working". 😁
You can also try turning on debug mode. Lots of logs get spit out.
DEBUG=feathers-authentication* npm start


Fix error message if role is not found

Problem Statement
If role is not found the error message will generate
Please choose the role you would like to assume:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

The i will have been increased until array size, so the get(i) will always fail
Solution
Just display the searched role from parameter

Thanks for your contribution @loopingz!