(googlechrome) Added revision padding

This will add padding to the revision number whenever the version is less than 56.0.2925
IMPORTANT merge using [AU googlechrome], otherwise the padding is applied but the revision number is not incremented (but still be pushed since 56.0.2925.87 != 56.0.2925.870000
fixes #604

Why four 0000 after the number? Wouldn't two or three be sufficient? If you go 1,000 package revisions, I think there is a problem.

@ferventcoder
The reason I've been telling myself is to try showing a difference between the official version and the package fix iteration. Considering the next released revision version would be 1xx I don't think it would be too many zeroes.

@pascalberger I've updated to add padding for all versions
@ferventcoder I've changed the revision length to be a maximum length of 5 (making it 1-2 zeroes between actual version and fix incrementation)

I actually liked not having the padding until we need it, so I liked erring on the side of safety.

@ferventcoder I just readded the paddedUnderVersion variable.

looks like google chrome is failing all checks.
I'm guessing because of aws outage?
Guess we need to repush when the outage is over.


CB-11946 - Blog post for Node 0.x and 4.x deprecation timelines

(timeline image links to itself, for a larger view)

LGTM! 👍  :shipit:

+1 Ship it.

+1 LGTM :-)

Thanks for putting this together, @shazron.
+1


Add option for detecting on videos

In the detector, check if the input is image or video. If it is a video then parse through the video and run the detector on each of the individual frames of the video.

Hey!
I'm willing to take up this issue.
I just wanted to point out some things after I went through the code briefly :

Based on #4 and #5, it looks like the we need a function for loading dataset(images/videos), which is currently done by just inputting the image path directly.
Using opencv would make it easier for preprocessing and reading videos/images. I understand we have used pillow for preprocessing using torchvision.transforms. Opencv is just a suggestion from my side.

You can suggest your changes in the appropriate file, I will try implementing them.

Sure. In that case, let's keep it standard process to use OpenCV from now on. In the file Badminton/Badminton.py do the following:
Currently, only path is taken as input, Add an additional parameter taking input as loaded image array so that the user has option of using ANY ONE form of input. Put appropriate checks in place such that if two parameters are passed, an error is shown as loaded image, and image from the input image path might be different in an exceptional case leading to bugs.
Create another method with the name detect_players_video() which takes in the video / video path as parameter similar to above, parser through the video, and runs detections on it.
Best of luck!


Point a = {0,1} doesn't compile [C++, Migration]

I'm migrating to Clipper2.
When constructing a Point like this: Point a = {0,1}
I get this error:

error C3445: copy-list-initialization of 'Clipper2Lib::Point<int64_t>' cannot use an explicit constructor

This is because struct Point has explicit c'tors for some reason.
I suggest to change the c'tors:

remove the exlpicit
change Point(const T2 x_ = 0, const T2 y_ = 0) to Point(const T2 x_, const T2 y_). because how needs to init only x?

What's wrong with good old Point a(0,1);?

nothing wrong. but I have also return {0,1};.
Just an backward - compatibilty issue.

Sorry, nowhere have I promised backward compatability.

never the less, why not allowing it?

I don't have a problem with the changes you've suggested.
But if my replies to you have seemed somewhat terse, then it's because the way you've phrased all your requests have givne me the impression that you feel entitled to these things. Also, I've asked you not to post things that aren't bugs in Issues yet you've chosen to ignore my request. And so I am somewhat annoyed.

Oh, sorry for my bad Israely manners. I blame it on languages differences.
I thought this is more of an issue than an discussion.
I'll do the pull request if you allow it.

Thanks Yoav, it really do appreciate that.
Any you're right, sometimes our cultural differences do  create misunderstandings.
Don't worry about a PR, I've already made these changes to my C++ code that should appear in the next commit.
Shalom.

Thanks.
I've pushed tests for it in a PR.
BTW I'm using clipper for ~10 years. Excelent job.


Make contextmenu on context-menu close the context menu

Not sure if you'd want this, but I hate it when contextmenu clicking on a context menu (right click twice) opens the browser's menu. Dismissing the menu is what all of Google's web-app context menus do.
The option would be nice, at least.

Sorry for the delay, I like this idea, thanks!


Remove tini from docker image

Now that most container runtimes provide the --init option, there is no point packaging tini anymore.
Remove it from the official docker image and update the docs to instruct people to use --init instead.

This is a potentially breaking change, needs to go into a new major release.


Better hover text in heatmap

The values shown now are the scaled values. Show the original values, including unit of measurement.

Code to make text data frame:
text_tmp <- tmp
text_tmp$text <- paste0("
Boomr\u00e5de: ", tmp$area_name,
                        "
Utvalg: ", tmp$combined,
                        "
Verdi (", tmp$type, "): ", tmp$value)

txt_spread <- tidyr::spread(text_tmp[, c("area", "combined", "text")],
                            key = .data$combined,
                            value = .data$text
)
txt_spread <- dplyr::filter(txt_spread, .data$area != 8888)
txt_spread$area <- NULL


Score should be reset to 0 after a build fail.

Students sometimes try some methods to see if their solution is working (for e.g, using a different method than what was asked in the assignment) and get high score. But later on when the build fails then the score is not reset to 0. Student can misuse this and keep past score ask for approval.

attaching an example, this case student has 91% score even though build fails.

attaching an example, this case student has 91% score even though build fails.

This was a conscious decision to keep approved status if already approved (see code here). The rational for this was that students could then continue to work on their code without fear that their existing approvals would be reverted. This has saved us from a fair bit of churn as students messed up their code bases, that would otherwise have caused problems. Obviously, if the assignment is autoapprove, then this can be a problem.
I'm certainly willing to reconsider this decision. Please submit a PR and corresponding test cases that we can consider for inclusion.

This was a conscious decision to keep approved status if already approved (see code here). The rational for this was that students could then continue to work on their code without fear that their existing approvals would be reverted. This has saved us from a fair bit of churn as students messed up their code bases, that would otherwise have caused problems. Obviously, if the assignment is autoapprove, then this can be a problem.
I'm certainly willing to reconsider this decision. Please submit a PR and corresponding test cases that we can consider for inclusion.

Actually the bug is not about approved status just score. In this example it was approved incidentally. But the score doesn’t reset to 0 even in cases when it is not approved.

On Jan 23, 2021, at 09:54, Hein Meling<EMAIL_ADDRESS>wrote:
This was a conscious decision to keep approved status if already approved (see code here https://github.com/autograde/quickfeed/blob/master/ci/run_tests.go#L107). The rational for this was that students could then continue to work on their code without fear that their existing approvals would be reverted. This has saved us from a fair bit of churn as students messed up their code bases, that would otherwise have caused problems. Obviously, if the assignment is autoapprove, then this can be a problem.
I'm certainly willing to reconsider this decision. Please submit a PR and corresponding test cases that we can consider for inclusion.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/autograde/quickfeed/issues/391#issuecomment-765891411, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMIUR32G3AHWXIKYBODYVTS3KFE5ANCNFSM4WOJJRNA.

Actually the bug is not about approved status just score. In this example it was approved incidentally. But the score doesn’t reset to 0 even in cases when it is not approved.

On Jan 23, 2021, at 09:54, Hein Meling<EMAIL_ADDRESS>wrote:
This was a conscious decision to keep approved status if already approved (see code here https://github.com/autograde/quickfeed/blob/master/ci/run_tests.go#L107). The rational for this was that students could then continue to work on their code without fear that their existing approvals would be reverted. This has saved us from a fair bit of churn as students messed up their code bases, that would otherwise have caused problems. Obviously, if the assignment is autoapprove, then this can be a problem.
I'm certainly willing to reconsider this decision. Please submit a PR and corresponding test cases that we can consider for inclusion.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/autograde/quickfeed/issues/391#issuecomment-765891411, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMIUR32G3AHWXIKYBODYVTS3KFE5ANCNFSM4WOJJRNA.

Okay, I see. Reseting the score must be done by the Python scoring framework. You would probably need to have some mechanism to catch the failure and replace the score output, since this is all just strings in the output stream.
Note that QuickFeed can handle two Score objects for the same test in the output stream, e.g:
{"Secret":"","TestName":"TestFibonacci","Score":0,"MaxScore":28,"Weight":20}
{"Secret":"","TestName":"TestFibonacci","Score":24,"MaxScore":28,"Weight":20}

In Go I use the first one to record the existence of this test, in case the test failed with a panic, and didn't output the score (the last line). However, even this isn't flawless. It still fails to record the later tests, if one of the first few fails with a panic. But maybe if you only have a single test, this would work for you as a gap-stop solution?

Okay, I see. Reseting the score must be done by the Python scoring framework. You would probably need to have some mechanism to catch the failure and replace the score output, since this is all just strings in the output stream.
Note that QuickFeed can handle two Score objects for the same test in the output stream, e.g:
{"Secret":"","TestName":"TestFibonacci","Score":0,"MaxScore":28,"Weight":20}
{"Secret":"","TestName":"TestFibonacci","Score":24,"MaxScore":28,"Weight":20}

In Go I use the first one to record the existence of this test, in case the test failed with a panic, and didn't output the score (the last line). However, even this isn't flawless. It still fails to record the later tests, if one of the first few fails with a panic. But maybe if you only have a single test, this would work for you as a gap-stop solution?

BTW: I'm working on a new gRPC-based scoring framework, with the Score object defined in Protobuf. Hence, it can become easier to implement this also in a Python framework going forward. However, it is still early days, although I made a bit of progress yesterday; finally I was able to decide on some design issues, and make the API simple. The idea is to pre-register tests, their max score and weight over gRPC with QuickFeed, before starting to run student tests. This way we always know which tests should have been executed. If you want to take a look, it is in draft PR #384.

BTW: I'm working on a new gRPC-based scoring framework, with the Score object defined in Protobuf. Hence, it can become easier to implement this also in a Python framework going forward. However, it is still early days, although I made a bit of progress yesterday; finally I was able to decide on some design issues, and make the API simple. The idea is to pre-register tests, their max score and weight over gRPC with QuickFeed, before starting to run student tests. This way we always know which tests should have been executed. If you want to take a look, it is in draft PR #384.


feat: adding api server support for read methods

Description

Type of change

[ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] 🏗 Build configuration (CI configuration, scaffolding etc.)
[ ] 🐛 Bug fix (non-breaking change which fixes an issue)
[ ] 📝 Documentation update(s)
[ ] 📦 Dependency update(s)
[ ] 👩🏽💻 Improve developer experience
[ ] ⚡ Improve performance
[x] ✨ New feature (non-breaking change which adds functionality)
[ ] ♻ Refactor
[ ] ⏪ Revert changes
[x] 🧪 New tests or updates to existing tests

Note
I am adding API server support for read functions. The API server don't support all of them right now and only few. For example it does not support fetching permissions. API server functions are actually helpers for compute heavy methods only like get or keys.
The API server also does not need any Signer to do so hence I have made the signer optional for these methods.
I ended up creating a new type for methods which will be supported by both API server as well as through RPC via near-api-js. I did not want make all View methods kind of unsafe by making signer optional for them. (Let me know if there is a better way to do this.)

If everything is fine with this draft @kieranroneill. I will go ahead and add more methods too. Specifically keys and index and also add more function args to get.
LGTM.

:tada: This PR is included in version 1.1.0-beta.4 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Ability to add command line arguments for terminal or in interactive window

This is related to bug microsoft/vscode-python#11206 which is currently addressed with a workaround.
and specifically this comment https://github.com/microsoft/vscode-python/issues/11206#issuecomment-615393463
To summarize here:
Currently, using argparse fails (crashes) in the Interactive Window. A workaround is to run sys.argv = [''].
It would be helpful if we could provide command line arguments which are taken into account when running in the terminal, debugging and in the interactive window. These should be stored per file, not per project, since a single project could have multiple files which are run, each with different arguments.
test code:
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--test', default='Hello')
args = parser.parse_args()
print(vars(args))

Same problem here, is there any improvement?

In-between, I have a question on the workaround: is there any way to say that sys.argv = [''] must be executed only in the interactive window, and not when the file is executed directly with python?

Same issue -- would like to

call my script with arguments from a separate cli.py module (this file contains cli commands for all scripts)
run script interactively

Test example:
Script that allows for interactive programming
# ~/script.py

import argparse
import sys

# sys.argv = [
#     ""
# ]  # eliminates the additional args VSCODE passes in, but nullifies cli calls too...

_parser = argparse.ArgumentParser(
    prog="generate",
    description="General purpose data generator script. Executed via CLI or interactively",
)

_parser.add_argument(
    "--dataset", dest="dataset", type=str, default="DEFAULT-DATASET"
)

_parser.add_argument(
    "--output-path", dest="output_path", type=str, default="default/path"
)

_parser.add_argument(
    "--output-filename",
    dest="output_filename",
    type=str,
    default="default-filename.csv",
)

_parsed_args = vars(_parser.parse_args())

print(_parsed_args)

# %%
dataset = _parsed_args.get("dataset")
out_dir = _parsed_args.get("output-path")
f_name = _parsed_args.get("output-filename")

##  rest of interactive script program ##
print("Downloading dataset...")
print("Validating data...")
print("Visualizing statustics...")
print("Storing results...")

CLI that allows for execution from shell
Allows for:

executing a command against a docker image
central module that serves as an entry-point / interface for all scripts in the software
nice CLI tools like Typer

# ~/cli.py
import typer
import subprocess
import os

app = typer.Typer()

@app.command()
def generate(
    dataset: str = typer.Argument(..., help="Dataset name."),
    output_path: str = typer.Option(..., help="Output directory"),
    output_filename: str = typer.Option("item_history.csv"),
):
    cur_dir = os.path.dirname(os.path.abspath(__file__))  # so the two files can be tested in the same folder
    args = [
        "python",
        f"{cur_dir}/script.py",
        "--dataset",
        dataset,
        "--output-path",
        output_path,
        "--output-filename",
        output_filename,
    ]

    subprocess.call(args)

if __name__ == "__main__":
    app()

Problem is that without the sys.args = [''], the cli.py program can pass arguments to the script, but interactive mode fails:
import argparse...
usage: generate [-h] [--dataset DATASET] [--output-path OUTPUT_PATH]
               [--output-filename OUTPUT_FILENAME]
generate: error: unrecognized arguments: --ip=<IP_ADDRESS> --stdin=9081 --control=9079 --hb=9078 --Session.signature_scheme="hmac-sha256" --Session.key=b"c0876012-9ffc-4684-b1a6-7e934ed67b31" --shell=9080 --transport="tcp" --iopub=9082 --f=/var/folders/h9/9wjcb40106v08lqqz3kzp6cm157k5j/T/tmp-28825nt45P9tAmbKy.json
An exception has occurred, use %tb to see the full traceback.

With sys.args = [""] interactive programming works, but the arguments from a cli.py call get erased.
I am aware I can wrap the whole script.py program in a single function and call it from cli.py via import, but this means no interactive programming. Or "importing" the script.py in the cli.py does execute it, but then it's not trivial to pass in parameters to the script.

update -> at least for the example above, workaround using _parsed_args = vars(_parser.parse_known_args()) will ignore what VScode provided when booting up interactive mode. No need to clear sys.args

Applies to startup of the kernels, and I believe we've had similar requests for nb as well.

Closing this issue as there haven't been enough upvotes on this feature request


limit article search results?

hi, is there a way to limit the number of articles returned from a query?
I'd like to return only 10 articles from a given date (for example), or say 20 articles mentioning "Obama" within a data range.
Sorry if this is documented and I'm just not seeing it.
Thanks.

Some APIs support query parameters limit and offset.
With the Article Search API, it always returns a max of 10 results.  Use page=N to paginate thru results.
http://api.nytimes.com/svc/search/v2/articlesearch.json?q=obama&begin_date=20160901&end_date=20160930&page=0&api-key=
http://api.nytimes.com/svc/search/v2/articlesearch.json?q=obama&begin_date=20160901&end_date=20160930&page=1&api-key=


List destroyed apps, and recover functionality

At some point there was expressed a concern about how easy it is to destroy an app.
Well I feel a safety net for this destroy functionality would handle this problem.
As a user I want to see a list of destroyed apps (like the app versions), so I can recover an accidentally destroyed app or recreate an app with a configuration used in an earlier destroyed app.

Closing for lack of response. Also, this feature I planed as far as I know.


Preparing for Release

Codecov Report

Merging #8570 into release-2019.11 will decrease coverage by 0.72%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##           release-2019.11    #8570      +/-   ##
===================================================
- Coverage            59.47%   58.74%   -0.73%
===================================================
  Files                  509      509
  Lines                23397    23027     -370
  Branches              3780     3775       -5
===================================================
- Hits                 13916    13528     -388
- Misses                8576     8585       +9
- Partials               905      914       +9

Impacted Files
Coverage Δ

...nt/datascience/jupyter/invalidNotebookFileError.ts
0% <0%> (-75%)
:arrow_down:

.../client/datascience/jupyter/jupyterConnectError.ts
0% <0%> (-66.67%)
:arrow_down:

...science/jupyter/jupyterKernelPromiseFailedError.ts
0% <0%> (-50%)
:arrow_down:

...ent/datascience/jupyter/jupyterWaitForIdleError.ts
0% <0%> (-50%)
:arrow_down:

...cience/jupyter/jupyterDebuggerNotInstalledError.ts
50% <0%> (-30%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

src/client/language/characters.ts
12% <0%> (-21.34%)
:arrow_down:

src/client/datascience/cellFactory.ts
51.51% <0%> (-19%)
:arrow_down:

src/client/testing/codeLenses/main.ts
60% <0%> (-17.78%)
:arrow_down:

src/client/common/platform/pathUtils.ts
66.66% <0%> (-5.56%)
:arrow_down:

... and 36 more

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 b176196...a2869f9. Read the comment docs.


Fixup for builds on Jenkins CI ArborX_ENABLE -> ARBORX_ENABLE

Amendment to #99
I had assumed you grepped for ArborX_ENABLE...

We should consider treating CMake's warnings as errors

I had assumed you grepped for ArborX_ENABLE...

I did sorry for making a mistake...


Support environment variables read from kubernetes secrets

Expectation / Proposal
eg:
      env:
        - name: AWS_ACCESS_KEY_ID
          valueFrom:
            secretKeyRef:
              name: minio
              key: root-user
        - name: AWS_SECRET_ACCESS_KEY
          valueFrom:
            secretKeyRef:
              name: minio
              key: root-password

[ ] I would like to help contribute a pull request to resolve this!

Thanks for opening an issue @tekumara! You can allow your worker to read from Kubernetes secrets by editing the base job template for your work pool in the Prefect UI. You can extend the manifest defined in the job_configuration section of the base job template to include the values you want to pull from secrets. That new section can be hard-coded, or you can create new variables to allow values to be overridden by individual deployments.
You'll need to leave the env varia empty if you modify the env section of job_manifest in the base job template due to a quirk in the current implementation. Let me know if that is an issue and we can fix that.

@desertaxle Could you tell me what is meant by:

You'll need to leave the env varia empty if you modify the env section of job_manifest in the base job template due to a quirk in the current implementation. Let me know if that is an issue and we can fix that.

I'm having an issue where I'm hardcoding a bunch of env variables in the manifest but they're not showing up in the pod. Not sure what/where I need to leave blank in the worker pool manifest. Code samples would help.

Thanks @desertaxle . For now we can just include them in the work pool. Does it handle arbitrary Kubernetes YAML there though?
Currently we have:
definitions:
  work_pools: &staging-pool
    name: staging
    job_variables:
      image: "xxx/xxx:{{ get-commit-hash.stdout }}"
      env:
        # All other variables should be added in Doppler
        DD_ENV: staging
        DD_SERVICE: prefect-job
        DD_VERSION: "{{ get-commit-hash.stdout }}"
        PREFECT_LOGGING_HANDLERS_CONSOLE_FORMATTER: json
        PREFECT_LOGGING_HANDLERS_CONSOLE_TASK_RUNS_FORMATTER: json
        PREFECT_LOGGING_HANDLERS_CONSOLE_FLOW_RUNS_FORMATTER: json

But the above "object style" definitions are not the typical Kubernetes env var specification. Do you know how we could specify more complex things like these (from a Kubernetes YAML we used to use in an infra block):
env:
            - name: DD_ENV
              valueFrom:
                fieldRef:
                  fieldPath: metadata.labels['tags.datadoghq.com/env']
            - name: DD_SERVICE
              valueFrom:
                fieldRef:
                  fieldPath: metadata.labels['tags.datadoghq.com/service']
            - name: DD_VERSION
              valueFrom:
                fieldRef:
                  fieldPath: metadata.labels['tags.datadoghq.com/version']
            - name: DD_AGENT_HOST
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: status.hostIP
            - name: DD_ENTITY_ID
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: metadata.uid

+1 for this!
I think the only workaround for this right now is to mount the secret as a volume.


Tensor / Storage copy bugs

We have a number of tensor/storage copy bugs, which we should fix:

Copies of non-contiguous tensors from GPU to host create a contiguous copy on the current device. It should create the contiguous copy on the same device as the original tensor. Otherwise, this can entail a p2p copy (or worse, a host mediated copy).

The above issue exists with CUDA half -> CPU float copies (even contiguous ones)

Cross-device storage copies do not insert the correct synchronizations (unlike cross-device tensor copies).

Float <-> Half storage copies between devices require P2P access, but does not check for it (as opposed to cudaMemcpy which falls back to host mediated copies)

Our copy code is duplicated and spread over a number of places. Storage copies are implemented separately from Tensor copies, even though storage copies are a (simple) special case of tensor copies. We should combine the implementations to reduce duplicate code and add tests for all type conversions, including cross-GPU type conversions.

We'd have much less of those copies if my HalfTensor PRs: https://github.com/torch/torch7/pull/826 and https://github.com/torch/cutorch/pull/578 were merged, too!

these bugs are solved now, thanks to @colesbury 's PRs.


TCP Connections not closed by garbage collector

This is asked before. #541
It seems that the connection is still not closed. Should I explicitly call runtime.SetFinalizer.
package main

import (
        "net"
        "time"
)

func f() {
        conn, _ := net.Dial("tcp", ":8080")
        conn.Write([]byte("hello world\n"))
}

func main() {
        f()
        time.Sleep(10000 * time.Second)
}

Your program isn't allocating any memory while it sleeps, so the garbage collector doesn't run.  Calling runtime.SetFinalizer won't make any difference.  Try calling runtime.GC.
In general we don't use the issue tracker for questions about Go.  You will normally get better and faster answers by using a forum.  See https://golang.org/wiki/Questions.  Thanks.


failure to transfer large (~100GB) file

When trying to transfer files larger than a few gigabytes (not sure where the exact threshold is, but maybe around 50GB?) then the transfer repeatedly fails, sometimes without an error message.

@benglitz sometime ago, you reported that you managed to upload ~100GB file with repocli.  I suppose this issue is either fixed or not directly related with repocli.  I am closing it for now.  If you run into the same issue, feel free to reopen it.


hardcoded 'cmake' executable in java build

Just a minor issue report: in the CMakeLists.txt file inside the java subfolder, there's a line with an hardcoded 'cmake' call, which is destined to fail when using a cmake outside $PATH.
Here's a patch that uses the ${CMAKE_COMMAND} variable instead:
--- java/CMakeLists.txt 2016-05-02 16:42:00.848000000 +0200
+++ java/CMakeLists-patch.txt   2016-05-02 16:42:45.017000000 +0200
@@ -35,7 +35,7 @@
                  tinyb.ObjectArrayArgCallback)
 add_custom_command (TARGET tinybjar
   POST_BUILD
-  COMMAND cmake -E echo "Generating JNI headers.."
+  COMMAND ${CMAKE_COMMAND} -E echo "Generating JNI headers.."
   WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/tinybjar.dir"
   COMMAND ${Java_JAVAH_EXECUTABLE} -d jni/ -jni ${JAVA_CLASSES}
 )

Fixed in 249b457.
If you have other fixes, could you make Pull Requests for them?
Thanks.


[RHOAIENG-591] - Add InstascaleMachineSet test

RHOAIENG-591

This PR needs to be rebase on top of this PR - https://github.com/red-hat-data-services/ods-ci/pull/1067

Closing this PR as mistakenly rebase on top of the main branch instead of master


Add -Ss flag to curl to hide verbose msgs

I'm adding -s flag to silence the verbose messages of curl when it's being piped. The -S flag to display any error if exists.

Thanks! I don't understand the flags for curl so this is a nice change!


Is there any way to override context.router.goBack?

http://stackoverflow.com/questions/34720626/how-to-ensure-that-router-goback-wont-navigate-outside-of-my-app-domain

Solved!
import { createHistory } from 'history';

const history = useRouterHistory(createHistory)();

Object.assign(history, {
  goSmartBack: () => {
    if (window.history.length >= 1 && window.history.length <= 2) {
      history.push('/');
    } else {
      history.goBack();
    }
  },
});


workflow: run tests as part of the merge group

This commit adds the missing merge_group to the pytest and go test workflows.
Note that I added types: [ "checks_requested" ] (just like we have for the container.yaml) but I'm not actually sure about it, the GH docs are a bit unclear to me here, it seems they suggest to keep this generic but then the example explicitly uses type (I'm probably overthinking this fwiw).
[1] https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#merge_group

needs a rebase now :/


how to change color of plotLocalResult (remain spots with p < 0.05 only)

plotLocalResult(sfe_tissue, "LOSH.cs", features = "TP53",
attribute = "-log10p_adj", colGeometryName = "spotPoly",
divergent = TRUE, diverge_center = -log10(0.05),
swap_rownames = "symbol", image_id = "lowres") +
theme_void()

how to change color to  remain spots with p < 0.05 only.

subset spots  p < 0.05 ?

You can use the localResult getter to get the p-values and then subset the SFE object before plotting, something like
lr <- localResult(sfe, "LOSH.cs", "TP53")
is_sig <- lr[,"-log10p_adj"] > -log10(0.05)
sfe_sub <- sfe[,is_sig]

Though I'm not sure if only plotting spots that are significant is a good idea because the 0.05 cutoff is rather arbitrary.


BackgroundGradientRadial and BackgroundGradient rendering issue on Safari

Right now the demo landing app and the official saas-ui site don't work well on Safari. Rendering is very laggy.
CPU usage grows dramatically up to 100% on macbook pro 2020 i7 32gb especially while scrolling.
Google Chrome doesn't have these issues.
After I've removed getStaticProps at the bottom of index.tsx performance issue has got better, but still not OK and worse than on Chrome.
UPD: after I've removed BackgroundGradientRadial and BackgroundGradient from landing, everything started working smoothly on Safari!
UPDUPD: I've turned off all blurs on gradients and navBar. Lags have gone.

As mentioned on Discord, I made some changes that should trigger hardware acceleration in Safari, did it improve for you?


npm install bcrypt failed

What went wrong?
npm install bcrypt --save failed
What did you expect to happen?
Successfully installed
Which version of nodejs and OS?

   NodeJS 4.5.0
   Windows 10 64 bit
   Npm 3.10.7

Please see attachment file for further error message.
npm-debug.txt

Yeah getting the same issue looks related to node-gyp

Getting the same problem on MacOS Sierra (10.12) with NodeJS version 6.3.1 and NPM version 3.10.3

No helpful error message in the log. Likely an issue with either your environment (make sure you have all the dependencies the readme lists) or some other temporary issue with npm (so try to clean and re-install).
Also it is helpful to just try installing this module by itself and eliminating the noise of the other modules you have installed.

Getting the same issue on NPM v4.4.3. I cleared the npm cache and deleted the node modules folder and ran npm install bcrypt.
Results:
~/Projects/api-server $ npm install bcrypt
|
><EMAIL_ADDRESS>install /home/bholbrook/Projects/api-server/node_modules/bcrypt
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory '/home/bholbrook/Projects/api-server/node_modules/bcrypt/build'
  CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
make: g++: Command not found
bcrypt_lib.target.mk:92: recipe for target 'Release/obj.target/bcrypt_lib/src/blowfish.o' failed
make: *** [Release/obj.target/bcrypt_lib/src/blowfish.o] Error 127
make: Leaving directory '/home/bholbrook/Projects/api-server/node_modules/bcrypt/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/bholbrook/.nvm/versions/node/v4.4.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-21-generic
gyp ERR! command "/home/bholbrook/.nvm/versions/node/v4.4.3/bin/node" "/home/bholbrook/.nvm/versions/node/v4.4.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/bholbrook/Projects/api-server/node_modules/bcrypt
gyp ERR! node -v v4.4.3
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm ERR! Linux 4.4.0-21-generic
npm ERR! argv "/home/bholbrook/.nvm/versions/node/v4.4.3/bin/node" "/home/bholbrook/.nvm/versions/node/v4.4.3/bin/npm" "install" "bcrypt"
npm ERR! node v4.4.3
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/bholbrook/Projects/api-server/npm-debug.log


Index action is not aliasing to read.

I have the following permissions setup in my ability.rb model yet my user is not able to use the index action. I found that if I added can :index, :all then the user was able to hit the index action. My understanding was that :index is already aliased to :read...
alias_action :create, :read, :update, :destroy, :to => :crud
can :crud, :all

@acvwilson

Aliases only work for one level of aliasing. That may not be documented anywhere. So the best thing would be to add :index to your :crud alias.
alias_action :create, :read, :update, :destroy, :index, :to => :crud
can :crud, :all

Or, you can use the :manage action if you want to define a rule that allows the user to perform any action rather than defining a :crud alias as a catch-all.
can :manage, :all

@dgynn  I specifically did not want to use manage all because of some custom permissions I have setup. Additionally aliases actually do work across multiple levels, turns out the issue was with how I was calling can?:
redirect_to root_path unless can?(params[:action], User)

Apparently can? is unable to process strings. As soon as I changed it to:
redirect_to root_path unless can?(params[:action].to_sym, User)

It worked just fine. Would be nice to have the ability to pass in a string, not require a symbol.

Oh. You are absolutely right about the alias expansion. Sorry about that misinformation.

@zwarburg You can use strings.
If you define your ability with strings, you can check them with strings. If you define your ability with symbols, you can check them with symbols. We want to perform as little transformations on the action in the effort to "guess" what the developer wants as possible. The choice is yours here. Guessing leads to maintenance issues in the future, and guessing wrong leads to bugs.
Also, you can use the action method, within a controller instance, which returns a symbol. You don't need to look in the params.


Adding the start and termiante methods in aws

Had to add a "setTimeout" to be able to see the changes when starting and stopping the instances in the app.js.
Also the response of the start method is not the correct one, it's throwing this error 'start action couldn't be processed. Current State: pending.' but the instances are started correctly.

Close #1 and #4

Changes in index.js file are not required since we will create tests for each situation but is a great addition!

Understood! :+1:


Failing to log in monitor/access log  if the golang proxy drops any request due to a L3 rule mismatch

We saw this scenario in #2824,during Kafka testing where even if we were denying requests due to L3 rule mismatch, we were not log it anywhere in access logs as well as monitor. This needs to be fixed.

I think this is already fixed with Thomas/Romain's recent changes.


Change rand engine in LFMCMC to be a shared pointer

Implemented in milo-fix-23, should be merged by Wednesday.

Closed in #26


about train

hello ~~. How to train your model ?

Hi,
We compute the object features offline and store them on the server, e.g. *.json, *.npy, to accelerate the training speed. After that, we train the model based on the pre-computed object features of the images in the training set with cross-entropy loss and SGD optimizer.
Below is the architecture of the dataset.
├── dataset
    ├── train
        ├── class names
            ├── images
    ├── valid
        ├── class names
            ├── images

Thanks～～.    I have one more question, how to get segmentation results??? I ran the test code, but only got scene information, no segmentation results...

You need to modify the code of self.decoder of the self.seg_model according to the code of PSPNet (https://github.com/CSAILVision/semantic-segmentation-pytorch/blob/master/mit_semseg/models/models.py).

Hi @pranay-ar ,
I am sorry that I did not bring the object features with me after I left CUHKSZ since the features are cumbersome (plenty of GB) and I have switched to the segmentation task.
The extraction of object features exactly follows the function "get_object_feature" in "main.py". You can easily modify that code for training data to extract object features. Moreover, the code can be optimized to be much faster.
BTW, previously I have tried to merge OTS with other types of features, and the performance can be further improved by more than 1%.

Hey @bo-miao, could you also kindly provide the object features file? It'd be very helpful for me.

Hi @pranay-ar ,
I am sorry that I did not bring the object features with me after I left CUHKSZ since the features are cumbersome (plenty of GB) and I have switched to the segmentation task.
The extraction of object features exactly follows the function "get_object_feature" in "main.py". You can easily modify that code for training data to extract object features. Moreover, the code can be optimized to be much faster.
BTW, previously I have tried to merge OTS with other types of features, and the performance can be further improved by more than 1%.

Hello @bo-miao , sure that is not a problem at all. If possible, could you kindly share the Places365-7 or Places365-14 datasets that you have used in your experiments? Even just mentioning the dataset structure would be sufficient.
My main intention of using your code is to extract object features individually (from all the classes detected in the scene from the segmentation head) and save them in a JSON file instead of aggregating them using the OFAM module. Do you think that is something possible to do from your code? I looked at your code and felt that is something doable but I wanted our opinion on it (if you had considered extracting object features individually in your experiments before).

Places365-7 and Places365-14 are subsets of Places365, you can refer to Places365 for the data structure. You can find the class names in IV. EXPERIMENTS AND RESULTS (B.). Just extract the corresponding class data from Places365 to form Places365-7 and Places365-14.
Yes, of course, you can extract object features with our code since that is exactly what we did before OFAM. The code could be refined to be faster or lighter since we did not spend too much effort on that. I am not sure if JSON is a suitable way to store large embedding features. You can try it or try other formats such as .npy.

Hi @bo-miao, thank you for the help. I believe I was able to get the job done. I just wanted to confirm one last thing. In the main.py file at line 103, this is the matrix (object_feature matrix that is of size (150,1024)) that contains the feature vectors for each of the 150 objects right? If I have to access a feature vector of an object from the 150 objects, how do I efficiently index it w.r.t this matrix? Is the ordering of 150 objects in the (150,1024) similar to the order that is mentioned in the object150_info.csv  file? Or is the ordering of objects in a chronological manner? I have assumed the former. Kindly let me know if that is the correct order. Thank you!

Hi @bo-miao, thank you for the help. I believe I was able to get the job done. I just wanted to confirm one last thing. In the main.py file at line 103, this is the matrix (object_feature matrix that is of size (150,1024)) that contains the feature vectors for each of the 150 objects right? If I have to access a feature vector of an object from the 150 objects, how do I efficiently index it w.r.t this matrix? Is the ordering of 150 objects in the (150,1024) similar to the order that is mentioned in the object150_info.csv  file? Or is the ordering of objects in a chronological manner? I have assumed the former. Kindly let me know if that is the correct order. Thank you!

The order of 150x1024 object features is consistent with the .csv file, i.e., the first 1x1024 refers to the first object class in .csv.

Thank you very much for your help and for the great work. Apologies for troubling you with so many questions 😅

Thank you very much for your help and for the great work. Apologies for troubling you with so many questions sweat_smile

No worries. Hope this work could help with your approach.


Fix JS snippets trailing commas.

Fix JS snippets trailing commas, introduced by PR #100657 and observed by @abulka.

This PR fixes #104141

Thanks!


Tsuki Mangás returning NullPointerException

Source information
Tsuki Mangás 1.4.5
Source language
Brazilian Portuguese
Steps to reproduce

Open extension
Bypass cloudflare(just to be sure but it is giving the error even with cloudflare)

Expected behavior
fetch the information
Actual behavior
it is returning NullPointerException error
Mihon/Tachiyomi version
0.16.5
Android version
Android 13
Other details
maybe the same issue as #3787, if so close this as duplicate
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

damn can't even mention cloudflare, the issue isn't with cloudflare it's with the extension itself

nvm it started working again, probably an issue with the site itself, sorry


[wvzcpHQH] Add SSFR check for apoc.spatial procedures

Added failing tests for ip blocklist setting.

It's not necessary to change the implementation,
as both apoc.spatial.geocode and apoc.spatial.reverseGeocode call JsonUtil.loadJson(...)
which ends up on the work done in this pr.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: vga91:x: AzuObsYou have signed the CLA already but the status is still pending? Let us recheck it.

@AzuObs ok, now it seems to work in the CI as well


✨ Add setup script to create users and workorders

JIRA: https://issues.jboss.org/browse/RAINCATCH-577

@paolobueno @wojta, Please take a look when you have a chance! 🙏  It's the setup script, which may be helpful for your tasks. See the updates in the README.md for how to use it.

I'm indeed doing similar changes so let's get this merged soon to make it available for rebasing

@paolobueno I've made your suggested change to make it executable by itself or npm run setup. I'll merge this now so that you can start using some stuff from it. We can improve on it in future commits if needs be. Thanks for the review! :)


buildout fails using the system virtualenv on Kubuntu 12.04

When I use virtualenv from the system in order to create the "py27" virtual environment I got the following error from buildout:
While:
Installing.
Loading extensions.
Getting distribution for 'mr.developer==1.33'.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/training/buildout/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/buildout.py", line 1992, in main
getattr(buildout, command)(args)
File "/home/training/buildout/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/buildout.py", line 507, in install
self._load_extensions()
File "/home/training/buildout/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/buildout.py", line 1032, in _load_extensions
newest=self.newest, allow_hosts=self._allow_hosts)
File "/home/training/buildout/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/easy_install.py", line 848, in install
return installer.install(specs, working_set)
File "/home/training/buildout/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/easy_install.py", line 635, in install
for_buildout_run=for_buildout_run):
File "/home/training/buildout/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/easy_install.py", line 477, in _get_dist
dist, avail = self._satisfied(requirement)
File "/home/training/buildout/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/easy_install.py", line 234, in _satisfied
return None, self._obtain(req, source)
File "/home/training/buildout/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/easy_install.py", line 420, in _obtain
if _final_version(dist.parsed_version)
File "/home/training/buildout/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/easy_install.py", line 1407, in _final_version
return not parsed_version.is_prerelease
AttributeError: 'tuple' object has no attribute 'is_prerelease'
I could install it though, by installing an independent virtual environment:
mkdir tmp
wget --no-check-certificate "https://raw.github.com/pypa/virtualenv/master/virtualenv.py" -O "tmp/virtualenv.py"
python tmp/virtualenv.py --clear py27
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | py27/bin/python
wget --no-check-certificate "https://raw.github.com/pypa/pip/master/contrib/get-pip.py" -O "tmp/get-pip.py"
py27/bin/python "tmp/get-pip.py"
./py27/bin/python bootstrap.py
./bin/buildout
I've got errors for some packages, but now Plone is working.

Maybe a pip --upgrade might have made it work with your system pyenv.
All these wheels to make things work are really flaky and there is not much one can do, apart from knowing which pecularity exists this week.
One improvement could be if we provide a requirements.txt file to make sure pip install the right versions of setuptools, before bootstrapping.

FWIW, I never use the system python on my local dev machine, but
use collective/buildout.python.
On Fri, Oct 2, 2015 at 8:54 AM Patrick Gerken<EMAIL_ADDRESS>wrote:

Maybe a pip --upgrade might have made it work with your system pyenv.
All these wheels to make things work are really flaky and there is not
much one can do, apart from knowing which pecularity exists this week.
One improvement could be if we provide a requirements.txt file to make
sure pip install the right versions of setuptools, before bootstrapping.
—
Reply to this email directly or view it on GitHub
https://github.com/plone/training/issues/141#issuecomment-144937921.

Thanks for ideas. In fact I could solve it, but I wanted to document the issue.

outdated


Add support for inline editors.

Brackets (based on CodeMirror) provide an interface for inline editors so the plugins can provide specialized editors for colors and such or even to provide a way to edit another file without opening it.
Currently Atom plugins need to either open a popup (e.g. different color pickers) or use a panel (e.g. Regex railroad graph plugin).

Any word on this?

Ability to cut editor tape, it can help create space. Good example of using this capabilities inline editor (like Peek Definition on VS), but I would have thought of a more general concept of embedding.


Removing files, minor tweaks names, authors

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

academic-services/graph/samples-azure-data-lake-analytics.md
:white_check_mark:Succeeded

academic-services/knowledge-exploration-service/how-to-deploy-makes-azure-management-portal.md
:white_check_mark:Succeeded

academic-services/media/common/i_advanced.svg
:white_check_mark:Succeeded

academic-services/media/common/i_api-reference.svg
:white_check_mark:Succeeded

academic-services/media/common/i_article.svg
:white_check_mark:Succeeded

academic-services/media/common/i_benefits.svg
:white_check_mark:Succeeded

academic-services/media/common/i_build.svg
:white_check_mark:Succeeded

academic-services/media/common/i_data-mining.svg
:white_check_mark:Succeeded

academic-services/media/common/i_feedback.svg
:white_check_mark:Succeeded

academic-services/media/common/i_generic-database.svg
:white_check_mark:Succeeded

academic-services/media/common/i_get-started.svg
:white_check_mark:Succeeded

academic-services/media/common/i_library.svg
:white_check_mark:Succeeded

academic-services/media/common/i_search.svg
:white_check_mark:Succeeded

academic-services/media/common/i_vmm-cloud.svg
:white_check_mark:Succeeded

academic-services/media/common/i_web-color.svg
:white_check_mark:Succeeded

academic-services/media/hub-tiles/SVG/mag400x140.svg
:white_check_mark:Succeeded

academic-services/media/hub-tiles/mag400x140.svg
:white_check_mark:Succeeded

academic-services/media/hub-tiles/makes400x140.svg
:white_check_mark:Succeeded

media/source/MicrosoftAcademicGraphComposite.ai
:white_check_mark:Succeeded

media/source/MicrosoftAcademicKnowledgeExplorationServiceComposition.ai
:white_check_mark:Succeeded

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.


chore: Unit test urlsToInclude with tracing enabled

When tracing is enabled, the web client currently adds the X-Amzn-Trace-Id header to all fetch and XHR requests. This causes these HTTP requests to fail (during CORS preflight) when the callee does not explicitly permit the request using the Access-Control-Allow-Origin response header. This prevents applications from enabling tracing, because the application owner may not want to, or be able to, modify the CORS policy of some endpoints.
This change solves this problem by adding the urlsToTrace configuration option. When an application uses this configuration option, the web client will only trace requests that match one of the regular expressions defined in urlsToTrace. By default, all requests are traced, making this change backwards compatible.
Resolves #429

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

We used 'urlsToTraceWithXRayHeader'. Using 'urlsToTrace' would also be fine but sounds a little misleading as tracing would still work even if a url is not included in the 'urlsToTrace' config option, it would just not add the xray header id to the request.

This PR disables traces that are not allow listed, but the customer only requests not adding the xray header. Am I understanding correctly?

This PR disables traces that are not allow listed, but the customer is only asking to add the xray header depending on the allow list.

Yes, we need to decide which of the following behaviors we want:

The configuration option controls whether or not the request is traced.
The configuration option controls whether or not the X-Amzn-Trace-Id is added to the request.

The current implementation is (1).
Alternatively, we could use urlsToInclude for tracing in the same way we use it for recording http requests. Two options:
3. We trace a request if it matches urlsToInclude and does not match urlsToExclude.
4. We trace a requests if and only if the http request is recorded.

I think we've reached consensus that we want the following:

The addXRayTraceIdHeader option will be extended to accept an allowlist of URLs.
The urlsToInclude and urlsToExclude options already prevents tracing.

Regarding (1), we will create a separate PR.
Regarding (2), I've reverted the changes which added the urlsToTrace config option, and amended the unit tests to verify urlsToInclude and urlsToExclude also cover tracing.

We should probably remove "Resolves #429" but otherwise looks good!


OIDC thumbprint_list can be retrieved and tags added to OIDC provider

what/why

Thanks to https://github.com/hashicorp/terraform-provider-tls/pull/62 the sha1_fingerprint can be set automatically instead of be hardcoded, which is prone to error since some region has a different one.
Minor, but useful: the OIDC provider wasn't tagged, which makes hard to find it and delete if the cluster is gone. I've just added the beloved module.label.tags

references

https://github.com/hashicorp/terraform-provider-tls/issues/52 and related PR: https://github.com/hashicorp/terraform-provider-tls/pull/62
The change is also reported into the data source examples: https://registry.terraform.io/providers/hashicorp/tls/latest/docs/data-sources/tls_certificate

/rebuild-readme

/test all

Hi @aknysh , I've added the count thanks :)


文章只有标题和鸣谢？

https://github.com/DaoCloud/daocloud-docs/blob/master/pages/23.java-docker/01.docker-compose-nginx-tomcat/docs.md
RT

/close
due to outdated


Velocity dont work 1.18.1

Hi!
I try to connect 3 Fabric 1.18.1 Server "all with the same Mods" togheter! No chance ! I try everythink. Fabticproxy-Light is install and crossstitch too.. no way !! I cant log in.. i need Really HELP !  i cant log over Velocity to the Server, get alway disconect after few seconds and and no LOG . Modern is enable and so on.. but nothing works..

Are you able to login without FabricProxy-Lite?
FabricProxy-Lite will not change mod support for proxy.

Closed due to insufficient information.


Question on Constructing the "Tele-neg" Sets

Hi Sun Si,
Congrats on your amazing job! Both the idea and results are very impressive.
I have one question on how you construct the "Tele-neg" set for each query. From equations (4) (5) (6) of your paper, it seems like you create the new "Tele-neg" set by merging "ANCE-neg", old "Tele-neg", and "lookahead-neg". The sampling coefficient for "ANCE-neg" and "lookahead-neg" are \alpha and \beta, and both of them are equal to 0.5 (the best hyper-parameter you mention in the paper).
But from your code preprocess/combine_marco_negative.py, it seems like you just directly merge two sets without any sampling coefficient. Can I know which part of your code contains the sampling coefficients for "ANCE-neg" and "lookahead-neg"?
Best wishes,
Hansi Zeng

Hi Hansi,
Sorry for the late reply, glad you like our work!
Our analysis found that ANCE-Tele is insensitive to different α and β (Table 2 in the paper). The results reported in Table 1 can be reproduced by simply keeping the ratios between the different negative sources the same (half-half). The code in preprocess/combine_marco_negative.py can do this now.  Hence, we do not provide additional preprocessing methods to generate different α and β.
I hope my reply is helpful.
Si Sun :D
E-mail<EMAIL_ADDRESS>

No update; this issue closed


Add btwxt for Mitsu QAHV

Adds btwxt grid interpolation package for calculating performance in single pass and multipass HPWHs
Adds new single pass HPWH model: MODELS_MITSUBISHI_QAHV_N136TAU_HPB_SP
Converts Nyle MP models from exponential regression to btwxt grid interpolation.

Some changes in Nyle performance up to 5%

Update regression tests for Nyle MP and new regression tests for QAHV.

@pmskintner I'm going to try to build this in CSE and make sure it builds properly unless you already have.

@pmskintner I'm going to try to build this in CSE and make sure it builds properly unless you already have.
@nealkruis  Please do, I haven't done so


Any help file avaiable?

I don't know how to compile or run preview using Qilin, is there any help file, readme or menu? I use Windows version of application.

Right now there is no context menu, because I don't have the time to normalize it for each OS (problems with dark mode on Windows and Linux due to nw.js limitations). There are some resources which may help you:

I've created a small Wiki. Right now it is in its early stages as it only contains informations about shortcuts and syntax, but I'll try to keep it up-to-date and add more informations for beginners.
I've also uploaded a new release - v0.2.0-alpha, which includes Math Formula Editor to help people write formulas with a simple, visual editor. It might be a little messy but I am still working on it.

I am not sure about the preview though, but it might be a bug with KaTeX parser. Anyway, it works in the new release. Let me know if you have any other questions so I can answer you and eventually create another page on the Wiki.


nrf52_bsim: Codestyle fix

This is the fix for the style issue you (@jhedberg) mentioned in #10688.
I split it into its own PR so that it can be merged soon (as that other PR will probably take a while), as it affects testcases being built which use this hooks.

This is only a codestyle fix with no functional implications.
A few structures typedefs are removed. The structures are not in
use yet outside of the board code.
Signed-off-by: Alberto Escolar Piedras<EMAIL_ADDRESS>

Codecov Report

Merging #10826 into master will decrease coverage by 0.2%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master   #10826      +/-   ##
==========================================
- Coverage   53.29%   53.08%   -0.21%
==========================================
  Files         215      225      +10
  Lines       25843    26427     +584
  Branches     5694     5780      +86
==========================================
+ Hits        13773    14030     +257
- Misses       9754    10048     +294
- Partials     2316     2349      +33

Impacted Files
Coverage Δ

boards/posix/nrf52_bsim/bstests_entry.c
15.21% <0%> (ø)

include/sys_clock.h
90.9% <0%> (-9.1%)
:arrow_down:

boards/posix/nrf52_bsim/time_machine.c
40.98% <0%> (ø)

boards/posix/nrf52_bsim/main.c
85.36% <0%> (ø)

drivers/clock_control/nrf5_power_clock.c
14.65% <0%> (ø)

boards/posix/nrf52_bsim/k_busy_wait.c
0% <0%> (ø)

boards/posix/nrf52_bsim/argparse.c
41.42% <0%> (ø)

boards/posix/nrf52_bsim/irq_handler.c
67.92% <0%> (ø)

boards/posix/nrf52_bsim/trace_hook.c
48.78% <0%> (ø)

... and 2 more

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 4c420ff...1cd7695. Read the comment docs.


"Print" and "View in separate window" blank screen

Just updated to <IP_ADDRESS> and there seems to be a issue with "Print" and "View in separate window", it only shows a blank screen. Below is screenshot of console in new window.

Thanks.
Yes, fix will be available in the next version.

app.js line 652
from
script.innerHTML = 'if(window&&window.opener&&window.opener[\'' + func + ']\'){window.opener[\'' + func + '\']();window.opener[\'' + func + '\']=null}';
to
script.innerHTML = 'if(window&&window.opener&&window.opener[\'' + func + '\']){window.opener[\'' + func + '\']();window.opener[\'' + func + '\']=null}';
:)

https://github.com/RainLoop/rainloop-webmail/commit/a1d829c697c76c7fb39ed33dd5adc01c59f389bd

Thanks.

Fixed.


Correction for raw affiliation UMR IATE, Université Montpellier II, CC023, pl. E Bataillon, 34095 Montpellier Cedex, France.

Correction needed for raw affiliation UMR IATE, Université Montpellier II, CC023, pl. E Bataillon, 34095 Montpellier Cedex, France.
raw_affiliation_name: UMR IATE, Université Montpellier II, CC023, pl. E Bataillon, 34095 Montpellier Cedex, France.
new_rors: 051escj72;0000n5x09
previous_rors: 051escj72
works_examples: W1979173879;W2022937839;W2034115672;W1973388132;W160453096
contact: 308271f1bcbfc0f0ffd8138929da12d7:411b71a9348469b253df28ffaa3338072ca3 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


Add DateRangeTemperatureChart

Related #442
Description
Fixed because it disappeared in another PR.
Current behavior (updates)

New behavior

Is this a breaking change (Yes/No):

Additional Information

Removed due to refactoring to TemperatureChart.

Wouldn't it be more appropriate to say that it was not a refactoring, but a reworking into something completely different?

Removed due to refactoring to TemperatureChart.

Wouldn't it be more appropriate to say that it was not a refactoring, but a reworking into something completely different?

I created a new component called DateRangeTemperatureChart.

@illionillion
The original TemperatureChart was not cool, so we fixed it.
I don't think it is necessary since the functions are overlapping, what do you think?

@illionillion The original TemperatureChart was not cool, so we fixed it. I don't think it is necessary since the functions are overlapping, what do you think?

Wouldn't it be better to be able to display more than one graph for a single region?
It would be more functional if the time period could also be specified in range.
The functionality is the same, but the ideology is different, so leave it.

#446 We were working on the same content, so I'll close it.

@illionillion

Wouldn't it be better to be able to display more than one graph for a single region?

If it can be done in a cool way, I agree.

It would be more functional if the time period could also be specified in range.

I do not agree with this.
This is not a chart example, but an example of data fetching by RangeDatePicker.

I do not agree with this. This is not a chart example, but an example of data fetching by RangeDatePicker.
@108yen
Then why not just give it as an example of Range and there would be no problem?

@illionillion
The premise is that Yamada Component is a collection of component examples, so there is no need for complex data acquisition examples.
Please correct me if my premise is incorrect.


Add index.html

This is a new pull request to the index.html file

The page title is already added

The structure of the page is added and the title too


[Tool] AirByte Connector Fixed TLS support

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[x] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

Reopened from here:
https://github.com/StarRocks/starrocks/pull/28031

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


Constructor schould be allowed before variables using "variables-before-functions"

Bug Report

TSLint version: 3.10.2
TypeScript version: 1.8.10
Running TSLint via: Visual Studio Code

TypeScript code being linted
with tslint.json:
 "member-ordering": [
   true,
   "variables-before-functions"
 ],

Actual behavior
Constructor is marked as erronous if it occures before variables.
Constructor is treated as a function and so an error is produced if it occures before variables.
Expected behavior
Constructor to not be marked as erronous.
Constructor schould be allowed before variables.

Hi @cfischer, the options you're using for member-ordering are known to not work well in all cases. Instead, try using the new order option. Let me know if you have any questions about how it works!


docs: Fix README tflint example

The deep CLI option has been deprecated, I've replaced it in the example.
From tflint (0.16.1):
"Failed to parse CLI options; deep option was removed in v0.23.0. Deep checking is now a feature of the AWS plugin, so please configure the plugin instead"

Put an x into the box if that apply:

[ ] This PR introduces breaking change.
[ ] This PR fixes a bug.
[ ] This PR adds new functionality.
[ ] This PR enhances existing functionality.

Description of your changes

How can we test changes

This PR is included in version 1.74.2 :tada:


Update dependency: deps/kevm_release

The KEVM update shouldn't cause changes in the performance, but legacy integration tests took almost twice longer than before and than the booster job; re-running to confirm that it was caused by CI flakiness.


Schema Explorer module and Synapse Storage module example(s)

Added example(s) to illustrate the usage of the various methods within ingresspipe.schemas.explorer in this PR.
See the examples here: https://github.com/sujaypatil96/HTAN-data-pipeline/tree/organized-into-packages/ingresspipe/schemas
Also added examples to illustrate the usage of the methods in ingresspipe.synapse.store module.
See here: https://github.com/sujaypatil96/HTAN-data-pipeline/tree/organized-into-packages/ingresspipe/synapse
Request for review/feedback: @milen-sage / @jaeddy / @xdoan.

@sujaypatil96 I like the examples in general, but I'm curious: What's the motivation of including examples as Python modules? Do we expect that users might run (or modify and run) the code? If so, something like an IPython/Jupyter notebook might be a better format. In terms of illustrating usage, I think the content you have in the READMEs addresses that goal just fine on its own. @milen-sage, any thoughts?

Having the examples in a IPython/Jupyter notebook is a good idea -  in addition to the readme info (perhaps in a separate PR).
@sujaypatil96 could we also cover #141 in the examples (separate PR)? We can discuss what to include in it with more detail.


Feedback for: engine/reference/commandline/stats.md

File: engine/reference/commandline/stats.md
Kindly mention details regarding the docker stats output. For example, that MEM USAGE includes Page Cache as well as RES. Or just mention exactly which cgroups metric is reflected here. This missing information has resulted in atleast 4/5 stackoverflow.com questions already.

This content has been expanded. If you need more info, please raise an issue in the docker/docker project, as that is where this content is maintained.


Navigation

Clicking on the Doc Man logo in the nav bar should navigate me to the home page.

Yeah, there is no way to go back to the home page

Thanks. This is being worked on.


Why doesnt google provide beacon owner with physical web impressions?

I want to understand the philosophy behind this decision. If I as a beacon owner is running a informational campaign I should at least get to know if my notifications are even getting delivered or they are getting delivered but, ignored by the user since the notification text is not good.

Hello, @shailesh17mar!
There are multiple reasons for that and it is, of course, by design.
First of all, there are no 'notifications' to be 'delivered'. The user must ask to see the list of beacons available. And only after clicking on a link, users can opt-in for notifications, if available.
Secondly, The 'text' is the just tiny amount of metadata which is currently fetched from the web page itself. Exactly like we see in search engine results.
In my opinion, doing otherwise would be a privacy nightmare. I think we want to know about the physical things around us, we don't want the things to know about us. :)
To quote the documentation,

This has another advantage in that it means that a user can walk through a space and leave no trace: the broadcasting devices have no idea who is listening.

Also, this should be relevant.

The reason is to accommodate potentially the worst-case scenario of a large number of devices in an area with many people. A broadcast only approach avoids an N-squared problem of every user connecting to every device. By making each device broadcast constantly, any number of devices can just pick up the information passively with little conflict.

@exogenesys My goal is not to track users with Physical web beacons, my intent is to find out the reach of my messages i.e number of times the broadcasted message was detected my smartphones around. Because entire physical web ecosystem will be built around information & content. I think its not an ill-expectation to have some fair idea why someone is not clicking on the delivered physical web link. Its similar to 'WEB' where we put correct headings/ meta data and other things such that our content has that expected reach.

I wrote a post about this on BEEKn .net if anyone's interested.
It's totally understandable that we need to respect privacy but this 'black box' also makes it incredibly difficult to create a good user experience. Without the ability to get even some kind of stat how can developers tailor their messages to be more useful?
For both Physical Web and Google Nearby you want the notices to be useful. But there's no way to reliably A/B test the notification.
Even if there was SOME sort of way to aggregate data, get a percentage, or get "masked" data it would help I think make sure that both Physical Web and Google Nearby are as useful to end users as possible.
The issue here to me isn't what you quote in the documentation. The issue is that when a user IS exposed to the URL there's no way to know whether you're getting a 2% click through or 80%.
Again, I've always advocated for privacy. But we need some way to balance that against VALUE.
We can have 100% privacy respect but if we have no way of ensuring we're trying to be as valuable as possible then it's a tough trade-off.

Google will never be able to offer such insights for a very simple reason: it's impossible. How can one distinguish between the same URL being broadcasted by what beacon? It would just be useless stats to count every found URL and report back to... oh wait, you can't know who actually owns a URL... since the beacon is a public thing. But for "visited" stats we already have goo.gl & friends. There are imaginative ways by which you can accomplish "impression" vs "clicks" analytics just by playing around with the actual URL concept itself. Uniform Resource Locator. Make your beacons actual unique resources, in relation to space / time, and build up on that. Is it simple? Ofcourse not. Is it possible? Definitely. Remember that Google is not the only way a URL beacon can be detected, so I wouldn't rely on experimental projects such as PW or Nearby to tell me how people detect or interact with things.

Hmmm Adrian I think maybe I don't understand. When it comes to Nearby we know that Google has some sort of data because they've been "toggling" notifications based on success.
So, they have some sort of data which tells them how a beacon is performing otherwise they'd have no way to toggle the notification limits up or down.
What I'm suggesting is that it be considered both here for PW and for Nearby whether there are aggregated or 'performance' stats in some way that would be useful to generate. For example, for Nearby even a basic dashboard item such as "over-performing" or "under-performing" of notifications would be useful - which is clearly data they have but don't share. I understand why we can't get into detailed stats for privacy reasons but a simple green/yellow/red as an example would be a start.
I understand the technical limitations and I've built beacon projects across every conceivable platform and for dozens of companies and have written about this for 4 years. So I'm well aware of other ways to measure proximity success.
I do think a good discussion here about what forms of data might be useful to the community is of benefit because we all want a "win" for proximity, PW, Nearby, CloseBy, etc.

URLs are downranked, not beacons. From everything that has been said and done since the inception of PW in these few years, it was never meant as an advertisement/marketing platform, so things such as "beacon performance" have no meaning. It's like trying to measure performance of a TV ad when the viewer is not even watching TV, or the TV is closed (e.g. BT/Location/opt-in, device compatibility, user clearing all notifications, etc.). It's pretty obvious at this point that the intended use-case is for the user having to be aware of the beacon. To measure URL performance, you use URL-related tooling and clever work-arounds. The fact that they don't exist, that's another story.

Yeah I think where this is getting confusing is the conflation of Physical Web and Nearby.
With Nearby, the beacon I think is down ranked although that's opaque so you might be right. But you register a beacon with Nearby and the fact that it can deliver a URL or an app download etc I think might mean that it's down ranked on a beacon rather than URL basis.
Having said that, we're also not just talking here about "pure" Physical Web. We're talking about how PW is handled on different devices. In this case I think it's Google Play (or is it Chrome?).
On Google devices this means that the "developer" (aka Google) has control and code which presents a notice in the notification tray. Therefore, this notice can be tracked at the application level (aka Chrome or Play).
Therefore, it's entirely possible for Google to measure how many notices get presented because they 'own' the app which detects the PW URL and then presents it via the notification tray.
Very similar to how iBeacon is a "dumb" broadcast but you can measure its detection from within the app.
I take issue with "so things such as "beacon performance" have no meaning" - they can HAVE meaning if the various platforms, apps and operating systems agree that they should.
The PW broadcast itself is 'dumb' but the receiving devices can perform various metrics once that broadcast is received.

I highly doubt notifications are downranked at beacon-level, since the URL is the beacon itself (MAC address is not a persistent identifier whatsoever). So, what happens if you broadcast a URL and someone decides to spoof it with 100 other beacons? All the analytics and notification counting and whatever becomes useless, exactly as useless as iBeacon "measuring" :) Nearby is just a convenience UI to get a user from a PW beacon to its target destination, it's not a retail tracking analytics platform. If you have a URL beacon and you get a website visit, and Nearby would tell you that someone tapped a notification, it would mean you've tracked the user (via the website hit) - so I highly doubt this will ever happen. And again, Nearby is not the only entry point for a PW beacon visit. What if someone used an app to detect the beacon? My point is, if you want to "measure" PW performance, forget about Nearby and its obscure "notifications" issues (grouped, hidden, min-priority, etc.) and focus on the actual URL advertised by the hardware. I'm just giving a hint that it is possible to separate "detected" URLs from "visited" URLs.

Great discussion Adrian. Thanks for all of this.

Sorry - so picking up on this one more time.
Using a Physical Web Service the end 'app' helps to address the issue of serving up the URL or notice.
This Physical Web Service serves up the meta-data:

"At the very simplest, it fetches, parses, and presents the content of Eddystone-URL packets on behalf of a client, but without using the client's identity in any way. It's a middleman added for safety and efficiency."

When the URL is parsed we can collect analytics that the phone has gone to fetch the title/notice etc from the trusted intermediary.
This trusted intermediary can collect stats:

Safer, because we can introduce safe-search filtering of inappropriate content.
Better, because we can rank results based on various metrics, much as a search engine does.

You can see this in the example code:
> def webapp_add_wsgi_middleware(app):
>   from google.appengine.ext.appstats import recording
>   app = recording.appstats_wsgi_middleware(app)
>   return app

So where do these stats currently sit/reside? What is the trusted intermediary for, say, Google Pixel PW detection?
I imagine you can set your own trusted intermediary up for a Physical Web service within an app, but can you do so otherwise (I don't think the beacon packet itself does any direction to an intermediary but maybe I'm wrong?)
Just trying to understand your point.
It's sounding like you can set an intermediary up such as the Physical Web Service code provided and use it to track the number of times URL meta data is presented. Is this true?

I believe a diagram would sum up things better, but the point is: when a device (Nearby) requests a beacon's URL metadata via the PWS, and the URL isn't cached by the PWS, then obviously that URL gets hit, and you can detect that hit as coming from PWS.
When the user taps the URL, you can detect as NOT coming as a PWS request. Hence, separate stats.
Since the URL can get cached by the PWS, you get no hit (hence, no stats) when that happens. So, if you have one (or N) beacons, a single URL, and 10000 users around those beacons, and the PWS caches your URL during those 10.000 beacon detections, your URL only gets hit once during that time (until the cache expires).
The solution to this problem obviously stands in the URL itself, as I already hinted several times. Use separate URLs, change them often, make sure they cannot be cached, etc. and build up on that to separate "detections" vs "visits".

@adriancretu You are quite right about many things -- except I will add that there are costs involved with rotating URLs too often, or too intensely.
Yes, static URLs get cached, and you can work around this by rotating often.   But URLs are also rewarded for sticking around and for performing well over time.
If your beacon changes to broadcast an entirely new unique URL too quickly, you will not build up reputation and rewards.  You may even find that your results stop showing up at all.

Let me add a few observations here:
I am not sure that a PWS is a particularly good place to capture metrics. The Physical Web is open and there are multiple PW servers that scan beacons, so one has to aggregate scans from all PWS’s in order to have accurate scan metrics.
Curated PW content has benefits but it also makes PW signage somewhat dysfunctional. If I place a PW logo where I have a beacon and train users that there is PW content at my location, then it is a poor UX if the user cannot get to that content. The catchphrase “walk up and use anything” implies that the customer is in control, but there is currently not a deterministic way for a customer to control when any broadly available client application scans. This is further complicated if that client application opts not to display your content because it is curated.
Scan metrics are possible. The PW already typically uses shortened URLs. Given this, one can use a dedicated PW server and give every beacon a unique shortened URL, and then, even if all beacons redirect to the same destination URL, the scans can be accumulated from each individual beacon and from every serving PWS.  Because the scanning PWSs are protecting the privacy of the consumers there is no way for these metrics to identify specific customers, though the location of the scans will be known because the installed location of the originating beacons are known.

We are tracking the scan metrics of PW beacons installed in the wild, and see some consistency in the overall scan patterns. At the same time, we are working through controlled experiments to better understand when various PW client applications scan. We do see often see multiple scans from a PWS. Since we host micro-sites (the destination URL) on our server, we see customer taps to the redirect URL and are also evaluating conversion rates.


⚠ Bofrost.be has degraded performance

In 5e14b53, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1319 ms

Resolved: Bofrost.be performance has improved in 99b0c49.


Misleading command line prompts

When building the SpectatorViewPlugin with the command line tool, the process reaches certain points where you must press the ENTER key to continue. For example when it reaches "Configuring x86-uwp", it seams like its frozen, but it's actually waiting for you to press ENTER. Developers/Designers (like me) will assume it is broken.

@danielescudero would you still consider this an issue? The instructions appear to have been updated since this issue was filed.


Questions about computing resouces

Hi, thanks for the previous prompt responses.
Today, I ran an experiment based on this repo (u2pl/experiments/pascal/1464/ours/train.sh) with 4 * V100 (32G/gpu) and I got an CUDA OOM error: RuntimeError: CUDA out of memory. Tried to allocate 16.63 GiB (GPU 0; 31.75 GiB total capacity; 5.13 GiB already allocated; 16.63 GiB free; 13.83 GiB reserved in total by PyTorch). This error is thrown out when the program comes into second epoch, i.e., the contrastive loss term is activated.
Since the tutorial in README only mentions the number of GPU but not the capacity, I wonder how many resouces are required for U2PL? Thanks

Our U2PL is trained on 4 * V100 (32G), which is the same as yours.
I am not sure why you encounter this OOM error :(
Maybe you could try training in the fp16 mode: https://github.com/NVIDIA/apex

Got it, thanks, I will have a try.

Hi @HeimingX, did you avoid the OOM error using fp16 mode? I am facing the same issue, but have 8x V100 16GB gpus. Thanks!

How about reduce the batch_size in config.yaml?

Hi @Haochen-Wang409, thanks for response. Changing batch_size from 2 to 1 worked! Thank you very much :)

Please feel free to contact me if you have any questions :)


SuperSimpleConductor Issues in .net 6.0

Hi,
I am using nuget package of SuperSimpleConductor.ConductorClient (Version0.3.1) and SuperSimpleConductor.ConductorWorker (Version0.3.1) which are the latest versions. It is working fine when I use Target Framework as .NET core 3.1).
Now, When I upgrade the  .NET framework to .NET 6.0, I am getting refit error. Looks like Refit is not updated.
We will be happy to get next version of SuperSimpleConductor Nuget which works with the latest .Net version early

Thanks,
Jegadeesh

Hi,
This is very unlikely to be a Refit issue. .Net Core 3.1 libraries are 100% compatible with .Net 6.0.
If you read the error message carefully, you see you're getting a 403 error connecting to the Conductor API. This is an authentication or routing issue which is unrelated to Refit or SSC.

Hi,
I am using the Latest version of conductor 3.9.2. Not sure why I am getting issue only when i change the version to .net 6.0.. I will try to debug..
Thanks,
Jegadeesh

It is working now.. It was Proxy Issue..
Thanks,
Jegadeesh

Hi,
Good news! Glad it's working for you now.


Tests failing

Some errors in the log. I stopped it after some time.
solrtestslog.txt

These are just some exceptions that it's catching and printing. There aren't too many other developers, so I enjoy getting a bit more insight into the tests. If you notice, all the tests checkout fine. It also prints a small report at the end for each test / solr version / python version.
I am going to adjust the logging in the tests to make it a bit less verbose.


Recipe testing and output comparison for release 2.10.0

This issue documents recipe testing for the v2.10.0 release
Installation and environment
$ git clone https://github.com/ESMValGroup/ESMValTool.git
$ cd ESMValTool
$ git checkout v2.10.x
$ mamba env create -n esmvaltool-v2.10.x-2023-11-13 -f environment.yml
$ conda activate esmvaltool-v2.10.x-2023-11-13
$ pip install .

Environment file
environment.txt
Config user file
All options at the default for Levante except search_esgf: when_missing.

Continued in #3463


Is there a parameter to input to download subtitles as .eng.srt instead of *.en.srt?

Not currently. What's the use case?

to download as *.eng.srt

Since #1155, it can be done with the CLI option --language-format=alpha3.


Feature request- voice to text generation with NLP

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
voice to text generation with NLP
Describe the solution you'd like
A clear and concise description of what you want to happen.
Voice to text generation with the help of natural language processing to convert speech into text.
This feature can help to build a really advanced notepad app and integration apps.
Assign me this issue under gssoc-ext and hacktoberfest

@AE-Hertz you should wait until I tell you to do it don't make PR till then

@UppuluriKalyani my bad, I will remember it next time. Thank you.

@AE-Hertz already done don't raise already existing issues.


[Admin] Publish

Docs Build status updates of commit 6cf4504:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/index.yml
:white_check_mark:Succeeded
View

docs/outlook/autolaunch.md
:white_check_mark:Succeeded
View

docs/outlook/delegate-access.md
:white_check_mark:Succeeded
View

docs/outlook/use-rest-api.md
:white_check_mark:Succeeded
View

docs/overview/learning-path-beginner.md
:white_check_mark:Succeeded
View

docs/overview/learning-path-transition.md
:white_check_mark:Succeeded
View

docs/overview/office-add-in-code-samples.md
:white_check_mark:Succeeded
View

docs/powerpoint/insert-slides-into-presentation.md
:white_check_mark:Succeeded
View

README.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add External Events

Tickets addressed: MPS-118
Review: By commit
Merge strategy: Merge (no squash)

Description
A new construct in AERIE is that of External Events. In this PR, we will introduce External Events, their containing entities (External Sources), their grouping mechanisms (Derivation Groups), as well as how they manifest in the UI and in the backend. Detail on what External Events are is provided in the aerie-ui PR, but as a quick summary:

An external event is a construct that represents the occurrence of something outside of what is modeled in the mission model. They could be events that are close to the spacecraft and directly affect behavior on it, like a DSN visibility event that might affect when communications happen, or they could be much more remote, like a constellation event. Functionally, these are at the interstice between external datasets and activities, in that they manifest on the timeline as activities (discrete blocks of time), but they themselves do not affect the mission model or invoke any actions much like external datasets.

One component of that discussion that is deferred to this description, as it is here that it is primarily handled, is that of derivation. We discuss that in detail here.
Derivation
Derivation was an operation conceived for the reconciliation of overlapping External Sources. The problem at hand was that it is entirely possible for sources to be generated at later points in time, that cover slightly different windows on plan time than their predecessors.

If this is the case, some reconciliation scheme is needed to determine which External Events from these External Sources are valid and should be visible on the timeline.
Reconiciliation Mechanism
To begin this discussion, we should first talk about when External Sources apply.
External Sources, as discussed earlier, have within them a valid_at field, which was described as a more particular form of a version number. With this, we know we can impose an ordering of External Sources. Given that ordering, figuring out when each External Source actually applies is as simple as determining for a given time (or slot of time), what the most recently valid External Source is. For example, the following set of 4 External Sources would be applicable in the following order. Note that one of the Exteranl Sources, B, is valid twice, as it is the most recently valid External Source for a given slot of time:

Given this, we can now discuss how to compare the External Events within each External Source, based on how they fall across these windows/against future External Sources. There are 4 rules (though the first two are effectively cases of each other):

An External Event superceded by nothing will be present in the final, derived result. The logic behind this is that this event has no future data that might challenge its validity, so it reasonably would trickle down as an event in a final result.
An External Event partially superceded by a later External Source, but whose start time occurs before the start of said External Source(s), will be present in the final, derived result. The logic behind this is similar. This event, at its start, has no future data that might challenge its validity. Because its start is still considered valid, we accept the event in its entirety to the final, derived result, as no future External Source that could overlap with this External Event could place an event that applies to the time that this External Event starts at. If it did, we have a case of rule 3.
An External Event whose start is superseded by another External Source, even if its end occurs after the end of said External Source, will be replaced by the contents of that External Source (whether they are blank spaces, or other events). The logic here is simply that we now do have more recent data, so we can safely do a complete replacement. Should an External Event be replaced despite ending after the original source, we can still justify this as the updated External Source, if it had need for such an External Event, would have included it.
An External Event who shares an ID with an External Event in a later External Source will always be replaced. By introducing naming, we can allow replacement.

A diagram illustrating each of these cases follows. We also have External Sources formatted to align with this diagram here.

Derivation Groups
The final question remaining is the 'who' - who is this derivation operation run against? One possible candidate for this could be the source type. External Events that share a source type include events of the same types and will likely overlap in key namespace as well. This is a nearly ideal solution except in the case of contingencies.
Imagine we have 4 sources of the same source type. Two of these relate to an ideal contingency, and two of these relate to a degenerate contingency:

Ideal

DSN_Contact_Ideal_2026001007.json
DSN_Contact_Ideal_2026003010.json

Degenerate

DSN_Contact_Degen_2026001007.json
DSN_Contact_Degen_202603010.json

If we were to derive solely based on source type, we would effectively be stacking all of these sources against each other to produce one result:

Given that these are different cases, despite sharing a source type, it would be useful to have different groups under which derivation is possible. This way, we don't conflate sources just for sharing a source type:

As such, we now define the notion of a Derivation Group. A Derivation Group defines a subgroup within an External Source type of External Sources to derive against each other. Derivation Groups are what we associate with plans (as opposed to individual, underived External Sources, or entire External Source types).
NOTE: to associate events with a plan, we associate not sources, but derivation groups. When merging different plans, the OR of the associated derivation groups is taken. This is expanded on in the documentation.
Verification
Automated tests were primarily added in aerie-ui. By adding tests here and ensuring that all effects as well as all new UI features worked as intended, we believe that we have sufficiently tested all new functionality as the majority of it deals with either the front-end itself, or new tables and views. By testing that our requests to Hasura from the front-end work via said tests, we believe we have thoroughly tested AERIE's new functionality.
Documentation
No documentation was invalidated. That being said, new documentation is in the works and will eventually see a PR against aerie-docs.
Future work
The next major step is to add integration with the scheduler and the constraints engine to allow scheduling and constraining of activities and resources relative to uploaded External Events. We also seek at some point to define a comprehensive JSON Schema for External Sources and External Events, which was deferred until after this batch so that we had a very concrete and informed view of the problem prior to defining any constraining design. Finally, we might want to introduce an ownership and role scheme around External Sources, though the utility of this is yet to be confirmed and agreed upon.
Discussion Items and TODOS:
Discussion Items

[x] Squash tables for source type, event type, and derivation group?
[x] Discuss valid_at - should it be called valid_after, created_at, published_at, etc.
[x] Parsing can/should be merged to Aerie Gateway to use ‘common’ parsing code?
[x] Ideal branching behavior?
[x] Cherrypicking of events/individual replacement of events outside of window? (Deciding against this; introduces non-user-friendly complexity).

TODOS:

[x] Remove cleanup - we can let source types and event types linger. Simply verify that empty derivation groups/types can still be readded to and that we don't create a new one. Should have a way to delete these if they are empty?
[x] make sure permissions in db prevent inadvertent mutability
[x] make the trigger to check derivation group and source type of uploaded source a foreign key
[x] get rid of ownership stuff in SQL - its actually user specific the way we implemented it
[x] Just parse and then discard the files!!!
[x] (MAYBE) convert all keys to composite instead of the serial ids
[x] add to db-tests

do this after we deliberate any new rules (if we do - consider simplicity)
add tests for derived event view and derivation group comp view

[x] Squash all migrations - final step before merge
[x] make view for external_source_event_type just a graphql query instead as this is faster

All, this pull-request (and the sister PR to aerie-ui) are ready for an in-depth review!

According to the CI checks, the DB Migrations are incorrect. Please use the pgcmpresults files provided by the workflow to fix them.

Do you have any docs/examples that go over the data flow for the new merlin DB tables? “Data flow” in this case referring to what’s the source of the data, who or what is writing the data, who’s reading the data, when is data updated or removed (and by who). It would help me judge if the schema is logically correct, as opposed to just technically correct.

Sweeping request for the PR: Please add column comments to the tables.

Please add in-line comments to the derived_events view.

@Mythicaeda Here is a simple dataflow diagram that should illustrate what data exists and where it goes.
External sources are sent to planners from outside AERIE, from originators like science teams or the DSN.
These files have within it logical data points; namely external sources that contain events. These are parsed by the UI (or CLI), and are then inserted under a derivation group into AERIE; a source goes into external_source, its events go into external_event and reference the source, and the source also references the derivation_group that it is a part of.
Sources have a source type, which are stored in a separate table (external_source_type). Color coding was used to highlight this; a given derivation group can have in it only events of a given source type (making source types encapsulate, in a sense, derivation groups, though that relationship isn't really used; the key here is that derivation groups only admit sources of the same type as derivation across different source types is ill-defined). Similarly, for external events, they also have types and are color coded by them, though they have no restrictions on derivation coming from their types (external_event_type).
Finally, to allow a planner to view external events alongside their activities (and resources) in a given plan, plans can reference/make associations with derivation groups as desired ('plan_derivation_group). The eye here indicates that we also have a table for the UI functionality of acknowledging that a given user has seen that a source has been uploaded/derivation group has been updated somehow (seen_sources`).

Conclusion after meeting with @Mythicaeda:

GSFC team should remove events from merging/snapshot functionality; this will be handled thoroughly in a later feature request.
GSFC team should ensure tests pass.
GSFC team should examine the key for ui.seen_sources; as written it is currently possible to mark the same exact source as seen under different derivation groups. May need a foreign key, for example (source_name, derivation_group).
GSFC team should make name the primary key for derivation_group.
JPL team should review the derived_events view to see if there is a more optimal way of handling it.