remove third party libs that are no longer used

so going forward the plan is to pull everything we can from maven central, right?
lgtm

yes. everything that we can.


How to handle headless (and programatic) app-model actions

This is a request for comments about how to handle app-model actions in headless mode (i.e. without a Qt Viewer). There have been discussions here and there but nothing well documented and no concrete decisions. Recent PRs have brought up this topic and this is an attempt at gaining more clarity.
Originally, there was separation of actions/providers/processors (actions for short) into 'GUI/Qt' and 'non-GUI/Qt'. But it seems that most of the actions are technically Qt (see #6767, #6883, #6743)
Considerations about how to separate 'GUI/Qt' and 'non-GUI/Qt' action files:

We think that actions that do not technically require QT but are defined for the sole purpose of living in a menu, should be considered a 'GUI' action. (ref: https://github.com/napari/napari/pull/6848#issuecomment-2089374696) - e.g., help menu actions that open up a URL.
Small factor - it's easier to have all actions belonging to a menu (e.g., file menu) in one file, so they are easier to find
Having all actions in one file makes it easier to include submenu definitions with the actions, as we don't need to choose which file to define the submenus in (ref: #6848)

The aim of separating 'Qt' and 'non-Qt' actions is such that non-Qt actions are registered and available in the app headless. But this brings more considerations:

Which built-in actions should be made available to the headless app?

I think all (?) the menubar actions that might be useful headless, already have a public API function (e.g., open_sample)
Some layer actions would make sense headless but see 2.

Currently there are no 'non-Qt' providers. This means that the layer actions which technically do not need Qt, won't work without Qt (the layerlist provider uses _viewer_provider which gets the active viewer via _QtMainWindow)

when does headless dependency injection make sense? When headless we do not know which viewer/layer is active (discussed more here #6768).
if headless does not use dependency injection, currently the user would need to manually pass the argument to the action. Do we want to add a provider that guesses which e.g., layer the user wants to perform the action on?

What do we want headless action API to look like?

Registering actions - what should the API look like? Should we let users directly use app.register_action or should we add a wrapper API? Headless and GUI users should both be able to do this (GUI, via console)
Executing actions - done via CommandRegistry.execute_command(<command_id_str>) or different API?

cc @DragaDoncila @jni @psobolewskiPhD @Czaki who may be interested. Thank you

We think that actions that do not technically require QT but are defined for the sole purpose of living in a menu, should be considered a 'GUI' action.

I think this bit here is very tricky because it's a a consideration on how people want to use napari. For example, take any given Open sample action that currently lives in the file menu. This is obviously not only a GUI action - people want to open files in headless mode too! However, there's already a blessed API for that that has nothing to do with the app-model file menu open sample action. Would a user ever want to trigger the menu version of the open sample action in headless mode? I think the answer is no. Does that mean the file menu actions for opening samples are GUI actions? Lucy and I have basically decided yes. This also means the action is not registered until all other GUI actions are registered. We think this makes sense - we don't want actions registered with the app that are guaranteed to fail right?
However, there is then the further distinction of GUI vs. Qt. Is the File -> Open Sample action qt-specific? No, probably not. Any frontend we used would likely include some way of defining menubar actions. Where should this action live then, structurally speaking, given that we definitely don't want it to be registered and available for execution in headless mode, but it's also not specifically Qt dependent?
On the topic of dependency injection in headless mode, I have no real idea whether it makes sense or not, or what parameters users might request that they can't explicitly pass in but will be available at runtime. The current providers for viewer and layers work on the basis that through the GUI, you can infer which viewer/layer the user wanted associated with a particular action e.g. because a certain viewer has focus or because a certain layer is active and selected in the layerlist. Should we (and can we even) make those same inferences in headless mode? It doesn't seem natural...

For example, take any given Open sample action that currently lives in the file menu.

I think that falls under:

I think all (?) the menubar actions that might be useful headless, already have a public API function (e.g., open_sample)

But I should have been more specific in the kind of actions I was talking about there. E.g., the help menu actions that open up a URL.

given that we definitely don't want it to be registered and available for execution in headless mode, but it's also not specifically Qt dependent?

I think technically the open sample one is Qt dependent because we use handle_gui_reading which uses Qt. But this does raise a good question about functions which get a 'wrapper' for actions that get added to the menu.
In this case we have the open_sample API which users can use directly. Potentially there would be other actions where the menu version gets a wrapper which is not needed headless? In this case do we have 2 actions??

Where should this action live then, structurally speaking, given that we definitely don't want it to be registered and available for execution in headless mode, but it's also not specifically Qt dependent?

I feel like this question is out of scope of this issue. It's a long standing issue of napari, that there is not GUI but not Qt folder? It's touched upon here: https://github.com/napari/napari/issues/6469

Question: am I misunderstanding or there should be a distinction between headless and programmatic?
I personally don't see much value (or have interest in) the first, but the 2nd, programmatic access to things in an viewer, is something that is absolute gold and we should strive for 1:1 equivalence as much as possible.

Sorry I think I mean headless.
i.e., init_qactions (which registers all the Qt actions) gets run when we init _QtMainWindow.
So whenever there is a Qt Viewer (vs ViewerModel) all the Qt actions and such are registered. So they are available for use.
Note also the other question is how we want the user to trigger there actions. This is currently possible via their command ID string, but this is a bit long (and we are not exactly sure how to name it... see https://github.com/napari/docs/pull/405). E.g., for the help actions the strings are currently e.g., 'napari.window.help.info'.
I would think that a different public API to accessing such actions would be nicer.

Found this while doing some digging:

Something like accessors+processors gives pure Puthon functions reasonable default behavior in the napari/GUI context while leaving the door open for alternative contexts such as execution headless, cloud, cluster, or embedded in other applications.

from: https://github.com/napari/napari/issues/4532#issuecomment-1128990549
I think I am also leaning towards processors/providers being GUI-only.
cc @DragaDoncila

But also this gives some perspective on what plugin contributions should look like:

The original ImageJ assumes it is a standalone GUI application, and so plugins do everything explicitly like constructing and showing dialogs and images, which are built on GUI toolkits directly. So then there is no way to use the associated algorithm code without these side effects happening too.

https://github.com/napari/napari/issues/4532#issuecomment-1128990549

do you mean shouldn't look like? 😅

From decision in #6946, it would follow that we do want to register actions that would be useful to the user and can be run without a GUI (i.e. some layer actions). Atm the user would need to pass the layer they want to run the action on, as current providers cannot do so headless.
But the question remaining is: Do we want to add a provider that guesses which e.g., layer the user wants to perform the action on?
cc @Czaki

Looking at the other actions, I think we have 3 types:

requires Qt
requires GUI, not necessarily Qt
can be run headless, user would need to pass in dependency

I agree that the latter should be available in the app even headless (i.e. the layer actions https://github.com/napari/napari/issues/6946). The first 2 have been lumped together as we don't have a GUI not not necessarily Qt folder, and I think is fine for now. This also makes sense as we don't.
The only thing that this brings to question are the help menu actions, which just open a URL. These can be used headless but live in Qt (as they are defined solely for purpose of living in a menu). I think I am, because they aren't really useful.
The main question really is how providers should work. Should we ask the user to pass dependency or should we add a 'headless' provider that guesses?

The main question really is how providers should work. Should we ask the user to pass dependency or should we add a 'headless' provider that guesses?

Personally I like guessing only when it's very clear how one would guess (e.g. selected layer). Also, there should be some sort of escape hatch for guessing. For example, in the context of a menu, you could hold option before click to get the full selection widget. In the context of a keyboard shortcut, you'd have two shortcuts, one for the "guess" action and one for the "ask" action (ideally, these are very similar, eg. Cmd-T vs Cmd-Option-T).

Personally I like guessing only when it's very clear how one would guess

Yes i agree but last we talked you suggested we could try guessing in headless mode (it was at end of a meeting) !
The providers we have atm are pretty simple, active viewer/qt viewer/window/layer/layerlist.

In headless mode I think the user should always be explicitly passing the dependency. I know the layerlist and its selection objects exist in the headless context, but I don't think there should be actions e.g. segment_layer(layer: 'napari.layers.Image'), where we pass in an image layer if it's selected, and otherwise fail.
Because we're in headless, we wouldn't have the option of presenting the user with a dialog/command prompt to select which layer they want to pass, so our only valid option would be to raise an error in the case where someone tried to execute that action without passing a layer (and we didn't have an image layer selected). Raising in this situation might be super annoying for the user, as they might be batch executing some commands, which might even change the layerlist selection (or add new layers which would trigger a change in the layerlist selection afaik?), and then fail halfway through on a command that previously worked just fine.
TLDR: in headless mode, it's the user's job to satisfy all dependencies of actions they are executing, by explicitly passing in the correct function parameters.

Thanks @DragaDoncila I totally agree.
I think maybe @jni was referring to use in GUI mode when he said:

Also, there should be some sort of escape hatch for guessing. For example, in the context of a menu, you could hold option before click to get the full selection widget. In the context of a keyboard shortcut, you'd have two shortcuts, one for the "guess" action and one for the "ask" action (ideally, these are very similar, eg. Cmd-T vs Cmd-Option-T).

I'm also in agreement that the user should always pass dependency in headless mode.
I am happy to close this, but do you think we should try to solicit more opinions?

I can't really wrap my brain around what a headless napari is/would be and what I would use it for, so I fear I'm largely useless on this topic, but Draga's answer seems the most cogent to me? 🤷

I can't really wrap my brain around what a headless napari is/would be and what I would use it for

I have no idea where the headless name came from, or even if I'm using it the way it's supposed to be used 😅 but as far as I know, the headless Viewer is a Viewer object that is created without its GUI i.e. the Viewer object you have a handle on before you hit napari.run or when you don't have qt installed... @jni would you say that's accurate...?


Fixes build:watch command, renames it to dev and adds source maps

💬 Description
⁉ Issue
We previously had a command called build:watch, which was supposed to watch our lib/ dir and tailwind.config.js file and build them into the /dist directory whenever they changed. However, I broke it with the following:
{
  "build": "babel lib/ --out-dir dist/lib && babel tailwind.config.js --out-dir dist",
  "build:watch": "concurrently \"yarn copy:styles:watch\" \"yarn build --watch\""
}

looking at build:watch, when we call yarn build --watch, it is actually only passing the --watch flag to the second babel call. Thus it was only recompiling the tailwindconfig when that changed.
✅ Fix
I have created a new command yarn dev that actually watches and rebuilds both  lib/* and tailwind.config.js.
As a bonus, this command adds inline source maps, which means we can debug the actual GUI code when linking it to the App.

 GUI: yarn build:watch is knackered

I'd rather still have watch in the name but 🤷♀

Yeah I think I will keep it as build:watch now, originally I changed it to dev for a reason that isn't valid anymore, so I'll switch it back!


Problem with sidebar when it was minimized and Files is restarted.

Explain the bug
https://user-images.githubusercontent.com/8149819/112722462-04ecba00-8f0a-11eb-9e58-57dde5bdf6c6.mp4
To reproduce

Minimize sidebar
Close Files
Start Files

Logfile
debug.txt
debug_fulltrust.txt
System Information

OS Version: Windows 10 Pro 20H2 19042.867
App version: <IP_ADDRESS>

Might be caused by the changes in #4209

@Fantazyjny this issue should be resolved in the preview version. http://files.community/download/preview


Column Operations

Is it possible to get the column operations in the same table? Perhaps under different tbody tags... Or perhaps there is a way to tell the Table Filter to exclude some rows from the bottom of the table for the filtering, sorting, pagination operations etc.
In the current system, colOps rows are defined in a different table and aligning their cell widths match those in the main table is a pain... Note that I use bootstrap layout and a responsive table - so don't know the column widths in advance.
I have already tried playing with the "rows_always_visible" and "exclude_row" configuration options (while keeping the column options in the same table at the bottom) but nothing works properly!

Yes it is possible, refer to this demo http://koalyptus.github.io/TableFilter/data-types.html to see how to use rows_always_visible option and exclude_row and tot_row_index options under ColOps extension. Also note the totals row is inside a tfoot.

Thanks. The example you pointed to above solved my problem.
Finally figured out how to use the extensions...


How to configure proxy for mobile app

@jekh
I am writing automation test for mobileweb and Android/iOS app.
Proxy code used in mobileweb:-
ProxyServer proxyServer = new ProxyServer(4444);
proxyServer.start();
Proxy proxy = proxyServer.seleniumProxy();
DesiredCapabilities capabillities = DesiredCapabilities.firefox();
capabillities.setCapability(CapabilityType.PROXY, proxy);
capabillities.setCapability("version", "5");
capabillities.setCapability("platform", Platform.XP);
this.driver = new RemoteWebDriver(
new URL("http://myname:xxxxxx@ondemand.saucelabs.com:80/wd/hub"),
capabillities);
I can able to setup proxy for mobileweb test. How can i do the same for mobile app testing.
Is above code supports mobile app?
Kindly respond me.

That's a question for the mobile application vendor. The proxy will work with HTTP requests from any source. If you have a mobile application that is making HTTP requests, you'll need to configure the application to point to a running BrowserMob Proxy instance.

I'm going to go ahead and close this, but please feel free to re-open if you're unable to get mobile apps to connect to BMP.

Hi @karunakaranvrv,  were you able to find a solution for this?  I am trying something similar . If you were able to find the resolution for this , can you please share the configuration.


feat: Config dependabot to only bump minor, patch vers

Security updates are unaffected by this setting.
See 1.

If this is wanted, I can open similar PRs for the rest of the projects.

I have mixed feelings about that. From one hand the flood of dependabot fixes we had was overwhelming and included many major updates.
From the other hand, we don't have anything in place that informs us about these major updates...
I would try to merge all the dependabot PRs we have open, silence the ones we can't update and see how it goes. If dependabot keeps being "annoying", we can merge this PR.
What do you think?

I'm happy waiting. Didn't know that one can talk dependabot into skipping major versions if needed.

@viccuad Based on what we have discussed I'm going to close this PR and open a new one that configures dependabot so that it ignores patchlevel updates.
This way, and since dependabot opens a PR per dependency, we can keep it for minor and major dependency releases -- so they are tested in isolation.
I am going to also add renovatebot so it is the responsible of pushing patchlevel of all available dependencies in a single PR.
Are you OK with  me closing this PR?

Yes! I'm happy with the outcome, closing this. Thanks :).


Update for Tube Cup 2021

Update the site for Tube Cup 2021:

Added new tube colours
Made Game a general component, so we can just specify the right link to get data from
Made descriptions for each round a prop to GameBoard

Pics:


i18n(es): update customization

Description

What does this PR change? Give us a brief description.
Updates  customization based on these commits:

7ad711321ccff03a70fd14fef943afd159bb66b3
caa84eaa7dc653d27d539fd3a93df346a9f0f149

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

es
guides/customization.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


code refactor

change from for loop to forEach for code optimization in participantItem component

There is still one more place needs to be refactored, which is ParticipantList.js line 55


[CCI][FEATURE] Add test coverage statistics to Codecov

Description
Fixed a bug where test coverage was incorrectly displayed in the codecov web interface

Issues Resolved
#118
Check List

[+] New functionality includes testing.

[+] All tests pass

[+] New functionality has been documented.

[+] New functionality has javadoc added

[+] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

can you please resolve the merge conflict and push the new changes?

can you please resolve the merge conflict and push the new changes?

Done;)

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@2c73825). Click here to learn what that means.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #138   +/-   ##
=======================================
  Coverage        ?   89.97%
=======================================
  Files           ?       29
  Lines           ?     3491
  Branches        ?        0
=======================================
  Hits            ?     3141
  Misses          ?      350
  Partials        ?        0

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


Issue 622

Simple fixes for #622

Codecov Report

Merging #624 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #624      +/-   ##
==========================================
- Coverage   81.69%   81.67%   -0.03%
==========================================
  Files          72       72
  Lines        2732     2729       -3
==========================================
- Hits         2232     2229       -3
  Misses        500      500

Flag
Coverage Δ

#py27
81.67% <ø> (ø)
:arrow_up:

#py36
?

#py37
?

Impacted Files
Coverage Δ

src/opentime/rationalTime.h
88.88% <ø> (ø)
:arrow_up:

...ntimelineio/opentimelineio-bindings/otio_utils.cpp
87.05% <0%> (-0.16%)
:arrow_down:

...eio/opentimelineio-bindings/otio_anyDictionary.cpp
100% <0%> (ø)
:arrow_up:

...elineio/opentimelineio-bindings/otio_anyVector.cpp
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 409bdde...41e235a. Read the comment docs.


Distinguish "Rez" sources from R

Language name
"Rez" was a language for generating resources for classic MacOS applications. Apple might not officially support it any longer, but it still gets some use among people into retro-computing and historical software.
URL of example repository

https://github.com/uliwitness/mpw-sillyballs
https://github.com/cooljeanius/Glypha-III

URL of syntax highlighting grammar
I'm not aware of any FOSS ones, but syntax highlighting for Rez sources is still supported in Xcode as of Xcode 13. It's kind of C-like.
Most popular extensions
.r
Detected language
R
Links

http://preserve.mactech.com/articles/mactech/Vol.14/14.09/RezIsYourFriend/index.html
https://www.unix.com/man-page/osx/1/Rez/
https://github.com/uliwitness/ulisworldwdef/blob/master/FatCodeResource.r
http://web.archive.org/web/20211113094506/https://twitter.com/uliwitness/status/1459457263605895168

Current versions of macOS X still include the Rez and DeRez command line tools for consuming and generating this type of files.

Yes, please. Rez files are still used today by retro computing enthusiasts creating new classic Mac OS applications such as https://github.com/cy384/ssheven.
To show that Rez is a valid language in use in more than just a few places, here is a search that shows a subset of Rez files on GitHub that define DITL resources (dialog item lists). Most of these are being misidentified as "R" and some as "Rebol". Not all Rez files define dialog item lists so there will be more Rez files out there that are not found by this search, but the string "DITL" seemed like it would be unique to Rez files and not turn up any real R or Rebol files.
https://github.com/search?type=Code&q=extension%3Ar+DITL
Here's a search of Rez files that define a vers (version) resource that specifies verUS (localized for the United States):
https://github.com/search?type=Code&q=extension%3Ar+verUS
These searches turn up 3-4 thousand files each, though of course there is duplication where a popular project is copied in many repositories.
I see that linguist's R syntax support comes from a TextMate bundle, as does the support for many other languages. TextMate also has a Rez syntax bundle: https://github.com/textmate/rez.tmbundle. Could it be as simple as just adding that to a list somewhere?

Yes, please. Rez files are still used today by retro computing enthusiasts creating new classic Mac OS applications such as cy384/ssheven.

another example: autc04/Retro68

ok I opened #6524 for this; still need help picking a color, though...

ok I opened #6524 for this; still need help picking a color, though, and also adding a pattern to the heuristics file...

ok so #6524 is merged now as of 55cfb49; I guess if there are any further issues regarding detection of "Rez", they can get separate issues...


Only allow valid integers for dismiss-on-timeout

Currently if you have dismiss-on-timeout="" or an invalid integer parseInt(attrs.dismissOnTimeout, 10) evaluates to NaN which causes $timeout to run instantly. To prevent this from happening the dismissOnTimeout directive should check to make sure  parseInt(attrs.dismissOnTimeout, 10)  evaluates to a proper integer.

Implemented a Fix in #3927

@wesleycho, per the comments in #3927, this can be closed.


Remove unused dockerhub publish workflow

The release is being managed completely by this workflow.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Good point. Including the change in this PR itself.


switch-to-configuration.pl: Fix timers resulting in old unit running

Fixes #49415.
See the added comment for a detail description.
See also the related #49528.
Things done

Built on platform(s)

[x] 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.05 Release Notes (or backporting 23.05 and 23.11 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

[x] Fits CONTRIBUTING.md.

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

@flokli @arianvp @Gabriella439 from #49415.
@symphorien from https://github.com/NixOS/nixpkgs/issues/49528#issuecomment-747723198
@dasJ from #49528

Oh: but if it's stopped already I guess it isn't stopped a second time by restart... Okay perhaps this approach actually works

Since this is a tricky problem I wrote a regression test, feel free to include it
import ./make-test-python.nix ({ pkgs, ... }: {
  name = "nixos-rebuild-timers";

  nodes = {
    machine = { lib, pkgs, ... }: {
      imports = [
        ../modules/profiles/installation-device.nix
        ../modules/profiles/base.nix
      ];

      nix.settings = {
        substituters = lib.mkForce [ ];
        hashed-mirrors = null;
        connect-timeout = 1;
      };

      system.includeBuildDependencies = true;

      system.extraDependencies = [
        # Not part of the initial build apparently?
        pkgs.grub2
      ];

      virtualisation = {
        cores = 2;
        memorySize = 4096;
      };

      systemd.services.dostuff = {
        script = "while true; do echo a > /tmp/a; sleep 1; done";
        startAt = "*:*"; # every second, in practice it seems rate limited to 30s
        serviceConfig.Type="simple";
      };

      # this service ensures that switching takes at least 60s, enough time for
      # dostuff.timer to fire
      systemd.services.delaySwitch = {
        script = "echo delaySwitch started";
        postStop = "echo start sleeping; sleep 60; echo stop sleeping";
        serviceConfig.Type="oneshot";
        serviceConfig.RemainAfterExit=true;
        wantedBy = [ "multi-user.target" ];
      };
    };
  };

  testScript =
    let
      configFile = pkgs.writeText "configuration.nix" ''
        { lib, pkgs, ... }: {
          imports = [
            ./hardware-configuration.nix
            <nixpkgs/nixos/modules/testing/test-instrumentation.nix>
          ];

          boot.loader.grub = {
            enable = true;
            device = "/dev/vda";
            forceInstall = true;
          };

          documentation.enable = false;

      systemd.services.dostuff = {
        script = "echo b > /tmp/a";
        startAt = "*:*"; # every second
        serviceConfig.Type="oneshot";
      };

      systemd.services.delaySwitch = {
        script = "echo delaySwitch changed";
        postStop = "echo start sleeping; sleep 60; echo stop sleeping";
        serviceConfig.Type="oneshot";
        serviceConfig.RemainAfterExit=true;
        wantedBy = [ "multi-user.target" ];
      };

        }
      '';

    in
    ''
      machine.start()
      machine.succeed("udevadm settle")
      machine.wait_for_unit("multi-user.target")

      machine.succeed("nixos-generate-config")
      machine.copy_from_host(
          "${configFile}",
          "/etc/nixos/configuration.nix",
      )

      with subtest("Switch to the base system"):
          machine.succeed("nixos-rebuild switch")

      machine.wait_until_succeeds("grep b /tmp/a")

    '';
})


Question about traffic jam

Hello dear developers!
Is there any solutions for integration traffic jams info? May be there is any integrated sdk for working with APIs (Tomtom, Here etc.)?
Thanks in advance!

Please use this https://discuss.graphhopper.com/c/jsprit/9 for your questions. Thanks a lot!


When starting code recently after closing : error exec: code not found

Thanks for taking the time to thoroughly make Code in Toolbox a pleasant experience.  I've had no problems with the script other than this one:
If I start code after closing it (which I sometimes do to reset an LSP, or I installed an extension that requires restart)
I get this :
/var/home/me/my-project-dir: line 3: exec: code: not found

If I wait 60 or so seconds,  not sure on the exact time,  then it works just fine.
I haven't been able to trace the line of code that originates the error, it seems to come from nowhere :)
I wonder if this is related to :  https://github.com/flathub/com.visualstudio.code/issues/210
Where the script is finding the previous IPC channel that hasn't yet closed.   After the channel is cleaned up, then the script launches "from scratch" again.  Just a guess.

Same issue here... but waiting didn't help at all. I killed my terminal(s) and waited about 15 minutes - still got the error message. After logging out and back in again it worked fine.
But when it's working it's great - thanks for the effort to get this working!

https://github.com/owtaylor/toolbox-vscode/blob/273ea0e2e5873c8569519b46452fabb16c178bc0/code.sh#L385-L417

I've merged a change that should help here - https://github.com/owtaylor/toolbox-vscode/pull/12 - if people could test that would be appreciated!

@owtaylor I just performed a quick test.. Executing code . a few times in different directories and I cannot reproduce this anymore! 🎉
Incredibly nice work.

@owtaylor I just performed a quick test.. Executing code . a few times in different directories and I cannot reproduce this anymore! tada

Thanks for the testing!


Layout of Upcoming and Module tabs

Codecov Report

Merging #118 into refactor-ui will decrease coverage by 0.13%.
The diff coverage is 0.00%.

@@                Coverage Diff                @@
##             refactor-ui     #118      +/-   ##
=================================================
- Coverage          46.84%   46.71%   -0.14%
  Complexity           502      502
=================================================
  Files                126      126
  Lines               2444     2451       +7
  Branches             301      301
=================================================
  Hits                1145     1145
- Misses              1201     1208       +7
  Partials              98       98

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/trackitnus/ui/lesson/LessonCard.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...rc/main/java/trackitnus/ui/module/ModulePanel.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

src/main/java/trackitnus/ui/upcoming/DayCard.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...ain/java/trackitnus/ui/upcoming/UpcomingPanel.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b33fa7...79ca6d3. Read the comment docs.


Allow global property in istio/gateway values schema

Fix for #35495 - allows the official istio/gateway chart to be used as a subchart.

[ ] Configuration Infrastructure

[ ] Docs

[ ] Installation

[ ] Networking

[ ] Performance and Scalability

[ ] Policies and Telemetry

[ ] Security

[x] Test and Release

[ ] User Experience

[ ] Developer Infrastructure

[ ] Does not have any user-facing changes.
It does seem to me that the lack of global attribute in the schema prevents us from using is as helm subchart.
Other charts within istio repository does not seem to declare the schema, but they do have global attributes within the default values.yaml.
Thanks.

I am still not quite sure what setup triggers the issue. The proposed fix in the original issue seems like its not the right approach. I asked in the Helm slack and got no response, nor could I find any other helm charts doing this.
It would help if someone could add a reproducer on how to get intot his state?

So the issue is reproduced when I create a chart that takes this gateway as a subchart. For example, my chart with the following spec would reproduce the issue :
apiVersion: v2
name: istio-gateway
version: 0.0.1
appVersion: 1.12.0
description: "This Helm chart is an installation of istio-gateway, with additional components."
home: https://istio.io/latest/docs/setup/install/helm/

maintainers:
  - name: Park Junwoo
    email<EMAIL_ADDRESS>
dependencies:
  - name: gateway
     version: 1.12.0
     repository: https://istio-release.storage.googleapis.com/charts

istio-gateway git:main ❯ helm template .
Error: values don't meet the specifications of the schema(s) in the following chart(s):
gateway:
- (root): Additional property global is not allowed

The reason as I understand it is that the Values data type has a reserved section called Values.global, and this global section is populated when there is a dependency subchart.
As values.schema.json file in helm chart enforces Values data type to have the specified attributes only, helm lint fails.
istio-gateway git:main ❯ helm version
version.BuildInfo{Version:"v3.6.3", GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354", GitTreeState:"dirty", GoVersion:"go1.16.6"}

Opened https://github.com/helm/helm/issues/10392 to discuss

Also encountered this issue today (unfortunately). Having read the discussion, my choice would be to use "additionalProperties": true or remove the line altogether (as it is true by default). Alternatively, this PR which excludes Values.global explicitly would also do the job.
@howardjohn ; this PR is going stale shortly, are you in a position to evaluate this?

/ok-to-test

@remi-gelinas: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
7d4d752f2df4dfa4a7ed12edaeb06915ebe8522d
link
true
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

cc @remi-gelinas Please add a release note similar to https://github.com/istio/istio/pull/36452/files to get this merged in. Thanks!

I just encountered this today, for what it's worth.  I had assumed I was doing something wrong or missing a step.  It seems the problem is in the chart itself.

Merged in https://github.com/istio/istio/pull/36896 - thanks for getting this started @remi-gelinas !


Reducing Recursion with foldl, foldr and zip!

Hey! I saw your request on Reddit for any improvements that could be made to the code, and since one of the highest upvoted comments had to deal with reducing recursion, I figured I would land a hand on that end.
The comments are individual enough, that each of them are applicable on their own, and they should all pass the tests that you have written.
I would highly recommend looking at the individual commits, instead of the changes as a whole, and see what you like / dislike from there!
If you have any questions regarding any of the changes made, I would be happy to explain what my thought process was when I was making the changes!
LOOK AT ME:
I wrote this, so that if you decide you are done with refactoring, and would like to see what someone else would have done, you have that opportunity. If you would rather not merge the changes I have made, that is also cool! It was nice practice for me as well, so thanks :D

Ah this is so nice, thank you so much! @Zij-IT

@Zij-IT I read through all of them. They are amazing, thank you so much :)
I was wondering if I could ask 2 questions regarding readability best practices:

Should I always avoid creating temporary values? Or can we count on compiler optimizations to eliminate them?
Since removing the right most argument makes the code shorter, should I always strive to always do that (eg by reordering the args so eliminating the last arg is possible)?

I am no Haskell expert, but here is my two cents:

Should I always avoid creating temporary values? Or can we count on compiler optimizations to eliminate them?

Temporarily values can be helpful to increase readability. The variables that I removed I felt didn't contribute to the readability of the code.

Since removing the right most argument makes the code shorter, should I always strive to always do that (eg by reordering the args so eliminating the last arg is possible)?

I don't generally don't write my code in order to enable eta reduction. If the function feels more natural with the arguments, I will generally keep the arguments there. For example:
betterGuesserAll :: WordList -> History -> [GuessType]
betterGuesserAll words history =
  map Guess $ filter (\w -> checkAgainstHistory w (DataMap.toList history)) words

It would be possible to reorder the parameters and then perform eta-reduction on words. However, in doing so, you would also want to reorder the other Guesser functions to keep them consistent. So, in this case, I wouldn't reorder them.
In general, it is good to keep in mind, that shorter does not always mean more readable!

@Zij-IT That makes sense. Thank you so much! 🙏


set_attribute_filter shouild take &mut self

[x ] I agree to follow the project's code of conduct.
[ x] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

set_attribute_filter should take &mut self since OGR_L_SetAttributeFilter resets the reading position.

Can you also update the changelog?
bors d+

bors r+


Unable to locate "vcvarsall.bat" during Visual Studio 2017 builds

When attempting to build with Visual Studio 2017, the following error is produced:
The system cannot find the path specified.
Error while executing:
call "%vs150comntools%../../VC/Auxiliary/Build/vcvarsall.bat" amd64 && conan test_package . -s arch="x86_64" -s build_type="Release" -s compiler="Visual Studio" -s compiler.runtime="MT" -s compiler.version="15" -o thelib:shared="False"
I noted that there was a commit to add support for it:
https://github.com/conan-io/conan-package-tools/commit/c4cace87cf02cec31fccb8ac5d0c3e68b1c1a3f4
But Microsoft has removed the %vsXXXcomntools% variables starting with VS2017 and forward:
https://blogs.msdn.microsoft.com/vcblog/2017/03/06/finding-the-visual-c-compiler-tools-in-visual-studio-2017/
Currently we are working around this by manually creating a vs150comntools variable.

Yes, that is right. Msft has removed the env-var, and conan still needs it to be defined. And it seems that it will keep necessary, because the removal of the env-var is because now different installations of VS can co-exists. Even if they can be somewhat detected (IMHO seems too complex), still just one installation has to be used to build the conan packages, so the env var is still necessary to tell conan which one.

how to solve?

https://docs.conan.io/en/latest/reference/tools.html#tools-vswhere


Fix link in README.MD

@ljharb Though, there is no spec.md in repo, so link is 404.

:-) true, I haven't written it yet.


Missing TSpectrum.hh in Installation

Hi all,
I am updating my version of GRSISORT to the current branch, and on the make stage I received this error:
libraries/GROOT/GCanvas.cxx:22:23: fatal error: TSpectrum.h: No such file or directory   #include <TSpectrum.h>

That is a ROOT file. Did you install root on your computer and are the environment variables for it set?

Fixed it, ROOT was being difficult. Thanks!


Extra div element appears at bottom of Atom window

There's a div element that is taking up some of my vertical window real estate, highlighted in green in the attached image. If it's actually supposed to be there, then what is its purpose?
Reproduction steps:

$ atom foo.js
Type any character in that .js file

Now, a 10px element appears at the bottom of my Atom window. The styles (also shown in the image) indicate a top/bottom padding of 5px, hence the 10px height.
If you can't reproduce it, I can try disabling other packages to see if one of them is causing the conflict.
Using atom-ternjs v0.13.2 in Atom v1.6.2.

+1


Network metadata → JSON

The network metadata file will be shifted to JSON format; thus, the functions that interface with this file will need to be modified accordingly. With the broad functionalisation of XCP routines, this transition should be simplified. This will additionally provide a platform to evaluate the feasibility of a shift to JSON.
Functionality:

network : declare a new network
network_add : add a new object to a network (e.g., map, space, timeseries, adjacency matrix)
network_parse : parse a network's metadata into variables that can be used by the module
load_networks : load all networks for potential iteration and for parsing

10 Thermidor:
The network, parc, and sclib formats will be superseded by ~atlas.json. As a consequence, library functions will be built to operate on this format.


document: fix publisher mapping naming

Just to be sure: there is no facet for this field, right?

@ntarocco no we don't have facets for the publisher


pub's git clone failing, invalid mirror

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

run pub install for bot.dart (git://github.com/kevmoo/bot.dart.git) using Nightly
I get an error: Git error. Command: git clone --mirror /home/ubuntu/src/https:/github.com/kevmoo/hop.dart.git

What is the expected output? What do you see instead?
"Dependencies installed!"
What version of the product are you using? On what operating system?
Ubuntu 12.04, Dart 14673
Please provide any additional information below.
You can see Kevin's latest build here:
https://drone.io/kevmoo/bot.dart/57
I see two possible issues:

pub is including the $PWD in mirror url
the url scheme is incorrect, should be "https://" instead of "https:/" (single slash)

I verified this was not an issue in 14167

This issue has been moved to dart-lang/pub#270.


i18n(fr): Updated showcase.md

What kind of changes does this PR include?

Changes or translations of Starlight docs site content

Description

What does this PR change? Give us a brief description.
Updated showcase.md based on these 2 commits 5e5a6d86aa6554ccc776f514c2e3028ec972c8b3 & a3e00b7fdafcacdfc06d64f79f584a7a8eb2a118

Thank you so much @delucis for reviewing, I've applied your suggestions 😁


vim.uv error

Hi there,
I was trying to use your config with NVIM_APPNAME as I find your startup claim of being faster than NvChad quite appealing 😅. However, I keep getting this error regarding vim.uv, for example that fs_stat is not found. You use vim.uv instead of vim.loop in lazy.nvim's config...
I'm not a nvim wizard so was wondering if there is a way around this.
Thanks in advance!

I'm using the latest neovim development release (version v0.10), which renamed vim.loop to vim.uv.
I use many features from the development release so this will not be the only thing that will be broken.
Also, the speedup when opening files is because I don't have any file-related lazyloading in the config.
If you're not opening files (you're not running $nvim file.txt), then mine is slower than NvChad, but I typically start neovim by opening a file.

Oh, great. Thanks for the clarification. I recently moved to the stable version 9.5, so will try it out with the development release.


Blockchain structure

Create blockchain structure that supports storing and adding blocks with:

index -- block number that increase in order from the first.
prev_hash -- hash of the previous block
hash -- hash of the current block
data -- random string data with length = 256
nonce  -- addition to fulfill the hashing requirement (the last 4 digits are zeros)

It is necessary to add verification of incoming blocks


Suggestions for Android/iOS port

Compiling python source together with ue4, or indepently as armxxx.a or xxx.so, it's easy to achieve that.

Hi, if you have experience in building the python shared libraries to android/ios, plase make a pull request.
Thanks a lot


Whitelisting Quartz jobs running in clustered quartz environment

hello!
I'm using Quartz 2.2.1 in a clustered mode using with Oracle database. We are running almost 10 nodes with few jobs with disallowing concurrent execution. The use case here is, I want to whitelist jobs that can run on the particular node. For example: Run node 1-5 picking the only job 'A' and node 6-10 picking job 'B' only. I don't want to create another set of Quartz DB tables to run two different clusters. Does something like this exist? any pointers will greatly help!

You may create two schedulers, register Job A in scheduler 1, and Job B in scheduler 2. The schedulers must have unique instanceName. Create a new application level property and control the start of the schedulers. node 1-5 will have property value true for scheduler1 and false for scheduler2. Apply the converse to nodes 6-10. This is one way of implementing your requirement. I am sure there are other ways too.

Close as not an issue.


Not allowed to edit a key/value list

When pressing the Possible Values Edit link I am given a 403 error.
The problem has only been seen for custom fields of type "Key/value"
It works fine for custom fields of type "List"
Redmine 3.2.0
Redmine Edit Custom Fields plugin 0.0.2
My role for the project is manager

My role for the project is manager

Hi @sorenfriis
Could you please provide me with the log/production.log including the corresponding error messages?
Best regards
Frederick Thomssen

Here is the output from the request:
Started GET "/projects/test-agile/settings/edit_custom_fields" for <IP_ADDRESS> at 2016-04-13 14:31:51 +0200 Processing by ProjectsController#settings as HTML   Parameters: {"id"=>"test-agile", "tab"=>"edit_custom_fields"}   Current user: soren (id=5)   Rendered projects/_form.html.erb (26.1ms)   Rendered projects/_edit.html.erb (27.0ms)   Rendered projects/settings/_modules.html.erb (3.1ms)   Rendered projects/settings/_members.html.erb (12.6ms)   Rendered projects/settings/_versions.html.erb (45.2ms)   Rendered projects/settings/_issue_categories.html.erb (1.8ms)   Rendered custom_fields/formats/_enumeration.erb (2.0ms)   Rendered plugins/redmine_edit_custom_fields/app/views/edit_custom_fields_settings/_form.html.erb (3.9ms)   Rendered common/_tabs.html.erb (95.8ms)   Rendered projects/settings.html.erb within layouts/base (101.0ms)   Rendered plugins/a_common_libs/app/views/hooks/a_common_libs/_html_head.html.erb (0.7ms) Completed 200 OK in 143ms (Views: 80.4ms | ActiveRecord: 51.0ms) Started GET "/custom_fields/3/enumerations" for <IP_ADDRESS> at 2016-04-13 14:31:54 +0200 Processing by CustomFieldEnumerationsController#index as HTML   Parameters: {"custom_field_id"=>"3"}   Current user: soren (id=5)   Rendered common/error.html.erb within layouts/base (0.1ms)   Rendered plugins/a_common_libs/app/views/hooks/a_common_libs/_html_head.html.erb (0.7ms) Filter chain halted as :require_admin rendered or redirected Completed 403 Forbidden in 26ms (Views: 16.3ms | ActiveRecord: 6.6ms)

I confirm. Error when trying to edit values of custom field of type "key/value".
For now i just rejected use of "key/value", but it's uncomfortable.
Please, repair! It's very usefull plugin! Many thanks!

Hi
Thanks for the input - I will look into this next weekend.
Best regards
Frederick Thomssen

Any ideas? This is really important because "lists" is not so flexible like "key\value". Please, help!

Hi
Sorry for the late reply. I could reproduce the error now.
The problem here is that the values for the key/value field are not edited inline as it is the case with the other fields. Instead, you have to click on "Edit" which leads you to an admin page to which you normally have no access to.
I think that the simplest solution would be to directly display the forms that can be found behind the "Edit" beneath the "Possible values" label. I cannot promise anything though, as I don't know yet whether I will have access to that functions.
Has any of you guys experience in developing Redmine plugins?
Best regards
Frederick Thomssen

Up

up

Hi @msneet
As I said, I don't have too much experience in writing Redmine plugins - that said, I don't have much experience with Ruby either. So I would need help here.
Do you know anyone who could and would help with this problem?
Best regards
Frederick Thomssen


Add dummy schedule to the main page

I like the format https://ichack.org/ has. However, check out the old website. Its descriptions are more related to us: https://createdhack.com/2018/
Format: Something similar to ICHack
Description: Previous CreatEDHack

This is now complete.


Urls in tweet text

Urls in the text of a tweet get changed (shortened) is there a way to get the text of tweets without the replaced urls?

twitter.com/user/status/tweetid
gives you the original tweet url. Where is the problem?

I didn't really find a way.. So we need to do something like this:
static HttpClient HttpClient = new HttpClient();
static Regex TwitterLinkRegex = new Regex("(?<Link>https://t.co/[a-zA-Z0-9]{10})");

MatchCollection twitterLinkMatchCollection = TwitterLinkRegex.Matches(eventReceived.Tweet.Text);

foreach (Match twitterLinkMatch in twitterLinkMatchCollection)
{
	string url = twitterLinkMatch.Groups["Link"].Value;

	try
	{
		HttpResponseMessage httpResponseMessage = await HttpClient.SendAsync(new HttpRequestMessage
		{
			RequestUri = new Uri(url),
			Method = HttpMethod.Head
		}, HttpCompletionOption.ResponseHeadersRead);

		if (httpResponseMessage.IsSuccessStatusCode && httpResponseMessage.RequestMessage?.RequestUri != null)
		{
			string realUrl = httpResponseMessage.RequestMessage.RequestUri.ToString();
		}
	}
	catch (Exception ex)
	{
		Console.WriteLine(ex.Message);
	}
}

@KoalaBear84 does Twitter shorten the urls or is that something the wrapper does?

Hmm.. Good question 😂
I see that the info I would like is already present in the JSON / model. So we don't need the above code which is great.
See example:

Have you checked out the latest comment? @AlexanderGipp

Yeah i did, did you manage to actually use that property @KoalaBear84?

The Urls property works, and you can easily loop through it, in reverse, and replace this.
For example like this:
string text = tweet.Text;
List<Tweetinvi.Models.Entities.IUrlEntity>? urls = tweet.Urls;
urls.Reverse();

foreach (Tweetinvi.Models.Entities.IUrlEntity? url in urls)
{
  text = text.Remove(url.Indices[0], url.Indices[1] - url.Indices[0]);
  text = text.Insert(url.Indices[0], url.ExpandedURL);
}

Or use DisplayedURL.


Not working for iOS

This plugin is working for iOS ? I've submited into prod and have many requests, but no impressions.
On the doc, there is no additional configuration info about iOS. What is missing ? Or it's really don't working for iOS ?

Hello @marcellocamara , did you manage to get Meta ads working on Flutter ? I'd love to know how, I only get No fill errors.

Hello @marcellocamara , did you manage to get Meta ads working on Flutter ? I'd love to know how, I only get No fill errors.

No, @TheCarpetMerchant
I've tried all those packages, without success. I ended up with admob usage + mediation.

Hello @marcellocamara , did you manage to get Meta ads working on Flutter ? I'd love to know how, I only get No fill errors.

No, @TheCarpetMerchant
I've tried all those packages, without success. I ended up with admob usage + mediation.

Damn. I had the inverse journey, I tried Admob mediation but no ads were getting shown so I tried implementing it myself instead. Did you have any problems with getting meta ads to be shown with admob mediation ?


Caches receiving mangled metrics from relays

So I have this cluster that I'm playing with and everything is talking to each other... more or less. I have two relays, three caches, one 'solo' graphite web, one grafana, etc. Everything is on 0.9.15.
So I have haggar sending metrics to a relay but when they hit the caches... I get something like this:
2017-01-06_15:16:01.55760 06/01/2017 15:16:01 :: [listener] invalid line (Uhaggar.agent.26.metrics.7533GA@G@aq
                                                                                Uhaggar.agent.26.metrics.7539GA@G@\q
                                                                                Uhaggar.agenUhaggar.agent.26.metrics.7552GA@G@qUhaggar.agent.26.metrics.7557GA@G@qUhaggar.agent.26.metrics.7563GA@G@b@qUhaggar.agent.26.metrics.7573GA<EMAIL_ADDRESS>
...

2017-01-06_15:16:01.60592 06/01/2017 15:16:01 :: [listener] MetricLineReceiver connection with <IP_ADDRESS>:48674 lost: Connection to the other side was lostin a non-clean fashion.

I couldn't find anything like this through googling and I'm not sure what I'm doing wrong.

Might be MTU size for the caches.

That's definitely a weird one, I don't recall having seen that before. When
you say you're running "two relays, three caches" is that all on the same
box or different nodes?
On Fri, Jan 6, 2017 at 11:37 AM, Tyler Hampton<EMAIL_ADDRESS>wrote:

Might be MTU size for the caches.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/graphite-project/carbon/issues/618#issuecomment-270944218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeLAgSPKaTfpJvkw0yqbN63_BQhJ8ynks5rPm3ggaJpZM4Lc3e9
.

@obfuscurity All on different nodes.
2017-01-06_16:38:21.48069 06/01/2017 16:38:21 :: [listener] invalid line (]q(Uhaggar.agent.2.metrics.2GAG@0qUhaggar.agent.2.metrics.11GAG@qUhaggar.agent.2.metrics.13GAG@8qUhaggar.agent.2.metrics.18GAG@qUhaggar.agent.2.metrics.19GAG@fqUhaggar.agent.2.metrics.21GAG@}qUhaggar.a`gent.2.metrics.27GAG@p Uhaggar.agent.2.metrics.35GAG@~0q Uhaggar.agent.2.metrics.39GAG@q) received from client <IP_ADDRESS>:52185, ignoring

Really weird stuff.

Anything weird here? Config for the cache.
ubuntu@ip-172-23-35-18:/opt/graphite/conf$ cat carbon.conf
# This file is managed by Chef, your changes *will* be overwritten!

[cache]
ENABLE_LOGROTATION = True
USER = graphite
MAX_CACHE_SIZE = inf
MAX_UPDATES_PER_SECOND = 500
MAX_CREATES_PER_MINUTE = 50
LINE_RECEIVER_INTERFACE = <IP_ADDRESS>
ENABLE_UDP_LISTENER = True
CACHE_WRITE_STRATEGY = sorted
USE_FLOW_CONTROL = True
LOG_UPDATES = False
LOG_CACHE_HITS = False
WHISPER_AUTOFLUSH = False
LOCAL_DATA_DIR = /mnt/graphite_storage/whisper/

[cache:a]
CACHE_QUERY_PORT = 7002
LINE_RECEIVER_PORT = 2003
UDP_RECEIVER_PORT = 2003
PICKLE_RECEIVER_PORT = 2004

[cache:b]
CACHE_QUERY_PORT = 7003
LINE_RECEIVER_PORT = 2005
UDP_RECEIVER_PORT = 2005
PICKLE_RECEIVER_PORT = 2006

And for the relays
ubuntu@ip-172-23-34-93:/opt/graphite/conf$ cat carbon.conf
# This file is managed by Chef, your changes *will* be overwritten!

[relay]
LINE_RECEIVER_INTERFACE = <IP_ADDRESS>
LINE_RECEIVER_PORT = 2003
PICKLE_RECEIVER_INTERFACE = <IP_ADDRESS>
PICKLE_RECEIVER_PORT = 12104
RELAY_METHOD = consistent-hashing
DESTINATIONS = <IP_ADDRESS>:2003:a, <IP_ADDRESS>:2005:b, <IP_ADDRESS>:2003:a, <IP_ADDRESS>:2005:b, <IP_ADDRESS>:2003:a, <IP_ADDRESS>:2005:b

Have you tried running a relay on the same host as the caches, to handle fanout? I personally never run "just caches" on any scaled-up Carbon node. It may not fix your issue but it might be worth a try.
I've benchmarked Haggar at some pretty significant scale and never encountered any path corruption like you're seeing.

I don't think the problem is haggar, specifically. Just... something is going on between relays and caches and it's confusing me. I'll consolidate the relays and caches and get back to you. Thanks for responding to me ticket! Very appreciated!

Sure thing, looking forward to hearing your progress.
On Fri, Jan 6, 2017 at 12:02 PM, Tyler Hampton<EMAIL_ADDRESS>wrote:

I don't think the problem is haggar, specifically. Just... something is
going on between relays and caches and it's confusing me. I'll consolidate
the relays and caches and get back to you. Thanks for responding to me
ticket! Very appreciated!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/graphite-project/carbon/issues/618#issuecomment-270950209,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeLAsPFHvGU6sazh0pbjCR5Oc8H8O0dks5rPnONgaJpZM4Lc3e9
.

@obfuscurity Now that everything is on one box, I'm seeing the same problem. All within AWS and within a VPC. So nothing is really going on between the relays and the caches.
G@rUaggar.agent.0.metrics.4363GAU<G@rUaggar.agent.0.metrics.4364GAU<G@prUaggar.agent.0.metrics.4366GAU<G@rUaggar.agent.0.metrics.4367GAU<G@vrUaggar.agent.0.metrics.4369GAU<G@@rUaggar.agent.0.metrics.4371GAU<G@{0Uaggar.agent.0.metrics.4373GAU<G@Gr    Uaggar.agent.0.metrics.4374GAU<G@Xr) received from client <IP_ADDRESS>:59914, ignoring
2017-01-10_21:41:12.00757 10/01/2017 21:41:12 :: [listener] MetricLineReceiver connection with <IP_ADDRESS>:59916 established

So, running haggar with -carbon="localhost:port" I still get path corruption. This is driving me nuts.

So if I set ten agents to send out ten metrics at a time things are fine.

I empathize, I really do. But nobody else has reported corruption issues like this so I'm obliged to think it has something to do with your systems and/or network. I'm unable to reproduce this at all.

@obfuscurity Hm, I actually don't think it's anything system or network bound because I just did something I should have started with.
I used synthesize to stand up a single node and... it worked fine. What I'm using now is sous-chef/graphite and I think it's just fubaring everything. What I'll probably do is just ditch that cookbook and try to write something more lightweight

Weird. Still, I'm glad you were able to narrow it down to a variable. Please let us know if you uncover anything more "incriminating".

@obfuscurity Sure. I'll poke around. If you can think of anything that would mangle incoming metrics like that then let me know. I have Terraform and Chef setting up clusters and it's super slick but... stuff is weird.

Oh, and Synthesize just sets up a cache - there isn't a relay involved. Hmmmmmm.

@obfuscurity One last one before I conk out. I threw carbon-relay-ng onto my Chef spawned cache node and boom it just works. So, uh, I dunno.


Remove: Canonical.Multipass version 1.13.0

Duplicate of 1.13.0+win
Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.9 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/canonical/multipass/releases/download/v1.13.0/multipass-1.13.0+win-win64.exe
OK
(Automated message - build 923)


A readme file for describing the App Flow

Please describe the feature you want this project to offer
For the new contributors/ app users we should maintain a documentation file that will showcase the flow of the app.
Describe the solution you'd like
A readme File with flow and screenshots of the current app.
Describe alternatives you've considered (Optional)
We can add a help(!) icon in the app which will lead to a tutorial page to showcase the flow of the app.

If you find this feature interesting, I would love to work on it.

@SarveshChavan
The thing you are talking about is... Github Templates
M I correct

I guess not, I'm talking about creating a readme file that will showcase the app states such as
Click on App -> SplashScreen() ->HomePage -> Option1: SearchRepo() Click Search Button, Option2:Change Color Theme, Option3: Click About Us, Option4: Click Contributors()
and so on
such that one can understand the flow by reading the file, we can also mention API calls and what the API calls returns

@SarveshChavan yeh got it work on it and feel free to reach out if u need help in understanding workflow of the app or anything

I have created the app flow file review it when you get free and also reach out to me if any thing needs to be inserted or to be removed from the file.

I will sort out this one by tomo

@SarveshChavan refer #87


console.log does not output when running tests

Same as #2441
console.log() is not showing in complex async tests even though I disabled --verbose.

What was the fix?

any fix on this? tried everything

@dougbacelar try adding option --runInband, works for me on node 8.10.0 and jest 23.1.0


Ntd1hc/feat/an initial website need to be setup

Hi team,
I create this PR for the initial version of our RobotFramework AIO website.
this website (this branch) is temporarily hosted at this internal url, the content is still poor and need to be added/updated more now.
Please give your idea about it and contribute to make the content more attractive.
In case you are not familiar with *.html and *.css, just give your idea/content then I will help to implement it.
Thank you,
Ngoan

Hi Ngoan,
thank you for your pull-request!
I'm still also working on this whenever I have time. I will work with you on this pull-request till I make an initial merge.
Thank you,
Thomas


error: instruction requires: AVX-512 ISA AVX-512 VLX ISA

openssl 3.1.0 fails to build on OS X 10.10.x when using Xcode 7.x; OS X 10.11.x; macOS 10.12.x; macOS 10.13.x; and macOS 10.14.x when using Xcode 10.0 or 10.1. The error is:
crypto/bn/rsaz-3k-avx512.s:22:2: error: instruction requires: AVX-512 ISA AVX-512 VLX ISA
 vpxord %ymm0,%ymm0,%ymm0
 ^

This was reported to MacPorts here: https://trac.macports.org/ticket/67099
Full build logs of failures on macOS 10.10-10.13, and successes on earlier and later versions, are available here: https://ports.macports.org/port/openssl3/builds/
The problem happens because you are deciding whether the compiler supports avx512 based on faulty criteria:
https://github.com/openssl/openssl/blob/738d43634a5192b1be0869f151682bb8e9157d5a/crypto/modes/asm/aes-gcm-avx512.pl#L62-L64
There, we see you try to use avx512 if the compiler is clang and its version is 7.0 or greater. The problem is that there are two different compilers named clang: the original project's, and Apple's fork which is included in Xcode on macOS. Apple's clang fork uses a different version numbering scheme than the original project's. Support for avx512 may indeed have appeared in the original clang version 7.0 but it evidently did not appear until a later version of Apple's fork of clang.
Based on the table at https://en.wikipedia.org/wiki/Xcode#Toolchain_versions it looks like Apple clang 10.0.1 is the first version that was based on the original project's clang 7.0.0. Apple clang 10.0.0 and earlier were based on original clang 6 and earlier.
Apple clang does identify itself as such in the version string, as in:
$ clang -v
Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

or:
% clang -v
Apple clang version 11.0.3 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

so it should be fairly easy to modify aes-gcm-avx512.pl to check for the Apple prefix and use Apple version numbering in that case. However the version number comparison will need to be enhanced to accommodate the third number. (The existing version number comparison code is wrong anyway since it treats the first two numbers as a floating point number.)
Instead of checking compiler version numbers, it would be more reliable to compile a small program using avx512 and see if it succeeds. If yes, use avx512 support; if not, don't. The way that most configure scripts figure out a system's capabilities.
If you want to continue looking at compiler version numbers and are able to access preprocessor macros, the macro __apple_build_version__ is set for Apple clang and is not set for original clang. (You can also use the value of __apple_build_version__ instead of looking at the clang version, if preferred.)

The same problem was already fixed in some of the other avx perl scripts in 523e0577305bbcc732d22bcb063c6c8ca658874a:
https://github.com/openssl/openssl/blob/738d43634a5192b1be0869f151682bb8e9157d5a/crypto/bn/asm/rsaz-4k-avx512.pl#L51-L62

Yes, the fixes for rsaz-3k-avx512.pl and rsaz-4k-avx512.pl were not backported.

Fix in #20519

Fix in #20519

Thanks. #20519 only fixes rsaz-3k-avx512.pl and rsaz-4k-avx512.pl. It doesn't fix aes-gcm-avx512.pl. That patch is also needed.

Ah, that one isn't fixed on master branch either.

Fixed.


Inject .dll

Can u inject the .dll with another injector or u can only use it with the r3nzinjector?

You can use any injector you want.

i tried with 2 different injectors, they arent't working
i tried with "AlisaAlis Manual Map DLL Injector" and "CheatSquad Injector v2.1"


use bazel --config= for all foundry builds

Bazel has two options that can easily be confused: -c (= --compilation_mode) and --config.
This PR codifies the use of --config for opt and dbg configurations to avoid confusion between -c and --config.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 2,019,390      Total (=)      2,019,390

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
11,180,030      Total (<)     11,180,031

 No significant differences in binary sizes

Corrupt JSON data (indicates timeout or crash):
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.new: 10
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.old: 10

[microbenchmarks] No significant performance differences

Known failures:
https://github.com/grpc/grpc/issues/15599


Update Quantum-Coin-Game.ipynb

Fixes #1
this PR updates the Quantum Coin Game notebook so it can be run with Qiskit 1.2 and also updates the outdated links

@oyin-bee thank you for the feedback. i have made the suggested updates. thank you!


Improve target triple options

Right now we support cross generation for all platforms and architectures but this is not documented or easy to figure out.
Improve the API by extend the existing Triple class and changing options.TargetTriple.
Triple(string),
Triple(TargetPlatform, TargetArch) ctors

Is this documented anywhere already? I want to generate Windows bindings on macOS but I have no idea where to start.

@fsinisi90 if you need the correct target triple for your settings, for the time being you'll have to construct it yourself. https://clang.llvm.org/docs/CrossCompilation.html documents how.


Backup20231127

What's changed?

Checklist

[x]  I hereby agree to the terms of the HertzBeat CLA
[ ]  I have read the Contributing Guide
[ ]  I have written the necessary doc or comment.
[ ]  I have added the necessary unit tests and all cases have passed.

hi what change about this. welcome to contribute😊😊


[BUG] Language selection dropdown resets on leaving settings

This is pretty minor, but in the settings page, if you select a language other than javascript and leave the settings, when returning back to the settings, the settings of the previous language will be remembered, however the dropdown defaults back to Javascript:

Just submitted a PR to fix this! Thanks for reporting :)


use trap for /status/done instead of livenessprobes

Issue #, if available:
Description of changes:
Similar to https://github.com/aws/eks-distro-prow-jobs/pull/284, once we merge on eks-d and verify we could make the same change here.
/hold
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve

/unhold


Explore running run RiboViz on Eleanor

ECDF Cloud Computing Service, Eleanor

Get access to Eleanor.
Install RiboViz software on an Eleanor node.
Run RiboViz on a single Eleanor node.
Identify how RiboViz could be redesigned to exploit a multi-node environment.
Request additional Eleanor nodes (this may cost).

Relates to #21, #48, #59.

I think this might be superceded by #59 since we're now running riboviz 2.0 happily on Eddie for full-size datasets (myself and @ewallace have achieved this, and python version has been run on there on a full-size dataset by @XUEXUEXUE0 and myself), so perhaps we may not need to explore running on Eleanor?
Worth discussing and potentially closing if we're unlikely to use it over Eddie?

We've agreed to put this back into backlog, because it might be useful when we come to think about containerisation in future, or someone might want to go for this in future.


EmrEtlRunner: clean up setting of jobflow's region

@region will be available in Elasticity 4.0.0 so no need to do the set_instance_variable shuffle
Thanks to this fix - https://github.com/rslifka/elasticity/issues/69

This was done as part of #758, so closing.


raft log GC is not working

The size of raft DB keep growing, always larger than kv DB.

fixed by https://github.com/ngaut/unistore/commit/3aba977e926f790898d159175422b6ec845e4b55


fix rendering errors

fix rendering errors
current:  https://kubernetes.io/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions
preview: https://deploy-preview-35214--kubernetes-io-main-staging.netlify.app/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions

Please run the following command on the main branch to sync the upstream version:
./scripts/lsync.sh content/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md

/hold

@0xff-dev The upstream english text has some trivial changes, please sync them to the translated version even if the translation doesn't need to be changed..

@tengqm @mengjiao-liu @Sea-n  It has been updated, please review again, thank you.

Thanks.
/lgtm
/approve

/hold cancel


BUG: Fix gh-15888 for HiGHs OOM crashes

More of a dodge than a fix, but will essentially work with exceptions now.
Reference issue
Closes #15888.
What does this implement/fix?
This is an extension to the bindings for the exception handling introduced in highs here: https://github.com/scipy/HiGHS/pull/61
The pybind11 bindings of highspy also support handling C++ exceptions so even after integrating directly with highspy this should not be an issue.
Additional information
N/A. I intend to also have an upstream PR on exceptions so the fork changes are minimized.
In [1]: from scipy.optimize import linprog
   ...: import numpy as np
   ...: np.random.seed(0)
   ...: n_ctr = 500000
   ...: n_var = 500
   ...: c_ = np.ones(n_var)
   ...: A_ub = np.random.random((n_ctr, n_var))
   ...: b_ub = np.zeros((n_ctr, ))
   ...:
   ...: res = linprog(c_, A_ub=A_ub, b_ub=b_ub, method='highs-ds', bounds=(0, None), options={
   ...: 'disp': True, 'presolve': True})
   ...:
   ...: print('End')
   ...:
Running HiGHS 1.2.0 [date: 2021-07-09, git hash: n/a]
Copyright (c) 2022 ERGO-Code under MIT licence terms
Presolving model
Memory allocation failed while processing fixedColAtLower: Failed to resize the vector. Requested new size: -2142950640. Size to add is 24.. Current size:<PHONE_NUMBER>.
The problem is too large to be solved. Details: The problem cannot be pre-solved, either lower the size or try without presolve
End

In [2]:

To test this locally one has to update the submodule to point to https://github.com/scipy/HiGHS/pull/61.
Draft until https://github.com/scipy/HiGHS/pull/61 is completed and until a custom exception is raised and caught (instead of catching Exception in the cython binding).
Note: The build will be broken until the HiGHS PR is merged :)

Thanks @HaoZeke. I had a quick look at both PRs, that seems like a concise and pragmatic solution for now.
Given that this PR is broken until the other PR is merge, let me mark it as draft for the time being.

After https://github.com/ERGO-Code/HiGHS/pull/1467 goes in and https://github.com/scipy/HiGHS/pull/63 is updated for https://github.com/scipy/scipy/pull/19255, this will not be required (highspy catches and reports C++ exceptions nicely anyway).


zhimi.airpurifier.mc1 support

added support of zhimi.airpurifier.mc1 (Air Purifier 2S model)

@salamwaddah according to your suggestion I've added PR :wink:
Do you think it's possible to merge it fast?
Your fork gives this project second life as it contains the most of the newest model supports. I was going to create another for on my own and merge there 2 ready PRs from the main project but I've noticed your form already contains https://github.com/aholstenson/miio/pull/277 :hugs:

@bnowak I merged and published on npm.


Is the Travis CI config broken?

Hello @KillerCodeMonkey
Unfortunatelly I have no experience with Travis, but the error message looks like if there's some issue :)

rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

Travis CI Build
Pull Request Result
EDIT: Looks like the missing .travis.yml file is causing this issue

i deactivated travis. thanks.


Apparently this issue is caused by a missing implementaion of part of the Fabric API in QFAPI

https://github.com/AHilyard/LegendaryTooltips/issues/64#issue-1670400185

This is not a Quilted Fabric API issue, the mod is using an implementation detail of Fabric Loader which could break at any time without warning on Fabric too.


typo?

The block_shape expect the mask to be 3-channel patches, while the squeeze operation only performs on the 1st channel only, which is also what is pushed into the h5 array.

It appears that the most recent push has some inconsistency to the previous code. In my opinion, the squeeze operation here is likely to be a bug because it will get a 2d shaped array, while the h5 expects a 4d tensor (if using current block_shape), and a 3d tensor (if assuming it is a tensor stacked from 1d masks).
Either way, squeeze will not be necessary or block_shape is a typo.

OK, the block_shape seems to happen on my end. The squeeze, somehow, may have a problem.
I will close this one.


Make get url public

Because user might need to get image url instead of file(in #8 ), so make get url method public.


Latest source can not get/display image

I tried latest source but it don't work.
When double-click patient in study list, Loading...showed and get error
Web log console:
MetadataProvider.js:346 GET http://localhost:3000/__wado_proxy?url=http%3A%2F%2F<IP_ADDRESS>%3A1000%2…761.19284%26contentType%3Dapplication%252Fdicom&serverId=GsPSKjvr3oaMzxmGy 500 (Internal Server Error)
Server log:
I20170817-11:10:54.246(7)? /__wado_proxy?url=http%3A%2F%2F<IP_ADDRESS>%3A1000%2Fwado%2FCT%3FrequestType%3DWADO%26studyUID%3D1.2.392.200036.9<IP_ADDRESS>00165473693810149577533800352752%26seriesUID%3D%26objectUID%3D2.16.840.1.113669.632.21.1762331146.20170526.360488732.761.19284%26contentType%3Dapplication%252Fdicom&serverId=GsPSKjvr3oaMzxmGy: 2023ms
I checked and found out seriesUID value in the url is empty (seriesUID%3D).
It worked well for me with old source
Correct url log:
I20170817-11:15:16.796(7)? /__wado_proxy?url=http%3A%2F%2F<IP_ADDRESS>%3A1000%2Fwado%2FCT%3FrequestType%3DWADO%26studyUID%3D1.2.392.200036.9<IP_ADDRESS>00165473693810149577533800352752%26seriesUID%3D2.16.840.1.113669.632.21.1762331146.20170526.3604878<IP_ADDRESS>241%26objectUID%3D2.16.840.1.113669.632.21.1762331146.20170526.3604878<IP_ADDRESS>241%26contentType%3Dapplication%252Fdicom&serverId=f3qQA8KZymakwp8di: 8ms
Please help me how can I fix it?
My PACS Server is connected to: CC image server
Thank you.
lam0620

Hi @lam0620,
Are you still having this problem?

Hi @ayselafsar ,
I tried to build lastest source today from master. I got error when loading first page (studylist page).
Meteor version: 1.5
Node version: 8.4.0
OS: Centos 7
I tried to build on Windows 10 (meteor: <IP_ADDRESS>, node: 6.11.3), I got also same error.
Could you know why?
Error log:
=> Meteor server restarted
I20171009-17:40:27.595(7)? Services.DIMSE.Studies
I20171009-17:40:27.596(7)? Associating...
I20171009-17:40:27.597(7)? Starting Connection...
I20171009-17:40:27.601(7)? Connect
I20171009-17:40:27.602(7)? Connection established
I20171009-17:40:27.620(7)? ==Associated
W20171009-17:40:28.013(7)? (STDERR) /var/ohif/svn_src/Viewers/OHIFViewer/.meteor/local/build/programs/server/packages/ohif_dicom-services.js:22997
W20171009-17:40:28.014(7)? (STDERR)         var result = this.findStudies(Object.assign(defaultParams, params)),                                           // 161
W20171009-17:40:28.015(7)? (STDERR)                           ^
W20171009-17:40:28.015(7)? (STDERR)
W20171009-17:40:28.016(7)? (STDERR) TypeError: this.findStudies is not a function
W20171009-17:40:28.016(7)? (STDERR)     at packages/ohif:dicom-services/server/DIMSE/DIMSE.js:161:27
W20171009-17:40:28.017(7)? (STDERR)     at [object Object]. (packages/ohif:dicom-services/server/DIMSE/DIMSE.js:85:9)
W20171009-17:40:28.024(7)? (STDERR)     at [object Object].g (events.js:260:16)
W20171009-17:40:28.024(7)? (STDERR)     at emitOne (events.js:77:13)
W20171009-17:40:28.025(7)? (STDERR)     at [object Object].emit (events.js:169:7)
W20171009-17:40:28.025(7)? (STDERR)     at [object Object].CSocket.interpret (packages/ohif:dicom-services/server/DIMSE/CSocket.js:347:18)
W20171009-17:40:28.026(7)? (STDERR)     at [object Object].CSocket.process (packages/ohif:dicom-services/server/DIMSE/CSocket.js:294:18)
W20171009-17:40:28.041(7)? (STDERR)     at [object Object].CSocket.received (packages/ohif:dicom-services/server/DIMSE/CSocket.js:260:21)
W20171009-17:40:28.042(7)? (STDERR)     at Socket. (packages/ohif:dicom-services/server/DIMSE/CSocket.js:51:11)
W20171009-17:40:28.043(7)? (STDERR)     at emitOne (events.js:77:13)

Hi @lam0620
The fix for the issue is on master branch, commit: 9905773a704b52950f89e50941e5e735d4dbcbf0
Could you please give it a try? Thanks.

Hi @ayselafsar
It works. Thank you so much.
But I found another issue that I got repeat same reocords in study list search result of LesionTracker when focus at Study Date and Enter.

Can you file that as a separate ticket then? Thanks


Fixed typo

@hxlnt,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

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

#sign-off


CxOne CLI support

Description
Added support for the CxOne CLI to the build-environment containers.
References
Resolves #38 - adds support for the CxOne CLI using SCAResolver to locally perform dependency resolution.
Resolves #39 - documentation update
Testing
Additional unit tests added.
Testing performed as part of authoring CxOne++ GitHub action.

Checkmarx One – Scan Summary & Details – 2097a68a-bce2-495c-ab96-89cfda7ef6cf
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

Apt Get Install Pin Version Not Defined
/Dockerfile: 103
When installing a package, its pin version should be defined

Image Version Using 'latest'
/Dockerfile: 54
When building images, always tag them with useful tags which codify version information, intended destination (prod or test, for instance), stabili...

Missing Version Specification In dnf install
/Dockerfile: 138
Specifying a package version allows to reduce failures due to unanticipated changes in required packages.

Path_Traversal
/legacy/enhanced-cxflow-scaresolver/dispatcher/ScaResolver.py: 93
Attack Vector

Path_Traversal
/legacy/enhanced-cxflow-scaresolver/dispatcher/ScaResolver.py: 80
Attack Vector

Path_Traversal
/legacy/enhanced-cxflow-scaresolver/dispatcher/ScaResolver.py: 117
Attack Vector

Unpinned Actions Full Length Commit SHA
/build-ci.yml: 16
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/build.yml: 31
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/build.yml: 116
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/build-ci.yml: 88
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/build-ci.yml: 46
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/build.yml: 176
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/build-ci.yml: 31
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/build-ci.yml: 77
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/invoke-build.yml: 23
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/build.yml: 128
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/build.yml: 34
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/invoke-build.yml: 44
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/build.yml: 192
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Package Version in Apk Add
/Dockerfile: 72
Package version pinning reduces the range of versions that can be installed, reducing the chances of failure due to unanticipated changes

Yum install Without Version
/Dockerfile: 173
Not specifying the package version can cause failures due to unanticipated changes in required packages

Yum install Without Version
/Dockerfile: 173
Not specifying the package version can cause failures due to unanticipated changes in required packages

Yum install Without Version
/Dockerfile: 173
Not specifying the package version can cause failures due to unanticipated changes in required packages

CVE-2023-5752
Python-pip-22.2
Vulnerable Package

Curl or Wget Instead of Add
/Dockerfile: 56
Use of Curl or Wget should be done instead of Add to fetch packages from remote URLs due to the use of Add being strongly discouraged

Fixed Issues

Severity
Issue
Source File / Package

Apt Get Install Pin Version Not Defined
/Dockerfile: 84

Missing Version Specification In dnf install
/Dockerfile: 118

Unpinned Package Version in Apk Add
/Dockerfile: 61

Yum install Without Version
/Dockerfile: 145

Yum install Without Version
/Dockerfile: 145


WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-toolsai.jupyter' wants API proposal

WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-toolsai.jupyter' wants API proposal 'NotebookCellExecution' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:419

ERR Extension 'ms-toolsai.jupyter' appears in product.json but enables LESS API proposals than the extension wants.
package.json (LOSES): notebookDeprecated, notebookMessaging, notebookMime, notebookCellExecutionState, contribNotebookStaticPreloads, portsAttributes, quickPickSortByLabel, notebookKernelSource, interactiveWindow, quickPickItemTooltip, notebookExecution, notebookCellExecution, notebookVariableProvider
product.json (WINS): notebookDeprecated, notebookMessaging, notebookMime, notebookCellExecutionState, portsAttributes, quickPickSortByLabel, notebookKernelSource, interactiveWindow, notebookControllerAffinityHidden, contribNotebookStaticPreloads, quickPickItemTooltip, notebookExecution, notebookVariableProvider

Perhaps we forgot to update the distro json files (for stable, insiders, oss)?

it was added to distro weeks and many commits ago. I'm not seeing the same error, even when that API is used in insiders/pre-release.
@rebornix - Do you know if I forgot a step for enabling this?

@amunger I think there's a typo, in package.json of distro you have "NotebookCellExecution",  and in jupyter extension you have notebookCellExecution`, notice the casing of the first char


drag vscode file drop into web doesn't work

[work]

if once open file at chrome, then drag vscode file drop into chrome work (chrome succesfuly open file)

drag file (that in eclipse explorer) drop into web file upload page work.

drag file (that in pycharm explorer) drop into web file upload page work.

[doesn't work]

If hadn't opened file at chrome before, drag vscode file drop into chrome then, just redirect to "about:blank#blocked" page.

drag file (that in vscode explorer) drop into web file upload page doesn't work.

/needsMoreInfo you haven't said what version you are using.
If not Insiders then I suggest you install that and retest.

VS Code version : 1.45.0 (user setup)
d69a79b73808559a91206d73d7717ff5f798f23c
date: 2020-05-07T16:18:48.860Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.17134

I suggest you give Insiders a try. It can coexist with the regular release you are using.

OK. i will install Insiders Edition then, try this(=drag vscode file drop into web) thanks gjsjohnmurray!

i tried but same issue... :(
Version: 1.46.0-insider (user setup)
Commit: 876f2e70f9a2e1988887f8ca82294418afac15a2
Date: 2020-05-27T05:43:41.115Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.17134
and i find another thing...
[work]
4. drag file (that in vscode explorer) drop into chrome "tab bar" (chrome succesfully open file)

I think this issue seems to have some relation to this CASE.
CASE : when drag file (that in vscode explorer) drop into open MS-Word file,
-> then show just file path. (ex. C:\Users....)
but other IDE (eclipse, pycharm)
-> then show Real File

This issue has been reported already in either this or a similar form. Please check the label that was assigned to this issue to find it.

OK the keyword was "dnd", thanks!