Themes still use deprecated background_opacity field.

Describe the bug
Any terminal instances I open have a big yellow warning message at the bottom saying
Config warning: background_opacity is deprecated; use window.opacity instead

I could go to my ~/.config/alacritty/alacritty.yml and manually change the field, but it will revert everytime I run alacritty-themes to switch to another theme.
To Reproduce

Installation
yay -s alacritty-themes

Run alacritty-themes

Operative System:
Arch, Linux 5.15.19-1-lts
An example of a theme .yml file that alacritty-themes writes to ~/config/alacritty/alacritty.yml
colors:
  name: Atelierheath (dark)
  author: Chris Kempson
  primary:
    background: "#1b181b"
    foreground: "#ab9bab"
  cursor:
    text: "#1b181b"
    cursor: "#ab9bab"
  normal:
    black: "#1b181b"
    red: "#ca402b"
    green: "#379a37"
    yellow: "#bb8a35"
    blue: "#516aec"
    magenta: "#7b59c0"
    cyan: "#159393"
    white: "#ab9bab"
  bright:
    black: "#776977"
    red: "#ca402b"
    green: "#379a37"
    yellow: "#bb8a35"
    blue: "#516aec"
    magenta: "#7b59c0"
    cyan: "#159393"
    white: "#f7f3f7"

background_opacity: 0.8
theme: Atelierheath.dark
me: Default.light

Screenshots
Add screenshots to help explain your problem.

Hi @michaelmoreno, Thank you for opening this issue, you just need to change from background_opacity to the opacity attribute.
colors:
  name: Atelierheath (dark)
  author: Chris Kempson
  primary:
    background: "#1b181b"
    foreground: "#ab9bab"
  cursor:
    text: "#1b181b"
    cursor: "#ab9bab"
  normal:
    black: "#1b181b"
    red: "#ca402b"
    green: "#379a37"
    yellow: "#bb8a35"
    blue: "#516aec"
    magenta: "#7b59c0"
    cyan: "#159393"
    white: "#ab9bab"
  bright:
    black: "#776977"
    red: "#ca402b"
    green: "#379a37"
    yellow: "#bb8a35"
    blue: "#516aec"
    magenta: "#7b59c0"
    cyan: "#159393"
    white: "#f7f3f7"

opacity: 0.8
theme: Atelierheath.dark
me: Default.light

Update alacritty template https://github.com/rajasegar/alacritty-themes/pull/99


Add functionality

A friend of mine and I needed a Genshi template plugin for Django 1.8+ and at the time where we looked for it there was no git project. So we did our own plugin. A few days ago, we wanted to upload it to GitHub and discovered that you have done similar work (thanks). To avoid having two projects doing the same thing we coverted our code to a pull request to your project and "invite"/ask you to get this project forward together.
Our additions enable it to have function calls like "url" or "static" and "global" user-defined functions/variables available in the templates (like in the original Genshi template language).

Thank you for your pull request! Sorry I haven't had a chance to get back
to you sooner. I'll aim to send you a proper reply this weekend.
On Thursday, June 18, 2015, phispi<EMAIL_ADDRESS>wrote:

A friend of mine and I needed a Genshi template plugin for Django 1.8+ and
at the time where we looked for it there was no git project. So we did our
own plugin. A few days ago, we wanted to upload it to GitHub and discovered
that you have done similar work (thanks). To avoid having two projects
doing the same thing we coverted our code to a pull request to your project
and "invite"/ask you to get this project forward together.
Our additions enable it to have function calls like "url" or "static" and
"global" user-defined functions/variables available in the templates (like
in the original Genshi template language).
You can view, comment on, or merge this pull request online at:
https://github.com/alasdairnicol/django-genshi-template/pull/4
Commit Summary

Added possibility to specify app_dirname.
Added possibility to specify auto-reload parameter.
Added possibility to specify Genshi serialization mode.
Added possibility to define doctype.
Using GenshiContext instead of dict for Genshi template context.
Added comment about possible exception in stream.render.
Made functions "url" and "static" available in templates.
Added signal to make it possible to use global user defined context
variables/functions.
Added documentation.
Added Gregor Herrmann and Philipp Spitzer in LICENSE.

File Changes

M LICENSE
https://github.com/alasdairnicol/django-genshi-template/pull/4/files#diff-0
(2)
M README.rst
https://github.com/alasdairnicol/django-genshi-template/pull/4/files#diff-1
(43)
M django_genshi_template/backends/genshi.py
https://github.com/alasdairnicol/django-genshi-template/pull/4/files#diff-2
(53)

Patch Links:

https://github.com/alasdairnicol/django-genshi-template/pull/4.patch
https://github.com/alasdairnicol/django-genshi-template/pull/4.diff

—
Reply to this email directly or view it on GitHub
https://github.com/alasdairnicol/django-genshi-template/pull/4.

No problem - take your time - I'm not in a hurry at all.

Thanks again for the pull request. I made this as a proof of concept, for a talk I gave about multiple template engines in Django 1.8. I don't have a need for Genshi templates in production, so I'm afraid I probably won't be working on it in the forseeable future.
I have made you a collaborator for the repository, so you can merge your pull request. If you want, I'd be happy to delete my repository. That would then make your fork appear as the main django-genshi-template repository.

Thanks! There are more changes to come. I leave it to you whether you want to delete your repository or not. I'm happy with having a fork and making pull requests from time to time or contributing directly to your repository or having the yet only repository.


Add Plugins Capability

It'd be great to add some sort of plugin functionality to omnisharp to enable experiences like ScriptCs without shipping the functionality with omnisharp itself.
Came up as a result of discussion about adding Cake functionality to omnisharp-roslyn.

:+1: to this. We could also maybe use it to add support to other languages, F# etc.
We are probably going to need to embrace MEF sooner or later, so we should probably consider using MEF to build the plugin layer with.
The biggest issue I think is deciding what the contract needs to look like.

I have a good feeling we are going to want this anyway for the code actions and refactorings to bring them in using MEF, the way roslyn intended.

Sounds like a great plan

:+1:

:point_right: Any movement on this? Interested in getting Cake support up and running and not sure how to progress.

No, sorry :(

@RichiCoder1 What would you want the interface to look like?

I'm honestly not sure. It looks like for both my and ScriptCs's purposes, being able to implement IProjectSystem is enough. I'm not sure if that tells the whole story though.

Realizing I should /cc @patriksvensson

@RichiCoder1 I just saw your message on Jabbr. Nobody is looking at this yet - any help would be appreciated. Thanks!

:+1: I'll see what I can do.

Thanks! I imagine that it would involve a lot of code shuffling.... so probably best to discuss any work that you are thinking of undertaking before you do it.

In addition to ScriptCs and Cake, are there any current or future parts of OmniSharp that we'd like to see pulled in or made extensible?

I've heard Razor would probably be best as a plugin as well.
On Fri, Jul 31, 2015 at 11:23 AM, Richard Simpson<EMAIL_ADDRESS>wrote:

In addition to ScriptCs and Cake, are there any current or future parts of
OmniSharp that we'd like to see pulled in or made extensible?
—
Reply to this email directly or view it on GitHub
https://github.com/OmniSharp/omnisharp-roslyn/issues/208#issuecomment-126723859
.

That'd definitely be somewhere were we might look at VS for an example. Both ScriptCs and Cake are relatively simple since they mostly are implemented by preprocessing and organizing files, and then passing on to OmniSharp & Roslyn's existing C# scripting support. Razor would be much more complicated.

I think we also need to be able to support out of process plugins. ScriptCs currently won't work on CoreCLR and we might want to move omnisharp-roslyn to soon.

Possible f# support is another good reason to use (or at least allow) out of process plugins.

Also remember that coreclr is not available on all cpus that it will be available on at RTM. So do leave mono as an option.

95% certain that we will use coreclr for omnisharp-roslyn. If we go down the out of process plugin route, then plugins would be free to use desktop clr.

But remember that omnisharp's core will have to run on the machine in the first place. CoreCLR for x86 is still on the drawing board. I would agree that once CoreCLR gets released to all CPUs and OSes mentioned by MSFT i.e (Windows, Linux, Mac) x (x86,x64,ARM) then CoreCLR would be the best CLR to run omnisharp's core.

This is a proposal of what the plugin system might look like using MEF.   Before any work is started on this epic venture, I figure it might make sense to have a proper plan and direction.
Also my knowledge of MEF might be off, I've only ever played with the technology, so be nice! :+1:
What kind of plugins are we looking for?
Examples:

C#
VB
Cake
ScriptCs
Razor
F#?

The services these different plugins will need varies greatly from feature to feature.  Some of them might need the Roslyn workspace (eg. C#, VB).  Others won't need access to the Roslyn workspace (eg. F#).
On thing in common, they need to be able to surface our API endpoints of omnisharp.  Autocomplete, Diagnostics, and so forth.
Default Services
My thought is that OmniSharp (either as a plugin, or just in the core library) would export would export services that would be needed for plugin consumption.

OmnisharpWorkspace
IEventEmitter

Endpoint Services
Each end point would get a corresponding interface, that each plugin would export, and then the API controller would import the exported services.  (do we need an intermediary service to delegate this to, as a singleton?).  On each incoming request, we would have another service (or perhaps a method on the service?) that would be used for selecting the best fit (if any).
An example might look like...
namespace OmniSharp.Mef.V1
{
    public interface ICodeCheck
    {
        Task<bool> IsApplicableTo(Request request);
        Task<QuickFixResponse> CodeCheck(Request request);
    }
}

Each plugin that exports ICodeCheck could then simply implement logic to detect if the request is applicable to it or not. (Should we apply some sort of priority ordering here to allow for plugins to override default behavior?)
Request Interception
Right now we use Request Filters to handle buffer updates, should we offer plugins the change to enter their own custom Mvc Requets Filters? (In this case we get the behavior for free!)  Or make our interceptor that plugins can listen for, for their own buffer updates?
Default Services
Now each of our current project systems could be broken out into their on plugin.  If you don't need MSBuild support it could be disabled by the editor invoking OmniSharp.  This also leaves us with a strange case, where we have several project systems that all use the same default services (Dnx, MsBuild, ScriptCs).  So in this scenario I propose that we just have default Roslyn Services, for our existing endpoint implementations (that are just roslyn based).  For our C# services (like auto complete) we could have default CSharp services.
If in the future, we add for example VB support, we won't have to rewrite every service, we could just plugin support for VB and get most of the end points for free.  There are some exceptions like Autocomplete for example.
One problem this may lead to, and should be documented, is which services are Roslyn services and which are CSharp, and what might have to be implemented in other scenarios.
Out of Process Plugins
Using out of process plugins should be a fairly trivial endeavor really.  It would be almost identical to how any other plugin is built, just the async response would be waiting for the put of process plugin to produce a response.  This theoretically would allow us to implement any language we wanted to through OmniSharp.

@7sharp9 – thought you might want to take a look at the above.

@david-driscoll Nice! Looks great. Some of the things you're talking about could probably use something like MEF's export metadata for plugins to provide hints to omnisharp the plugin needs something bit loaded and present.

@paulyoung Thanks.
Interesting to see this moving now, I've never really been a big fan of MEF but if it works here then fine :-)
I was actually playing with a plugin setup for something similar using signalR the other week, not dynamic hubs but ones with strongly typed interfaces running with azure back plane.  It was especially interesting as clients can be standard web sockets etc and servers can be non-dot net like Elixir etc.  😀

@7sharp9 I'm not a big fan of MEF either, but we are forced to use it already because of Roslyn and it will get the job done :)
@david-driscoll For out of process plugins, we should probably just stick to our existing stdio protocol to communicate between the core server and the plugin. I think we could have one core service that can talk to any of the OOP plugins.
For in process plugins, we could allow Request Filters.
The interface for CodeCheck would probably look a little more like this I think:-
public interface ICodeCheck
    {
        bool IsApplicableTo(Language language);
        Task<QuickFixResponse> CodeCheck(Request request);
    }

IsApplicableTo may not even be necessary. We might be able to use MEF attributes to select the correct plugin to handle a request. I don't think we need any sort of priority ordering - there is a one to one mapping between file extension and plugin as I see it.
C#, VB, ScriptCS and Cake could be handled with a single Roslyn plugin like you suggest. F# could be either in process or OOP. OmnisharpWorkspace is tied to Roslyn, so that would sit within the language plugin. ScriptCS and Cake could be candidates for OOP - last I heard , they are tied to using desktop CLR and we'd like to move to CoreCLR. @filipw?
I think we would need to handle ProjectSystems as separate plugins. We would have MSBuild (for maybe both F# and C#? There are a few differences), DNX, ScriptCS. The project system plugin would need to somehow populate the language plugin workspace.
I also think that making the refactorings an OOP plugin is possibly a good idea. We've been tied to NR6-alpha3 for some time now because of inter dependencies. It would be nice to start using RefactoringEssentials instead and not have to care about which Roslyn version it is using.

We can probably make any of the inproc plugins work OOP.

On the subject of the F# plugin, what kind of context is provided for the type checking? Currently we use the MSBuild API to determine the type checking context given a .fsproj file. Is that handled similarly for C#?

The intent will be based on whatever the plugin needs / requires.
If it's in process, and you don't have access to the proper API, you can
bring in your own code.  In process assemblies will just be Assembly Loaded.
Out of process, you have a bigger advantage, you can basically build
whatever you want.  Then the OmniSharp server would essentially act as a
proxy for your plugin, piping information back and forth.
The current goal for out of process is to have a configuration file of some
sort that lets OmniSharp know how to start the process, then all
comunication would happen very similar to how OmniSharps stdio interface
works today.  With OmniSharp shipping requests to your application over
stdin, and then your application shipping responses over stdout.
We will also have to revamp the project system, to give each plugin the
opportunity to publish that information to downstream editors.
On Wed, Sep 2, 2015 at 7:37 AM, Robin Neatherway<EMAIL_ADDRESS>wrote:

On the subject of the F# plugin, what kind of context is provided for the
type checking? Currently we use the MSBuild API to determine the type
checking context given a .fsproj file. Is that handled similarly for C#?
—
Reply to this email directly or view it on GitHub
https://github.com/OmniSharp/omnisharp-roslyn/issues/208#issuecomment-137040580
.

I'm glad to see this underway as well. Being able to tailor OmniSharp's set of plug-ins will be a huge win.

Would love to chat further about this and figure out what needs to happen here. I can help out. Grab me on Jabbr.

@DustinCampbell I've got a Proof of concept PR @ #293
I'll be kicking around on jabber tonight, or ping me on twitter @david_blacklite if I'm not answering.

I'm hoping to provide database-driven Intellisense for Simple.Data.Core, so once there's some guidance/examples on how to create a plug-in, I'd love to prototype that.

@markrendle I think plugins are still a work in progress. @david-driscoll recently submitted a new PR for it #640.

@david-driscoll boop. Would love to light up Cake

Closing, moving to epic to handle the overall requirements.  #1029


Add more debug msg when helm upgrade

What this PR does / why we need it:
add more debug msg when upgrade. https://github.com/helm/helm/issues/10183
Special notes for your reviewer:
add more debug msg when upgrade. when helm upgrade with --debug, there is  no message about patch.
If applicable:

[ ] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

@hickeyma done. Thanks very much.

@hickeyma done. thanks very much.


Macos 10.13.6 error

My macos version is 10.13.6 , when I run yarn test  which is a script of  'jest'.
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from<EMAIL_ADDRESS>(which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

Fixed in<EMAIL_ADDRESS>


E-W Gateways

What
We want to look at how skupper can be leveraged by multi-cluster gateway controller.
The initial use cases
As a gateway administrator, I want the multi cluster gateway controller to set up temporary connectivity between two clusters while an application is being moved and I want any traffic being directed to the current location to be redirected internally to the new location.
It might be interesting here to put together a POC around a traffic migration policy where you can decide on a migration strategy such as strategy: E-WProxy. This could also dictate how long to wait and in the future what metrics to leverage before deciding to remove the DNS record and remove the proxy
more thoughts/ potential use cases
As a gateway administrator, I want to manage which clusters are allowed to be networked together and which namespaces on those clusters can be networked together .
We are trying to think about the setting up of a new network via skupper as something that can be controlled by policy via an administrator persona. With N-S traffic we have the concept of a gateway controlling which listeners, addresses and users can be used and by whom and on which clusters, is this something that translates is an open question.

It might be interesting here to put together a POC around a traffic migration policy where you can decide on a migration strategy such as strategy: E-WProxy. This could also dictate how long to wait and in the future what metrics to leverage before deciding to remove the DNS record and remove the proxy

Skupper is a viable option for traffic migration in a multi-cluster scenario. By providing a layer of network abstraction above Kubernetes, Skupper can simplify the management of traffic migration across multiple clusters. Skupper's multi-cluster messaging feature provides a reliable and secure way for applications to communicate across different environments. I recorded a demo (internal only) of a proof of concept showing this kind of functionality in q4 2022.
Using Skupper for traffic migration has some benefits. First, Skupper's transport encryption feature ensures that traffic is securely transmitted between clusters. Second, Skupper's service discovery feature makes it easy to discover and connect to services across multiple clusters, which can help to simplify the process of traffic migration.
I put together a simple traffic migration example with skupper that deploys the same application to 2 clusters. The deployment is exposed in both directions between the clusters. If the pod in 1 cluster is scaled down, skupper automatically updates the Service to route traffic coming into that cluster over the skupper network to the same service on the other cluster. This proves the feasibility of keeping a Service 'proxy' in place in the 'old' cluster until such a time as it can be decomissioned (or sufficiently low traffic is seen going to the old cluster).
When using Skupper, network architecture and security policies are an important consideration. Even more so if we were to dynamically set up Skupper sites and links for the duration of a traffic migration. To that end, I put together another simple example to understand the SkupperClusterPolicy API. This API allows restricting namespaces, services and hostnames that can be linked to and from a cluster.
In theory, a control plane level API could be exposed that abstracts the SkupperClusterPolicy, allowing a platform administrator to define the policy centrally and apply it to specify clusters and clustersets.

Created follow up issues after offline discussion with @maleck13

#153
#154
#155
#156


Doesn't build with Zig 0.13.0

I took a stab at it but getting an error about using an absolute path, I haven't had time to dig into it further.
Most of it seems to be changing
 step.addIncludePath(.{ .path = glfwInclude });
to something like
step.addIncludePath(b.path(glfwInclude));
Could simply be that after fixing these lines it's on the application's side.

Btw, sidenote, but in case you want to add a "projects using this", feel free to link to:

https://github.com/Srekel/tides-of-tabletop

:)

I solved it by

changing to self.raylibSrcPath.src_path.sub_path in raylib.build.zig

changing to     var setup = try rlzb.Setup.init(b, .{ .src_path = .{ .owner = b, .sub_path = "external/raylib/src" } }, .{});

in my build.zig. :) I don't have a fork... yet.. so don't have a good way to PR it.

With my new born daughter, i've not taken the time to go to this project.
I've made some modifications to works with zig 0.13.0, hopes it works for you.


Try using a video for the header image

For home page, can we try using this video as the header?
https://pixabay.com/videos/evening-grasses-lakeside-sunset-6514/
Note: I'm not tied to this video, I just want to see how it looks.

Screencast from 23-08-23 14:44:44.webm

It's looking good. Is there any way to make the text pure white still? And it looks like there is a semi-transparent layer over the video which is making it darker. Was this intentional?

Also take a look at how the menu disappears when you scroll down. Will send you on Telegram.

It's looking good. Is there any way to make the text pure white still? And it looks like there is a semi-transparent layer over the video which is making it darker. Was this intentional?

yes, so the text can be readable but we can adjust all settings when you have the final video

Also take a look at how the menu disappears when you scroll down. Will send you on Telegram.

fixed

Marking as done for now! Thanks.


Auto open Junk Frame only on Merchant

Is there a way to have the Junk Frame automatically open only on merchant and not when opening our bags? Maybe have an option for each, so people can select both if they want.

Totally agree and why I can't use auto open as it will destroy items on the sell list when not at the merchant.
Also this was brought up here: https://github.com/moody/Dejunk/issues/152

Thanks for the update to this :-)


Split up lib.rs

I had an idea to split up lib.rs. For this I had the following structure in mind:
| src
| --- lib.rs
| --- difference.rs
| --- apply.rs
| --- implementation.rs
| --- counting-serialize.rs

The current lib.rs is quite big. It will be easier to read when dividing the code into multiple files.
What do you think? Would you bother if I create a PR for this?

Sounds good to me! What did you want to put in lib.rs and implementation.rs?

lib.rs will contain the SerializeDiff trait and reexports to make no API changes. And in implementations.rs we will put all the type mappings and macro's.

Sounds good to me!


Little Flocker Description

Little Flocker now offers both stable release channel and a nightly release channel.
As of version 1.4 (yet to be released, but is available in the nightly channel at the moment) the program can now also:

detect and warn about active keylogger(s)
warn when activation of webcam or microphone is detected
in a future build the software might be able to detect and warn about network packet monitoring.
detect local network packet interception (think WireShark)

Thus
Line 1268 should be updated to:
Using an application such as Little Flocker can also protect parts of the filesystem from unauthorized writes("A Firewall for your files") similar to how Little Snitch protects the network.
Little Flocker is now available in both stable release and a nightly build, additionally as of version 1.4 it also alerts if KeyLoggers are detected and when either the Microphone or Webcam is accessed, can also detect network packet local interception, theres also an option to require use of TouchBar in order to  respond to prompts.
Source Webcam-Microphone usage Detection,
Source KeyLogger Detection, Source TouchBar Requirement, Source exploit found,
Source exploit mitigated,
Source how it works,
support blocking access to raw network packet devices to help prevent unauthorized sniffing
Line 1897 should be updated to:
Little Flocker - "Little Snitch for files"; prevents applications from accessing files. Detect and warns about Keyloggers, Webcam and Microphone activation as well as local network packet interception.

Thanks for the heads up. Jonathan kindly provided me with a license for LF, so I will be expanding the guide to include a whole section about the software soon, similar to the current section on Santa.

My license is no longer valid and LF is too cumbersome for my daily use, so shelving this idea for now. Happy to accept PRs from LF users wishing to detail how the program works and is configured.


Update and refactor Dockerfile

Update the Docker image and reduce the complexity in the Dockerfile which also helps improve code readability :smile:

Hi @davidxia, would you help take a look at this PR, please? Thank you!


#491 Dynamic line doesnt work properly

Hey @junedchhipa I just checked the latest release and I found the bug related to #491 is still not fixed. Here is the codepen: https://codepen.io/anon/pen/OGbwEG. The line is still compressing instead of window moving.

Sorry, another change made to the core calculation file reverted that change.
I will write a test to avoid it.


GH-76: Added addr configuration option.

Pull Request Test Coverage Report for Build 85

15 of 23 (65.22%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 82.135%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

server/httpServer.go
0
2
0.0%

server/config.go
15
21
71.43%

Files with Coverage Reduction
New Missed Lines
%

server/config.go
1
60.34%

Totals

Change from base Build 79:
-0.04%

Covered Lines:
2285

Relevant Lines:
2782

💛  - Coveralls


balena: Update to version with healthcheck support

As well run the daemon with experimental flag to enable restarting
unhealthy containers.
Change-type: minor
Changelog-entry: Update balena cu include healthcheck support
Signed-off-by: Andrei Gherzan<EMAIL_ADDRESS>

Build finished.


curl crashes on using libssl on M1 macs

Sail Version: 1.8.1
Laravel Version: 8.48.1
PHP Version: 8.x
OS: macOS Big Sur

Description:
In my Laravel application I'd like to perform a curl-request, which is not successful, as the process is triggering a segfault.
Calling the raw curl statement inside the container like this
sail@6b159f978899:/var/www/html$ curl -u test@zammad.com:test123 'https://my-app.com/api/v1/users/search?query=smith&limit=10&expand=true'
Segmentation fault

It fails with segfault.
Performing a little web search, I found the reason:

On Apple Silicon in native arm64 containers, older versions of libssl in debian:buster, ubuntu:20.04 and centos:8 will segfault when connected to some TLS servers, for example curl https://dl.yarnpkg.com. The bug is fixed in newer versions of libssl in debian:bullseye, ubuntu:21.04 and fedora:35.

(https://docs.docker.com/docker-for-mac/release-notes/)
Is it possible to update to 21.04?

We can't upgrade to 21.04 because Forge is still using 20.04. Please see https://github.com/laravel/sail/issues/159 and downgrade Docker as this is a bug in Docker itself.


[format] add orc push down test case

Purpose
add test for orc push down
Tests

org.apache.paimon.format.orc.filter.OrcFilterConverterTest
OrcFormatFilterPushdownITCase

API and Format

Documentation

Thanks @zhangjun0x01
I'm not sure if ITCase is valid, because SQL always adds the corresponding filter after source. How do you determine if SQL filters out or our filter pushdown filters out the data?

A perfect test case should first check the correctness of OrcReaderFactory#connunctPredicates during SQL execution, but I couldn't find a method to get OrcReaderFactory#connunctPredicates during program execution. So I divided this process and verified it by different test cases, such as  flink filter ->paimon predicate, paimon predicate ->orc predicate, and  to verify whether the query results are correct.
Do you have any better suggestions?thanks

Maybe we can just create an base class FormatFilterTest for OrcFilterConverterTest.

Maybe we can just create an base class FormatFilterTest for OrcFilterConverterTest.

I remove the test case in flink module.
and  there is no common logic in OrcFilterConverterTest now, it is all for orc format, so I think there's  no much need to create a base class FormatFilterTest ,what do you think about?


Bump up Gradle plugin dependencies

@jprinet The io.spring.ge.conventions:0.0.9 (latest version) builds against com.gradle.enterprise:3.8 (see plugin properties.
I'd like to keep the dependency in sync so we'll remain on 3.8.


Unable to execute a custom java function (plugin) from OrientDb's java API

Hi,
I have created a Custom-Java function which internally uses Guava library to do some hashing of strings.
While this function works without any issue from studio as well as from console, invoking the same from java-api fails with "Error on deserialization of Serializable".
This is happening only when executed from JAVA-API (Object database api). I tried invoking many other functions in the same jar from Java API, they worked fine.

The ObjectDB API wraps result set in POJO. I suggest you to use underlying Document API to execute the function.


Trailing comma in code example

#label:"aq-pr-triaged"

Thanks @zikato!  Great catch. Your commit will be merged and this article update is in flight. After the updated article is published, GitHub will list you as an article contributor.
Thanks again for this feedback, your suggestions help improve our documentation.
#sign-off


Readme: add note about special characters in a password

Hi Roman,
thanks for your PR and adding a note to the README. I'd suggest to phrase it a bit differently, as annotated in the review

Hi Christoph, done.

thanks again!


Add FAQ entry for timezone error

This adds a FAQ entry to describe what the cudf error Failed to open the timezone file means and a common method for users to resolve it.  Improving the error message in cudf is being tracked by https://github.com/rapidsai/cudf/issues/8795.

Any reason to call out the tzdata package for Ubuntu as opposed to other platforms?

Because that was simple for me to verify.  Looks like CentOS/Fedora also uses a package named tzdata so I'll change it to say that's typically the package name.

build


Use pin callbacks and IRQs

This PR looks bigger than it actually is but I made two changes to fix the driver for Tessel 2:

Made pin.write calls provide a callback rather than assuming they work synchronously. On Tessel 2, no calls are synchronous.
Instead of iterating every 50 seconds to check an IRQ line, I used the built-in hardware interrupts (self.irq.once('low', function ready() {...}). This was mostly for code cleanup rather than compatibility but it made the code much easier to get working for T2.

The test bench still passes for me (with RFID card laying on top of reader):
➜  rfid-pn532 git:(jon-t2-compat) t2 run test/readcard.js --lan --name Frank
INFO Looking for your Tessel...
INFO Connected to Frank.
INFO Writing project to RAM on Frank (1896.448 kB)...
INFO Deployed.
INFO Running test/readcard.js...
1..7
# Connecting to RFID card on correct port
ok 1 equal
ok 2 ok
# Basic Reading
ok 3 equal
ok 4 equal
# Change RFID Polling Period
ok 5 equal
ok 6 equal
ok 7 equal
# pass 7 7
# fail 0 7

Can confirm that this branch works with my Tessel 2. :+1:

:+1:

I confirmed that this branch still works on Tessel 1. npm test also completes just fine.
The only caveat is that you get two warning messages when you start using it:
➜  rfid-pn532 git:(jon-t2-compat) tessel run examples/rfid.js
TESSEL! Connected to TM-00-04-f0009a30-0056434b-54396208.
INFO Bundling directory /Users/Jon/Work/technical/modules/rfid-pn532
INFO Deploying bundle (1.17 MB)...
INFO Running script...
pin.write is now synchronous. Use of the callback is deprecated.
pin.write is now synchronous. Use of the callback is deprecated.
Ready to read RFID card
UID: 1148a50a
UID: 1148a50a
UID: 1148a50a
UID: 1148a50a
UID: 1148a50a
UID: 1148a50a
...

I'm not very concerned about that and there are few enough T1 users that I don't think they would really mind. If they do they can roll back to an early npm version.


rbenv doesn't respect POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=false

This is on master.
To reproduce:

Install rbenv.
Use master branch of Powerlevel9k with rbenv as one of the prompt segments.
Set POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=false (this is also the default).
Type these commands:

rbenv install 2.6.3
rbenv global 2.6.3
rbenv shell 2.6.3

Expected behavior: rbenv segment not shown because the current rbenv version is equal to the global rbenv version (both are 2.6.3).
Actual behavior: rbenv segment shows 2.6.3.

Fixed by merge of #1284


CTECH-1815: Fixes tests; Adds access token

Signed-off-by: Paul Saunders<EMAIL_ADDRESS>Pull Request Checklist

[x] Read the contributing guidelines
[x] Tests pass

Description of the PR
Ensures the tests can run with an access token, and fixes the tests due to API change.

/LGTM


Incremental Replacement should not depend on focus. (No keybinding to replace current match.)

VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:53:14.822Z)
OS Version: Windows_NT ia32 10.0.14393

Steps to Reproduce:

In any file, highlight the text to find.
Trigger the actions.find command (Ctrl+F).
To replace the current match, move cursor focus to the "Replace" box of the Find+Replace dialog and press ENTER.

This is a problem because it is tedious to change focus (as compared to having a dedicated keybinding to replace the currently active target).
In the full Visual Studio this is done by hitting Alt+R, which works no matter where the focus is within the Find+Replace dialog.

See also: #9444

My workaround for this will be to:

Trigger editor.action.startFindReplaceAction instead of actions.find, so that focus is already on the "Replace" box of the Find+Replace dialog.
Use the dedicated (F3) binding for editor.action.nextMatchFindAction to find the next match.
Press ENTER whenever I want to replace a match, since focus has not changed while pressing F3.

Also semi-related issue: #15067

@waynebloss Have you tried using the key binding ctrl+shift+1 which will replace the current match when find widget is open.

@sandy081 That shortcut is not documented here - https://code.visualstudio.com/docs/customization/keybindings
Where else should I look for documentation on that?

OK, I guess I'll just forget about documentation and next time I'll look in the "Default Keyboard Shortcuts" file that is accessible from File -> Preferences -> Keyboard Shortcuts.

@waynebloss Very good catch. Sorry for not having the document up to date.
@gregvanl Don't we update all key bindings here https://code.visualstudio.com/docs/customization/keybindings or
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf


Tranform matrix help

Awesome Repo. Thanks! I'm looking for some more information around the "getUserVector()" method.
Firstly -- SCNMatrxi4.mat31, mat32, mat33, etc. are not available anymore.  Xcode shows me that I must use SCNMatrix4.columns.1.x, which Is confusing -- I don't know how to convert to the m31 matrix syntax with the new columns approach.
My main issue is that I'm having a real hard time finding in the Apple docs what exactly all 16 elements represent in the 4x4 transform matrices, for example the ARcamera.transform matrix.  How did you know that m31, m32, and m33 are the orientation of the camera, and that m41, m42, m43 are the position?  Lastly, as mentioned above -- these coordinates would need to be converted to the new columns.0.y syntax, which again seem to be poorly documented in any apple doc.  I feel like I'm missing some holy grail for Matrix Transforms from apple.
Thank you so much!
`
func getUserVector() -> (SCNVector3, SCNVector3) { // (direction, position)
if let frame = self.sceneView.session.currentFrame {
  let mat = SCNMatrix4(frame.camera.transform) // 4x4 transform matrix describing camera in world space
  let dir = SCNVector3(-1 * mat.m31, -1 * mat.m32, -1 * mat.m33) // orientation of camera in world space
  let pos = SCNVector3(mat.m41, mat.m42, mat.m43) // location of camera in world space
   return (dir, pos)
  }
   return (SCNVector3(0, 0, -1), SCNVector3(0, 0, -0.2))
}`

I was able to get the world view position from the following code:
    `if let frame = self.sceneView.session.currentFrame{
        let mat = frame.camera.transform
        let pos = SCNVector3(mat.columns.3.x, mat.columns.3.y, mat.columns.3.z)
    }`

Although, again, it'd be nice for Apple to document this somewhere.


[SUPPORT] Spark 3.4.0

https://spark.apache.org/releases/spark-release-3-4-0.html
[SPARK-40956] SQL Equivalent for Dataframe overwrite command
INSERT INTO table1 REPLACE WHERE key = 3 SELECT * FROM table2
will, in an atomic operation, 1) delete rows with key = 3 and 2) insert rows from table2

JIRA to track - https://issues.apache.org/jira/browse/HUDI-6166


Materials on ML performance metrics

Need materials with example codes on various performance metrics in Machine learning,
Here are some of them,

StratifiedFold
K Fold Cross validation
Confusion Matrix
Precision
Recall
F1 Score

Update the Readme at https://github.com/Kredoai/Deep-Learning-Training/tree/master/Machine_Learning/Performance , create folder called images and code.


Permissions/ownership of /home/jobe/runs/jobe_xxxxxx test directories

I'm testing the https://hub.docker.com/r/trampgeek/jobeinabox docker container in Ubuntu 18.04, and the /jobe/index.php/restapi/languages test returns the expected JSON output. However, when I run testsubmit.py inside the container I get a lot of test failures due to permission errors, for example:
{'run_id': '/home/jobe/runs/jobe_1ZYE4V', 'outcome': 11, 'cmpinfo': '/usr/bin/ld: cannot open output file
test.c.exe: Permission denied\ncollect2: error: ld returned 1 exit status\n', 'stdout': '', 'stderr': ''}
C program to check parallel submissions
Jobe result: Compile error

Compiler output:
/usr/bin/ld: cannot open output file test.c.exe: Permission denied
collect2: error: ld returned 1 exit status

So I enabled debugging and tried running the command in the jobe_1ZYE4V subdirectory that was created in /home/jobe/runs, with the same outcome. But I noticed that the permissions of all the jobe_xxxxxx subdirectories are, for example:
drwxr-xr-x  2 www-data www-data  4096 Oct 24 02:50 jobe_1ZYE4V

However, these commands all seem to be run by one of the 'jobexx' users (in the 'jobe' group), so it's understandable why the output files can't be written.
Are the jobe_xxxxxx subdirectories supposed to be created with different permissions? The parent directory, /home/jobe/runs has these permissions:
drwxrwx--x 51 jobe www-data 36864 Oct 24 02:50 runs

Thanks,
Tony.

Hi Tony
Many thanks for the detailed bug report. A couple of other people reported issues of this sort but until now I didn't have enough detail to figure out what was going on - the image works fine for me in Ubuntu 18.04 on my development machine and on Digital Ocean Ubuntu VMs.
Jobe needs ACL support, but looks from your ls output that ACLs aren't working. A bit of googling suggests that this is a consequence of the file system your Linux host is using.
Firstly, would you mind running the command
    docker info

and pasting the output, please? The line starting Storage driver: is probably the critical one (on my systems it's ether overlay or overlay2) but the rest might turn out useful.
Secondly, please try running jobeinabox with the  option --storage-driver=devicemapper, i.e.
    sudo docker run -d --storage-driver=devicemapper -p 4000:80 trampgeek/jobeinabox:latest

and see if that solves the problem.
Regards
Richard

Hi Richard,
Many thanks, you were spot on with that diagnosis.
It turns out I was still using an old docker-engine package from zesty, which was using the aufs storage driver. I've now replaced it with the latest docker-ce package and switched to overlay2, and all the tests in testsubmit.py have passed with flying colours.
Thanks again.
Kind regards,
Tony


Huge CPU usage

You can clearly see moment I added docklogkeeper - 2023.09.03 ~9:00.
CPU usage was under dockerd process, container usage was under 1%. After turning off container CPU usage dropped to normal values.

How many containers do you have running on your system? And how many logs they generated?

@tymmej, could you try image nightlord189/docklogkeeper:follow ? I have changed method of getting daemon logs to follow. It can reduce CPU usage.

Sorry for late responce, I was on vacation.

I have about ~20 containers, I don't know how many logs they generate - is it easy option to check it?
I've updated image, it looks better now (no visible increase in CPU usage above base level) :+1:

@tymmej, Yes, i have changed extracting logs method in last version. I think this problem is fixed now.


Add GNAT Programming Studio

Added GPS to flake, I thought it was a good time to share my progress so far.
In the meantime, I will carry on with trying to run GPS now that it has compiled.

[x] GPS compiles
[ ] GPS runs
[ ] Review TODO's in flake

Looks like some thorough effort.  I recommend adding a checkbox item for updating the README as well to document the new capability you are adding and/or changing.  It's an easy one to forget.


Create a search page using bootstrap5

step 1- fork the repo
step 2 - npm i && npm start
step 3 - add your code inside the Frontend folder
step 4 - create a pull request for code review
It should look like the below image

step 1- fork the repo step 2 - npm i && npm start step 3 - add your code inside the Frontend folder step 4 - create a pull request for code review
It should look like the below image

hii @NishikantaRay
kindly assign this issue to me


Handle possible NULL pointers in the array buffer

The discussion around https://github.com/numpy/numpy/pull/23262 made me realize that there can be NULL pointers in the array buffer after np.zeros and np.empty. This means that we need to check for that case whenever we access an existing string array buffer in the casts and ufuncs.
To support this I added a new helper empty_if_null, which returns a new empty static string. I couldn't figure out how to do this in a way that avoids heap allocations because the ss struct uses a flexible array member, so I also need to free the resulting empty string later.
It would be possible to avoid this if there was a way for a dtype to supply an initial value for np.empty and np.zeros.
Alternative suggestions for how to handle this are very welcome.

Closing this in favor of a new PR implementing Sebastian's suggestion.


Expose the cloud YAML file location

Cloud configs can be loaded from several files (cloud.yaml, clouds-public.yaml, secure.yaml) in a number of different locations (user's config dir, host config dir, current dir, a dir specified by an env var), and there's no way for users of the clientconfig packages to know which one(s) were actually used after calling GetCloudFromYAML.
This PR introduces the ability to call it by providing a callback function that receives the full path to the file(s) loaded. An example use case would be to log the path as info or debug log levels inside the callback function, so that end users could use it for debugging purposes.
No API changes, all existing exported functions were kept as is.

@jtopjian PTAL

@fabianofranz Thank you for submitting this.
I understand the use-case and you raise a really good point. Taking this a step further, if someone wanted to do further customizations, then additional callbacks would be required. So I've broke this down into two main ideas:

The filename of the YAML file is hidden and not exposed in any way.
There is no way of overriding / customizing the way YAML files are loaded.

I created a solution here which should work: https://github.com/gophercloud/utils/compare/master...jtopjian:loadyaml-refactor
There's a unit test that provides an example of how this can be used. And since the other unit tests pass, this confirms this change is also backwards compatible.
There is one caveat: I have not provided a way to override the GetCloudFromYAML or AuthOptions functions. There is way too much logic and internal/private functions being used to make sense to allow someone to override, IMO.
Let me know what you think and/or if you have any questions.

@jtopjian right, customizing the YAML loading logic would be my next need, so thanks for doing this! I believe that file loading is the place where most use cases for customization would exist, so no problem with leaving GetCloudFromYAML out.
LGTM

@fabianofranz Sounds good. I've merged #93 with this functionality. I'm going to close this PR but please let me know if you have any questions.
Thanks again for raising this topic!


Fix file move for custom editors

Problem
The working copy for custom editors uses a special scheme for its resource: vscode-custom-editor . However this broke file move. I investigate and determined the root cause:

The WorkingCopyService monitors file change events: https://github.com/microsoft/vscode/blob/17cc949013df9abb021da74c77b9508cf8607849/src/vs/workbench/services/workingCopy/common/workingCopyFileService.ts#L193

When one occurs, it tries to get all the dirty working copies for the moved resource

However since our custom editor working copy now uses a vscode-custom-editor resource, we never match the moved resource.

Fix
My fix was to add an editorResource to the working copy. This is the actual resource on disk that the working copy represents.
I don't think this is a great fix. Please let me know if you have any other ideas on how to fix this @bpasero

@mjbvz agree, this is not a good route. And it shows the actual issue: you want to rely on a generic file listener for moving non-text-based custom editors and I think we cannot do that. After all, we actually do not know what underlying resource the custom editor is operating on and if a move should be initiated based on file events.
Instead, I think this needs to be driven entirely from the extension by doing the listening on their end. Maybe the custom editors has 5 editors it needs to listen to? Or maybe it needs to listen on a DB connection for changes?

@bpasero I've updated the change based on our discussion this morning

Thanks for the feedback @bpasero. I've update the PR with your suggested changes


[BUG] Buy Now button not working

Description
Hey !!
I faced the issue, if i click on item it get added but on buy now button that isnt working , item not even adding in the bucket.
Please assign this me under Gssoc so that i can start working on it immediately.
Thank You!!
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
Chrome

Congratulations, @namandude! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

Future plan. Currently we're working on other functionalities. @namandude


Update OWNERS

Add approvers (FLs + TLs)

/lgtm

/lgtm

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 38.76%. Comparing base (e5d50b2) to head (36483ff).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #261   +/-   ##
=======================================
  Coverage   38.76%   38.76%
=======================================
  Files          31       31
  Lines        1999     1999
=======================================
  Hits          775      775
  Misses       1136     1136
  Partials       88       88


Documentation: How I can use the repo to find All Coins' Information?

Description
Hello:
I want to find all coin’s information as described in API document, the HTTP Get URL is like this:
GET /sapi/v1/capital/config/getall (HMAC SHA256)
But I can’t find any code example on how to get the information.
I can use NUGET Binance.Spot Version 1.8.0 package to get account balance, since there is some code example.
But how I can do this with the repo?
Please provide some code examples (C# on Windows 10)
Thanks,

https://github.com/binance/binance-connector-dotnet/blob/master/Examples/CSharp/Wallet/AllCoinsInformation_Example.cs

Thanks!


Multiple test projects not allowed

I am trying to add multiple test projects to the task but it is throwing that the project doesn't exist. I assume separation will be done through "," between two projects.
Here are the complete logs of the task.
Run<EMAIL_ADDRESS>with:
testProject: Eaton.IoT.Asset/Eaton.IoT.Asset.Service.UnitTest/Eaton.IoT.Asset.Service.UnitTest.csproj,Eaton.IoT.Asset/Eaton.IoT.Asset.UnitTest/Eaton.IoT.Asset.UnitTest.csproj
output: lcov.info
outputFormat: lcov
excludes: [program],[test]test.
threshold: 80
env:
DOTNET_ROOT: C:\Program Files\dotnet
starting...
output : lcov.info
format lcov
UT project Eaton.IoT.Asset/Eaton.IoT.Asset.Service.UnitTest/Eaton.IoT.Asset.Service.UnitTest.csproj,Eaton.IoT.Asset/Eaton.IoT.Asset.UnitTest/Eaton.IoT.Asset.UnitTest.csproj
excludes [program],[test]test.
includes [program],[test]test.
threshold 80
debug
run dotnet test -c Debug -p:coverletOutput=lcov.info -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:Exclude="[program],[test]test." Eaton.IoT.Asset/Eaton.IoT.Asset.Service.UnitTest/Eaton.IoT.Asset.Service.UnitTest.csproj,Eaton.IoT.Asset/Eaton.IoT.Asset.UnitTest/Eaton.IoT.Asset.UnitTest.csproj
dotnet failed
Checking threshold 80
MSBUILD : error MSB1009: Project file does not exist.
Switch: Eaton.IoT.Asset/Eaton.IoT.Asset.Service.UnitTest/Eaton.IoT.Asset.Service.UnitTest.csproj,Eaton.IoT.Asset/Eaton.IoT.Asset.UnitTest/Eaton.IoT.Asset.UnitTest.csproj
Error: dotnet test failure Command failed: dotnet test -c Debug -p:coverletOutput=lcov.info -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:Exclude="[program],[test]test." Eaton.IoT.Asset/Eaton.IoT.Asset.Service.UnitTest/Eaton.IoT.Asset.Service.UnitTest.csproj,Eaton.IoT.Asset/Eaton.IoT.Asset.UnitTest/Eaton.IoT.Asset.UnitTest.csproj
Error: error occured : coverage file not found at Eaton.IoT.Asset/Eaton.IoT.Asset.Service.UnitTest/Eaton.IoT.Asset.Service.UnitTest.csproj,Eaton.IoT.Asset/Eaton.IoT.Asset.UnitTest/lcov.info
coverlet test done.

Kindly help..!

Hello @nagesheaton , this actions does not allow many unit test project.

While running on Solution level I am getting two different reports.

Is there any way to get consolidated test report?

Also while running the Unittest in Visual Studio I am getting 90+ Coverage but <80 in this command.

Is there any specific reason? Or I have to add anything here explicitly ? Since I am able to see the projects covered in both of the cases is different.
If you see the report in Visual Studio it covers different Projects.

But some projects are missing in the coverlet command.

Maybe you have to exclude some projects from code coverage. Coverlet-action is only a gh action to use coverlet so for coverage report issue you should better look at how to use coverlet

Thanks for the help. I will check and update here by Tomorrow.

@nagesheaton , could you share if you find a reason for coverage difference ? and if so what was the issue ? it could help future users.


winusb + bartender

I used library tscprinter, https://github.com/ThinhVu/tsc-printer-js. This library requires me to install this node-usb package and upgrade the Xprinter 360B I used to use winusb driver.
Everything works fine, until I want to use seagull bartender on the same pc. My bartender refuse to connect to the printer. I need to reinstall the driver and found out that my app stopped working. So, now I can only work with either my app or bartender.
May anyone help on how to make my app and bartender works with Xprinter 360B at the same time?

Closing this issue due to inactivity, please create a new issue as required.


Extension is not working for Leetcode Old UI?

There is an issue with the extension, where even after solving the leetcode problem, it treats it like it isn't solved.
I am using the old version of Leetcode, which may have resulted in this issue.
https://github.com/The-CodingSloth/haha-funny-leetcode-extension/assets/128887797/ca2de890-d145-41af-a29e-f2362a8fde7b

Are you able to reproduce this and maybe show any errors that may show up in DevTools please?

Recommend to close @The-CodingSloth

Might be a current bug with the public version, not sure if it's there with this newest version since I have to create a website with a privacy page to update the extension now, so I'll work on that soon to update it.


test: Test 240+ popular npm packages

Adds a script that tests 240+ of the most popular npm packages. It compares the exports without and with the loader hook and fails if they don't match. It also fails if errors are thrown with the loader hook in use.
For node v20, it currently fails for:
webidl-conversions
file:///Users/tim/Documents/Repositories/import-in-the-middle/test/check-exports/node_modules/webidl-conversions/lib/index.js?iitm=true:69
      let $unsigned short = _.unsigned short
                    ^^^^^
SyntaxError: Unexpected identifier 'short'
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:118:18)
    at callTranslator (node:internal/modules/esm/loader:273:14)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:30)

It looks like it exports identifiers with spaces in exports["unsigned short"] = //
https://github.com/jsdom/webidl-conversions/blob/7b8f708ffd7476fb60d18cef75bbdf4e60831191/lib/index.js#L182
util-deprecate
node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^
Error: ENOENT: no such file or directory, open '/Users/tim/Documents/Repositories/import-in-the-middle/test/check-exports/util'
    at Object.readFileUtf8 (node:internal/fs/sync:25:18)
    at Object.readFileSync (node:fs:441:19)
    at getExports (/Users/tim/Documents/Repositories/import-in-the-middle/lib/get-exports.js:69:17)
    at async Promise.all (index 0)
    at async getFullCjsExports (/Users/tim/Documents/Repositories/import-in-the-middle/lib/get-exports.js:23:9)
    at async processModule (/Users/tim/Documents/Repositories/import-in-the-middle/hook.js:131:23)
    at async getSource (/Users/tim/Documents/Repositories/import-in-the-middle/hook.js:249:23)
    at async load (/Users/tim/Documents/Repositories/import-in-the-middle/hook.js:280:26)
    at async nextLoad (node:internal/modules/esm/hooks:833:22)
    at async Hooks.load (node:internal/modules/esm/hooks:416:20) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/tim/Documents/Repositories/import-in-the-middle/test/check-exports/util'
}

Haven't looked into this one yet but it looks like getFullCjsExports is trying to resolve util as a relative path.

We're not adding this to CI yet? We can just comment out the packages that don't work for now.

This can be added to CI, but likely not for every Node version that get tested because some of these libs won't support such a wide range. These tests with then potentially break often as the versions aren't pinned and they will update their supported node versions.
Maybe it's better the check in the package.json to make them more reliable?

could we also test against some of the popular web frameworks? express, fastify, hapi, connect, sveltekit, nextjs, gatsby, remix. These are the most common places where users will use APM instrumentation, so I think it's important we catch any issues asap.

Yeah it's certainly worth adding more to this list. Initially this was to find potential gaps in the existing unit tests.
If we pin the versions in a package.json, we will not get new failures when libraries break.

I've now added this to CI testing and you can see it running in my fork.


dask.distributed zarr reads slows down with additional workers

Problem description
I have a zarr store with around 50 arrays on disk with a wide variety of dtypes. all stored with blosc compressor. While trying to parallelize some calculations with dask, I noticed that adding more workers to local dask cluster slows down the _decode_chunk calls.  In the documentation, there is some mention of blosc multithreading not working with multiprocessing and I tried setting BLOSC_NOBLOCK environment variable to see if makes a difference but didn't see any difference. Is this expected behavior with blosc?
def test():
     zs = zarr.open('/tmp/zarr')
    for n,a in zs.arrays():
         a[:,:100].shape

delayed_res = []
for i in range(1000):
     delayed_res.append(dask.delayed(test))

dask,.compute(*dask_delayed)

Running this with a single worker each test call takes aroun 3.5 seconds, if I increase worker count to 10 than each call takes 4.5 seconds.
Version and installation information

zarr.version : 2.2.0
numcodecs.version: 0.5.5
Python 3.6.6
Linux
zarr installed using conda

Hi @alpmdog, how many cores on your system? I.e., what do you get from:
import multiprocessing
multiprocessing.cpu_count()

72

It's possible that with 10 workers, CPUs are being thrashed. If blosc is running with multiple threads, default is 8, and 8*10 > 72. However, the Blosc codec tries to detect if it's being run in a child thread or process and if so disables use of multiple threads inside blosc. I have verified this works if using multiprocessing module directly, but not sure about dask distributed. If you want to forcibly disable blosc internal use of threads, you can do:
from numcodecs import blosc
blosc.use_threads = False

...which I think would need to get executed in each worker process somehow.
Alternatively you may be able to get the same effect via environment variables, but I think you'd need both:
BLOSC_NTHREADS=1
BLOSC_NOLOCK=1

Hth.

Thanks for the quick reply. Let me give this a try. Now that I am looking at top on the machine, it does look like CPUs are thrashed.

Needed to also set OMP_NUM_THREADS to 1 as well. Not sure why this was needed but once I did this, dask workers behaved as expected.

Likely one of your other dependencies uses OpenMP.

From my perspective, issue is resolved. Thanks for the quick response.

Thanks. Let us know if other issues crop up.


[$500] IOU – Unable to delete receipt in IOU with Enter key

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

Go to https://staging.new.expensify.com/
Log in
Navigate to a expense request conversation that has a receipt
Click on the receipt thumbnail
Click on Delete Receipt and press Enter key on a keyboard

Expected Result:
The receipt is deleted from the request
Actual Result:
A modal to confirm the receipt deletion disappears. Cancel button is selected by default for keyboard, but not Delete button
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] Windows: Chrome
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/2921b58d-8e52-4b39-989f-f2a7a8106d51
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0141d2c2d61a940b4d
Upwork Job ID:<PHONE_NUMBER>727464448
Last Price Increase: 2024-01-16

Proposal
Root cause
We are enclosing the ConfirmModal in a GestureHandlerRootView
Fix
We should move it out of the GestureHandlerRootView

Proposal
Please re-state the problem that we are trying to solve in this issue.
Unable to delete receipt in IOU with Enter key
What is the root cause of that problem?
No focus on the DELETE button when the confirmation modal appear.
What changes do you think we should make in order to solve the problem?
We can use focus-trap-react on src/components/ConfirmContent.tsx to handle the focus state. It also help make the ENTER key able to click on the DELETE. The package can give order for when user will use the TAB to navigate between the modal buttons.
There's already an open PR that will add focus-trap to the app.
What alternative solutions did you explore? (Optional)
We can set .focus() to the <Botton> component on rc/components/ConfirmContent.tsx when the modal render using ref.

@fedirjh Thanks!
@miljakljajic Could we hold on https://github.com/Expensify/App/pull/32800?

@fedirjh I thought that GestureHandlerRootView would have it's own focus trap that would interfere with the ConfirmModal but I checked the PR you mentioned and it seems to work. So, I guess it works!

This is an expected behavior. After the modal is displayed when you open the on-screen-keyboard from minimized state the screen loses focus so the pressOnEnter on the button will not work and it shouldn't work it's intentional but if the on-screen-keyboard is not in a minimized state it works fine. This is expected.

Agreed, I think we can close!


add PARSL_MPI_PREFIX as prefix

Summary of Changes
Attempt to solve https://github.com/Quantum-Accelerators/quacc/issues/2076 If the user provides parsl_resource_specification then it takes precedence in the command prefix. This should also be done for ONETEP, VASP, ... but I don't know how happy you are with this whole concept.
Small reminder about why we care about that: This allow Parsl user to use any kind of launcher, mainly mpirun
Requirements

Your PR should be focused on a single feature addition or bugfix.
Your PR should have relevant, comprehensive unit tests.
Your PR should be on a custom branch and not be named main.

Notes

Before contributing for the first time, read the "Guidelines" section.
If you are an external contributor, you will see a comment from @buildbot-princeton. This is solely for the maintainers.
When your code is ready for review, ping one of the active maintainers.

Can one of the admins verify this patch?

Oh, I see. This might be why my half-hearted attempt to use the new MPIExecutor did not work as planned (https://github.com/Quantum-Accelerators/quacc/pull/2167).
It would probably make sense to have this taken care of early on, like when the settings are initialized. For instance, here one could swap out the 0th index of the tuple with the environment variable if supplied. This would make it easier to prevent bugs since we won't have to make changes in multiple places. It is a bit annoying to have to do this for every single MPI executable, but I don't really see a way around that given the current Parsl setup, and if it's all confined within a single settings.py file, at least it's not too cumbersome to deal with.

Debugging Parsl scripts is a nightmare, I still didn't find a way to cleanly show stdout somewhere...
This should work, I just wanted to make sure of what happens if you send jobs with different specification inside a subflow, but suddenly I am getting hit with a:
File "/Users/tomdm/repos/quacc/src/quacc/wflow_tools/decorators.py", line 617, in wrapper
return func(*f_args, **f_kwargs)
^^^^^^^^^^^^^^^^^
File "/Users/tomdm/repos/quacc/src/quacc/recipes/espresso/core.py", line 87, in static_job
is_metal = check_is_metal(atoms)
^^^^^^^^^^^^^^^^^
NameError: name 'check_is_metal' is not defined
When trying to run a static_job with Espresso on my local machine

from quacc import SETTINGS

SETTINGS.WORKFLOW_ENGINE = "parsl"

import os

import parsl
from parsl import bash_app, python_app
from parsl.channels import LocalChannel
from parsl.config import Config
from parsl.executors import HighThroughputExecutor
from parsl.providers import LocalProvider
from quacc.recipes.espresso.core import static_job
from ase.build import molecule
from quacc import job, redecorate, subflow

config = Config(
    executors=[
        HighThroughputExecutor(
            label="htex_local",
            cores_per_worker=1,
            max_workers=1,
            provider=LocalProvider(
                channel=LocalChannel(),
                init_blocks=1,
                max_blocks=1,
            ),
        )
    ],
)

resource_spec_1 = {
    "num_nodes": 2,
    "ranks_per_node": 2,
    "num_ranks": 4,
}

resource_spec_2 = {
    "num_nodes": 1,
    "ranks_per_node": 1,
    "num_ranks": 1,
}

parsl.load(config)

atoms = molecule("H2O")

"""
@job
def test_mpi_apps():
    from os import environ

    return [environ.get("PARSL_RANKS_PER_NODE"), environ.get("PARSL_NUM_NODES"), environ.get("PARSL_NUM_RANKS"), environ.get("PARSL_MPI_PREFIX"), environ.get("PARSL_MPIEXEC_PREFIX"), environ.get("PARSL_MPI_NODELIST")]
"""

test_mpi_apps_1 = redecorate(static_job, job(parsl_resource_specification=resource_spec_1))
#test_mpi_apps_2 = redecorate(static_job, job(parsl_resource_specification=resource_spec_2))

#@subflow
#def subflow_mpi_apps():
#    return [test_mpi_apps_1(atoms), test_mpi_apps_2(atoms)]

future = test_mpi_apps_1(atoms)

print(future.result())```

If you have time can you tell me what you get from running this script? (nothing to change normally)

Just tried the same script on master and get the same thing, I guess there are still things I don't understand about Parsl!
In any case, it seems to not be related to this MR.
To be completely honest this would require much more testing (with proper HPC etc...) which practically cannot be done here? I would suggest that for now Quacc goes with that and wait for other users feedback (or me but after the PhD, when I have time 😅)

Thanks! I'm going to go ahead and merge this as-is. When I go ahead and try to solve https://github.com/Quantum-Accelerators/quacc/issues/2116, I'll be testing things out over HPC and with different codes, which will likely spot any problems for me to address. But this PR will be a good point for me to build from. Thanks!


Fix syntax error on XSPI_CR_FTIE_Msk.

IMPORTANT INFORMATION
Contributor License Agreement (CLA)

The Pull Request feature will be considered by STMicroelectronics after the signature of a Contributor License Agreement (CLA) by the submitter.
If you did not sign such agreement, please follow the steps mentioned in the CONTRIBUTING.md file.

ST Internal Reference: 180275


Added windows/wmic stager SquiblyTwo

This launcher leverages wmic.exe to invoked locally or remotely from an xsl file and execute the powershell script.
https://subt0x11.blogspot.co.id/2018/04/wmicexe-whitelisting-bypass-hacking.html

Thanks @infosecn1nja !


NEED HELP !! nothing created for running the main

NEED HELP
python 3.9
smop 0.41
I am trying the example to transfer the .m into .py
but nothing created after some steps
download smop file on github
cd .....\Downloads\smop-master\smop
extract the file
python setup.py install --user
cd smop
I changed the
from . import options
from . import parse
from . import resolve
from . import backend
from . import version
to
from smop import options
from smop import parse
from smop import resolve
from smop import backend
from smop import version
otherwise cannot run the file
python main.py solver.m
show nothing on it. (run success but nothing here)
NO solver.py is created
Anything wrong here ? Please help...

@andy8456 If running from sources, go to the project root and run run.py
@victorlei I would like to suggest adding the starting section in smop/main/py to prevent a confusion here:
if __name__ == "__main__":
    main()


Unable to deploy Test Agent on Azure VM - WinRM issue

Hi there,
For some reason I am unable to deploy the Test Agent on a VM with the following error...
2017-05-11T03:03:32.4966120Z ##[warning]Task 'VerifyTestAgentInstalled' for machine DockerVM:5986's Error : System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server DockerVM failed with the following error message : The WinRM client cannot process the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic
Here is the full log from the failed task
2017-05-11T02:56:53.4998520Z ##[section]Starting: Deploy TestAgent on DockerVM 2017-05-11T02:56:53.4998520Z ============================================================================== 2017-05-11T02:56:53.4998520Z Task         : Visual Studio Test Agent Deployment 2017-05-11T02:56:53.4998520Z Description  : Deploy and configure Test Agent to run tests on a set of machines 2017-05-11T02:56:53.4998520Z Version      : 1.0.42 2017-05-11T02:56:53.4998520Z Author       : Microsoft Corporation 2017-05-11T02:56:53.4998520Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=625976) 2017-05-11T02:56:53.5008520Z ============================================================================== 2017-05-11T02:56:53.5118513Z Preparing task execution handler. 2017-05-11T02:56:56.7768212Z Executing the powershell script: d:\a\_tasks\DeployVisualStudioTestAgent_52a38a6a-1517-41d7-96cc-73ee0c60d2b6\1.0.42\DeployTestAgent.ps1 2017-05-11T02:56:59.8286653Z DistributedTests: Starting to deploy and configure test agent on test machines. 2017-05-11T02:56:59.8366656Z DistributedTests: Inputs provided are: 2017-05-11T02:56:59.8366656Z DistributedTests: Username: matty 2017-05-11T02:56:59.8366656Z DistributedTests: Use HTTP Port: False 2017-05-11T02:56:59.8366656Z DistributedTests: Run as process: True 2017-05-11T02:56:59.8366656Z DistributedTests: Login Automatically: True 2017-05-11T02:56:59.8366656Z DistributedTests: Disable Screen saver: True 2017-05-11T02:56:59.8366656Z DistributedTests: Agent would be downloaded from https://go.microsoft.com/fwlink/?LinkId=615472 2017-05-11T02:56:59.8366656Z DistributedTests: Update test agent: True 2017-05-11T02:56:59.8366656Z DistributedTests: Run test agent as DataCollection only : False 2017-05-11T02:56:59.8366656Z DistributedTests: Path to script that installs test agent on remote machine: D:\a\_tasks\DeployVisualStudioTestAgent_52a38a6a-1517-41d7-96cc-73ee0c60d2b6\1.0.42\TestAgentInstall.ps1 2017-05-11T02:56:59.8366656Z DistributedTests: Path to script that configures test agent on remote machine: D:\a\_tasks\DeployVisualStudioTestAgent_52a38a6a-1517-41d7-96cc-73ee0c60d2b6\1.0.42\TestAgentConfiguration.ps1 2017-05-11T02:56:59.8376657Z DistributedTests: Path to script that downloads test agent on Azure remote machines : D:\a\_tasks\DeployVisualStudioTestAgent_52a38a6a-1517-41d7-96cc-73ee0c60d2b6\1.0.42\DownloadTestAgent.ps1 2017-05-11T02:56:59.8376657Z DistributedTests: Path to script that checks if test agent is installed on remote machine: D:\a\_tasks\DeployVisualStudioTestAgent_52a38a6a-1517-41d7-96cc-73ee0c60d2b6\1.0.42\CheckTestAgentInstallation.ps1 2017-05-11T02:56:59.8376657Z DistributedTests: Path to script that checks if test agent is already running on remote machine: D:\a\_tasks\DeployVisualStudioTestAgent_52a38a6a-1517-41d7-96cc-73ee0c60d2b6\1.0.42\VerifyTestMachinesAreInUse.ps1 2017-05-11T02:56:59.8376657Z DistributedTests: Path to script that helps to download and configure test agent :  2017-05-11T02:56:59.9366651Z DistributedTests: Task 'PopulatingMachinesPresentState' on machine 'DockerVM:5986' is being run 2017-05-11T02:57:02.5782449Z DistributedTests: Task 'PopulatingMachinesPresentState' on machine 'DockerVM:5986' completed. 2017-05-11T02:57:02.5802449Z ##[warning]DistributedTests: Task 'PopulatingMachinesPresentState' for machine DockerVM:5986's Error : System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server DockerVM failed with the following error message : The WinRM client cannot process the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic. 2017-05-11T02:57:02.5802449Z    at System.Management.Automation.Runspaces.AsyncResult.EndInvoke() 2017-05-11T02:57:02.5802449Z    at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult) 2017-05-11T02:57:02.5802449Z    at System.Management.Automation.RemoteRunspace.Open() 2017-05-11T02:57:02.5802449Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.GetOpenedRunspace() 2017-05-11T02:57:02.5802449Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.EstablishRemoteSession() 2017-05-11T02:57:02.5802449Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.RetryExecutor.Execute(Action action) 2017-05-11T02:57:02.5802449Z    at System.Threading.Tasks.Task.Execute() 2017-05-11T02:57:02.5802449Z --- End of stack trace from previous location where exception was thrown --- 2017-05-11T02:57:02.5802449Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-05-11T02:57:02.5812545Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-05-11T02:57:02.5812545Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.<Initialize>d__29.MoveNext() 2017-05-11T02:57:02.5812545Z --- End of stack trace from previous location where exception was thrown --- 2017-05-11T02:57:02.5812545Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-05-11T02:57:02.5812545Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-05-11T02:57:02.5812545Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.<Initialize>d__23.MoveNext() 2017-05-11T02:57:02.5812545Z --- End of stack trace from previous location where exception was thrown --- 2017-05-11T02:57:02.5812545Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-05-11T02:57:02.5812545Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-05-11T02:57:02.5812545Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.RemoteDeploymentHelper.<Initialize>d__0.MoveNext() 2017-05-11T02:57:02.5812545Z --- End of stack trace from previous location where exception was thrown --- 2017-05-11T02:57:02.5812545Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-05-11T02:57:02.5812545Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-05-11T02:57:02.5812545Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.DeploymentClient.<RunAsync>d__24.MoveNext() 2017-05-11T02:57:02.5812545Z ##[warning]DistributedTests: Task 'PopulatingMachinesPresentState' for machine DockerVM:5986's Log : Permission denied while trying to connect to the target machine DockerVM on the port:5986 via power shell remoting. Please check the following link for instructions: https://go.microsoft.com/fwlink/?LinkID=390236System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server DockerVM failed with the following error message : The WinRM client cannot process the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic. 2017-05-11T02:57:02.5812545Z    at System.Management.Automation.Runspaces.AsyncResult.EndInvoke() 2017-05-11T02:57:02.5812545Z    at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult) 2017-05-11T02:57:02.5822451Z    at System.Management.Automation.RemoteRunspace.Open() 2017-05-11T02:57:02.5822451Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.GetOpenedRunspace() 2017-05-11T02:57:02.5822451Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.EstablishRemoteSession() 2017-05-11T02:57:02.5822451Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.RetryExecutor.Execute(Action action) 2017-05-11T02:57:02.5822451Z    at System.Threading.Tasks.Task.Execute() 2017-05-11T02:57:02.5822451Z --- End of stack trace from previous location where exception was thrown --- 2017-05-11T02:57:02.5822451Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-05-11T02:57:02.5822451Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-05-11T02:57:02.5822451Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.<Initialize>d__29.MoveNext() 2017-05-11T02:57:02.5822451Z --- End of stack trace from previous location where exception was thrown --- 2017-05-11T02:57:02.5822451Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-05-11T02:57:02.5822451Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-05-11T02:57:02.5822451Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.<Initialize>d__23.MoveNext() 2017-05-11T02:57:02.5822451Z --- End of stack trace from previous location where exception was thrown --- 2017-05-11T02:57:02.5822451Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-05-11T02:57:02.5822451Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-05-11T02:57:02.5822451Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.RemoteDeploymentHelper.<Initialize>d__0.MoveNext() 2017-05-11T02:57:02.5822451Z --- End of stack trace from previous location where exception was thrown --- 2017-05-11T02:57:02.5822451Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 2017-05-11T02:57:02.5822451Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2017-05-11T02:57:02.5822451Z    at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.DeploymentClient.<RunAsync>d__24.MoveNext() 2017-05-11T02:57:02.5832443Z ##[error]Error occured on 'DockerVM:5986'. Details : 'Connecting to remote server DockerVM failed with the following error message : The WinRM client cannot process the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic.'. For troubleshooting, refer https://aka.ms/remotevstest. 2017-05-11T02:57:02.5862447Z ##[error]System.Exception: Error occured on 'DockerVM:5986'. Details : 'Connecting to remote server DockerVM failed with the following error message : The WinRM client cannot process the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic.'. For troubleshooting, refer https://aka.ms/remotevstest. 2017-05-11T02:57:02.5902446Z DistributedTests: Downloading test agent from https://go.microsoft.com/fwlink/?LinkId=615472;https://go.microsoft.com/fwlink/?LinkID=623891;https://go.microsoft.com/fwlink/?LinkID=623892 to $env:SystemDrive\TestAgent\vstf_testagent.exe;$env:SystemDrive\TestAgent\cab1.cab;$env:SystemDrive\TestAgent\vstf_testExecCore.msi location on the test machines 2017-05-11T02:57:02.5922450Z ##[warning]For troubleshooting, refer https://aka.ms/remotevstest. 2017-05-11T02:57:02.5932445Z ##[error]System.InvalidOperationException: Deploy Test Agent task has failed on all machines. Check the logs for more details. 2017-05-11T02:57:02.5932445Z    at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DtlMachineDeploymentHelper.ThrowIfNumberOfTargetMachinesAreZero(String exceptionMessage) 2017-05-11T02:57:02.5932445Z    at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DtlMachineDeploymentHelper.DownloadTestAgentToTestMachines(String sourcePath, String destinationPath, String downloadTestAgentScriptLocation, Boolean fallBackRun) 2017-05-11T02:57:02.5932445Z    at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployTestAgent.TryDownloadTestAgentToTestMachinesDirectly(Boolean fallBackRun) 2017-05-11T02:57:02.5932445Z    at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployTestAgent.TryTestAgentCopyOrDownload(TestAgentToTestMachineDelegate[] testAgentDel) 2017-05-11T02:57:02.5932445Z    at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployTestAgent.CopyAgentToTestMachines() 2017-05-11T02:57:02.5932445Z    at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployTestAgent.Run() 2017-05-11T02:57:02.5932445Z    at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.TaskRunner.Run(Dictionary2 arguments, VssConnection connection, TaskType taskType)
2017-05-11T02:57:02.5932445Z    at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.InvokeDeployTestAgentCmdlet.ProcessRecord()
2017-05-11T02:57:02.6112443Z ##[error]PowerShell script completed with 2 errors.
2017-05-11T02:57:02.6122449Z ##[section]Finishing: Deploy TestAgent on DockerVM
`
This is despite having a preceding 'Azure Resource Group Deployment' task which has the action set to 'Select resource group' and 'Enable prerequisites' set to 'Configure with WinRM'. After this task but preceding the Test Agent deploy task I also have an azure file copy where I have ticked 'Enable Copy Prerequisites'.
If I run winrm e winrm/config/listener on the VM I get the following response
Listener
Address = *
Transport = HTTP
Port = 5985
Hostname
Enabled = true
URLPrefix = wsman
CertificateThumbprint
ListeningOn = <IP_ADDRESS>, <IP_ADDRESS>, 192.168.1
:19df:ca65:6b09%7, fe80::ec39:1c4c:d598:e14c%9
Listener
Address = *
Transport = HTTPS
Port = 5986
Hostname = <IP_ADDRESS>
Enabled = true
URLPrefix = wsman
CertificateThumbprint = 842CE2C543615F333AC2
ListeningOn = <IP_ADDRESS>, <IP_ADDRESS>, 192.168.1
:19df:ca65:6b09%7, fe80::ec39:1c4c:d598:e14c%9
Does anyone know what could be going on here?
Other info

I'm using VSTS with a hosted build agent
I'm using Visual Studio 2017 to edit my solution
I've tried both HTTP and HTTPS protocols in the Deploy Test Agent task
I've tried both version 1 and 2 of the task

Many thanks,

@Konnor5092 You can't use Hosted Build agent for Deploy Test Agent/Run Functional test task. Will add this to documentation.
You need to use "Private build agents"

I'm having the same problem. Where did you document this?  I am using this documentation and it has no mention of this limitation. Is this for real? This seems like a really really bad limitation. Running tests, including integration tests, are an important part of builds and if hosted builds cannot run that task, it seems to be that they are a waste of time or distraction to even offer as an option. Is there any timeline to fix this issue?  Thanks!

Sorry @nigurr but could it be, that you missunderstood the topic?
It is correct that you cant run "Deploy Test Agent/Run Functional test task" on Hosted Agents.
But here the topic is: Why isnt it possible to run "Deploy Test Agent/Run Functional test task" on Azure VMs which are in this context "Private Build Agents".
So if i am right, please reopen that topic.
Thanks in advance!


Changing pytest import to use astropy bundled

To be more consistent, and hopefully to solve @wtgee's https://github.com/astropy/astropy/issues/5202 issue.

Same random fail we saw yesterday. The build needs a restart and then should pass.

@bsipocz I think you can restart builds yourself by closing and then re-opening the PR

Yes, but it triggers the whole travis run which is a waste of CI resources as only one build was failing (and since we saw the very same yesterday, I'm sure this can even be merged without it and will get the all green).

@bsipocz Restarting that one test now just to be safe.

Passing. Thanks @bsipocz. Should be good now @wtgee.

Thanks all. I'm still having same issues with astropy but will move it over to astropy/astropy#5202

Ok, still trying to figure this out and I'm not sure the problem is on astropy side. I created a completely clean fork of astroplan where the only change is to try and print the value of remote_data before passing the config to the associated astropy test.  Lines added here:
https://github.com/wtgee/astroplan/blob/test-conftest/astroplan/conftest.py#L53
Using this fork in my travis-ci build fails on the print line, here:
https://travis-ci.org/panoptes/POCS/jobs/148198413#L832
Same error, just before passing to the astropy tests. How/where/why do I get this remote_data value to show up?

Ok, I have a different repo that has almost nothing in it. I have one simple test and very minimal requirements. It is building fine and passing the tests in travis. If I add astroplan to my .travis.yml file (cloning from repo then installing) I get the remote_data error. I can open a new Issue for this rather than hash it out here.
https://travis-ci.org/panoptes/PIAA/jobs/148232555

@wtgee I haven't been in the loop on all of your debugging efforts, and I'm pretty sure this is unrelated, but small heads up: we've moved astroplan's --remote-data tests into the allowed failures section of our testing matrix because of difficulties with IERS warnings.
It looks like there's something else going on in that build log, though. This is one where I would rely on @bsipocz's wizardry.

@bmorris3 - Yep, it's fixed now in a pending PR to POCS.

Thanks @bmorris3 for the update and much thanks to @bsipocz for the magical incantations!


Integration of OncoKB annotation in Genome Nexus response: Phase 2

In the current implementation (https://github.com/genome-nexus/genome-nexus/issues/17), the OncoKB annotation was routed through cBioPortal API. But the OncoKB annotation is not integrated as part of Genome Nexus annotation endpoint.

@jjgao Thanks for bringing this up. OncoKB annotation is already part of Genome Nexus annotation endpoint(#370 ), we only use cBioPortal API in the genome nexus frontend.
For example:

Thanks @leexgh. Now that OncoKB provides the biological evidence (oncogenic or not) freely, we should try to add them into GN. For levels, let's see if we can get it directly from OncoKB - we should allow the user to supply their OncoKB API token. For our public GN site use, we need to make sure users are visiting the site - we may want to do recaptcha (OncoKB is implementing that and we can borrow it).


These updates include the current AWS instances as of 11/26/2014.  Without this update I'm not sure how to get this working.

This update adds the current list of AWS instances. Without this I don't believe I can get the formation scripts to run.

Furthermore in us-east-1, the AZ us-east-1e can NOT launch the old instance type (like t1.micro, etc.) now.

Circling back on this, I've updated all instance types to current generation along with latest HVM-based Amazon Linux AMIs (2015.03). Please refer to latest templates which have also been updated in all S3 buckets.
Thanks for your patience!


import dataset

I need to import a dataset for use in mne-python, but can not find a way to do so. I want to import this dataset in mne for preprocessing.
dataset: Jaeyoung Shin, Alexander von Lühmann, Benjamin Blankertz, Do-Won Kim, Han-Jeong Hwang and Klaus-Robert Müller, "Open Access Dataset for EEG+NIRS Single-Trial Classification," IEEE Trans. Neural Syst. Rehabil. Eng., online published. Download dataset here.
Could anyone help me in this issue please?
Thank for help.

According to the description, the data is stored in .mat files. You can use scipy.io.loadmat to load it. This will give you a NumPy array, which you then need to convert to a Raw MNE object using https://mne-tools.github.io/stable/generated/mne.io.RawArray.html (see also this example).

duplicate of #6508. As I said in the follow-up email thread, please follow the guidance in the getting help section of our website. Specifically: use the MNE mailing list and/or MNE gitter channel for questions about usage. The GitHub issues are for feature requests and bug reports.


Coverage remained the same at 24.341% when pulling 3bb1df649e2620cd9eb4cb6f7afcaba8e275482e on master into 3e22adca7b83862868fe44558bd4abd7186fc36e on dev.

Coverage remained the same at 24.341% when pulling 3bb1df649e2620cd9eb4cb6f7afcaba8e275482e on master into 3e22adca7b83862868fe44558bd4abd7186fc36e on dev.


fix(start): keep connection open with http-proxy

Improve the SWA CLI local dev time by ~70%!
Related discussion: https://github.com/Azure/static-web-apps-cli/discussions/554

@manekinekko this seems like a massive performance improvement. Let's merge it.


Ember 5 support

There is an error while running the addon with Ember 5:

Could not find module @ember/polyfills imported from ember-simple-auth/utils/assign
Any plans to update the addon for Ember 5?

Solved by installing "ember-simple-auth": "^6.0.0"


Message ID Tracker - Receiver data - Design

Problem statement
As an internal admin, I would like to be able to see the receiver specific details of a message when selecting a messageId from the Admin -> Message ID Search page.
What you need to know
Mural with initiative break-down https://app.mural.co/t/primedatainput6410/m/primedatainput6410/1660849046968/e257020850ab71f57b31120e27ec06203ae9c22b?sender=u3fea607b46e84058d3224917
Wireframe for the ongoing work on this feature

https://www.figma.com/file/fKl2M96ylkxYezwjVVUSIX/Internal-Admin-%26-Tools?node-id=411%3A1069

Acceptance criteria

Wireframe for the following information regarding receiver data for each message:

Jurisdiction name
Outgoing report ID
Outgoing file name
Date/time delivered by ReportStream
Transport Results
Quality Filter responses for each Jurisdiction delivered
The full list of fields to be displayed will be an outcome of a conversation with O&O team

- [ ] ...

## To do
- Sync with O&O team (Brick G) for more information

cc @HeatherRienks @fmccaf1 @a-chappelear - This needs to be the next item to continue working on the Msg Tracker MVP for receiver data. Updating it to be the stretch goal for sprint 53.

@fmccaf1 @HeatherRienks In eng sync (10/20) we discussed using this as a reactive ticket, to gather feedback rather than update any design work now. There are already designs for the Receiver section of the UI, and we've got the UI work pointed for development.

Besides usability, need to learn:

What is time to find a message without the message tracker? How does message tracker change that time?
What is use case for external message tracker?

After meeting with SimpleReport (Emma Stephenson) we've identified two key areas this could be helpful to the larger PRIME family:

This tool could be made available to give SimpleReport more agency in their message issue handling, only then relying on ReportStream for deeper issues with our pipeline.
This tool could be made available to support Message History in a way our Submission History does not, since SimpleReport is batching all submissions as one CSV, and ReportStream considers this a single report from a single sender.

For these reasons, we should integrate SimpleReport into our usability testing! We can have them test their first use case through our UI (the same one O&O would use)

Moved back to product backlog due to timeout issues that only dev ops can address. Once issues are addressed we can again move back into an upcoming sprint.
cc:
@kevinhaube


Getting os version and kernel_version for unix os

This changes getting version and kernel_version by using uname
from golang/x/sys/unix package.
NOTE: windows not support in this changes.
Fixes #187

The result from linux (I try inside docker container):

And darwin:


Tell people they need to get ready

We need something to tell "not-ready" people they need to click on that "Ready" button :smile:

If 60% of room is ready we can add a countdown (ie: 10 seconds to be ready).
At the end of this countdown peoples not ready are automatically spectators no?

This has been a huge problem with me for a while. More often than not, people will just sit in a lobby when they finish a game, so you end up with these big lobbies where many people are trying to play, but a few are stopping them. This will, I imagine, occasionally result in people not coming back to curvytron because of the lack of actual gameplay. The kick mechanic is very impractical. If you aren't the party leader and try to initiate a kick of an inactive player, it will almost never happen from a vote because of how little people pay attention to the chat. They either don't know that a kick vote is taking place, or they simply don't care. As for party leaders, the kick mechanic is even worse. They either: Don't know how to kick, don't know people need to be kicked, or simply are inactive from the lobby. I think one of the previously mentioned ideas on this thread would be the most viable fix: Have a way to force inactive users into spectator mode if inactive for a certain amount of time. When the clock symbol appears to denote a player has not made any actions as of recently would be a good place to start with timing of when the players go into spectator mode. There also has to be an easier way to transfer party leadership. I argue that if the party leader has been idle for any reasonable period of time (until the clock symbol appears), any player should be able to claim party leadership. Party leadership seemingly goes to a random player at this point, and I don't think that should be allowed to happen. Having a player be able to claim party leadership (maybe by clicking the crown button next to the current leader's name) will ensure that someone can take control of the lobby, have an alternate way to clear out idle players, and get the game started.


Package managers dropdown on code copy

Describe the feature in detail (code, mocks, or screenshots encouraged)
ui.shadcn.com has a feature that I like: when you press the right button to copy a command in the docs, you get the choice to choose the package manager you want to copy for.
This feature doesn't exist on shadcn-svelte.com. Are you okay for me to implement it (using the dropdown menu component?), making it as close as possible to the original design from shadcn?
What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
No response

Sounds good to me!


How to use proxy with dio_http2_adapter

I can set proxy with default httpClientAdapter.
But with dio_http2_adapter, cannot set proxy.
Anyone know how to set proxy with dio_http2_adapter?

the same question for me.  Anyone know?

you can use charles + postern to catch http2, may be need to trust charles certificate on your phone

I can set proxy with default httpClientAdapter. But with dio_http2_adapter, cannot set proxy. Anyone know how to set proxy with dio_http2_adapter?

No, you can't set proxy with this implementation of dio_http 2_adapter.
The reason is that dart http 1 client implement tunnel proxy out of box, http 2net.
You can write your own implementation of Connection Manager that support tunnel connection.
Example is here: https://github.com/dart-lang/http2/issues/48#issuecomment-749491710
To get proxy host and port you need to ask system like this in android:  System.getProperty("http.proxyHost"),  System.getProperty("http.proxyPort")


Get access to URI ?

Hi,
Thanks for this plugin, that's exactly what i was looking for !
I've a question about pictures URI: it's very efficient to have a way to create a thumbnail for performance, but it's not really efficient to create a blob for an existing picture (it takes a lot of memory and after a while the app just crash). I there a way to access to picture URI so that i could just use the URI to display the picture inside a  ?

If you have lots of thumbnails and photos to deal with, you have to save them as files in device's storage and use them in your UI as URLs to these files. You may find how to do that in 4th example here.

Hi, Thanks for your answer @domax. My problem was to display the user gallery, so if i had to save every thumbnail and pictures, it would lead to a storage issue. I solved my problem with an other plugin (cordova-plugin-photo-library), my use case probably didn't fit so much with this plugin ultimately.
Have a good day


Links focus-visible styling

Replaced browser default focus ring with our own

I'm not sure about this. What is the intention behind this change?