Add --yes flag

Here's the synced up version. WIP with the features discussed. I'll update accordingly!
Reference: #44

@kefranabg Please have a look. I couldn't get the inquirer.prompt test to work because the askQuestions call is mocked, so I left that part out. All the other tests should be useful though.

I don't see any test that is failing. if you removed it, could you add it again so I can fix it ?

I don't see any test that is failing. if you removed it, could you add it again so I can fix it ?

It's not done. If you could go ahead and add a test to make sure inquirer.prompt is not fired, this should be done. 👍🏻


Update graphviz to 0.4.0

When I use XcodeGen as dependency, SwiftPM fetches latest GraphViz package.
So it causes compilation error.
related? #1057 #1049

Fixed by https://github.com/yonaskolb/XcodeGen/pull/1057


Improve the design of cluster

In the current release, the 'emqttd_ctl' CLI does not support a node to leave the cluster. We will improve the design of cluster in 0.16 release to support:

A node joins the cluster
./bin/emqttd_ctl cluster join <Node>

A node leaves the cluster
./bin/emqttd_ctl cluster leave

Remove a node from the cluster
./bin/emqttd_ctl cluster remove <Node>

Check the cluster status
./bin/emqttd_ctl cluster status

$ ./bin/emqttd_ctl cluster
cluster join <Node>                     #Join the cluster
cluster leave                           #Leave the cluster
cluster remove <Node>                   #Remove the node from cluster
cluster status                          #Cluster status


[bug] window.TAURI_IPC is  not a function

Describe the bug
Hi, I try to build my app for android. The compilation goes fine, the app opens in android emulator. But tauri commands seems to no work, they are not called.
In the logs I can see several errors:
01-19 11:11:38.340  4558  4558 E Tauri/Console: File: https://tauri.localhost/app.bundle.js - Line 94261 - Msg: Uncaught (in promise) TypeError: window.__TAURI_IPC__ is not a function

What is the current state of android support? Does the tauri globas familly __TAURI_*__ are injected into the web view? Are tauri commands not supported yet?
Should be related to https://github.com/tauri-apps/tauri/issues/6053 where a fix has been merged that potentially fix the issue? If yes, there is a way to pull this fix on my project since there is no release for it yet?
Reproduction
No response
Expected behavior
No response
Platform and versions
Environment
› OS: Arch Linux Unknown X64
› Node.js: 16.17.1
› npm: 8.15.0
› pnpm: Not installed!
› yarn: 1.22.19
› rustup: 1.25.1
› rustc: 1.66.1
› cargo: 1.66.1
› Rust toolchain: stable-x86_64-unknown-linux-gnu
Packages
WARNING: no lock files found, defaulting to npm
› @tauri-apps/cli [NPM]: 2.0.0-alpha.1
› @tauri-apps/api [NPM]: 2.0.0-alpha.0
› tauri [RUST]: 2.0.0-alpha.2,
› tauri-build [RUST]: 2.0.0-alpha.0,
› tao [RUST]: 0.15.8,
› wry [RUST]: 0.23.4,
App
› build-type: bundle
› CSP: default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
› distDir: ../dist
› devPath: http://localhost:9000/
› framework: React
› bundler: Webpack
App directory structure
├─ public
├─ src-tauri
├─ .storybook
├─ node_modules
├─ src
└─ dist
Stack trace
01-19 11:11:38.340  4558  4558 E Tauri/Console: File: https://tauri.localhost/app.bundle.js - Line 94261 - Msg: Uncaught (in promise) TypeError: window.__TAURI_IPC__ is
not a function
01-19 11:11:38.342  4558  4558 E Tauri/Console: File: https://tauri.localhost/app.bundle.js - Line 94261 - Msg: Uncaught (in promise) TypeError: window.__TAURI_IPC__ is
not a function
01-19 11:11:38.342  4558  4558 E Tauri/Console: File: https://tauri.localhost/app.bundle.js - Line 94261 - Msg: Uncaught (in promise) TypeError: window.__TAURI_IPC__ is
not a function
01-19 11:11:38.342  4558  4558 E Tauri/Console: File: https://tauri.localhost/app.bundle.js - Line 94261 - Msg: Uncaught (in promise) TypeError: window.__TAURI_IPC__ is
not a function
01-19 11:11:38.343  4558  4558 E Tauri/Console: File: https://tauri.localhost/app.bundle.js - Line 94261 - Msg: Uncaught (in promise) TypeError: window.__TAURI_IPC__ is
not a function
01-19 11:11:38.343  4558  4558 E Tauri/Console: File: https://tauri.localhost/app.bundle.js - Line 94261 - Msg: Uncaught (in promise) TypeError: window.__TAURI_IPC__ is
not a function

Additional context
No response

If yes, there is a way to pull this fix on my project since there is no release for it yet?

You can use tauri from git as explained here: https://tauri.app/v1/guides/faq#how-can-i-use-unpublished-tauri-changes (use the next branch) - only i think using tauri & tauri-build from git should be enough, the released cli should still work.

Yup, the fix is present in next branch, and fix the issue, thanks!


Update Issue Template

Updates the bug.md issue template https://github.com/cyberark/conjur-template/issues/10

@cyberark/conjur-infra-team this repo is not correctly reporting CC status


Can't get IMixedRealityGestureHandler to call methods

Overview
Hi there. I am trying to upgrade my stuff from IManipulationHandler and INavigationHandler to the newer MRTKv2 IMixedRealityGestureHandler.
As a simple example I added a cube to the Scene, added a Script "RotationGesture" to it with this Content:
public class RotationGesture :
    BaseInputHandler,
    IMixedRealityGestureHandler<Vector3>
{
    private static IMixedRealityInputSystem inputSystem = null;
    protected static IMixedRealityInputSystem InputSystem => inputSystem ?? (inputSystem = MixedRealityToolkit.Instance.GetService<IMixedRealityInputSystem>());

    # region IMixedRealityGestureHandler
    public void OnGestureUpdated(InputEventData<Vector3> eventData)
    {
        Debug.Log("OnGestureUpdated(InputEventData<Vector3> eventData)" + eventData.InputData);
        eventData.Use();
    }

    public void OnGestureCompleted(InputEventData<Vector3> eventData)
    {
        Debug.Log("OnGestureCompleted(InputEventData<Vector3> eventData)" + eventData.InputData);

        inputSystem.PopModalInputHandler();
        eventData.Use();
    }

    public void OnGestureStarted(InputEventData eventData)
    {
        Debug.Log("OnGestureUStarted(InputEventData eventData)" + eventData.ToString());

         inputSystem.PushModalInputHandler(gameObject);
    }

    public void OnGestureUpdated(InputEventData eventData) => Debug.Log("OnGestureUpdated(InputEventData eventData)" + eventData.ToString());

    public void OnGestureCompleted(InputEventData eventData) => Debug.Log("OnGestureCompleted(InputEventData eventData)" + eventData.ToString());

    public void OnGestureCanceled(InputEventData eventData)
    {
        Debug.Log("OnGestureCanceled(InputEventData eventData)" + eventData.ToString());

        inputSystem.PopModalInputHandler();
        eventData.Use();
    }

    #endregion IMixedRealityGestureHandler
}

and tried to perform the gesture (Right Mouse click, hold and move with space or rotate Hand with E, R and F) in Simulator in Unity Editor. But None of the Methods gets called.
Either I am trying to perform the Gesture the wrong way in the Simulator or something else is wrong.
Expected Behavior
Expected to see the debug logs.
Actual Behavior
Nothing happens
Steps to reproduce

Add simple cube to Scene
Add RotationGesture to it
Start Simulator and try to perform gesture

Mixed Reality Toolkit Release Version
MRTK v2.0.0 RC1
Any ideas? What am I doing wrong? Thank you

You probably need to switch the input simulation hand mode from "Articulated" to "Gestures":
https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/InputSimulation/InputSimulationService.html#hand-simulation
The Articulated mode does not raise gesture events, since it emulates the Hololens 2, which (afaik) does not raise these events either. "Gestures" is emulating Hololens 1, which uses the gesture events.

Closing this issue out, as it seems like @lukastoenneMS has provided an answer, please reopen if it hasn't addressed your question.


Add files via upload

Follow the naming conventions for the notebook.
Remove the deprecation warnings by using the newer functions instead.
@saswatpp please help @Ishan-Kumar2
Will review after these changes are made.


[SPARK-5190] Allow SparkListeners to be registered before SparkContext is initialized

This patch extends the SparkContext constructor to accept a list of SparkListeners to register before initializing the ListenerBus.  This is necessary in order for custom listeners to be able to receive certain events, such as SparkListenerEnvironmentUpdate.
I also added a addSparkListener methods to JavaSparkContext.

/cc @ksakellis, who originally requested this feature.

Test build #25787 has started for   PR 4111 at commit 25988f3.

This patch merges cleanly.

Test build #25787 has finished for   PR 4111 at commit 25988f3.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class SparkContext(

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25787/
Test PASSed.

@andrewor14, could you take a quick pass through this to see if it seems reasonable?

Hey so for this one, I think it might be good to use a configuration mechanism rather than exposing a different constructor. The issue with this approach is that users have to re-write their code to use a different constructor in order to use this, whereas many applications might be written using the standard SparkContext constructor.
What about having a configuration option that allows you to specify classes of additional listeners, and then we expect the listener has a constructor that accepts a SparkConf.
spark.extraListeners=a.b.C,d.e.F

Then when we construct a SparkContext we instantiate these and with the SparkConf and we attach them to the context.

@pwendell I think using configuration to add spark listeners adds complexity to the system.

Can't do static checking of listeners at compile time
The config option is not self describing, users will need to reference docs to know how to add these listeners.
Listeners may not need to accept SparkConf so now  you need to change your Listener implementation.

@vanzin had the idea, which I like, of creating a SparkContextBuilider object that would make construction easier than adding more constructor arguments. So you can imagine something like:
val context = SparkContextBuilder.addConfig(confg)
                                 .addListeners(...)
                                 .setSparkHome(..)
                                 .build()

We can obviously keep supporting the existing constructors for compatibility but move towards this for new constructor arguments. Just an Idea.

Whether we use a builder pattern vs. adding more constructors is slightly orthogonal to what I was saying.
I was saying that it would be good if there was some way to avoid making the user who instantiates a SparkContext have to explicitly identify listeners in compiled code. It would be more flexible if e.g. a packager could add listeners that will always be attached in a specific environment. Since listeners are a semi-public integration point, this seems reasonable to have a hook here.
Having builder-style constructors for SparkContext is a separate proposal. In the past we've tried to put as much of the logic as possible into configurations and generally avoid having complex constructors. The thinking was it's not good to have two disparate ways of doing configuration (what happens if I have spark.home in a config and then I manually set sparkHome, etc, can be confusing). That's something we could look at separately, though, if we want to go away from the current approach.

Test build #25854 has started for   PR 4111 at commit b22b379.

This patch merges cleanly.

Test build #25854 has finished for   PR 4111 at commit b22b379.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25854/
Test PASSed.

I've updated this patch to sketch out a proposal for SparkConf-based listener configuration, as Patrick suggested.  Please take another look and note the updated PR description.

Test build #26073 has started for   PR 4111 at commit 2daff9b.

This patch merges cleanly.

Test build #26073 has finished for   PR 4111 at commit 2daff9b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26073/
Test PASSed.

Test build #26117 has started for   PR 4111 at commit 1a5b9a0.

This patch merges cleanly.

I've updated this PR to remove the SPARK_EXTRA_LISTENERS variable.  I've also edited the PR description and title to link to a new JIRA, https://issues.apache.org/jira/browse/SPARK-5411, which describes the new mechanism added in this PR, rather than https://issues.apache.org/jira/browse/SPARK-5190, which should be addressed via a different mechanism (either another overloaded SparkContext constructor or a SparkContext builder).

Test build #26117 has finished for   PR 4111 at commit 1a5b9a0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26117/
Test PASSed.

Jenkins, retest this please.

Test build #26382 has started for   PR 4111 at commit 1a5b9a0.

This patch merges cleanly.

Test build #26382 has finished for   PR 4111 at commit 1a5b9a0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26382/
Test FAILed.

Test build #26520 has started for   PR 4111 at commit 8370839.

This patch merges cleanly.

Test build #26520 has finished for   PR 4111 at commit 8370839.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26520/
Test PASSed.

I'm going to merge this in a little bit unless there's any additional feedback.

LGTM


Update dependencies.

This updates all dependencies except Express.
All tests pass. Monitor and web UI work.

Thanks for the PR but the tests are not passing!
https://travis-ci.org/iloire/WatchMen/jobs/51284207

Any idea why the build failed, but my tests are passing?

Nevermind, I see the build output in the link. =)

That's weird. The build seems to have worked this time, but the Travis integration is still showing a failed build.
What's up with that?

Looks to me like the build is passing now, regardless of what GitHub seems to think. =)

Don't merge yet. Tests are passing, but it doesn't seem to actually be working...


Re-enable OpenComputers integration in RFTools.

OC integration was broken for two reasons:

There's been a small change in the OC API, which also needed a fix in
McJtyLib (see McJty/McJtyLib#41). The ManagedEnvironment class was
renamed to AbstractManagedEnvironment.

Forge mod loading forces lowercase mod IDs since sometime around
1.11, so "OpenComputers" is now "opencomputers".

I had to revert this because it doesn't compile for me. It cannot find AbstractManagedEnvironment

Hmm it may have been because you forgot to update build.gradle so the wrong version of OC was being used. Can you resubmit the PR (also to the other project) with a correct build.gradle? Thanks

That's odd, I definitely compiled/tested this before doing the PR, and it should work with this build.gradle. I'll check everything once more.

Well it cannot work with this build.gradle as you need to fetch another version of OC so it must be updated to the newer version:
compile "li.cil.oc:OpenComputers:MC1.10.2-1.6.+:api"

Hmm. It should fetch MC1.12.2-1.7.* according to the build.gradle in this PR (correct OC API for 1.12). Are you maybe compiling against the 1.11 branch of McJtyLib instead of 1.12?

I'm talking about RFTools:
https://github.com/McJty/RFTools/blob/1.12/build.gradle#L94

I can confirm that the original pull request definitely compiles and pulls in the correct version of OC. However since the original pull request was made against the previous RFTools 6 stable, I'm guessing your work on RFTools 7 changed that line back to the old OC version at some point. I'll do a new PR against the 1.12 HEAD. :)

The original PRs against the other projects should be fine since those move more slowly and the PRs were made against their current HEADS, so I'll just revert your revert on McJtyLib, if that's all right?


Dapr uninstall does not fully tear down all linux containers

Ask your question here
Issuing a dapr uninstall, I do see that the docker.io/daprio/dapr:1.10.0 linux container is stopped and removed, however there are two remaining containers:
podman ps
CONTAINER ID  IMAGE                               COMMAND       CREATED            STATUS                   PORTS                      NAMES
bf134ff45f24  docker.io/library/redis:6           redis-server  31 minutes ago     Up 31 minutes            <IP_ADDRESS>:6379->6379/tcp     dapr_redis
8b96feade545  docker.io/openzipkin/zipkin:latest                30 minutes ago     Up 30 minutes (healthy)  <IP_ADDRESS>:9411->9411/tcp     dapr_zipkin
``

I'd have expected those got teared down as well

@matzew Please try dapr uninstall --all and check if it works.

yeah, thanks! that did the trick


Kronos link in Readme is broken

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8079128-kronos-link-in-readme-is-broken?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github).

Noted in #410


v0.1.2

Improvements to bidding cycle, fixed regex

Coverage remained the same at 93.433% when pulling fb47dab6382134612d2f792ca40d56b11850f99e on develop into 93225d204ef057f5a31632675529755638f5e33d on master.


Add PL locale

Issue: No issue
Requirements

[ ]  issue was opened to discuss proposed changes before starting implementation.

Does not seem like an issue is needed

[x]  during development, node version specified in package.json was used (ie using nvm).
[x]  package versions and package-lock.json were not changed (npm install --no-save).
[x]  app version number was not changed.
[ ]  all new code has tests to ensure against regressions.

no new code

[ ] npm run lint reports no offenses.

There is no code changes yet it reports offenses. Is lint not checked on CI?

[x] npm run test is error-free.
[x]  README and CHANGELOG were updated accordingly.

Description of the Change
Added PL (Polish) translation.
Verification Process

npm start
Verify Polish option appears in Settings
Go over menus and screens to make sure translation looks OK

Awesome ;] Lint is checked on codeclimate but it's easier to check locally before committing (at least for me).
Windows tests are failing because they don't support node 12, yet ;/


Dependencies: Update discord.js once the threads-support update comes out

discord.js already has threads support on master, but no stable version was released yet, we should update to the new version as soon as its released to let buggie work inside threads.

https://discordjs.guide/additional-info/changes-in-v13.html
v13 just got released with thread support!


fix(Masonry): Changing Masonry parent leads to removal of its items

Experienced Behaviour: Whenever we tries to change the masonry parent element or reattach to same parent leads to the removal of its child items.
Expected Behaviour: Changing the masonry parent should keep its child items intact.
Changes: If the item is connected to the DOM, don't run the disconnected callbacks. Test cases included.
Related Issue
Issue:  https://jira.corp.adobe.com/browse/CUI-7424
Steps to reproduce: Check here
Motivation and Context
Experienced Behaviour: Whenever we tries to change the masonry parent element or reattach to same parent leads to the removal of its child items.
Expected Behaviour: Changing the masonry parent should keep its child items intact.
How Has This Been Tested?
Test Cases has been included in the changes
Review
please review @icaraps @indra2gurjar @CezCz
Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

@Pareesh  Checklist -
My change requires a change to the documentation.
I have updated the documentation accordingly.
checked but I can't see any change in doc in this PR.

Hello @indra2gurjar ,
I have updated the checklist. please review
Thank you.

Mhh when isConnected is set to true|false ? Seems to be coming from the custom element polyfill.

Hello @icaraps ,
I think "isConnected" is a property of Node. Please check this https://developer.mozilla.org/en-US/docs/Web/API/Node/isConnected
Thank you

@indra2gurjar @CezCz please review and merge the changes.
Thank you


.Net 2.0 subset

In Unity, Is there any specific feature that should not be used if I build with ".Net 2.0 subset" instead of ".Net 2.0"?
Currently testing with simple Person class, the program built without problem.

Probably not.
If there are no errors, it should not be a problem as it is.


ChunkPurge v1.7

Just wondering if your planning on making a Minecraft 1.7 version of this mod? Seems it would be very useful for my server, and I'm sure many others!

Well this mod was experimental, on my TPPI server I found that there were always some serious lagspikes when the chunk unloading ran, despite my strategy to only unload isolated groups of chunks. These lagspikes also occurred for me when Cauldron's chunkGC method was enabled. I believe Cauldron now sets chunkGC to false by default for this reason.
I think one potential issue is a large group of mods that do not check if a chunk is currently loaded before accessing / editing the terrain. This causes chunks to be quickly reloaded after ChunkPurge runs despite no players or chunkloaders being present, and is most likely the cause of the lagspikes I was experiencing. Cauldron provides an option to prevent chunks from being loaded this way, by returning a null chunk to the mod that requested it, however this just causes a whole lot of null pointer exceptions as the mods do not perform null checks.
That being said, clienthax did update this code to 1.7.10 so it should just be a matter of cloning this repository and building the code. I can do this tonight and upload the jar if you need.

I compiled clienthax's code but the mod didn't work with Infitech 2 (which is what grove is looking for). There was a problem when the client proxy injected into the main jar. I forked the project and modified the client proxy, pretty much nulifying it since it's a server side mod.
I compiled it with the forge version for Infitech 2 3.1.14, which may have been the problem with proxy file, as I'm not using cauldron.
Compiling it with the modified clientproxy worked and the mod seemed to work perfectly on a very very small CSP world. I have yet to see how it will effect tps on a much larger forge server.
Have you tried the mod on a stock forge server? I don't know if Cauldron uses forge's chunk handling code of if they modified it to work with plugins.

@Android25 Yeah the mod was made in order to provide the ChunkGC feature from Cauldron for stock Forge servers, as I went through a phase during 1.6 where I wanted to use stock Forge.
I notice that the 1.7.10 source doesn't include allowRemoteVersions = "*", which will be needed in the @Mod annotation in order for it to work as a server-side mod. I'll change this tonight.


python312Packages.aiosmtpd: 1.4.5 -> 1.4.6

Diff: https://github.com/aio-libs/aiosmtpd/compare/refs/tags/v1.4.5...v1.4.6
Changelog: https://github.com/aio-libs/aiosmtpd/releases/tag/v1.4.6
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Done in https://github.com/NixOS/nixpkgs/commit/11ac30d61d92388317dfeae49a7bfe64c704cb83.


typo  on development envrionment readme

View service webpage
This minukube command will display the service for you in a web page:
minkube service web
should be "minikube"

Kubernetes dashboard
Kubernetes dashboard is a general purpose, web-based UI for Kubernetes clusters. It provides an overview of applications running on the cluster, as well as the ability to create or modify individual Kubernetes resources and workloads, such as replica sets, jobs, services, and pods. The dashboard can be used to manage the cluster as well.
Kubernetes dashboard with minikube can be easily viewed using the following command:
minukube dashboard


Omni completion doesn't work: complete/completion mismatch

vim-rescript tries to use complete:
https://github.com/rescript-lang/vim-rescript/blob/faeeb2deef1ad0ec67fc892ceeb9949f3bf2d77c/autoload/rescript.vim#L346
The underlying rescript-editor-analysis.exe expects completion:
https://github.com/rescript-lang/rescript-vscode/blob/master/analysis/src/Cli.ml#L66

Yeah that was a legit change from this commit:
https://github.com/rescript-lang/rescript-vscode/commit/d8183100dc58bb9c5efd3711c1fb3eae301ffa80
Since we are vendoring the language server right now, we may even change this right after updating to the latest LSP.


Far Cry 5 and  Far Cry New Dawn

Grass is flickering in FarCry 5 and Far Cry New Dawn.(Windows 10 20H2, Nvidia Pascla GPU, driver 457.30 )
https://drive.google.com/file/d/1oeuLJLDoFzT27ozZkVIkyFEjd4KgVa7h/view?usp=sharing
https://drive.google.com/file/d/1jbrYMi6nzQfkBBmGnbil6UzDFWBdec6o/view?usp=sharing

DXVK is for Linux. Please use appropriate OS.

DXVK is for Linux. Please use appropriate OS.

FarCry 5 and ND works MUCH better with DXVK, man. Only that grass bug...

There's no grass flickering on Linux :)

There's no grass flickering on Linux :)

There is no Linux on my PC! lol

And that's where you make the great mistake ;)

And that's where you make the great mistake ;)

Maybe:) But DXVK really helps with some games in Windows.

First of all: are you sure this isn't a game bug?
If you are, please provide the logs and apitrace that were asked for in the issue template?
Besides this, the FC engine has been really problematic on DXVK. FC Primal regularly breaks for no reason at all.

First of all: are you sure this isn't a game bug?
If you are, please provide the logs and apitrace that were asked for in the issue template?
Besides this, the FC engine has been really problematic on DXVK. FC Primal regularly breaks for no reason at all.

It is not a game bug. Works at native DX11 without that problem. How can i provide logs?

FarCry5_d3d11.log
FarCry5_dxgi.log

FarCryNewDawn_d3d11.log
FarCryNewDawn_dxgi.log

These games are known to be broken for some unknown reason, also, wrong OS:

d3d11.invariantPosition = True fixes the issue for me (RTX 2080 Ti on Windows FC5)

d3d11.invariantPosition = True fixes the issue for me (RTX 2080 Ti on Windows FC5)

Doesn't fix FC Primal.

Doesn't fix FC Primal.

That doesn't fix FC Primal.

Why bring up FC Primal, this thread (as far as I see) is only about FC5 and FCND.

That doesn't fix FC Primal.

Why bring up FC Primal, this thread (as far as I see) is only about FC5 and FCND.

Mostly because it's the same engine and Primal is known to be broken. I thought it might be related.

Mostly because it's the same engine and Primal is known to be broken. I thought it might be related.


EDIT THE SCHEDULE PDF IN THE RESOURCE FOLDER

Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'Hacktoberfest' contributors of 'FIFA WORLD CUP 2022 Project'.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Participant ID (If not, then put NA) :
Approach for this Project :
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC, Hactoberfest etc.)

This pdf must all the matches datails
Details are:

Sl. No.
Team 1 vs Team2
Time
Venue
Group No

Upload the File in Resource Folder.

Full name : Md Ilham Ansari
GitHub Profile Link : https://github.com/ilhamansari
Participant ID (If not, then put NA) : NA
Approach for this Project : I will design the fixture schedule pdf in a very appealing and beautiful way.
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC, Hactoberfest etc.)
Hactoberfest2022

Full name :Priyanshu Singh
GitHub Profile Link :https://github.com/Priyanshu-su30
Participant ID (If not, then put NA) :NA
Approach for this Project :I will make the pdf as u said attractive and amazing
What is your participant role? Hactoberfest2022

@Priyanshu-su30 first comment first assign works here. Please wait for new issues.


Add option to generate a unique name for output file

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

Project coverage is 93.93%. Comparing base (93d90cf) to head (9c4d360).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##            master     #409      +/-   ##
===========================================
- Coverage   100.00%   93.93%   -6.07%
===========================================
  Files           21       21
  Lines         2293     2308      +15
===========================================
- Hits          2293     2168     -125
- Misses           0      140     +140

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Load entities from Datastore

I did not use the Query feature in the previous PR because it was introduced in this step. This should have solved some problems in previous PR.

Hi difan, your PR are all based on master.
But I assume you should create PR based on previous PR.
So you don't need to make duplicate changes.


Node debug console does not use the full terminal width

Issue Type: Bug
When starting a node debug session in the integrated terminal, it no longer (I've noticed this in 1.47.0 for the first time) uses the full terminal width.
This is my .vscode/launch.json for a simple TypeScript project:
{
	// Verwendet IntelliSense zum Ermitteln möglicher Attribute.

	// Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=830387
	"version": "0.2.0",
	"configurations": [
		{
			"type": "node",
			"request": "launch",
			"name": "Debug locally",
			"port": 9229,
			"runtimeArgs": [
				"--async-stack-traces",
				"--inspect-brk=9229",
				"-r",
				"ts-node/register/transpile-only.js",
				"${workspaceFolder}/src/index.ts"
			],
			"console": "integratedTerminal",
			"skipFiles": [
				"<node_internals>/**"
			],
			"sourceMaps": true
		}
	]
}

When I debug this using F5, the first time sometimes looks normal.

Sorry, for some strange reason my question and even my screencast is missing... So here is it again:
Your screenshot does not show the "debug console" but the integrated terminal.
With it I could not reproduce the problem on Windows:

Are you running a remote session in the terminal?

I've just tested it on another system and I can't reproduce it here. I'll check for differences in settings and extensions, but that won't happen before tomorrow evening.

Your screenshot does not show the "debug console" but the integrated terminal.

Yes, I've configured the debug session to use the integrated terminal - maybe you guys call that differently.

Are you running a remote session in the terminal?

No, but I configured VSCode to use git bash as the terminal.

I remember another instance of this problem where the problem only showed up on one system. In that case a ssh session was used.
In the issue's title you said "debug console", but the screenshot shows an "integrated terminal". That's the reason why I mentioned terminology.
I tried to reproduce by using "git bash" too, so that does not seem to be the source of the problem.

In the issue's title you said "debug console"

Yeah, this is why:

I just checked again with all extensions disabled because I suspected the Remote SSH extension - but it still happens:

Not sure what else I can do to help you narrow it down.

@Tyriar do you have an idea why output does not cover the full width?

For what it's worth, the line seems to be exactly as long as Debugger listening on ws://...-some-log-url

Doesn't seem to be a layout problem, the div (and containing canvas) stretches across the entire space:

I would guess the fact that it's Git Bash on Windows is probably the reason for it, Git Bash has always behaved a little weird through conpty in my experience because both of them try to emulate unix ptys. You could try updating git/git bash and using cmd.exe as terminal.integrated.automationShell.*

Dang! The bug seems to be gone in git for Windows 2.28.


Feature/idp 825 support code fist flow explicit

Description of changes
When selecting the CodeFirst mode it will overwrite the source-controlled specification files
Breaking changes
No
Additional checks

[In Progress ] Updated the documentation of the project to reflect the changes
[ ] Added new tests that cover the code changes

Do you think in System-Test I should validate the specification files have been generated?


Add amount parameter for deposit

Forwarded from:

https://github.com/ethereum/staking-deposit-cli/pull/326

This is potentially confusing and there should be a very conservative approach to take and implement this.

Original requester says partial-deposit meets their needs. Makes sense to me. This is an advanced workflow and so reasonably:

Standard workflow does 32 ETH; good UX
Advanced users can then then partial-deposit the amount they want and use that file

Waiting for confirmation, and, potentially this is solved by Valefar’s new command.

#89 should partially resolve this.
We have too many concerns modifying this on the new-mnemonic.


Apple HealthKit data types

Hi,
I was wondering if there is any plan to support the data types that Apple supports even if they are not supported by google fit:
https://developer.apple.com/documentation/healthkit/data_types
For example,
static let waistCircumference: HKQuantityTypeIdentifier

Thanks.

Hey @PaNaVTEC
Yes definitely, I just currently haven't decided how to handle unsupported data types and had time to do it, so if you're interested you can definitely make a pull request ;)

I can take a look on how to implement it, do you have any idea/preference? I was thinking on returning something like an Option<T>, so if we publish all the possible datatypes it can return Some(measure) or Nothing.

Hey @PaNaVTEC
Sorry for the late reply. Yes Optional sounds like the right choice. I will close this issue, feel free to open new one ;)


add(xseed/qbit): script to filter cross-seed requests on exec

[ ] needs comments and maybe some UX addressing

And for those of us who don't use qBit?


typo on lib/microsoft_kiota_authentication_oauth/oauth_access_token_provider.rb

Hi there!
I was following the tutorial on https://github.com/microsoftgraph/msgraph-sdk-ruby#21-register-your-application and I got this error:
uninitialized constant MicrosoftKiotaAuthenticationOAuth::OAuthAccessTokenProvider::MicrsoftKiotaAbstractions (NameError)
I think there is a typo here: https://github.com/microsoft/kiota-authentication-oauth-ruby/blob/434bae54b86067da6adcf06048965fb22abba204/lib/microsoft_kiota_authentication_oauth/oauth_access_token_provider.rb#L32
Thanks for having a look!

Thanks a lot for your contribution! I'm not sure how we didn't catch it earlier.

(released as 0.6.0)


Update whitelist handling to take into account change in<EMAIL_ADDRESS>

Closed by https://github.com/manifoldjs/ManifoldCordova/commit/572ce78a544c45da52eda2e573bbb1cc98faf58a


arnej/match features in search reply

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
@havardpe please review

superseded by another PR


Dependency conformance tests - test libs vs solidity implementations

Taken from "OMG-394 - Exhaustive (possibly propchecky) tests of essential crypto and libs"
Some essential crypto-code we use in prod is tested quite thinly.
Let's make an exhaustive test suite which:
1/ generates some input data to the respective libs
2/ does Elixir calculations on it (invoked via some of our public APIs like Transaction.hash, Transaction.encode, Block.hashed_txs_at but effectively boiling down to dependency calls
3/ validates these calculations with Elixir code
4/ redos/validates these calculations against some public API of a solc-library (like Merkle.sol or RLP.sol) we use - deployed lightly to a geth --dev instance
test data generation can be manual, but this is perhaps a good (and much easier than state machine testing we did for State.Core) application of PropCheck
The candidates for such tests:
A/ Block.hashed_txs_at (invoking merkle_tree_elixir) vs Merkle.sol - correct proofs work and incorrect don't, for "all" imaginable combinations
B/ ~RLP encoding/decoding~ - see discussion, substituted by https://github.com/omisego/plasma-contracts/issues/221
C/ signatures
Motivation and parent issue is #853
EDIT - crossed RLP out

If I understand correctly, you want to test if (for example) our dependency https://github.com/mana-ethereum/ex_rlp works as intended against RLP.sol?

Would this go under https://github.com/omisego/elixir-omg/issues/853 @Pongch ?

ah I forgot to mention #853, yes, adding to the desciption

EX_RLP is running tests against Ethereum common tests https://github.com/ethereum/tests/tree/04940788157c88c75b014e5e6969a249f49db4c0
not sure what coverage are we going to gain by adding tests against RLP.sol?

EX_RLP is running tests against Ethereum common tests

ah I wasn't aware of that (but kinda could've expected that). Thanks @InoMurko! that's one off the list or at least 1/2 off the list as:
That would leave RLP.sol to check - do we know whether it has the same coverage? @pik694 @boolafish I think you've mentioned touching RLP libs recently. What is the implementation of RLP that's going to be used in the long term for plasma-contracts?

https://github.com/omisego/plasma-contracts/blob/master/plasma_framework/contracts/src/utils/RLP.sol
solidity 0.5 version. we've added some basic test on that lib, but at the same time, only the really minimum basic at this moment.

Thx @boolafish
Ok still clone&own. So how about this: let's expand the plasma-contracts test suite with tests that use the https://github.com/ethereum/tests/tree/04940788157c88c75b014e5e6969a249f49db4c0 (or more current version?) similar to what ex_rlp does. I'll add a separate issue there.
Then, to me, this will be good enough to take RLP off the list - the e2e tests will be enough.

sure, if there is good test case we can copy it would be nice. There is just no good library (or just I haven't found one) to use for RLP that's why we're still clone&own (and....bumping version, awwwh) on this.

No worries, I was just figuring out where to file the issue. When we feel like it, we can roll RLP.sol out as a standalone lib, sometime (it's a clone, so some proper open-source-friendly process would apply ofc)

a comment for
A/ Block.hashed_txs_at (invoking merkle_tree_elixir) vs Merkle.sol - correct proofs work and incorrect don't, for "all" imaginable combinations

If we are unsure of the dependency "correctness" we should fork it and introduce extended tests there and push it upstream. It seems to me it makes the code cleaner. The alternative is that our main repo does the testing of the dependency correctness. Which might become bloated over time. If you guys agree of the approach I'd tackle this. cc @achiurizo

If we are unsure of the dependency "correctness" we should fork it and introduce extended tests there and push it upstream

hmm, I'd say not only "correctness" matters but also "sameness" (or conformance, as title says). A lot depends on the parameters used when invoking merkle_tree_elixir. More coverage on the dependency itself (and not only merkle_tree_elixir but Merkle.sol too!) wouldn't hurt for sure, but I'd sleep better if we did test a slightly higher level function Block.hashed_txs_at and compare with specifically the solidity implementation.
For now the "sameness" is covered only for very simple cases of probably 1-leaf trees, covered by integration tests that run against the contract.
This is different than RLP, as there there was a much cleaner/less ambiguous API and a sturdy reference test suite.
Also pragmatically - such conformance test would be immune to us changing the library used (on either end) and seems just easier to deliver than expanding two suites of tests (easier to leverage e.g. propcheck, since our property is simple - proof generated in one must verify in the other).

Some essential crypto-code we use in prod is tested quite thinly.

When you say crypto-code, are you referring to the third party dependencies or the code that wraps/leverage their behavior?

1/ generates some input data to the respective libs
2/ does Elixir calculations on it (invoked via some of our public APIs like Transaction.hash, > Transaction.encode, Block.hashed_txs_at but effectively boiling down to dependency calls
3/ validates these calculations with Elixir code

For me, things like Block.hashed_txs_at having unit tests would be awesome and I think these points can be handled by having those.  Having these kinds of unit tests also makes it great for us to check our expectations of 3rd party library and what our code does with it. Also makes refactoring a lot more manageable.

4/ redos/validates these calculations against some public API of a solc-library (like Merkle.sol or RLP.sol) we use - deployed lightly to a geth --dev instance

For third party libraries specifically, if we are testing its behavior and ensuring its 'correctness', it doesn't belong in the elixir-omg and I would opt towards @InoMurko's suggestion of forking and pushing changes upstream if they so desire them.

Hm, let me maybe clarify my point a bit more:

things like Block.hashed_txs_at having unit tests would be awesome

But what would such unit tests look like? You either test against test vectors (not enough, brittle, there's no standard that I know of) or you test with proof validation from within the same lib (a bug/discrepancy might be there, but is missed because you're testing against the tested code).
We do as much unit testing as I think is reasonable:

single smoke test against (our own) test vector, just to pick up evident change of result
test correct format & response size, just in case
(and of course, unit tests inside the respective libs, which satisfy exactly the "proof validation from within the same lib" part)

I think you cannot go much further than this, because the inputs/outputs are basically random-looking data (merkle roots and inclusion proofs).
The behavior we're actually after testing here is the sameness (not only correctness, again). We want the merkle proofs produced in elixir-omg to verify correctly in solidity. (And this behavior is completely independent from our choice of the dependencies/libs we actually use.)
And to the last point from your comment (services working together), our integration tests are testing that, but very "heavily" and only in very simple cases (1-leaf-tree). We have absolutely no guarantees that the merkle proofs will validate in the contract for, say, 2^16 leaf-tree (full).

If that's the case we should adopt Ethereum style testing (which is common everywhere else as well).
We should specify tests that are indifferent to the implementation (inputs/outputs) in a text file ~ json ~. We put that in a repository that all contributors in our system (elixir-omg, plasma contracts, etc.) need to pull in and run tests against them.

We should specify tests that are indifferent to the implementation (inputs/outputs) in a text file ~ json ~. We put that in a repository that all contributors in our system (elixir-omg, plasma contracts, etc.) need to pull in and run tests against them.

Aye, that would be an alternative.
IMHO, I still think that's more work (1 largish json file to design and produce data for + 2 test runners that read that json file) and more maintenance than doing the property test in elixir-omg (or a more rudimentary auto-generated test case) and just asserting all generated proofs validate. But not 100% sure on that.

Hm, I think we missed putting notes after one call ~month ago
I'm fairly sure, that at least in the domain of

A/ Block.hashed_txs_at (invoking merkle_tree_elixir) vs Merkle.sol - correct proofs work and incorrect don't, for "all" imaginable combinations

we did end up deciding that the originally proposed "conformance test approach; ex vs sol in an auto-generated test suite" is viable? Does anyone else here have the same recollection?

EX_RLP is running tests against Ethereum common tests

Unfortunately it is still possible to decode two binaries into identical term. See here: https://github.com/mana-ethereum/ex_rlp/pull/24

And a followup - a fuzzer for Solidity library. Also, just a test, no fix provided (yet?). It fails in the same way as ex_rlp.
https://github.com/omisego/elixir-omg/pull/1135

just making a note that encoding/decoding conformance testing is back on the table (since the official RLP tests didn't cover for some issues uncovered).
Will edit the description, tracking this effort in https://github.com/omisego/security-issues/issues/2

Encoding and EIP712 conformance solved in #1164. Merkling remains from the list. Do you think I take this over @InoMurko, as a quick follow-up to #1164?


Fix team creation

fix a bug causing 'NoneType' object is not iterable for new team
creation
add and document "privacy" attribute of the team to specify its
visibility level
add teams and members integration tests based on the test organization

well, logically the integration test fails now cause we do not prepare infrastructure for it to pass, and the test on its own is automatic. Will update the PR once we can have some dedicated infra stuff


Referencing jQuery doesn't work for yeoman React template

I created a React project with yeoman (with generator-aspnet-spa). I'm trying to use jquery from within a .tsx file and I'm getting an error that $ is not defined. I only added 2 lines of code (marked as MODIFIED in the listing below) to the Counter.tsx file. The same example works perfectly for React+Redux and Angular yeoman templates. I think it might have something to do with incorrect webpack configuration.
My modified Counter.tsx file:
import * as React from 'react';
import * as $ from 'jQuery';   // MODIFIED

interface CounterState {
    currentCount: number;
}

export class Counter extends React.Component<any, CounterState> {
    constructor() {
        super();
        this.state = { currentCount: 0 };
    }

    public render() {
        return

Counter

This is a simple example of a React component.

Current count: { this.state.currentCount }

            <button onClick={ () => { this.incrementCounter() } }>Increment</button>

;
    }

    incrementCounter() {
        $('h1').hide(); // MODIFIED
        this.setState({
            currentCount: this.state.currentCount + 1
        });
    }
}

The js error from the console:
Uncaught TypeError: $ is not a function
    at Counter.incrementCounter (http://localhost:5000/dist/main.js?v=qnQwbDKyOppat5yykyiTZu1Bd1nPXAtuDnV-hxp7-c4:3159:13)
    at Counter.proxiedMethod (http://localhost:5000/dist/main.js?v=qnQwbDKyOppat5yykyiTZu1Bd1nPXAtuDnV-hxp7-c4:18123:30)
    at onClick (http://localhost:5000/dist/main.js?v=qnQwbDKyOppat5yykyiTZu1Bd1nPXAtuDnV-hxp7-c4:3150:36)
    at Object.ReactErrorUtils.invokeGuardedCallback (http://localhost:5000/dist/vendor.js?v=jnBPCZteaHa0CrEmnLhXKwhNVjUARPfVDMfXqbwpWDY:16506:16)
    at executeDispatch (http://localhost:5000/dist/vendor.js?v=jnBPCZteaHa0CrEmnLhXKwhNVjUARPfVDMfXqbwpWDY:16033:21)
    at Object.executeDispatchesInOrder (http://localhost:5000/dist/vendor.js?v=jnBPCZteaHa0CrEmnLhXKwhNVjUARPfVDMfXqbwpWDY:16056:5)
    at executeDispatchesAndRelease (http://localhost:5000/dist/vendor.js?v=jnBPCZteaHa0CrEmnLhXKwhNVjUARPfVDMfXqbwpWDY:13204:22)
    at executeDispatchesAndReleaseTopLevel (http://localhost:5000/dist/vendor.js?v=jnBPCZteaHa0CrEmnLhXKwhNVjUARPfVDMfXqbwpWDY:13215:10)
    at Array.forEach (native)
    at forEachAccumulated (http://localhost:5000/dist/vendor.js?v=jnBPCZteaHa0CrEmnLhXKwhNVjUARPfVDMfXqbwpWDY:20955:9)

You've got a typo. It should be import $ from 'jquery';, not import $ from 'jQuery'; :)

True. But I've already tried both options. The latter doesn't work either.

It is still not working so I think this issue should be reopened.


:heavy_plus_sign: k-redux-router

fixes #77

waiting for : https://github.com/alakarteio/k-redux-router/pull/29


Custom font is not working on android platform.

Actually i try to implement the Arabic font on React-Native in 0.63.3 version but it was not working on android & doesn't showing any errors.I tried all the ways to implement the font but result is same not working.
This is what I tried:
Creating react-native.config.js file on root project with the following code:
module.exports = {
project: {
ios: {},
android: {},
},
assets: ['./src/assets/fonts']
};
Running react-native link: This didnt give me any errors:
info Linking assets to ios project
info Linking assets to android project
success Assets have been successfully linked to your project
<Text style={[styles.signText,{fontFamily:'AvenirArabic-book'}]}>{strings.signin_text}
Note :- Working perfectly in iOS platform

In Android, you need to put fonts to android/app/src/maim/assets/fonts folder


fix(client): return query params in $url

Resolves #3532. I'm not sure if there's a more concise way to write the type definition, or to write a test for it, but I was able to validate that it's working as expected locally.
PR checklist

[x] Add tests
[x] Run tests
[x] bun run format:fix && bun run lint:fix to format the code
[x] Add TSDoc/JSDoc to document the code

Hi @alex-grover
Awesome! This looks good to me. I'll merge it and release the new patch version. Thank you!


Add variable corner radius per corner to CompositeDrawables

It would be useful for cases like these, to avoid using sprites: (notice the top left corner that features a much higher corner radius than the bottom left corner)

(In this specific situation, I want to avoid using sprites because the size of that component will vary in height)

Thought I'd leave my attempts at it from back in December/January here - am probably not going to touch it ever again without starting from scratch, so not opening a PR from this.
https://github.com/Jeremiidesu/osu-framework/tree/corner-radii
The test scene VariableCornerRadii I had created under Containers shows decently well what I had achieved, but it still occasionally crashed and some stuff was still broken (like hollow EdgeEffects). Mostly pushing it as possible reference should one want to check out what I had come up with.


Notification list should be user specific

The notifications in the top right should be specific to the user. From my conversations with the program team, this feature is unused as it's hard to weed out what notifications are important to them and what ones are irrelevant. Instead, they're heavily reliant on slack tagging them when an action occurs. For adopters that don't want to use slack, this could prove to be an issue.

I suspect it is not easy to set up rules that allow Hypha to figure out "what notifications are important to them".
My experience tells me it is not as simple as "show my stuff I'm lead for".
The task list will be personal.

Yeah I completely agree - logically and technically it will probably be a lift. Slack usage might be a good place to start for that thought from an OTF perspective, would be curious to hear what adopters think though.


how to convert depth map to distance

I used the kitti trained model to compute the depth map from my own dataset. i would like the estimate the depth of a pixel in meters/centimeters. how to go about that?

The depth maps computed using our model are determined up to a scaling factor. You would need to either manually calibrate it or use some other method to automatically estimate the scaling factor to convert them into metric scale.


Use Krew for deployment

https://krew.sigs.k8s.io/docs/developer-guide/release/new-plugin/
https://krew.sigs.k8s.io/docs/developer-guide/testing-locally/
https://krew.sigs.k8s.io/docs/developer-guide/plugin-manifest/

https://github.com/kubernetes-sigs/krew-index/pull/2189

https://github.com/kubernetes-sigs/krew-index/issues/2191


[Feature request] Elevation data on paths in radar

It would be very useful if you could show path data (elevation, slope, cell signal) on the radar navigation circle.

Thank you for the suggestion - I did not implement this originally due to performance concerns, but I'll look into some ways I could make this work (ex. only show when zoomed in)

Ok, that sounds like a good idea


pull request for e2e test at 01/13/2017 18:26:09

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Cannot read property 'nativeElement' of undefined

at LottieAnimationViewComponent.ngOnInit (lottieAnimationView.component.ts:30)
maybe ngAfterViewInit is better then ngOnInit

me too!
LottieAnimationViewComponent.ngOnInit is "nativeElement"
Thanks to ngAfterViewInit!
thanks

@salada17 take a look at my pull request #85 , maybe there is more changes to do.


Unable to access local files (Android)

Hi I tried to open local files using android emulator but I'am getting an error stating 1.
I have tried it for PDF,JPG,PNG and XLSX types and I got the same result.
The app works fine in case of IOS.
When do you intend to release the same for windows?

Having this same error as well.  Can you give some guidance here @philipphecht

@KartikSubramaniam @iRoachie  - Are you using OpenFile.openDocb64? This looks to be on the roadmap for Android. If you look here, you can see that the file preview / download activity is commented out for Android currently.

@KartikSubramaniam No I'm using normal openDoc. I download file using react-native-fs to RNFS.ExternalDirectoryPath then try to open it. It keep shows error code 1.
It work when loading from remote url though

Same problem. Trying to access a file at this location: /storage/emulated/0/Download/1499685855-turnus_fauske_29052506.pdf
Error state is 1

I had to edit the file filepaths.xml and add one line. But if this is the right way of doing things..... I have no idea.
<?xml version="1.0" encoding="utf-8"?> <paths xmlns:android="http://schemas.android.com/apk/res/android">     <cache-path name="name" path="." />     <external-path name="Download" path="Download/"/> </paths>

@oerestad When you edited it, did it work?

Yes it dit work after that.
Also remember to add the file:// prefix to the url
OpenFile.openDoc([{
url: "file:/" + filepath,
fileName: "viewer",
}], (error, url) => {
if (error) {
console.error(error);
}
})

Thanks man, will give it a shot today


Issue19 bright not bold

Note builds on PR https://github.com/tinted-theming/base16-putty/pull/17 which addresses https://github.com/tinted-theming/base16-putty/issues/18. PR 17 should be merged first.

Can you add a show_colors2.sh comparison of before and after the changes in this PR?

Can you add a show_colors2.sh comparison of before and after the changes in this PR?

This change shouldn't change the actual colors (main change is https://github.com/tinted-theming/base16-putty/pull/20/commits/49d51c95e7ad3caa9aa52ae5ea9ac8051e20c814) maybe worth be squashing my changes/merge...
test - Let's see if I can link images of base16-catppuccin-macchiato before and after.
before
https://user-images.githubusercontent.com/424032/282675444-e919e4b2-fbdc-4ab3-b417-72f8f8650574.png
after
https://user-images.githubusercontent.com/424032/282678549-9cf6d3d6-112e-49b4-ad25-c2a8f356a27d.png

Looks good. The PR requires a rebase and I'll merge once I can.

Just did some git futzing in my lunch break of the history, hopefully this worked out.

Looks good!


fix the typo (thet -> the)

@sonalsatpute : Thanks for your contribution to the Azure documentation! The author, @ggailey777, has been notified to review your proposed change.

@ggailey777 Can you please #sign-off?

@SyntaxC4: Only the author, @ggailey777, can sign off on this pull request.

@sonalsatpute Thanks again for taking the time to fix this typo!
#sign-off


Code block syntax highlighting

The Wizard Web App uses a CodeBlock function for rendering language snippets (bash/tf/json).
It'd be great if this supported syntax highlighting to aid readability.

Team, I have been exploring options for this. What do you think about using the monaco-editor replace the existing Code component.
I did a quick spike, and it looks pretty nice:

It's pretty configurable, giving us the option to tailor is as required.
cc: @Gordonby @khowling

@liammoat - That looks cool! 🎉🎉🎉🎉
I think regrading to the current experience for mobile would be workable.


Duplicate notes are appearing in the same note sequence

Only one instance of the same note should be present in each note sequence. If a new note comes into the queue with the same note number as another one in the queue:

It should be ignored, or
Have the velocity updated

Not sure which yet.

For now, I've decided we'll just not include duplicates. I'll review this again later if it's deemed that the velocity of the current queue should update.


Malaysian Number plate

Hye, i tried the code it's work, but when using Malaysian number plate, the program detect the plate but cant return the plate number. Anybody had any idea with that ?

try to use regex to struct the plate number on that specific bounding box. bc Malaysian plate number has different way to extract it.
u can change the code from here:
https://github.com/theAIGuysCode/yolov4-custom-functions/blob/8f2c922a54d9ee0878efd3dffa42ce6e7bd3ae34/core/utils.py#L78

try to use regex to struct the plate number on that specific bounding box. bc Malaysian plate number has different way to extract it.
u can change the code from here:
https://github.com/theAIGuysCode/yolov4-custom-functions/blob/8f2c922a54d9ee0878efd3dffa42ce6e7bd3ae34/core/utils.py#L78


[Hotfix] File rename fix

Purpose
Fixes the main problem in issue #3386, with the file renaming bar acting weird on mouse clicks.
Changes
Removes the onclick functionality of FGInput.

@sloria, 4th try's a charm


How to use this crate with syn/proc-macro2?

How can I use this crate when using syn and proc-macro2 for parsing my input? proc_macro2::Span gives me a start and end proc_macro2::LineColumn, not an offset as this crate expects. It seems like there's no obvious way to use offsets that are broken down into line and column already with this crate. How can I accomplish this?

You'll probably need to count through the input to get the offset.

@dmgolembiowski I'm using this code as a workaround:
fn offset(&self, at: LineColumn) -> usize {
	let line_offset: usize = self
		.code
		.split('\n')
		.take(at.line - 1)
		.map(|line| line.len() + 1)
		.sum();
	line_offset + at.column
}

Is this addressed?

@zesterer There exists a way to use this crate by calculating the offset from the line and column information from proc-macro. I'd still prefer a way to just pass the information directly. If this is something you'd like to incorporate into the api, and if this is something that could potentially save some computation on your end since you do output line and column information in the error message, is something you need to decide.


Vertical scrolling tabs - Scroll buttons prevent some items from being viewed and interacted with

Describe the bug
Using the scroll buttons, it’s scrolling certain items out of view so you can’t interact with them, rather than being a little more aware of the content it’s scrolling through.  Scrolling with a mouse-wheel or finger doesn’t have this problem, but not everyone will be able to interact with it in this way.   Like in my screenshots below, you don’t see the 5th item using the scroll buttons.
To Reproduce
Steps to reproduce the behavior:

Set up a list of vertical tabs with probably at least 15 items, and restrict the height of the container to 200-300px
Click the Scroll Down button to see the next group, and you'll probably see that the previous bottom item that was blocked by the Scroll Down button is now scrolled up out of view or blocked by the Scroll Up button.

Expected behavior
I think we need to make sure this thing is somehow more aware of what is visible.  Somehow compensating for the Scroll Up/Down buttons.
Screenshots
In the screenshots below, you'll see you never get to see or interact with the 5th item, and most of the 6th item, if you use the Scroll Buttons.

A similar/related issue was reported in the #react-magma channel:
We are (ANZ Nelson Hub team) faced with the problem that blurred scroll button is not accessible by tabbing and isn't visible by screen reader.
Actual result:
Blurred scroll button is not accessible by tabbing and can't be read by screen reader. Please, see the attachment below
Expected result:
Blurred scroll button is accessible by tabbing and can be read by screen reader

Sandbox to repro here:  https://codesandbox.io/s/react-magma-example-forked-nerrj?file=/example.tsx
It looks like right now, users can get to all of the tabs if they use the arrow keys to navigate through them.  This is how it is expected most screen reader users and (keyboard only users in general) users would navigate through them.  The unordered list has an aria label on it that reads Sample Vertical Tabs, use the down and up arrow keys to activate other tabs, so screen reader users would get that instruction.
The intent was that screen reader users would not be expected to use the scroll buttons at all, just the arrow keys.  Because of that, it would probably be best if those buttons were removed from the tab order and had aria-hidden attributes on them, so they wouldn't throw that a11y error.
While not a showstopper, the scroll behavior shold be better fine-tuned for those who are using both a combination of mouse and keyboard.


Use puppeteer-core for dev dependency to avoid unnecessary download on install

The puppeteer dev dependency for tests/examples should be replaced with puppeteer-core to avoid an unncessary download when installing this library, since we use a Docker image instead. This is particularly import for CI, where a fresh install is always done.
jest-puppeteer currently has a peer dependency on puppeteer, so changes made here are blocked until https://github.com/smooth-code/jest-puppeteer/issues/153 is complete.

The best solution was to add a note about setting the PUPPETEER_SKIP_CHROMIUM_DOWNLOAD environment variable to true.


When deploying to kyma: Error: service hana as replacement for service com-hdi-container undefined

I wanted to avoid creating an issue, but I am currently stuck. When I subscribe from a consumer tenant, the subscription fails, and in the srv pod, I see the logs:
{"level":"error","logger":"mtx","correlation_id":"f8c173a2-a10d-441d-4ee4-e803c08bc0ad","tenant_id":"51f4f02c-2d87-4475-8a9b-d1090ce7e252","timestamp":"2024-07-03T13:20:39.653Z","msg":"Error: service hana as replacement for service com-hdi-container undefined\n","type":"log"}
When I look at the log file, I see:
VCAP_SERVICES: {
"hana": [
  {

      "driver": "com.sap.db.jdbc.Driver",
      "hdi_p[...]
      "hdi_user": "...",
      "host": "...",
      "p[...]
      "port": "443",
      "schema": "...",
      "url": "...",
      "user": "..."
    },
    "tags": [
      "hana"
    ]
  }
]
Not a hana service or user-provided service with hana tag
}
@sap/hdi-deploy, version 4.9.3 (mode default), server version <IP_ADDRESS>.1715685275 (<IP_ADDRESS>), cloud version 2024.2.14, node version 18.20.3, HDI version 1014, container API version 1006
Deployment started at 2024-07-03 13:20:38
Using<EMAIL_ADDRESS>for connection
Using service replacements from environment variable "SERVICE_REPLACEMENTS" with 1 replacements
No ignore file at /workspace/gen/51f4f02c-2d87-4475-8a9b-d1090ce7e252/.hdiignore.
Collecting files...
Collecting files... ok (0s 24ms)
8 directories collected
276 files collected
0 reusable modules collected
Target service: 51f4f02c-2d87-4475-8a9b-d1090ce7e252
Session variable APPLICATION is set to "SAP_HDI//".
Could not determine status of last build: Could not find any information about the previous deployment.
Processing revoke files...
Processing revoke files... ok (0s 0ms)
Processing grants files...
 Processing "cfg/COM.hdbgrants"...
Deployment ended at 2024-07-03 13:20:39
Error: service hana as replacement for service com-hdi-container undefined

NOTE: I Have removed some potentially sensitive information
I am not sure what the undefined is. The env variable looks like:
SERVICE_REPLACEMENTS=[{ "key" : "com-hdi-container", "service" : "hana" }]

and looks to be correct according to the documentation.
I haven't changed anything locally regarding this. Just build the images, pushed them, and ran the helm install
If get my service isntances and service bindings, it looks like they are all created, and in the UI, I do not see any errors for any subscriptions.
I have also tried to uninstall the application and re-install, but still get the same.
I have re-gone through the documentation, but haven't found anything that I missed. I also don't find help online when googling. If someone here has an idea, that would be great :)

I can confirm this issue and I was able to reproduce it, i will now try to understand the root cause and give that a fix.
Thanks for reporting @corey-aloia!


[BUG] Constructing a Calcite schema with DocumentDbSchemaFactory, then adding to a root schema, query returns zero records

Environment

DocumentDB JDBC driver version: 1.2.2
DocumentDB server version: N/A
OS: [e.g. MacOS Big Sur 11.5.1, Windows 10 64-bit] Windows 11 x64
BI Tool or client name:
BI Tool or client version:
Java version (if known): Java 17

Problem Description

Steps to reproduce:

@Test
fun `create direct Calcite schema with DocumentDB adapter`() {
    val mongoURI = "mongodb://root:Password123#@localhost:27017/sample?authSource=admin"
    val documentDBURI = "jdbc:documentdb://root:Password123%23@localhost:27017/sample?tls=false"

    val connectionProps =
        DocumentDbConnectionProperties.getPropertiesFromConnectionString(documentDBURI)
    val metadataSchema =
        DocumentDbDatabaseSchemaMetadata.get(connectionProps, "sample", MongoClients.create(mongoURI))
    val calciteSchema =
        DocumentDbSchemaFactory.create(metadataSchema, connectionProps)

    val calciteConn = DriverManager.getConnection("jdbc:calcite:").unwrap(CalciteConnection::class.java)
    calciteConn.rootSchema.add("sample", calciteSchema)

    val query = """
        SELECT * FROM "sample"."album"
    """

    val rs = calciteConn.createStatement().executeQuery(query)
    while (rs.next()) {
        val md = rs.metaData
        for (i in 1..md.columnCount) {
            println(md.getColumnName(i) + ": " + rs.getObject(i))
        }
    }
}

Expected behaviour:

The rows are printed out in the while() loop (which works when querying using the JDBC driver bundled in the project)

Actual behaviour:

It runs successfully but nothing is printed. It looks like something happens, I can see the metadata introspection and projection running in the logs:
2022-04-25 15:49:09,203 INFO  [sof.ama.doc.jdb.met.DocumentDbMetadataService] (Test worker) Successfully retrieved metadata schema sample in 91 ms.
2022-04-25 15:49:09,928 INFO  [sof.ama.doc.jdb.cal.ada.DocumentDbProject] (Test worker) Created projection stages of pipeline.

Full logs below

Error message/stack trace:

2022-04-25 15:49:09,106 INFO  [org.mon.dri.client] (Test worker) MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync", "version": "4.6.0"}, "os": {"type": "Windows", "name": "Windows 10", "architecture": "amd64", "version": "10.0"}, "platform": "Java/Eclipse Adoptium/17.0.1+12"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=MongoCredential{mechanism=null, userName='root', source='admin', password=<hidden>, mechanismProperties=<hidden>}, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.Jep395RecordCodecProvider@538c90bf]}, clusterSettings={hosts=[localhost:27017], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=UNSPECIFIED, serverApi=null, autoEncryptionSettings=null, contextProvider=null}
2022-04-25 15:49:09,124 INFO  [org.mon.dri.connection] (cluster-rtt-ClusterId{value='6266fb35ab0b6c505e955715', description='null'}-localhost:27017) Opened connection [connectionId{localValue:2, serverValue:223}] to localhost:27017
2022-04-25 15:49:09,124 INFO  [org.mon.dri.connection] (cluster-ClusterId{value='6266fb35ab0b6c505e955715', description='null'}-localhost:27017) Opened connection [connectionId{localValue:1, serverValue:222}] to localhost:27017
2022-04-25 15:49:09,125 INFO  [org.mon.dri.cluster] (cluster-ClusterId{value='6266fb35ab0b6c505e955715', description='null'}-localhost:27017) Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=52593400}
2022-04-25 15:49:09,191 INFO  [org.mon.dri.connection] (Test worker) Opened connection [connectionId{localValue:3, serverValue:224}] to localhost:27017
2022-04-25 15:49:09,203 INFO  [sof.ama.doc.jdb.met.DocumentDbMetadataService] (Test worker) Successfully retrieved metadata schema sample in 91 ms.
2022-04-25 15:49:09,928 INFO  [sof.ama.doc.jdb.cal.ada.DocumentDbProject] (Test worker) Created projection stages of pipeline.

Any other details that can be helpful:

Screenshots

If applicable, add screenshots to help explain your problem.

JDBC log

Add related JDBC log entries here.

Also I wanted to say a huge thank-you to the authors of this library. It's miles ahead of the Calcite Mongo adapter, which requires manual column type casting from _map. Open source is truly a blessing.

Hi @GavinRay97
Just checking a couple of things...

Would you be able to provide an extract of the database you are querying?
It looks like you are trying to access a database named sample and two collections artist and album. Is this correct? Or are artist and album sub-documents in a collection called sample?
In your Steps to reproduce example, (fun ``create direct Calcite schema with DocumentDB adapter``() ), you go to some lengths to add a schema. But this is normally done automatically by the driver. We intended user to use the JDBC API.
Given that we intended users to use the JDBC API, we have set a number of limitations of what we support, at this time. Currently, we don't support JOIN on two different collections.

Would like to understand the data behind the query to know how to better diagnose this issue.
Thanks,
Bruce Irschick

Appreciate the swift reply, Bruce!

Sure, absolutely. It's set up with a very basic seed .js script, as below:

conn = new Mongo()
db = conn.getDB("sample")

db.artist.insert({ _id: 1, name: "AC/DC" })
db.artist.insert({ _id: 2, name: "Aerosmith" })
db.artist.insert({ _id: 3, name: "Alice In Chains" })

db.album.insert({ _id: 1, artist_id: 1, title: "Back In Black" })
db.album.insert({ _id: 2, artist_id: 1, title: "High Voltage" })
db.album.insert({ _id: 3, artist_id: 1, title: "For Those About To Rock We Salute You" })

db.album.insert({ _id: 4, artist_id: 2, title: "Get Your Wings" })
db.album.insert({ _id: 5, artist_id: 2, title: "Toys in the Attic" })
db.album.insert({ _id: 6, artist_id: 2, title: "Rocks" })

db.album.insert({ _id: 7, artist_id: 3, title: "Dirt" })
db.album.insert({ _id: 8, artist_id: 3, title: "The Best Of Alice In Chains" })
db.album.insert({ _id: 9, artist_id: 3, title: "Facelift" })

It looks like you are trying to access a database named sample and two collections artist and album. Is this correct?

This is correct 👍

But this is normally done automatically by the driver. We intended user to use the JDBC API.

Understandable -- my usecase is likely very uncommon.
I have an app which has a Calcite rootSchema, that has multiple datasources connected to it:
https://github.com/GavinRay97/GraphQLCalcite/blob/92b18a850d5546403b9760d96dc5b3a59533f3ca/src/main/kotlin/calcite/CalciteSchemaManager.kt#L26-L35
In this, you can add datasources like:
val mysqlSource: DataSource = com.mysql.cj.jdbc.MysqlDataSource()
val postgresSource: DataSource = org.postgresql.ds.PGSimpleDataSource()

CalciteSchemaManager.addDatabase("mysql1", mysqlSource)
CalciteSchemaManager.addDatabase("pg1", postgresSource)

val query = """
  SELECT ...
  FROM pg1.postgres_table INNER JOIN mysql1.mysql_table ON ...
"""

CalciteSchemaManager.getConnection().executeQuery(query)

So I was trying to get the underlying Calcite Schema object from DocumentDB adapter, to add it to CalciteSchemaManager.rootSchema so that I can make query like:
SELECT artist.id as artist_id
FROM postgres1.artist
INNER JOIN mongo1.album
              ON mongo1.album.artist_id = postgres1.artist.id

Maybe I can just get a DataSource from the DocumentDB JDBC adapter instead of trying to do it manually like this? 🤔

Ah wow, yeah I went about this in a very silly way. I don't know why I didn't consider that DataSource would work.
This runs perfectly fine:
@Test
fun `create DataSource from DocumentDB and add to Calcite`() {
    val dataSource = DocumentDbDataSource().apply {
        hostname = "localhost:27017"
        database = "sample"
        user = "root"
        password = "Password123#"
        tlsEnabled = false
    }

    CalciteSchemaService.addDatabase("mongo", dataSource)

    val query = """
        SELECT
            artist.*,
            album.*
        FROM        mongo.sample.artist
        INNER JOIN  mongo.sample.album AS album
                ON  album.artist_id = artist.artist__id
    """

    val rs = CalciteSchemaService.connection.createStatement().executeQuery(query)
    while (rs.next()) {
        val md = rs.metaData
        for (i in 1..md.columnCount) {
            println(md.getColumnName(i) + ": " + rs.getObject(i))
        }
    }
}

, we "unhooked" query execution in the Calcite stack and perform it externally in our own package.

Does this mean that queries which span multiple Calcite datasources can't be performed at the moment -- or will Calcite push the querying down into your custom query executor and then join the results together with Enumerable?


Images are not optimized, where examples?

I used code from Docs
const imagemin = require('imagemin');
const imageminJpegtran = require('imagemin-jpegtran');
const imageminPngquant = require('imagemin-pngquant');

imagemin(['images/*.{jpg,png}'], 'build/images', {
  plugins: [
    imageminJpegtran(),
    imageminPngquant({quality: '65-80'})
  ]
}).then(files => {
  console.log(files);
  //=> [{data: <Buffer 89 50 4e …>, path: 'build/images/foo.jpg'}, …]
})

This just copies files, that's all!
Explain how to use it.

I am using it in Node app to optimize uploaded images. Not with Gulp/Grant. Why it isn't working?

Ok, I found imagemin-mozjpeg now it's working

@hackuun can you please explain how did you solve the issue...?

@usamamashkoor imagemin-mozjpeg is a lossy plugin for imagemin (an alternative to lossless plugin imagemin-jpegtran). When I used imagemin-jpegtran with node-js I got many issues. But switching to imagemin-mozjpeg just solved the problem in a fly.
You can look at this for more details about imagemin plugins for different format of images: https://web.dev/use-imagemin-to-compress-images

Very interesting, thanks for sharing!


Gameboy Color Support?

Haven't seen any explicit mention of this, but are there plans to support GBC in the future?

No. When I started this project, my goal was to go as deep as possible in the parts that I want to explore (a nice GUI, maximum accuracy, android support, JIT compilation (planned), etc.), so I intentionally limit the emulator scope to only support DMG.

Thinking twice, I will keep this open. Some day, I or someone else may be interested in adding CGB support.


Check the announcement post with the app

https://steemit.com/esteem/@good-karma/points-in-new-esteem-mobile-2-1
The rendering is bad

It is fixed, you can test with next release (v2.1.1)


Revert "C++ introduction and VS 2022 Installation edits"

Reverts NoorUlBaseer/cpp-docs#1

Dear reviewers, please review the suggestions I have made and provide your valueable feedback.


[Network] az network custom-ip prefix create: Add parameter --is-parent

Related command

closed: https://github.com/Azure/azure-cli/issues/29164
Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Network


logical or expressions are not always optimal.

After a fix to issue #16996 some logical or expressions are not optimal anymore.
See tests/compiler/dart2js/logical_expression_test.dart
This happens when the first part of a logical-or is shared between several other logical or expressions:
var cond = foo();
if (cond || bar()) ...
if (cond || gee()) ...
This now generates:
var cond = !foo();
if (!cond || bar()) ...
if (!cond || gee()) ...

logical_expression_test.dart is still failing.
The mystery 'not' comes from here:
During CFG constructions a || b is is converted into CFG blocks equivalent to  !a ? b : true.
In CFG codegen, diamond control flow for x ? y : true is generated as the expression !x || y (provided x and y can be generated as expressions).
If the HNot is generated-at-use, the two negations cancel out in generateNot
When the HNot is a common subexpression the 'nots' no longer cancel out, leading to the observed strange code.
How to fix this?
Converting a || b to a ? true : b and later recognizing x ? true : y as x || y would avoid the negations.
However, the code is worse when y cannot be emitted as an expression, since then it becomes an if statement where the code is in the else-part. Perhaps that can be fixed by adding the negation only when and if statement is needed (if (e) ; else S; --> if (!e) S;).
dart2js currently gets confused for nested && and || patterns. Perhaps using a ? true : b would help tell the pattern for || apart from that for && (which is a ? b : false, with the constant then on the other arm). Or perhaps, with more conditional control flow available in modern JavaScript (??, ??=, a?.b), dart2js should remember which control-flow operator matches the CFG.


Vite is not ready?

any update for ViteJS?

In case of vite it'll be a generative codebase and makes the project larger than it needs to be, you are free to try out something like https://github.com/barelyhuman/adex or the helpers from @coxmi https://github.com/coxmi/ssr-tools
Though understand that it's not as simple as just adding the plugin since there's now 2 sides to be compiled.

I'll also apologise here for the lack of documentation for ssr-tools. There are a couple of bugs I'm working through too, but finding it hard to find the time at the moment due to work constraints.
It'll get there eventually :)


testing: simplify package update, but require matching versions

Now that ceph/daemon-base:latest-octopus is on v15.2.4 we can
stop the need to update already installed packages in the container.
To make things "safer" and fail early with errors rather than mysterious
compatibility problems, I am adding explicit versions to the
lib{cephfs,rados,rbd}-devel-* packages. Now if the container can't find
these packages it will fail rather than partially upgrade the ceph
packages.

The container versioning issues & repo issues (minus a problem with castxml) appear to be resolved now and we can remove some of the hacks I put in to keep the ci going.

@ansiwen if you have a moment care to take a look? Otherwise, I'll probably merge this by the end of the week as this is (just) test infrastructure.

Great. Now that I run this again castxml is back and can be installed but is now broken in an entirely new way:
[root@cc97b3d9044b go-ceph]# castxml --help
: CommandLine Error: Option 'limited-coverage-experimental' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

I'm starting to think castxml is more trouble than it's worth.


crash while downloading

I tried to download but it crashed immediately.
https://user-images.githubusercontent.com/55329452/214932397-7d98d50d-ef66-49c7-8a51-2865f2c94bc2.mp4

I was considering removing this download section.
This is actually downloading torrents. would anyone use this instead of downloading the torrents themselves?

Page removed in favor of torrent streaming.


Generate AWS Service Mocks For All In-Scope Services/Functions

We will need to create mock clients for:

cloudfront
ec2
elb
elbv2
IAM
organizations

REL: #142

Abandoned due to low benefit vs amount of work needed.


Error panel pops up too fast

I'm finding that the error pane is popping up as I'm in the middle of typing a phrase. Obviously while the line is unfinished, the syntax is not correct, that's just distracting. As such, I think it would be helpful to add some kind of delay before triggering the error popup panel. Even better would be to make the delay configurable.

What language server is this?

Javascript

Agree that the panel (and the squiggly lines) showing up mid-statement can be distracting!
I usually leave the error panel open for that reason.
Would you want a delay on:

The panel opening
Diagnostics updating in the panel
Diagnostics updating in the panel and the document?

Perhaps you can try the same edits in VS Code so we can see where the diagnostics handling differs?

I think the most important delay would be on the panel opening, as that large movement within your field of vision is the biggest problem. I have my panel set to only open when there's a problem, and that's mainly to maximize editing real estate on my screen.
I think it makes the most sense to have at least a slight delay on all of the things you mentioned. I don't have VSCode set up.

I see two options:

We add the file's diagnostics count to the status area, you would open the panel manually when you see the diagnostics there (no need to decide what delay suits you)
We wait to hear if other users are interested in this delay (as I'd like to avoid adding a setting for just one user)

Automatically opening the panel, regardless of delays, is super annoying IMO. I'd rather have a hint (e.g. a counter) that tells me something is in there and then I can open it when I want to, and close it when I'm done. So, that first option sounds great to me.

I quite like the SublimeLinter behaviour, which has lint modes. The save mode is super useful, since it only shows you the errors when they're relevant (i.e. when you're going to run the code).
That said, background mode is quite useful. SublimeLinter by default has a delay of 0.25s before it shows the errors. In terms of how that actually works, it appears to be handled in SL's queueing.

I like the idea of a counter.
LSP has a config option to turn off auto show of the diagnostics panel.
"auto_show_diagnostics_panel": true,

When he does that, the only way he knows if he has errors is to open the diagnostic panel.
A counter in the status bar could solve that problem.

I am working on a counter in the status bar. If you want you can try it here.
I also changed the behavior of the diagnostic panel to always hide itself when there is no errors.
The current implementation firsts check if the "auto_show_diagnostics_panel" is enabled, and if so, it will hide it.
I planed to add a setting show_diagnostics_count_in_view_status.
But first to check if you are ok with the changes I made :)

@jakeparis @rmccue I closed this immediately, but perhaps you'd like to leave feedback about @predragnikolic's work here?

I'd definitely still prefer to have the diagnostics panel show up when I save a file. The status bar is useful, but I'll likely just end up ignoring it.
(The autohiding makes sense in any case I think.)


CPU usage and GPU usage too little

hi processor @mdbarnesUCSD
I change my code and use the given parameters
The cpu usage is still very low.
When it gets the "making matries for INDELs", the cpu usage is too slow.
It costs too much time to finish.
I look through sigpro.py.
Then I find that you use the mutipleprocess package. But it seems doesn't take effect.
I run code in Ubuntu Linux 22.04 and the sigprofilerextractor package is the latest version.

And the vcf files are placed in a harddisk.
After searching this question in Google. I find python have the GIL lock. Did this prevent the full usage of CPU?
But I look through the past issues of sigprofilerextractor. Someone even have the problem of too high usage of CPU and GPU.
I cannot find find the true answer and solve the problem。
So I use mutipleprocess on my hand for different types of cancer
But for each cancer types, the problem is still on my way.
def extract_signature_for_folder(folder):
    output_dir = f"/harddisk/sxt/VCFinput/{folder}"
    output_path = f"/harddisk/sxt/output/{folder}"
    print(f"Signature extraction for {folder} started.")
    sig.sigProfilerExtractor("vcf", output_path, output_dir, "GRCh38")
    print(f"Signature for {folder} extracted.")

if __name__ == "__main__":

    with Pool(128) as p:
        p.map(extract_signature_for_folder, cancer_types)

Sincerely waiting for your  hearing.

JOB_METADATA.txt
I run a small example for examination

Hi @xiaoyaojianghuzai,
Your input matrix has 96 rows and 2 columns, but your extraction is from signatures 1 to 25. This does not work and you need a larger input matrix (the max rank is 2 for a 96x2 input).
Please review the README and run the example using the matrix file as input (code below):
from SigProfilerExtractor import sigpro as sig
def main_function():
   # to get input from table format (mutation catalog matrix)
   path_to_example_table = sig.importdata("matrix")
   data = path_to_example_table # you can put the path to your tab delimited file containing the mutational catalog matrix/table
   sig.sigProfilerExtractor("matrix", "example_output", data, opportunity_genome="GRCh38", minimum_signatures=1, maximum_signatures=3)
if __name__=="__main__":
   main_function()

hi professor @mdbarnesUCSD
I use vcf_files as input. Should I change the max signature too?

Plus， can I only extract signatures for SBS and DIUNC except INDELs? But when I change the context_type parameter, nothing has changed. It still generating matrices for INDELs as usual. How can I make it?

Plus， can I only extract signatures for SBS and DIUNC except INDELs? But when I change the context_type parameter, nothing has changed. It still generating matries for INDELs as usual.

sig.sigProfilerExtractor("vcf", "/harddisk/sxt/output/gum", "/harddisk/sxt/VCFinput/gum", "GRCh38", minimum_signatures=1,maximum_signatures=3)

how to choose the max_signatures parameter when using VCF files as input?

Hi @xiaoyaojianghuzai,
The maximum_signatures needs to be a value less than the number of samples that you have.
I would suggest start with matrix inputs rather than VCFs. You can run SigProfilerMatrixGenerator to generate the matrices and this may help you identify if there are any issues with your VCFs. You can then use the INDEL matrix you created from SigProfilerMatrixGenerator as the input for SigProfilerExtractor.

Hello @mdbarnesUCSD
I run the code
sig.sigProfilerExtractor("vcf","/home/sxt/HDD/output/rectum", "/home/sxt/HDD/VCFinput/rectum", "GRCh38",minimum_signatures=1,maximum_signatures=3)

The terminal prints
(base) sxt@C233-Primary-Server:~$ /home/sxt/miniconda3/bin/conda run -p /home/sxt/miniconda3 --no-capture-output python /tmp/pycharm_project_825/rectum.py

************** Reported Current Memory Use: 0.5 GB *****************

Starting matrix generation for SNVs and DINUCs...Completed! Elapsed time: 337.43 seconds.
Starting matrix generation for INDELs...

I find the SNVs and DINUCs costs 5minutes, but the INDELS has costed 10 days. It still didn't finish.
Does the matrix generation step use methods that can speed up this process, such as mutipleprocess?

Hello @mdbarnesUCSD
I run the code
sig.sigProfilerExtractor("vcf","/home/sxt/HDD/output/rectum", "/home/sxt/HDD/VCFinput/rectum", "GRCh38",minimum_signatures=1,maximum_signatures=3)

The terminal prints
(base) sxt@C233-Primary-Server:~$ /home/sxt/miniconda3/bin/conda run -p /home/sxt/miniconda3 --no-capture-output python /tmp/pycharm_project_825/rectum.py

************** Reported Current Memory Use: 0.5 GB *****************

Starting matrix generation for SNVs and DINUCs...Completed! Elapsed time: 337.43 seconds.
Starting matrix generation for INDELs...

I find the SNVs and DINUCs costs 5minutes, but the INDELS has costed 10 days. It still didn't finish.

Please generate your matrices separately and provide those as inputs to SigProfilerExtractor. The matrix generation step should not take anywhere near 10 days. How many mutations are you working with? Are you running out of memory?

There's a lot of memory left. All vcf files are about 5 GB. I am going to try to generate matrices separately.

Please reach out if you are still encountering issues with your run.


MODEL_INVALID on Windows

Hi!
This simple model:
from ortools.sat.python import cp_model

model = cp_model.CpModel()

a = model.NewIntVar(0, 10, 'a')
b = model.NewIntVar(0, 10, 'b')

model.Add(a+b >= 5)

solver = cp_model.CpSolver()
status = solver.Solve(model)

Is giving this Proto on Windows:
variables {
  name: "a"
  domain: 0
  domain: 10
}
variables {
  name: "b"
  domain: 0
  domain: 10
}
constraints {
  linear {
    vars: 1
    vars: 0
    coeffs: 1
    coeffs: 1
    domain: 5
    domain: -1  ## Possible bug
  }
}

windows 10 64bit
python version: 3.7.3 (64 bits)
ortools==7.1.6720

Digging a bit I found that something is working with int32 instead of int64.
Setting INT_MAX =<PHONE_NUMBER> on cp_model.py gives the correct domain but setting it to<PHONE_NUMBER> overflows and gives the following Proto:
constraints {
  linear {
    vars: 1
    vars: 0
    coeffs: -1
    coeffs: 1
    domain: 5
    domain: -2147483648
  }
}

Thanks, I will check the swig code.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le jeu. 20 juin 2019 à 02:28, Xiang Chen<EMAIL_ADDRESS>a
écrit :

Digging a bit I found that something is working with int32 instead of
int64.
Setting INT_MAX =<PHONE_NUMBER> on cp_model.py gives the correct domain but
setting it to<PHONE_NUMBER> overflows and gives the following Proto:
constraints {
linear {
vars: 1
vars: 0
coeffs: -1
coeffs: 1
domain: 5
domain: -2147483648
}
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1365?email_source=notifications&email_token=ACUPL3OBYLLXZWKHXEHKJ4TP3LFKNA5CNFSM4HZOETMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDUSTQ#issuecomment-503793998,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3OSUFFK4A64LXNWAK3P3LFKNANCNFSM4HZOETMA
.

Actually, this is before the SWIG code is called. Looks like a python protobuf issue :-(

I cannot reproduce it.
Can you check which version of protobuf is installed ?

ortools==7.1.6720
protobuf==3.8.0
six==1.12.0

Can you try with a downgraded  version of protobuf (3.7.1) ?
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le jeu. 20 juin 2019 à 13:08, Xiang Chen<EMAIL_ADDRESS>a
écrit :

ortools==7.1.6720
protobuf==3.8.0
six==1.12.0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1365?email_source=notifications&email_token=ACUPL3LESWKUQOOFHO7HMEDP3NQJNA5CNFSM4HZOETMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYFC4OQ#issuecomment-503983674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3PKNUKJQQHUL4XRR5LP3NQJNANCNFSM4HZOETMA
.

Still the same, gonna investigate a bit to give you more details later, will test it with different versions of python and/or pip

It works fine with me. With both 3.7.1 and 3.8 for protobuf.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le jeu. 20 juin 2019 à 14:22, Xiang Chen<EMAIL_ADDRESS>a
écrit :

Still the same, gonna investigate a bit to give you more details later,
will test it with different versions of python and/or pip
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1365?email_source=notifications&email_token=ACUPL3KXXH5JX7BOQBMY6MDP3NZB7A5CNFSM4HZOETMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYFIAZQ#issuecomment-504004710,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3OK2TNLMBBHMYMDCITP3NZB7ANCNFSM4HZOETMA
.

Hmm, updated to ortools==7.1.6722 and everthing works fine, so I guess it was already fixed lol.
Thanks for everything!


Reserved test nodes

Description
This PR adds two flags to testnet nodes: reserved-nodes and reserved-only. These nodes serve to ensure that testnet nodes will only synchronize with the boot node, and no other nodes, this ensures that they won't lose their way if we have any issues with upgrades or bad blocks.
Type of Change
Additional flags

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

Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have run cargo fmt and cargo clippy to ensure my code is formatted and linted correctly
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

I went a head and added this to development in #409


Remove npm

Maybe removing npm will work with the pipeline, let's check

Ok, it seems to work, I alse removed the attlasian registry and added configs for default yarn/npm registries. @ZachHaber @Wokstym can you approve this mr?


Fix datagrid grouping arrows

What does the pull request do?

Fixed #9633
What is the current behavior?

Nonstandard arrows used for expanded/collapsed groups in DataGrid
What is the updated/expected behavior with this PR?

Swap arrow definitions
How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

You can test this PR using the following package version. 11.0.999-cibuild0027097-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-nightly/nuget/v3/index.json) [PRBUILDID]