UserConfigExport['coverage']['provider'] with a object option did not work at all

Describe the bug
When you defined setting as following
const CoverageModule = {
  getProvider: () => { throw 'called' }
}
export default defineConfig({
  test: {
    coverage: {
      provider: CoverageModule
    }
  }
})

It always say your provider is c8
Note: it is a bug in https://github.com/vitest-dev/vitest/blob/482b72fc5f02da87498a18e0ed844ecb6bc772ca/packages/vitest/src/utils/base.ts#L93-L98
Condition here do no check for isMergeableObject(target[key]) .
With in this case, cause deepMerge({ provider: 'c8' }, { provider: CoverageModule }) to result in { provider: 'c8' }
Reproduction
Run npx vitest --run --coverage in https://stackblitz.com/edit/vitest-dev-vitest-x4h2tg?file=vite.config.ts
System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    @vitest/ui: latest => 0.28.3
    vite: latest => 4.1.1
    vitest: latest => 0.28.3

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Custom coverage providers have been broken for a while. 🙃
I've planned to track this bug for a while but other things got priority.

Condition here do no check for  isMergeableObject(target[key])

In addition to this bug there is another issue where either Tinypool or brpc throws DataClone errors. I haven't debugged that any further, yet.

In addition to this bug there is another issue where either Tinypool or brpc throws DataClone errors. I haven't debugged that any further, yet.

It will throw this error if ctx.getSerializableConfig will contain a function.

@mmis1000 following seems to work on the reproduction case:
import { defineConfig } from 'vitest/config';
import { CoverageProvider, CoverageProviderModule } from 'vitest';

class CoverageModule implements CoverageProviderModule {
  getProvider(): CoverageProvider {
    throw 'called';
  }
};
export default defineConfig({
  test: {
    coverage: {
      enabled: true,
      provider: new CoverageModule(),
    },
  },
});

❯ npm test
$ vitest
called

I'm not sure when exactly this has been fixed - by accident. I've had some tests for custom reporters in separate feature branch and earlier those were not working at all. Now they seem to run nicely. I'll set up PR for those tests later.
Here's some draft for reference:

custom-coverage-provider.ts
import type { CoverageProvider, CoverageProviderModule, ResolvedCoverageOptions, Vitest } from 'vitest'

class CustomCoverageProvider implements CoverageProvider {
  name = 'custom-coverage-provider'

  ctx!: Vitest
  options!: ResolvedCoverageOptions

  initialize(ctx: Vitest) {
    this.ctx = ctx
    this.options = {} as ResolvedCoverageOptions
  }

  clean() {
    console.log('CustomProvider::clean')
  }

  onBeforeFilesRun() {
    console.log('CustomProvider::onBeforeFilesRun')
  }

  onAfterSuiteRun() {
    console.log('CustomProvider::onAfterSuiteRun')
  }

  reportCoverage() {
    console.log('CustomProvider::reportCoverage')
  }

  onFileTransform() {
    console.log('CustomProvider::onFileTransform')
  }

  resolveOptions() {
    return this.options
  }
}

export default class CustomCoverageProviderModule implements CoverageProviderModule {
  getProvider(): CoverageProvider {
    return new CustomCoverageProvider()
  }

  takeCoverage() {}
}

vitest.config.ts
import { defineConfig } from 'vitest/config'
import CustomCoverageProviderModule from './custom-coverage-provider'

export default defineConfig({
  test: {
    coverage: {
      enabled: true,
      provider: new CustomCoverageProviderModule(),
    },
  },
})

$ pnpm test

CustomProvider::clean

 RUN  v0.28.4 /Users/x/y/vitest/test/coverage-test
      Coverage enabled with custom-coverage-provider

CustomProvider::onBeforeFilesRun
CustomProvider::onFileTransform
CustomProvider::onFileTransform
...

 Test Files  3 passed (3)
      Tests  7 passed (7)
   Start at  12:03:47
   Duration  410ms (transform 159ms, setup 15ms, collect 133ms, tests 20ms)

 % Coverage report from custom-coverage-provider
CustomProvider::reportCoverage

@mmis1000 following seems to work on the reproduction case:
import { defineConfig } from 'vitest/config';
import { CoverageProvider, CoverageProviderModule } from 'vitest';

class CoverageModule implements CoverageProviderModule {
  getProvider(): CoverageProvider {
    throw 'called';
  }
};
export default defineConfig({
  test: {
    coverage: {
      enabled: true,
      provider: new CoverageModule(),
    },
  },
});

❯ npm test
$ vitest
called

I'm not sure when exactly this has been fixed - by accident. I've had some tests for custom reporters in separate feature branch and earlier those were not working at all. Now they seem to run nicely. I'll set up PR for those tests later.
Here's some draft for reference:
custom-coverage-provider.ts
vitest.config.ts
$ pnpm test

CustomProvider::clean

 RUN  v0.28.4 /Users/x/y/vitest/test/coverage-test
      Coverage enabled with custom-coverage-provider

CustomProvider::onBeforeFilesRun
CustomProvider::onFileTransform
CustomProvider::onFileTransform
...

 Test Files  3 passed (3)
      Tests  7 passed (7)
   Start at  12:03:47
   Duration  410ms (transform 159ms, setup 15ms, collect 133ms, tests 20ms)

 % Coverage report from custom-coverage-provider
CustomProvider::reportCoverage

It seems to work because the enabled is hardcoded in config? So it does not trigger the buggy path in deepMerge util. The config has a default value of { enabled: true, provider: 'v8' } when '--coverage' is written in cli options

Well, there still seems to be a problem when custom provider is used in worker. takeCoverage here will be undefined as options.provider cannot be passed in WorkerData since it's not serializable.
https://github.com/vitest-dev/vitest/blob/aa1aa4daa268053bb2c93fefecb8d686ae8ad0ca/packages/vitest/src/integrations/coverage.ts#L29-L34

This option should probably not be the module instance at first place.

Is there any other option than to change the API for custom providers to be a path where the provider can be loaded from? Then it could be loaded and initialized inside worker.

Well, there still seems to be a problem when custom provider is used in worker. takeCoverage here will be undefined as options.provider cannot be passed in WorkerData since it's not serializable.
https://github.com/vitest-dev/vitest/blob/aa1aa4daa268053bb2c93fefecb8d686ae8ad0ca/packages/vitest/src/integrations/coverage.ts#L29-L34

This option should probably not be the module instance at first place.

Is there any other option than to change the API for custom providers to be a path where the provider can be loaded from? Then it could be loaded and initialized inside worker.

I am not sure if the use path / module name option even work with typescript file. Does vite-node ever support random string user provided in import(identifier)?
Another idea would be use the vite.config.ts as input source. And just load the config again there. Then you can get a copy of whatever function user import in main compiler. But I will break any provider that relies on a singleton instance. (Guess it should be fine because the c8-provider and istabul-provider also have multi instance.

Is there any other option than to change the API for custom providers to be a path where the provider can be loaded from? Then it could be loaded and initialized inside worker.

If you need to use it inside a worker, it should be a path to the module that will be imported inside. Beware that it will always be two different instances.

Inside workers we can safely create/import instances of CoverageProviderModules. The takeCoverageInsideWorker is explicitly created for this.

I am not sure if the use path / module name option even work with typescript file. Does vite-node ever support random string user provided in import(identifier)?

Currently Vitest supports regular test reporters to be written in Typescript, loaded here:
https://github.com/vitest-dev/vitest/blob/aa1aa4daa268053bb2c93fefecb8d686ae8ad0ca/packages/vitest/src/node/reporters/utils.ts#L8-L11
Now that CoverageProviderModule needs to be imported inside worker while running in vite-node, I'm not sure how to do this.
@sheremet-va any pointers how to import Typescript files in src/runtime/entry.ts?
I think that one is started from here?
https://github.com/vitest-dev/vitest/blob/aa1aa4daa268053bb2c93fefecb8d686ae8ad0ca/packages/vitest/src/runtime/worker.ts#L48-L51


Optional "timestamp" value missing

Currently the following metric format is exported like this:
<kafka topic name>_<metric_name>{foolabel="foolabelvalue", barlabel="barlabelvalue"} <metric value>

Prometheus allows to send the "timestamp" value as follows:
metric_name [
  "{" label_name "=" `"` label_value `"` { "," label_name "=" `"` label_value `"` } [ "," ] "}"
] value [ timestamp ]

So, I suggest to add, as optional, another property into the JSON structure:
{"name": <metric name>,
 "value": <metric value>,
 "timestamp": <epochvalue>,
 "labels: {
    "foolabel": "foolabelvalue",
    "barlabel": "barlabelvalue"
    }
}

The final metric format would be:
<kafka topic name>_<metric_name>{foolabel="foolabelvalue", barlabel="barlabelvalue"} <metric value> [<timestamp>]

+1

I'm working on it so, once the people from "Prometheus Java Client" accept my changes on their code, I will be ready for doing a PR with the changes that I have implemented.

Great!

The changes in "Prometheus Java Client" have been accepted and merged, but still there isn't any release that containing them. They exists only in the master branch, we should wait until next library version will be released.

The functionality about the timestamp has been already implemented in the version 0.0.5, so this issue can be set as Closed


Proposals for this repo

I have a few ideas for this repo and would like your thoughts. Firstly I just opened up a pull request for seatd on kiss-community https://github.com/kisslinux/community/pull/1235. If we were to bump wlroots and sway to git and build with seatd support we can drop the need for setuid on sway.
Second idea I have is to have two new packages in addition to sway and wlroots something like wlroots-nox and sway-nox so people have the option to build wlroots and sway without the x backend.
Let me know your thoughts.

I'd rather avoid pulling in master if possible, can you not build with seatd support on the latest release? I'm finding seatd's readme  a little confusing - is this an alternative to building with elogind or is it something on top of elogind?
That'd be fine, do you think it would be better to make a separate kiss repo (different folder in this git repo) like the sdsddsd1's my-wayland repo was set up or just add a -nox suffix? I'm fine either way, splitting them into separate folders does seem a little neater though.

Right now seatd is only works on latest master for wlroots. It may work on latest release for sway. We could always wait till they make a release with seatd support. And yes the documentation seems sparse right now. Basically there is libseat that has two backends available. Either elogind or seatd. Seatd needs to be implemented seperately for it to work which wlroots has done in a few recent pull request. Seatd has no complicated dependencies like elogind and just requires libc. I am using it right now with some builds I threw together and my sway is now running as user instead of root. As for the nox I think we could do a seperate folder maybe noxland like in sdsddsds old mywayland repo except with not as many extreme options.

Speaking of proposals I could make a pull request here with my webkit2gtk build which has hardware acceleration on wayland.

Speaking of proposals I could make a pull request here with my webkit2gtk build which has hardware acceleration on wayland.

I'm fond of the extensions I can get with firefox but go ahead! Browser diversity is a good thing.

I can also probably get gammastep to build without gettext so we can build it natively.

Ooo I'd love to have an actual build file, really hate telling people "Yes I'm a totally trustworthy source of binary distribution". iirc issue I ran into was a dependency on autopoint to run the bootstrap script and then then intltool to run the configure script.

An update on the seatd situation. For a few releases now seatd has been supported are you still interested?

My KISS install currently isn't working but if you can put together a PR to switch I'd love to merge it!


Fix class loading issues for SSL/nonSSL connectors

This resolves issues loading SSL and nonSSL RAR connectors in Glassfish 3.x
proposed fix for AMQ-5873

Not sure if this is the correct way to solve the problem.  The patch incorporates what we've done internally to resolve the issue, which has existed since at least 5.8.x.  We mentioned this issue to Johan at one point.
Let me know if the proper way to fix this is to derive our own StandaloneObjectFactory-variant and install via the FactoryFinder.setObjectFactory().  It seems as though the thread-local class loader is succeeding but causing cast exception in downstream code instead of failing and dropping through to the normal class loader.
See Jira issue AMQ-5873 (https://issues.apache.org/jira/browse/AMQ-5873) for stack trace as was reported internally.

Oh classloading is not fun, if this is merged then it may break something on other systems.

Agree with Claus, this shouldn't be merged without a better understanding of the root cause. I'm not following how this would fix the problem. Perhaps in Glassfish an undesirable class is being loaded first via the TCCL? Or perhaps a service locator issue.
The current code falls back to the class's classloader if the TCCL does not find the class.

Can one of the admins verify this patch?


chore: update manager console commit

Signed-off-by: Gaius<EMAIL_ADDRESS>
Description

Update manager console commit.

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[x] Code compiles correctly.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #1219 (0179623) into main (535d717) will increase coverage by 0.39%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1219      +/-   ##
==========================================
+ Coverage   46.02%   46.42%   +0.39%
==========================================
  Files         133      133
  Lines       10566    10566
==========================================
+ Hits         4863     4905      +42
+ Misses       5156     5105      -51
- Partials      547      556       +9

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
46.42% <ø> (+0.39%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

client/daemon/peer/peertask_conductor.go
57.18% <0.00%> (+1.20%)
:arrow_up:

client/daemon/peer/peertask_piecetask_poller.go
53.33% <0.00%> (+22.96%)
:arrow_up:


Reverse Proxy : does not forward when the request is coming from Azure APIM

Describe the bug
A clear and concise description of what the bug is.
I have developed a Reverse proxy using Yarp. It does some validations and then forwards. It is hosted as Docker image in k8.
Test case
a. Tested with postman -  worked correct,  validates the headers. forwards the request.
b. Testing from APIM -  I created a API gateway in Azure which has a backend URL to this proxy host.  The Azure Apim redirection works well. I verified the logs. However the redirection fails with an error.
To Reproduce

success from postman
info: ReverseProxyManager.Api.Startup[0]
[!dt trace_id=ca2f0c493c8860eff31ffc016b21b487,span_id=7693b69250f9dc6c,trace_sampled=true,dt.entity.host=HOST-89F7D55F49BBCDBD,dt.entity.host_group=HOST_GROUP-18F127AA6023AC8C,dt.entity.process_group_instance=PROCESS_GROUP_INSTANCE-5DF85BBE3781175F,dt.host_group.id=] Route Destination: ## ##
[2024-01-18 19:32:12.594  INF] Proxying to ####
exception from apim
trace_id=f3b2c4ee228014cb43649c4314b88f57,span_id=fa5e708602735e9a,trace_sampled=true,dt.entity.host=HOST-89F7D55F49BBCDBD,dt.entity.host_group=HOST_GROUP-18F127AA6023AC8C,dt.entity.process_group_instance=PROCESS_GROUP_INSTANCE-5DF85BBE3781175F,dt.host_group.id=] ##ByPassTokenAuthentication : 1 CONFIG VALUES ##
[2024-01-18 19:27:51.235  INF] RequestCreation: An error was encountered while creating the request message.
errors above without running the Transforms logic and forwarding my request.
Further technical details

Include the version of the packages you are using  - 2.1
The platform (Linux/macOS/Windows)  - Docker - Linux

Can you collect the YARP logs and see if that reveals more info? Instructions here: https://microsoft.github.io/reverse-proxy/articles/diagnosing-yarp-issues.html

Thanks. Apologies , please close this.
IT is not YARP . Basically the request from APIM encodes the URL which was not done when the request was sent from postman. handling this in my .net core middleware resolved this.

not an issue


Add CRS support for queries

Requires CF grid mapping on the target dataset, otherwise nothing is projected
One piece i'm not sure about is that the EDR spec says that the provided CRS is the coordinate system of the query coords AND the output data. I think there is a CF way for doing this, but im not sure

[x] Project query based on cf coordinates
[x] Selection tests
[x] Update README
[x] Output projection
[x] Plugin test

cc @dcherian

This is ready for a review as a first implementation


add first author in the data

https://twitter.com/Estrid_J/status/935545360159838208

Fixed in release 0.5


Cannot Read Property 'HubConnectionBuilder' of Undefined.

I used SignalR in my javascript file:
import signalR from '@aspnet/signalr';

const GameHubConnection = new signalR.HubConnectionBuilder()
    .withUrl('url')
    .build();

And when I ran it on Chrome, I got an error in Chrome developer tools:

Hub.js:9 Uncaught TypeError: Cannot read property 'HubConnectionBuilder' of undefined

Webpack version: 4.15.1
@aspnet/signalr version: 1.0.0
How could I solve it?

We have a detailed doc on how to use SignalR and Webpack, could you check it out and see if it resolves your issue?
https://docs.microsoft.com/en-us/aspnet/core/tutorials/signalr-typescript-webpack?view=aspnetcore-2.1&tabs=visual-studio

OK, I find it.
Thanks.

But if it only used to ASP.NET Project?

Not sure what you mean here

@BrennanConroy I read your doc, and found Use the File > New > Project menu option and choose the ASP.NET Core Web Application template
So I want to know if it only used to ASP.NET Core Web Application?

Yes, this version of SignalR only works with ASP.NET Core

So, how could I use it on client web site? Only HTML and Javascript.

Could you put a repro app in a git repository so I can take a look?

OK.
This is my project:
PhaserAndSignalR

Change your import statement to:
import * as signalR from '@aspnet/signalr';
Also, createHubProxy doesn't exist in ASP.NET Core SignalR so you'll need to remove that.

Thank you, this error is solved.
I would like to know if ASP.NET Core SignalR doesn't support proxy?

There is no hub proxy, each connection is to a single hub via the url endpoint.


Platform when filter should not be used to filter whole workflow, let agent's filter it based on that

close  #1677
TODOs:

[ ] document
[ ] make plaftorm filter work again
[x] fix filter workflow issue

warning: now the platform filter dont have an efect at all :/

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (9b32d02) 39.12% compared to head (0f2fc46) 39.12%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1711   +/-   ##
=======================================
  Coverage   39.12%   39.12%
=======================================
  Files         167      167
  Lines       10765    10765
=======================================
  Hits         4212     4212
  Misses       6283     6283
  Partials      270      270

Impacted Files
Coverage Δ

pipeline/frontend/yaml/constraint/constraint.go
84.36% <100.00%> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Question about taxes

Hello sir,
First of all, thank you for your great work. I would like to ask a question about taxes.
I could not find anything about taxes such as VAT. I guess the system has not tax capability or is there any other way to add tax?
Thank you,

As a roadmap for development, tax and some features will soon be added from version 1.1. Expected to be released later this April.


Increase coverage

additional task on: https://jira.blueapron.com/browse/INTRNLTLS-77
Looking to increase test coverage as much as possible before publishing to rubygems

initial stab.. working on rubocop issues! plan to cover more than table_manager_service.rb later on in this pr.

take a look at difference between let!() and let().  Did you mean to do let! ?

@keithmgould a lot of the values need to be loaded  before we ever enter the it section so I thought it best for them to be eager but my understanding of this works is still limited. I can go back and get rid of every bang that isn't needed.

just left a comment about leaving a comment. once thats done consider this a 👍 and feel free to merge!


DICOM information when reading series

When reading a series of dicom images, the dicom header information is not retrieved as well. If only one of those dicom images is read, the dicom information is present as it should be.
reader = sitk.ImageSeriesReader()
series_ids = reader.GetGDCMSeriesIDs(dicom_path)
dicom_names = reader.GetGDCMSeriesFileNames(dicom_path, series_ids[0])

reader.SetFileNames(dicom_names)
img1 = reader.Execute()
img2 = sitk.ReadImage(dicom_names[0])

print(img1.GetMetaDataKeys()) #  ()
print(img2.GetMetaDataKeys()) #  ('0008|0005', '0008|0008', '0008|0012', '0008|0013', '0008|0016', ...)

I used this data set to test: https://bitbucket.org/somada141/pyscience/raw/master/20141001_SegmentationSimpleITK/Material/MyHead.zip

This is the expected behavior.
The ITK Image supports a single dictionary, while each DICOM file has a separate dictionary. It would be difficult and likely wrong to try to combine all the DICOM file dictionaries into one. It's not clear to me what your expectation of behavior is here.
We have plans in the future to add methods to the ImageFileReader to allow just reading the meta-data without the image. Would this help with your problem?

Hi Bradley,
Thank you for your reply. I would think this is not default behaviour as ITK seems to handle this just fine (https://itk.org/Doxygen/html/Examples_2IO_2DicomSeriesReadPrintTags_8cxx-example.html).
Are there any reasons why this should be the case for SimpleITK?
Christophe
Op 9 aug. 2016 17:26 schreef Bradley Lowekamp<EMAIL_ADDRESS>This is the expected behavior.
The ITK Image supports a single dictionary, while each DICOM file has a separate dictionary. It would be difficult and likely wrong to try to combine all the DICOM file dictionaries into one. It's not clear to me what your expectation of behavior is here.
We have plans in the future to add methods to the ImageFileReader to allow just reading the meta-data without the image. Would this help with your problem?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

SimpleITK does not directly expose the ImageIO classes.
The referenced example gets one dictionary from the GDCM ImageIO after the series has been read. This happens to be the tags in the from the last image read in the series.  There is no consolidation from the tags in the series. This behavior can easily be reproduced with the separate read.
With the proposed meta-data read feature, the separate read can skip reading the bulk data making the operation a little more efficient.


[NDM][Cisco SD-WAN] Set default lookback interval to 10 mins

What does this PR do?
At each check run, we query the Cisco SD-WAN API for metrics received by the vManage instance between now and now - lookback.
Default lookback interval was set to 20mins. Setting it to 10mins will poll less data at each check run, and since previously sent metrics are not re-sent, it will not change the integration behavior (default check interval is 1min).

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


error in snapshot tests

I just installed 1.0.1, excited for the fixes. But now my tests fail... Looks like owner.element is undefined in that call stack. I checked out a local copy, added an early return check in Cleave.react.js line #355 if (!owner.element) return;, and that fixes it for me.

--cheers! Let me know if you'd like PR

Hi @phillyqueso, PR welcomed.
Thanks

If no options are supplied (in React), I'm hitting the same issue. Once I add in options, the Snapshots are generated.


Panning effect of canvas not working

Describe the bug
On panning (press and drag) the circuit elements(simulationArea) moves but the canvas grids(backgroundArea) does not move.
To Reproduce
Steps to reproduce the behaviour:

Go to cv-frontend-vue
add some circuit elements
checkout the pan mouse event
compare the difference with current simulator

https://user-images.githubusercontent.com/61665451/221715169-9a08f5e4-d953-49b9-b7e0-3b849b03aa3e.mov

@devartstar may I work on this?

@devartstar may I work on this?

Sure, go ahead!


Is there a way to add a Telegram notification to the mix?

Hi,
Is there a way to set telegram notification to the script to send the notifications through Telegram?
How are you getting your notifications when VPN is down and the script has establish re connection?

Currently, there is no plan to implement Telegram notifications. However, email notifications are supported, per the instructions on the blog post I wrote about this script.


Sliding Window Technique

Sliding Window Technique
Issue: #1734

I've added it here
https://github.com/AlgoGenesis/C/pull/1783


Question about chaining and async requests

hey there
trying to do the following here on this plugin not sure if I am going overboard with it
async function getClusters() {
  const response = await fetch("http://localhost:5000/rosa/clusters");
  let clusters = response.json();
  return clusters;
}

async function getNodes() {
  let nodes;
  for (let i = 0; i < data.length; i++) {
    let clusterid = data[i];
    console.log('clusters[i]', clusters[i])
    const response = await fetch(`http://localhost:5000/${clusterid}/nodes`);
    let node = response.json();
    //console.log('node', node)
    //nodes.push(node)
  }
  return nodes;
}

let data = getClusters();
let bonbon = getNodes();

console.log('bonbon', bonbon)
return Promise.resolve(data);

basically grab clusters then loop over them to find nodes to display those
Grcias

It should be fine, you need to await async functions as well.
let data = await getClusters();
let bonbon = await getNodes();

@yosiasz I hope it worked for you.
Let us know if you need anything else.


refactor: migrate to connectrpc/connect-go

This PR

Migrate from bufbuild/connect-go to connectrpc/connect-go.
Related Issues

Closes #790.
Notes

Follow-up Tasks

I'll also create a PR in https://github.com/open-feature/go-sdk-contrib to migrate to connectrpc/connect-go for the flagd provider.
How to test

🤔 , maybe this is not as easy as I thought. I can't seem to get rid of
schemaV1 "buf.build/gen/go/open-feature/flagd/protocolbuffers/go/schema/v1"

The obvious replacement
schemaV1 "buf.build/gen/go/open-feature/flagd/connectrpc/go/schema/v1"

does not seem to exist.

@craigpastro I rebased on main and resolved conflicts (only in mod/sum files).

@odubajDT @thisthat @bacherfl we may want to release this before we deal with https://github.com/open-feature/flagd/issues/998

e2e tests have failed, gonna check this now

e2e tests have failed, gonna check this now

This is due to circular dependency. Let's go ahead with the change and update go provider this time - https://github.com/open-feature/flagd/issues/1004


flutter license script needs to be updated to pick up googletest license

From https://travis-ci.org/flutter/engine/builds/349851127?utm_source=github_status&utm_medium=notification:
Collecting licenses for third_party
      4226 of 9419 ████░░░░░░ 45% (0 missing licenses)  ../../../third_party/googletest/googletest/CHANGES           error searching for copyright in: ../../../third_party/googletest/BUILD.bazel
unmatched potential copyright and license statements; first twenty lines:
----8<----
# Copyright 2017 Google Inc.
# All Rights Reserved.
#
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
#     * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#     * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
#     * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
----8<----

cc @Hixie

I believe this should have been addressed as part of gtest->googletest PR https://github.com/flutter/engine/pull/4728.

I don't understand why this wasn't caught by the pre-commit test. Was it a collision of two PRs each of which was fine on its own but not together?

My theory is that license hash key was updated without making updates to the script/license file. I later hit it when the hash had to be updated again, so script executed for my update again produced same error.

But how was the hash updated if the script doesn't run?

Why the script was not run? It was run locally(again it's my hypothesis), that produced new hash,  updated license files as well as the warning. Warning was ignored, everything else was committed.

This is resolved now I assume?

Yep, closing


Feature x26 password reset email

Password reset functionality via email has been added.

closes #23
closes #26


[blog] April 2019 Update

Should we merge the docs reorg first, so that we can ensure the links are valid?

The statement about createStyles is only true if the user has typescript >= v3.4
The summary should probably contain an entry about useTheme and makeStyles not needing the default theme type specified anymore, and createStyles can be omitted when using makeStyles.
Making working with material-ui in typescript better
Relevant PRs: #15366 #15538 #15549

@mbrookes, @merceyz wrong PR? This targets the master branch, there is no mention of createStyles.

@oliviertassinari I didn't mention createStyles, I was referring to the links that will be broken once the docs reorg is merged, such as: https://github.com/mui-org/material-ui/pull/15617/files#diff-fa049951233ebd0e64ec09e6812c45caR24

@oliviertassinari It was a "warning" about what I wrote right after it, updated the comment to be more clear.

I was referring to the links that will be broken once the docs reorg is merged, such as: https://github.com/mui-org/material-ui/pull/15617/files#diff-fa049951233ebd0e64ec09e6812c45caR24

@mbrookes Thanks for the detail, I couldn't connect the dots! I wouldn't worry about it. We will need to keep the redirection for a year. Once we merge v3 and v4 documentation, an SEO scrapper will report us the issues.
@merceyz Thank you for the details! If you don't mind, we will do that in v4 release blog post or in May Update. I think that we should update all our demos first. What do you think?

@oliviertassinari You're right – "broken" is the wrong term, and the impact will be non-existant. It just seemed prudent to coordinate them.


Frontend Interview Long Version Complete

Hi guys,
If you follow the README.md, this project should be easy for you to set up. You can test the app locally by running grunt serve and visiting localhost:9000/#/.
You can also view a live version here: [View Live Demo]
I built the app using Angular and enabled three-way data binding for Posts using Firebase. If you would like me to enable this for comments as well, let me know.
This app took me roughly six hours to complete.
Definitely let  me know if you have any questions.
Looking forward to hearing back from you,
Cheers, Alex

Hey @alexhawkins thanks for completing the long test! Everything looks good and Sara should be getting a hold of you for the next steps in the process. Have a great rest of the day!


[9.1.290] Can't take power from Dimensional Transceiver (EnderIO)

I have some wind generators up at y250, hooked to a Dimensional Transceiver (with Universal Cables), which works just fine.
However down on the ground, where I receive the power, the Cables can not pull the power from the Transceiver.
If I place a machine next to it, it gives power just fine.
Minecraft 1.10.2
Forge <IP_ADDRESS>4
Mekanism <IP_ADDRESS>0
EnderIO <IP_ADDRESS>
EnderCore <IP_ADDRESS>

Try to set the wire to pull (with the configurator, it's the mods' wrench).

Tried, no luck

Okay. Try the cube.
There are some compatibility problems in minecraft mods right now, so these are basically workarounds.

That's what I'm doing at the moment, even though the Ultimate Cube has a max transfer rate of 20k RF/T (where the Transceiver/Elite Universal Cable has 25k RF/T), but it'll do for the time being

There is no upper limit for the cables, they are only limited by the
cable's length and the MAX_INT.

I had a similar problem today. Usually breaking and replacing the dimensional transceiver worked for me.


fix: Remove dot imports

Remove dot imports from within modules.

Solved in the restructure PRs for Issue #14


WIP: Hardklör and Krönik

Hardklör and Krönik are 2 tools from I believe Hoopmann/MacCoss labs. I have made Galaxy wrappers for the toolshed on this branch.
Hardklör identifies peptide or protein-like features in mass spectra, while Krönik filters, validates, and summarizes peptide features identified with Hardklör. Our lab uses them for determining peptide quantities from MS1 spectra.
The toolshed install works when testing with planemo, but I guess it needs to be looked at. I will continue to push commits here (citations need formatting updates, etc

@glormph sorry for taking so long to review! This is a very good work!
I added a couple of things, but overall this looks pretty much merge-ready!
Thanks!

@bgruening   Thanks for the careful review.
@glormph    Did you want to address bgruening last suggestions before merging?   Many thanks for the contribution.

Hi and thanks for looking! I will await the cargo-port PR merge and download so that the tests pass when they actually download the files there. Considering the datatype I have no problems with "tabular" instead of specific hardklor or kronik datatypes, but not sure what best practice is there.
Don't worry about the long time, I have plenty to do. :)

@glormph @jj-umn thanks a lot! This is a great addition!


Inherit their parent route's grouping when "group_by: [...]"

Fixes https://github.com/prometheus/alertmanager/issues/1857

Thanks!

Thank you for merging!


config.toml won't refresh with gitlab netlify hosted blog

Hi,
I just installed this theme, using all the auto deployment features (netlify + gitlab). Site is up and running from a custom domain, but no matter how I modify config.toml my site still displays "Lena Smith..." and so on.
Here is my modified config.toml: https://gitlab.com/b1azk0/academic-kickstart/blob/master/config.toml
and the site itself https://mrozinski.com.pl/
What did I do wrong?

My fault. I messed up site baseurl=


Feature/question - parallel execution of processes in a task

I would like to ask whether this is something that could possibly open a bag of problems. In case there's nothing in the way - I am willing to help developing it.
Part of my deployment flow is a task where I execute a command for every tenant that lives on a given machine. In the current situation I am bound to sequential execution. I am interested in executing these in parallel - but not w/o any constraints. Some parts of this project: https://github.com/asyncphp/doorman actually do what I want to achieve, i.e. "execute at most 3 processes at a time". This way for N(tenants)=30 I can utilize multiple CPUs and actually have the whole process run almost 3 times faster.
I have briefly looked at the code - but before I dig deeper - are there any issues/showstoppers on the way? I am mostly interested in the simplest constraint that just limits the number of running processes.
Example before:
task('deploy:tenantExecutor', function () {
    cd("{{release_path}}");
    $tenants = getTenantsArray();

    foreach($tenants as $tenant) {
        $out = run("command {$tenant}");
    }

})->desc("Running Tenant Jobs");

After/proposed idea:
task('deploy:tenantExecutor', function () {
    cd("{{release_path}}");
    $tenants = getTenantsArray();
    $tenantCmds = [];

    foreach($tenants as $tenant) {
        $tenantCmds = [
          'command' => "command {$tenant}",
          'jobId' => $tenant // could be anything else that can identify individual runs
        ];
    }

   $outlog = runInParallel($tenantCmds, ['maxProcesses' => 3, 'timeout' => '600']);
   // outlog will contain the output indexed by jobID
   // $outlog[$jobId] = $resultData;

})->desc("Running Tenant Jobs");

Of course this is just a simple example - arrays can be enhanced with exec time and other stats - and additional constraints can be taken into consideration. Since that would be just "a collection of tasks run in parallel" - they should obey the same rules for parallel execution on multiple hosts.

Another idea:
$outlog = runInParallel($tenantCmds, ['maxProcesses' => 3, 'timeout' => '600', 'outputHandler' => function ($jobId, $output) { ...}]);

...here one could process the output "as it comes". Those callbacks will be then outputed "in series" to the screen so that we don't get a mix of output from processes running in parallel.

Well, actually you can already achieve this with you are going to treat tasks as a small, independent block. Each task can be easily be paralleled. So try to separate what you are actually want to run in parallel into a simple task, and compose it with other task using roles/after/before/grouping.

Thanks for a quick response. Does that mean:
before('deploy:symlink', 'deploy:parallelPart1');
before('deploy:symlink', 'deploy:parallelPart2');
before('deploy:symlink', 'deploy:parallelPart3');

That the three parallelPart[1-3] parts will be executed actually in parallel? I could not find anything around the documentation mentioning it - although I can see why this could make sense (multiple bindings to the same stage and hook result in parallel execution).

https://deployer.org/docs/tasks.html#parallel-task-execution

Thanks. If I understand it correctly - that is pure horizontal parallelism, i.e. tasks are executed concurrently on multiple machines and deployer is making sure that they are all synchronized - by host and task.
What I want to achieve is the ability to run concurrent processes on each machine within boundaries of a single task.
This means that Task1 spawns processes p1, p2 & p3 that each run concurrently within the frame setup by Task1. And Task1 is first marked as "finished" once all concurrent processes within the queue are executed (or aborted). So in theory this should not break any other synchronization when deploying in parallel on multiple hosts. The key is to spawn extra processes that run concurrently inside a task - and set the parallelism count for that execution.

Yes, you are right.

After reviewing the code and checking all internals I decided to go with parallel (GNU parallel) and write my own wrapper around everything. This seems to be the best option taking into account remote execution - especially for situations where ssh multiplexing is not being used.
Such solution requires installation of GNU parallel on all machines - but on the other hand it removes a lot of complexity. It has also a nice option -k which returns grouped output from all commands - perfect for parsing. I will be experimenting more and checking whether this can just work.
In case of positive results - should I consider implementing it in deployer (wrapper for easy running/output gathering) or keep it in-house? (as the feature has external deps)

It will be cool if you can share with the community your experience.

No problem. I might have some additional architectural questions - I will post them here in case I'm in doubt.

Closing as inactive.


Ability to actually run server on start

Hi, is it possible to add option to run a server in a default browser? Say, by adding
option.run: true

or as a task
connect.run()

Thanks

+1

Exactly, I do the same and will be happy to have it built-in.

:+1:

If you send a PR I will merge it.


Inability to view own account (Old 333)

In gitlab by @A-Lawrence on Aug 31, 2015, 01:07
Remove the ability for user's with management functions to review or modify their own accounts.

In gitlab by @A-Lawrence on Aug 31, 2015, 01:10
mentioned in issue #296

In gitlab by @A-Lawrence on Aug 31, 2015, 01:11
This was resolved in b70767c (2015-02-24)
ALawrence66 - 2015-08-25T00:11:16.360985+00:00


ImageNet validation set selection

Dear Evan Hernandez,
I tried to reproduce your code in the README/Downloading MILAN section.
I tried to execute
dataset = milannotations.load('alexnet/imagenet')
,which need to download ImageNet source images.
I downloaded ILSVRC2012 validation set, and make images into 1000 class folders. Finally, I put them in MILAN_DATA_DIR.
However, when I executed to code, it show errors:
Traceback (most recent call last):   File "reproduce.py", line 7, in <module>     dataset = milannotations.load('alexnet/imagenet')   File "/home/shyang/neuron-descriptions/src/milannotations/loaders.py", line 250, in load     dataset = dataset_hub.load(name, **kwargs)   File "/home/shyang/neuron-descriptions/src/utils/hubs.py", line 286, in load     dataset = config.load(path=path, **kwargs)   File "/home/shyang/neuron-descriptions/src/utils/hubs.py", line 251, in load     return factory(path, **kwargs)   File "/home/shyang/neuron-descriptions/src/milannotations/merges.py", line 225, in maybe_merge_and_load_dataset     merge(root, source_dataset, force=force, image_index=image_index)   File "/home/shyang/neuron-descriptions/src/milannotations/merges.py", line 157, in merge     renormalizer(torch.stack(images_by_unit)).byte())   File "/home/shyang/neuron-descriptions/src/deps/netdissect/renormalize.py", line 136, in __call__     result = data.mul(mul).add_(add) RuntimeError: The size of tensor a (224) must match the size of tensor b (3) at non-singleton dimension 4
I guess images of size 224*224 aren't suitable to your code. Which validation set should I download in order to execute
dataset = milannotations.load('alexnet/imagenet')
Thanks

I also had the same error.

I also had the same error.
I resolved the error by modifying "src/netdissect/renormalize.py" as follows:
Original
def __call__(self, data):
        mul, add = [d.to(data.device, data.dtype) for d in [self.mul, self.add]]
        if data.ndimension() == 3:
            mul, add = [d[:, None, None] for d in [mul, add]]
        elif data.ndimension() == 4:
            mul, add = [d[None, :, None, None] for d in [mul, add]]

Modified
def __call__(self, data):
        mul, add = [d.to(data.device, data.dtype) for d in [self.mul, self.add]]
        if data.ndimension() == 3:
            mul, add = [d[:, None, None] for d in [mul, add]]
        elif data.ndimension() == 4:
            mul, add = [d[None, :, None, None] for d in [mul, add]]
        elif data.ndimension() == 5:
            mul, add = [d[None, None, :, None, None] for d in [mul, add]]

However, another errors are raised the followings:
merging source images (layer blocks.5.mlp.fc1): 100%|████████████████████| 12/12 [01:41<00:00,  8.48s/it]
load dino_vits8/imagenet:   0%|                                                   | 0/12 [00:00<?, ?it/s]
/workspace/neuron-descriptions/data/dino_vits8/imagenet/blocks.0.mlp.fc1/images.npy
torch.Size([100, 15, 3, 224, 224]) torch.Size([100, 15, 1, 224, 224])
load dino_vits8/imagenet:   8%|███▌                                       | 1/12 [00:00<00:05,  2.03it/s]
/workspace/neuron-descriptions/data/dino_vits8/imagenet/blocks.1.mlp.fc1/images.npy
torch.Size([100, 15, 3, 224, 224]) torch.Size([100, 15, 1, 224, 224])
load dino_vits8/imagenet:  17%|███████▏                                   | 2/12 [00:00<00:04,  2.08it/s]
/workspace/neuron-descriptions/data/dino_vits8/imagenet/blocks.10.mlp.fc1/images.npy
torch.Size([1500, 3, 224, 224]) torch.Size([100, 15, 1, 224, 224])
load dino_vits8/imagenet:  17%|███████▏                                   | 2/12 [00:01<00:05,  1.82it/s]
Traceback (most recent call last):
  File "test.py", line 7, in <module>
    dataset = milannotations.load('dino_vits8/imagenet')
  File "/workspace/neuron-descriptions/src/milannotations/loaders.py", line 250, in load
    dataset = dataset_hub.load(name, **kwargs)
  File "/workspace/neuron-descriptions/src/utils/hubs.py", line 286, in load
    dataset = config.load(path=path, **kwargs)
  File "/workspace/neuron-descriptions/src/utils/hubs.py", line 251, in load
    return factory(path, **kwargs)
  File "/workspace/neuron-descriptions/src/milannotations/merges.py", line 226, in maybe_merge_and_load_dataset
    else:
  File "/workspace/neuron-descriptions/src/milannotations/datasets.py", line 405, in __init__
    top_images_dataset = TopImagesDataset(root, *args, **kwargs)
  File "/workspace/neuron-descriptions/src/milannotations/datasets.py", line 172, in __init__
    raise ValueError(f'expected 5D {name}, '
ValueError: expected 5D images, got 4D in layer blocks.10.mlp.fc1

I am trying to fix the error with minimal modifications.

Thanks for raising this issue, and sorry for the delay, I've been away for a bit. This was due to an issue of renormalizer being applied to a 5D image array instead of a 4D one. Should be fixed on master now, but let me know if this persists.


login: Add fake /proc/uptime workaround for ps

This applies the workaround in https://github.com/SDRausty/TermuxArch/issues/175 when /proc/uptime is not readable. Fixes #77.

Diff LGTM, need to test it. Could you add note in the changelog so everybody will know that ps finally works :)

Just thought about it: Could you write a small test just to ensure ps really works?


cargo-tally: 1.0.43 -> 1.0.44

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/dtolnay/cargo-tally/releases.
meta.description for cargo-tally is: Graph the number of crates that depend on your crate over time
meta.homepage for cargo-tally is: https://github.com/dtolnay/cargo-tally
meta.changelog for cargo-tally is: https://github.com/dtolnay/cargo-tally/releases/tag/1.0.44
Updates performed

Rust version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.0.44 with grep in /nix/store/97zq3bqzwzj03dm02i5c6jslpqj0clfz-cargo-tally-1.0.44
found 1.0.44 in filename of file in /nix/store/97zq3bqzwzj03dm02i5c6jslpqj0clfz-cargo-tally-1.0.44

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

cargo-tally

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/97zq3bqzwzj03dm02i5c6jslpqj0clfz-cargo-tally-1.0.44 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cargo-tally https://github.com/r-ryantm/nixpkgs/archive/f844ccd28c5a31ad575b921045f1c55e9126d80f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/f844ccd28c5a31ad575b921045f1c55e9126d80f#cargo-tally

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/97zq3bqzwzj03dm02i5c6jslpqj0clfz-cargo-tally-1.0.44
ls -la /nix/store/97zq3bqzwzj03dm02i5c6jslpqj0clfz-cargo-tally-1.0.44/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

cargo-tally

Maintainer pings
cc @figsoda @matthiasbeyer for testing.

Result of nixpkgs-review pr 307198 run on x86_64-linux 1

1 package built:

cargo-tally


Jetson Inference - Could not open DRM module (NULL) - gstreamer - 5.10.104-tegra

Hello everyone,
I am using the jetson inference repo with the Neousys Technology NRU-110V. To map ROS functionalities, I have flashed the system to Jetpack 5.1 according to the manufacturer’s instructions. As an example pipeline, I use the following gstreamer instructions outside the Docker container:
GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720,format=UYVY ! autovideosink
Outside the container, the pipeline works without errors. As soon as I want to run the pipeline inside the container
(dustynv/jetson-inference:r35.2.1 | L4T R35.2.1 | JetPack 5.1 [dustynv/jetson-inference:r35.2.1] L4T R35.2.1	JetPack 5.1), I get the following error message:
*root@tegra-ubuntu:/# GST_DEBUG=3 gst-launch-1.0  v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720,format=UYVY ! autovideosink*
*0:00:01.180704546    71 0xaaaafea7c780 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped*
*0:00:01.180838087    71 0xaaaafea7c780 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped*
*0:00:01.180885832    71 0xaaaafea7c780 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped*
*0:00:01.180942410    71 0xaaaafea7c780 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is not mapped*
*0:00:01.180999820    71 0xaaaafea7c780 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is not mapped*
*0:00:01.181068462    71 0xaaaafea7c780 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped*
*0:00:01.181134673    71 0xaaaafea7c780 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped*
*0:00:01.181239444    71 0xaaaafea7c780 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped*
*0:00:01.181327479    71 0xaaaafea7c780 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped*
*0:00:01.772811883    71 0xaaaafea7c780 WARN                  ladspa gstladspa.c:507:plugin_init:<plugin174> no LADSPA plugins found, check LADSPA_PATH*
*Setting pipeline to PAUSED ...*
*0:00:07.687856436    70 0xaaaae8e802a0 WARN                 kmssink gstkmssink.c:835:gst_kms_sink_start:<autovideosink0-actual-sink-kms> error: Could not open DRM module (NULL)*
*0:00:07.687991193    70 0xaaaae8e802a0 WARN                 kmssink gstkmssink.c:835:gst_kms_sink_start:<autovideosink0-actual-sink-kms> error: reason: No such file or directory (2)*
*0:00:07.688391654    70 0xaaaae8e802a0 WARN                basesink gstbasesink.c:5367:gst_base_sink_change_state:<autovideosink0-actual-sink-kms> error: Failed to start*
*Pipeline is live and does not need PREROLL ...*
*Setting pipeline to PLAYING ...*
*0:00:07.879654162    70 0xaaaae8f15000 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<v4l2src0> error: Internal data stream error.*
*0:00:07.879871961    70 0xaaaae8f15000 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<v4l2src0> error: streaming stopped, reason not-negotiated (-4)*
*New clock: GstSystemClock*
*ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.*
*Additional debug info:*
*gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:*
*streaming stopped, reason not-negotiated (-4)*
*Execution ended after 0:00:00.000731737*
*Setting pipeline to NULL ...*
*Freeing pipeline ...*

I have already been able to narrow down the cause field to possibly missing authorizations or unrecognized DRM drivers via other posts. My goal is ultimately to use the functionalities of the repository, but these give me similar error messages. Therefore, the basic gstreamer pipeline should run first.
Here is my info from jtop. I did not install the missing libraries due to limited memory space. The nvidia docker container toolkit is installed. If further information is required, I will be happy to provide it:

I'am grateful for any help.
Thanks a lot.

Hi @w4sten, are you able to reproduce this issue with your gstreamer pipeline in the l4t-jetpack base container?
If so, you may want to post this to the Jetson forums so we can take a look at what additional mounts or drivers may needed in the container for DRM.

Hello @dusty-nv,
thanks for your hint.
According to the current status, the error also occurs with the base container. I have already written a post in the forum https://forums.developer.nvidia.com/t/jetson-inference-could-not-open-drm-module-null-gstreamer-5-10-104-tegra/276491 .
As an addition to the previous post: I start both containers with -v /lib/modules/5.10.104-tegra:/lib/modules/5.10.104-tegra to avoid getting modprobe errors. I got the info according to your comment from https://github.com/dusty-nv/jetson-inference/issues/1556.
Thanks again for the help.
I hope to solve the problem via the nvidia forum.

GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720,format=UYVY ! videoconvert ! autovideosink -v
the above code actually works!
however I couldn't get the stream through video-viewer, or VideoSource API? Can anyone help me with this issue?


Update parsing syntax on ec2 reserved and EBS, update regions

Is there a chance that this could get merged and released?


Update ASM 5.2 to 7.0 to support JDK11+

The HCRLateAttachWorkload test won't run on JDK11 if we're not using
ASM 7.0 or up.
This change updates the version of ASM from 5.2 to 7, and also removes
the 6-beta option, as 7 supersedes both.
Signed-off-by: Adam Farley<EMAIL_ADDRESS>

Tested on 11 for OpenJ9 and Hotspot, and also 8.
Will re-test after commit before reintroducing this test into the test buckets for 11+

Was this change tested with JDK8? Just want to ensure the new ASM is compatible with JDK8.

Yes @Mesbah-Alam it was tested with jdk8. See my comment above.


Please consider porting to Python3

Hi,
as you know I packaged mapDamage for Debian.  The upcoming release will be the latest featuring Python2.  It would be sensible to port mapDamage to Python3 in the not so distant future.
Kind regards, Andreas.

WIP in https://github.com/ginolhac/mapDamage/tree/python3

On Tue, Oct 01, 2019 at 05:33:33AM -0700, Aurélien Ginolhac wrote:

WIP in https://github.com/ginolhac/mapDamage/tree/python3
Thanks a lot.  It would be great if you would tag a new release once the port is finished.

you're welcome, it seems to work fine. I specified python3 in shebang, because python2 doesn't work anymore. Is this acceptable? I don't have experience on this

On Tue, Oct 01, 2019 at 06:14:55AM -0700, Aurélien Ginolhac wrote:

you're welcome, it seems to work fine. I specified python3 in shebang, because python2 doesn't work anymore. Is this acceptable? I don't have experience on this
Yes '#!/usr/bin/python3' is what is used in Debian and works here.

thanks! https://github.com/ginolhac/mapDamage/releases/tag/2.1.0 is there.

Very cool.  Thanks a lot.
I think there is one remaining issue.  However, even if you apply that patch the test script throws:
$ python3 rescale_test.py
EE
======================================================================
ERROR: test_longalignshortread (__main__.testCases)
Check if fails on an aligment longer than the read
----------------------------------------------------------------------
Traceback (most recent call last):
  File "rescale_test.py", line 53, in test_longalignshortread
    rescale.rescale_qual(ref,options,debug=True)
  File "/usr/lib/python3/dist-packages/mapdamage/rescale.py", line 311, in rescale_qual
    rescale_length_5p=options.rescale_length_5p,
AttributeError: 'Values' object has no attribute 'rescale_length_5p'

======================================================================
ERROR: test_paired_end_file (__main__.testPairedFile)
Test, paired end SAM file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "rescale_test.py", line 43, in test_paired_end_file
    rescale.rescale_qual(ref,options,debug=True)
  File "/usr/lib/python3/dist-packages/mapdamage/rescale.py", line 311, in rescale_qual
    rescale_length_5p=options.rescale_length_5p,
AttributeError: 'Values' object has no attribute 'rescale_length_5p'

----------------------------------------------------------------------
Ran 2 tests in 0.001s

FAILED (errors=2)

I realised that this is not new and also happended at the previous version of mapdamage.
Kind regards, Andreas.

Thanks for reporting! I will have a look. I don't think we expect paired end bams. But it should at least be handled gracefully

with the last commit, paired-end BAMs give an error and a new test (fake single-end) is included.
The output should look like this:
mapdamage (python3)> python3 mp_test.py
Started with the command: /usr/local/bin/mapDamage -i tests/test.bam -r tests/fake1.fasta -d tests/results --no-stats
	Reading from 'tests/test.bam'
	Writing results to 'tests/results/'
pdf tests/results/Fragmisincorporation_plot.pdf generated
additional tests/results/Length_plot.pdf generated
Successful run
.
----------------------------------------------------------------------
Ran 1 test in 2.889s

OK

there is also a rescaled BAM I could add but the test run take some time, I don't know how this is tolerable. For now, we can just use this test that test if the --no-stats part works well.
Best wishes

Of note, I added a rescale test as @hakon-jon  did for the PE data but now for the SE example BAM.

see new v2.2.0 where python3 as master branch, please reopen if needed.


exit_code not bubbling at_exit in Rails 5 using "rails test"

When running rails test for Rails 5, the exit code is not bubbling properly, so I always get a 0 exit code. Changing to run as the deprecated rake test allows the proper exit code to be returned.
The console is properly hitting the exit code checks in both cases as I see the proper error message, I just imagine that the hooks to return the exit code have changed with the switch to using rails instead of rake.

Thanks for the issue report!
hmm strange... we just exit or process with a proper exit code, so it seems more like rails isn't picking up our exit code or something. Not sure how much we can do there other than look into it and maybe PR to rails.

After looking more at the rails code, I think there is some modification to the return here that may be necessary based on how they wrap the rails test command. However, a workaround for now is to use rails default instead as it also runs all the tests and isn't wrapped by the system call, so the error code properly bubbles.
Since that works as a workaround, will close this out for anyone else running into this issue.

Hi there! Thanks for looking into this, if you could leave code hints that'd be appreciated.
It's good that there is a workaround, but the default should work. So either rails or we need to fix something, given the time, and I'd like to keep this open as a reminder to do so or something that new contributors could have a look at :)


Ability to mark migrations as run

Fixes #323

The documentation doesn't include an example as how to exactly use this.
I tried by adding the flag --fake, and it doesn't work (it performs the migrations).
I also tried with fake, and it still doesn't work (in fact doesn't do a thing in that case). The migration is still on the pgmigrations table.
I though the whole purpose of this was to either just remove or add the migration row on the pgmigrations  table, without actually touching the related table(s). I am missing something?


Fix a failing test case intermittenly in TestMergeOnRead due to incorrect prev commit time

@vinothchandar This should fix the failing test case in dependency removal.

@vinothchandar pinging to re-surface

Will add a test case soon to concretely add this case : https://github.com/uber/hudi/issues/450


Bump git hashes

Is the hash in "revision" field pointing to a specific tag on the branch or it's just pointing to an arbitrary commit?

@karhin1990 These are the commits used in Toradex's manifest. I have not tried changing it to point to an older or newer commit for any repository linked in the manifest, so I am unsure if doing that will or will not break things. I imagine they target certain commits due for compatibility purposes. I'll add a link as a comment for each revision so that we can easily visit and look at the commit details.

Is the hash in "revision" field pointing to a specific tag on the branch or it's just pointing to an arbitrary commit?

@karhin1990 These are the commits used in Toradex's manifest. I have not tried changing it to point to an older or newer commit for any repository linked in the manifest, so I am unsure if doing that will or will not break things. I imagine they target certain commits due for compatibility purposes. I'll add a link as a comment for each revision so that we can easily visit and look at the commit details.


Add OS Image profile to scheduled events profile and maxSurge in rolling upgrade policy in Microsoft.Compute

ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify
- Adding new features to compute service:

OS Image Scheduled Events to the Scheduled Events Profile in Virtual Machines and Virtual Machine Scale Sets. This allows users to configure if a VM has scheduled events pop up when it's about to undergo an OS-related operation like a reimage or an OS upgrade.
Max Surge setting to the Rolling Upgrade Policy in Virtual Machine Scale Sets. Enabling Max Surge would create new VMs to upgrade the Scale Set, rather than updating the existing VMs. Existing VMs will be deleted once the new virtual machines are created for each batch.

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.

11/2022

When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.

11/2022

By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

Swagger Validation Report
✔BreakingChange succeeded [Detail] [Expand]
✔Breaking Change(Cross-Version) succeeded [Detail] [Expand]
⚠LintDiff: 2 Warnings warning [Detail]
⚠Avocado: 1 Warnings warning [Detail]
❌ModelValidation: 258 Errors, 0 Warnings failed [Detail]
✔SemanticValidation succeeded [Detail] [Expand]
✔PrettierCheck succeeded [Detail] [Expand]
✔SpellCheck succeeded [Detail] [Expand]
✔CadlValidation succeeded [Detail] [Expand]
✔PR Summary succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Seems that the model validation failure here is not related to my changes.

/azp run

SDK PR: https://github.com/Azure/azure-sdk-for-net/pull/32262

/azp run


[android] fix the tm_zone access, which is nullable on Android

Regression after https://github.com/swiftlang/swift-foundation/pull/1053

The nullability annotation on Android appears to be correct, as there as some cases where tm_zone is set to NULL in Android's bionic


Module 1 exercises [George Owusu]

Please "drag & drop" exercise 1 pdf file below.
Exercise1_Gh_Health_Map.pdf
Exercise2_Gh_Pop_Density.pdf

Please "drag & drop" exercise 2 pdf file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 1 and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

Hi George, it looks like you may have submitted the wrong file for exercise 1. We have received a map of health facilities, while the correct map should be population density. We would really appreciate a resubmission of this file. Well done on exercise 2, though. You clearly grasped the material and we thank you for your participation!

Please I sent two maps.. Both Health and Population density

I apologize for the lack of clarity in my previous comment. The Module 1 exercises include a population by district map and a population density map. We are looking for the population by district map instead of the health facilities map. Thank you!

resolved in issue #182. Close this now.


fix(template): fix incorrect template paths

Wrong branch, apologies.

Ok.. Tried to fix it. we need that on master


Animation support

When a propertyOf(some colour) changes its value, makes sense to add a way of animating it smoothly on bound views.

Every application uses its own durations and interpolators. Also, there's several animation APIs. The best way to achieve this is to use generic binding view.bindTo(property, setColorWithAnimation()) where setColorWithAnimation() is implemented by app developer.
This also could be done as a library complementary to Lychee.


resolves webdriverextensions/webdriverextensions-maven-plugin#35

support all properties from the maven-surefire and maven-failsafe
plugins.

Thanks!


Convert CRO_Value to use unions

This will resolve #9 and also save on memory. A fallback will be added on the off chance a compiler doesn't support unions.

This is most likely stable and able to be closed now, I have encountered no problems building this on multiple platforms with multiple compilers. Will reopen if any are problematic.


Implement validate_proposer_signature

What is wrong?
Per-slot processing - validate proposer signature
How can it be fixed

Implement the validate_proposer_signature logic in eth/beacon/state_machines/validation.py.

Use flat hash instead of tree hashing for now

Add tests for it!

I would like to work on this, will update with a PR soon.


IdStore attribute

First draft with store and get endpoints.
Fixes #25

Please add the endpoint description in CDDL above each functions.


MIT Licensing Master Branch

We only merge code to master from DEV branch directly. Close this one for now.

@solderzzc Yeah, before making the changes to the ReadMe I forgot to change the branch to Dev so I just submitted anyways.


Skip submariner operatorGroup

Adds an option to skip installation of submariner-operator OperatorGroup if annotation skipOperatorGroup is set on the SubmarinerConfig. This will allow dev users to override submariner-operator Image or any other component installed.
How To Use custom operator image:

Install submariner-addon on managedcluster in the normal way.
Once installed, add annotation skipOperatorGroup to the SubmarinerConfig for the managedcluster where you wish to use custom operator Image or settings.
Modify submariner-operator Deployment to use whichever Image you want.

Note: This feature is for dev use only.
Fixes #475
Signed-off-by: Vishal Thapar<EMAIL_ADDRESS>

/retest-required

/approve

/cc @sridhargaddam

/lgtm
/approve


Multiple actions in DQN/DDPG

Hello,
I was able to run the dqn and ddpg agents for discrete action spaces and continuous action spaces, respectively. However, I am wondering how can I have multiple actions as the ouput?
For example, let's say I have a robot arm and I want to give it a contiuous value for its grip and a continuous value for its orientation. So instead of one action, I have two. What should I do to adapt to this requirement. Please provide as much detail and explanation as possible as I am just a beginner.
Thank you!

@ahmadalattar242,  I think that is multiple output covered in ddpg.
However, I personally do not recommend you to use DQN for multiple outputs. You need to define single output for multiple outputs. Suppose you have two possible actions for grip and two for orientation, you would need to define four actions which cover all the possible situation arising from the two action outputs. Please proceed ahead with DDPG.
Let me know if anything is unclear to you.

@mirraaj What you said about DQN and multiple outputs does apply also to continuous DQN? In this case, I think that there isn't anymore the curse of defining more outputs than actual actions. However, I don't know if continuos DQN are suitable for this type of environments.
I'm not very skilled in the topic so, please correct me if I'm wrong and explain why continuous DQN are discouraged with multiple actions.


bitwarden_rs-vault: 2.17.1 -> 2.18.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/dani-garcia/bw_web_builds/releases.
meta.description for bitwarden_rs-vault is: "Integrates the web vault into bitwarden_rs"
meta.homepage for bitwarden_rs-vault is: "https://github.com/dani-garcia/bw_web_builds"
meta.changelog for bitwarden_rs-vault is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.18.1 with grep in /nix/store/b8jc36mqp3i928pgmxjnpf0c6y4dl5mv-bitwarden_rs-vault-2.18.1

directory tree listing: https://gist.github.com/d9143193f39d7467f30e23e7924434cc

du listing: https://gist.github.com/9327739935cd22cc84655615945d00a3

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
bitwarden_rs-vault

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b8jc36mqp3i928pgmxjnpf0c6y4dl5mv-bitwarden_rs-vault-2.18.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bitwarden_rs-vault https://github.com/r-ryantm/nixpkgs/archive/5868e78876a77b4dd037509ffa13a27e3cf63ea6.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b8jc36mqp3i928pgmxjnpf0c6y4dl5mv-bitwarden_rs-vault-2.18.1
ls -la /nix/store/b8jc36mqp3i928pgmxjnpf0c6y4dl5mv-bitwarden_rs-vault-2.18.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

bitwarden_rs-vault

Maintainer pings
cc @msteen for testing.

2.18.1b is out.


CI: Allow JJB version to be set through vars

The present implementation becomes a bottleneck while upgrading ci-man repos to JJB 6.x since all downstream repos cannot be upgraded at the same time.
Set the default version of JJB version as "5.1.0".
Issue: RELENG-5122

Closed by mistake! Need a review and merge for this!

Reopen the PR

Reopening

Open sesame!


Add support of caching for GHES

Description:
In scope of this pull request we add support of caching for GHES
Related issue:
Add link to the related issue.
Check list:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

LGTM


[BUG]: issue title

Describe the bug
A clear and concise description of what the bug is.
on object ContainerActions_5.btnDateRange
not possible to change HoverColor & HoverFill&Color,  etc.
To Reproduce
Steps to reproduce the behavior:

Go to 'Share Status' - on opening screen
Click on 'Share Status'
Scroll down to 'any your working fom home or OoO'
See error
Select dates move mouse over submit button
Expected behavior
A clear and concise description of what you expected to happen.
Settings on button in container are not changing behaviour
Screenshots
If applicable, add screenshots to help explain your problem.

Interface(please complete the following information):

Browser [e.g. chrome, safari]
Version date[e.g. 2020.04.03]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi @antal-bartus ,
Can you share screenshots of the issue you are facing? I am not understanding from your description.


Bypass is not working on enit.in

Domain
https://enit.in
Link
https://enit.in/QEXQV?#
Version
0.0.0
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
Windows
Anything else?

We do not currently bypass enit.in based on this list, please read https://github.com/FastForwardTeam/FastForward/issues/656 for more details.
Once we have finished with the project, you are free to reopen the issue.


modify JAVA_OPTS parameter with double quotations

What type of PR is this：

[ ] bug

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

Suggestion: modify pr titile to [Refactor]Modify JAVA_OPTS parameter in be.conf with double quotations

run starrocks_admit_test


Onboard transaction.exs test suite

This is the most reliable reproduction of #58. My bet is that once we have all the tests passing here, #58 will be fine, too.
Labeling as bug since these failing tests indicate an underlying bug that will be fixed at the same time the tests are onboarded.

Looks like all except the block on 204 pass when run individually.


AMR Export Weight Changes

AMR has added new lines of text to it's export string which is causing errors trying to import it.
An example:
set 17 2                  high
set 17 4                  high
set 18 -1                 auto
set 18 2                  auto
set 18 4                  auto

I know it's easy to remove those lines pre-import but i would be good to just have SWS ignore them.

fixed in 1.9.2


Depend on specific version of bit-set from github

bit-set upstream has already upgraded bit-vec dependency. Unfortunately crate is in maintenance mode. I have switched dependency to point directly to latest available commit on GitHub.

Cherry picked b4db02d so CI can pass


Feature Request: anonymize ACLs

It would be lovely to have an optional feature that could anonymize Cisco ACL ip/ports/protocols and ACL remarks.
Many of my clients consider ACLs extremely sensitive and I have several clients who use ACL remarks extensively.
This feature should be optional as I suspect doing so might break some things.

Hi @cldeluna - can you say a little more about specific features you'd like to request? E.g., what is a pair of corresponding input and outputs you'd like to see?


Inserted wrong command and I was able to pass the minichallenge

Describe the Issue
Inserted wrong command and I was able to pass the minichallenge.
I can't remember but it was one or two minichallenges after this one.
I had to reset the whole thing bc the next minichallenge made no sense based on the error I had.
Affected Page
database course
Your code
ALTER TABLE characters ADD PRIMARY KEY(more_info_id);

Expected behavior
won't be able to pass the minichallenge bc of the error I got on the postgresql console
Screenshots

it's one or tow minichallenges before this picture, I can't remember
System
windows 10, latest chrome version,
Additional context
this is the code I should have inserted
ALTER TABLE more_info ADD PRIMARY KEY(more_info_id);
No response

I don't think this is a bug @JustLolo.
If you have an issue like this, follow these steps to restart the challenge to what it is supposed to be at the start of the challenge you are on. If you run into other problems, there's quite a few other troubleshooting steps in that post. I would take a look at those to see if anything will help you solve the issue. If nothing there helps, you should create a forum post with the issue you are having and I, or someone else, can help you there. If it's determined to be a bug, we can then create an issue here. Unless you are really convinced that it is in fact a bug, I would go to the forum first.
I'm going to close this because I don't think this is a bug. If anyone thinks I'm wrong, feel free to leave a comment with some more information and we can revisit. Thanks and happy coding 🎉

My explanation wasn't the best bc I had no information about the step I made wrong bc I restart the challenge before doing this post, I created I can't remember if was a key or a table in the wrong way and I was able to pass the minichallenge, bc of this I thought I was ok, but, after one/two or three I have to do an step that depended on the challenge I did wrong, that's why I inserted the corresponded postgresql command, I was able to pass, but I got an error in the console, bc this didn't make sense to me I proceeded to reset the whole thing, and everything took sense after that.
So, what I am trying to say is that the potential error/bug is one, two or three steps back, bc I was able to pass inserting the wrong command, the command was related to the declaration or creation of a key.


Adding views to an existing reconstruction?

Hello @paulinus  I have a reconstruction of Spherical images and I want to add one Pinhole image(same scene captured) to the scene. Do you think that can be achieved?

Hi @happyfrank, spherical and pinhole images can be mixed. You need to run the reconstruction for all of the images together though. You cannot add them a posteriori.


10250 port is not open in Windows RS3 firewall, in azure cni mode

Is this a request for help?:
Help
Is this an ISSUE or FEATURE REQUEST? (choose one):
Issue
What version of acs-engine?:
0.13.0

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
0.13.0
What happened:
Provisioned a kubernetes cluster with networkpolicy:azure. "Kubectl exec -it" does not work, reports could not connect to 10250 port of the agent node from private IP.
I login to the agent node VM and found the 10250 tcp port is blocked by firewall. After adding a rule on that machine, the issue is resolved on that node.
I don't know if the fix is the correct way, but please take a look to help fix the kubectl exec -it hang issue.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:

@saiyan86 Does this sound familiar in your testing w/ RS3?

Besides... I am keeps on getting this warning in "Services" object:
"Error creating load balancer (will retry): error getting LB for service kube-system/kube-dns: Service(kube-system/kube-dns) - Loadbalancer not found"
Maybe I should open a new issue?


Extend config/v1/scheduler crd with customSchedulerImage field

To allow the scheduler operator to set a custom image for the scheduler
in case the default scheduler is not sufficient (e.g. a scheduler framework
built with a custom set of plugins).
/hold

Thank you for working this @ingvagabund - Should we set the cluster state to unsupported in this case?

Thank you for working this @ingvagabund - Should we set the cluster state to unsupported in this case?

Can we do it? Is there an annotation for that? How is it done?

Can we do it? Is there an annotation for that? How is it done?

Not sure about that.

/remove-lifecycle stale


sensor_type_id error with data loaded from local source

I uploaded GPS telemetry data to MoveApps from my local system and have been successfully running various apps with the data.
However, when I added the Track Summary Statistics_move2 app, I got the following error:
Error in [<-:
! unique(sp_data$sensor_type_id) must be a vector, a bare list, a data
frame or a matrix.
Assuming it needs to know which type of sensor the data are from, I added a field named "sensor_type_id" with a value of 653 (for GPS data) to the dataset, but I still get the same error.
Anyone know of a fix  to be able to use the Track Summary Statistics_move2 app? I don't yet have permission to upload the data to MoveBank, so that's currently not an option.
Thanks in advance.

Only GPS, thank you.
Unfortunately, I work for a state agency that hasn't given me permission to
load my data into MoveBank yet, maybe that's the simplest solution.
Brett
Brett Walker
Wildlife Researcher
[image: Colorado Parks and Wildlife Signature Logo]
P<PHONE_NUMBER>  |  C<PHONE_NUMBER>
711 Independent Ave.
Grand Junction, CO 81505
@.***  |  cpw.state.co.us
[image: Facebook icon]
https://urldefense.proofpoint.com/v2/url?u=https-3A__facebook.com_COParksWildlife&d=DwMFaQ&c=sdnEM9SRGFuMt5z5w3AhsPNahmNicq64TgF1JwNR0cs&r=OVUTHMFG1cAdsn7SmfjIYBMGGpiXU3OLM8Xc-8A9rLE&m=tUQ9UarccRQmIW_4ODxygd6E6SUKC_4ZXlywOc2iUbvcZi7GsujuzI3mAKIvNJ41&s=6qkj9f8lohhRXuTia0HOlsm2hH9LlsuGQgY24-zmDHI&e=
[image: X logo]
https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_COParksWildlife&d=DwMFaQ&c=sdnEM9SRGFuMt5z5w3AhsPNahmNicq64TgF1JwNR0cs&r=OVUTHMFG1cAdsn7SmfjIYBMGGpiXU3OLM8Xc-8A9rLE&m=tUQ9UarccRQmIW_4ODxygd6E6SUKC_4ZXlywOc2iUbvcZi7GsujuzI3mAKIvNJ41&s=WBr1zm62pvIVty8OT_RGbKdg_DhPEP_uYUxRYv7LghI&e=
[image: Instagram icon]
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.instagram.com_coparkswildlife_&d=DwMFaQ&c=sdnEM9SRGFuMt5z5w3AhsPNahmNicq64TgF1JwNR0cs&r=OVUTHMFG1cAdsn7SmfjIYBMGGpiXU3OLM8Xc-8A9rLE&m=tUQ9UarccRQmIW_4ODxygd6E6SUKC_4ZXlywOc2iUbvcZi7GsujuzI3mAKIvNJ41&s=VhlvFfRrz4m_GencxZfh8uT1GeGu1TOM0tbYfOSt1EM&e=
[image: YouTube icon]
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.youtube.com_-40ColoradoParksandWildlife&d=DwMFaQ&c=sdnEM9SRGFuMt5z5w3AhsPNahmNicq64TgF1JwNR0cs&r=OVUTHMFG1cAdsn7SmfjIYBMGGpiXU3OLM8Xc-8A9rLE&m=tUQ9UarccRQmIW_4ODxygd6E6SUKC_4ZXlywOc2iUbvcZi7GsujuzI3mAKIvNJ41&s=Z_ivjdT9KkFv1LB7BPl8LofeL9vBoPNgd_eG_0DEkwY&e=
On Thu, Nov 21, 2024 at 2:42 AM Nilanjan Chatterjee <
@.***> wrote:

Hi,
Thanks for the error report. I'll take a look and get back to you.
Do you have multiple sensor types in your data or only GPS?
—
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_nilanjanchatterjee_move-5Fsummary_issues_9-23issuecomment-2D2490587593&d=DwMFaQ&c=sdnEM9SRGFuMt5z5w3AhsPNahmNicq64TgF1JwNR0cs&r=ToNfWWddFtM80l97AW3fxqBHfCkyKd0noSzjL44C_kI&m=x7QPU_h426hsKI3Oaoa8zS-3k8PvjrI3wXOMIcIbTYISjTNFGVgqz4LsRW8y2utm&s=ftkc22d8FoHuURmbpGl91ogvLqP0itKrZPg_TERnsYA&e=,
or unsubscribe
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_A5DYSGWP3DTYLYKO645ZFDD2BWTIRAVCNFSM6AAAAABSFVUZX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJQGU4DONJZGM&d=DwMFaQ&c=sdnEM9SRGFuMt5z5w3AhsPNahmNicq64TgF1JwNR0cs&r=ToNfWWddFtM80l97AW3fxqBHfCkyKd0noSzjL44C_kI&m=x7QPU_h426hsKI3Oaoa8zS-3k8PvjrI3wXOMIcIbTYISjTNFGVgqz4LsRW8y2utm&s=WE1YyWdgMLBpsOMj95Htfo_sm3pnNfNowP178Yruu6o&e=
.
You are receiving this because you authored the thread.Message ID:
@.***>


[Core] Add condition SimilarLikeCondition

Add functionality to get similar documents by a given document id:

[x] Elasticsearch: More Like this Query: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html
[x] Opensearch: Should be similar to Elasticsearch
[x] Meilisearch: Similar: https://www.meilisearch.com/docs/reference/api/similar#get-similar-documents-with-get
[ ] Algolia
[ ] Solr
[ ] RediSearch
[ ] Loupe
[ ] Typesense: May possible with vector query: https://typesense.org/docs/0.25.2/api/vector-search.html#querying-for-similar-documents

For Solr, see https://solr.apache.org/guide/solr/latest/query-guide/morelikethis.html (should be similar to Elasticsearch)

@burki thank you for your help. Added it to the description. If you know others supporting it let me know.

RediSearch might support vector queries similar to Typesense, https://redis.io/blog/rediscover-redis-for-vector-similarity-search/ though I never used ResiSearch myself.

Algolia has https://www.algolia.com/doc/api-reference/api-parameters/similarQuery/
It looks like you have to extract fitting terms for building up similarQuery from a matching result by yourself:
$results = $index->search('', [
  'similarQuery' => 'Comedy Drama Crime McDormand Macy Buscemi Stormare Presnell Coen',
  'filters' => 'year:1991 TO 2001'
]);


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2500

Questions ?
Please refer to the Backport tool documentation


Google Cloud Platform API Dashboard link not found

Actions taken
I followed the instructions until I got to the step "Once you have done this open Resources->Advanced Google services again and click on the link which says "Google Cloud Platform API Dashboard".
Expected behavior
A dialog box appeared, but I found no link labeled Google Cloud Platform API Dashboard. Therefore, no further progress made.
Possible solution
I have no idea.

I also tripped over this step when trying to follow the installation instructions. Simply skipping it and running "test" resulted in an email listing two matching contacts. I also followed the additional step above and enabled the API in the library. test still works.
Is the step still required at all?

I activated the Calender API through here: "Resources->Advanced Google services.
In the popup which will open set "Calendar API" to enabled"
and this Link https://console.cloud.google.com/apis/dashboard.
But it still fails: "Error: Could not find the birthday calendar! Please check that you have enabled it! (Zeile 960, Datei "Code")".
How to connect the new project added here: https://console.cloud.google.com/apis/dashboard with the Google Apps Script?

HI everyone: looks like Google slightly changed the interface, so we are updating the instructions to follow this.
@stephankn The script uses the Calendar API is used to pull additional informations about the contacts if I remember correctly (it's been a while since I last looked at the code), so the script might be able to work even when skipping the API activation step.


Devices

Hi. Can a device instance be a child of another device instance in scenario where a larger device is made up of some sub-devices (hierarchy of devices)? I could not see the ability to link a device to another device in the API. Sensors will be connected to both the parent device and device children.

Dokumentinformasjon
⚠ Ikke rediger denne delen. Den kreves for koblingen docs.microsoft.com ➟ GitHub-problem.

ID: 95664904-5d72-ae8c-1c16-e2b70f108e99
Version Independent ID: f82753e0-f78c-09fd-2138-5ffd5c6ea7c7
Content: Understanding Digital Twins object models and spatial intelligence graph
Content Source: articles/digital-twins/concepts-objectmodel-spatialgraph.md
Service: digital-twins
GitHub Login: @alinamstanciu
Microsoft Alias: alinast

@ssorenes Thank you for your interest in Azure products and services. We are actively investigating and will get back to you soon.

Hi @ssorenes! Thanks for the great question. Presently, the ability to nest devices in the way you mentioned is not supported. That being said, there are a couple of nesting properties that are: the Device Object Model includes subtype, subtypeId, parentDeviceType, and parentDeviceSubtype.

PS - I hope you find this helpful - you can lean more about the Device Object Model here: https://docs.westcentralus.azuresmartspaces.net/management/swagger/ui/index

Hi @ssorenes , the workaround for time being is to create a space object and add the type of "Device" on the SpaceType. Let me know if this works as a temporary solution.

This helped, thanks!


Add idempotent_id to chat and threads services

Would just call it ID rather than idempotent id as we'd just expect all IDs to be idempotent and defined by the caller.

Would just call it ID rather than idempotent id as we'd just expect all IDs to be idempotent and defined by the caller.

I'm not a fan of having the primary ID defined by the user. I've seen this done before and it's caused issues where some users generate IDs which are much shorter or longer than expected.

If you don't want the user to define the ID then I'd imagine an API or client, web or mobile app would sit in front of the service doing that for you. If you want to ensure users of services provide valid IDs then maybe just check that its a uuid and error out otherwise? But I'd still expect the ID to be defined by the caller and be the thing that's idempotent. Feels weird to define an "idempotent_id".

Okay, will amend


Support for other than GH

Is there any thoughts on supporting sites other than GitHub such as GitLab ?

There are probably users, but not sure how many. I am not even sure how many users CLAHub has on github...
Afaik GitLabs api is quite similar to Github, also providing OAuth authentication. (https://docs.gitlab.com/ee/integration/oauth_provider.html and access to users via api https://docs.gitlab.com/ce/api/users.html)
What do you mean with permission mapping? Similar to Github, GitLab has users with repositories and 'organizations' (or maybe they use a different name)
also it has support for (web)hooks https://docs.gitlab.com/ee/web_hooks/web_hooks.html

I'm also interested on this. Note, however, that GitLab can be installed on premises, so it should also support especifying the domain in which GitLab is installed. I think GitLab is the only alternative when installed on premises, hence the interest.

I think GitLab is the only alternative when installed on premises, hence the interest.

There’s a few others as well, e.g. Gogs. But GitLab is probably the most popular and feature-full.


List popular tags on the home page

Acceptance Criteria

[ ] List 10 tags in a sidebar section of the homepage below "Popular" posts
[ ] Only include the top ten tags with the most posts attached to them

Articles from @angela-tran to reference for this task:
https://jekyllrb.com/docs/datafiles/
https://dev.to/heymichellemac/jekyll-how-to-display-a-count-of-posts-per-tag-or-category-3c9m


Support retry per multirabbit connection

This is supposedly supported.
It might yet need documentation to reflect this capability though.
Reference: https://stackoverflow.com/questions/77035681/listener-goes-into-infinite-retries-when-using-multirabbit-connection

Hi @mhewedy, @gabrielamaciac, @berndgoetz, sorry about the delay, tagging you due to the issue you commented on.
Please check here for context on the change of the repository and here about the retry releases.


Complete quoting for parameters in "configure.ac"

I suggest to be more explicit where macro expansion will not be required in the current build configuration script.

Please make a pull request or send the patch.

@stweil
Do you think we need to fix something in the current configure.ac as suggested here? If the answer is 'yes', please send a PR.

PR #335 should fix this issue. I tested my patch like this:
# Save old configure.
mv configure old-configure
# Apply my patch.
...
# Create new configure.
autoconf
# Compare old and new configure. There should be only whitespace changes.
diff -u --ignore-space-change old-configure configure