Update Get-DbaPrivilege.ps1

Added 'log on a service rights' which is used by DBA more frequently

Type of Change

[ ] Bug fix (non-breaking change, fixes # )
[x] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Unit test is included
[ ] Documentation
[ ] Build system

Purpose

Approach

Commands to test

Screenshots

Learning

Thanks for the pull request.
Please close this pull request and open a new one with the development branch as the target.
And please fix the formatting, we have a command for that: Invoke-DbatoolsFormatter.


Refactor convolution functions tests

This PR modifies the deconvolution tests to follow the testing.FunctionTest approach.
This is the first step towards eliminating the flakyness of the convolution related tests.
Merge before #7864

Comments addressed.
Thanks!

Fixes pushed,
Sorry for the long review process and thanks

Thanks
Jenkins, test this please

Jenkins CI test (for commit af2f9a6e9be1d340723dfbf09e1ce8f229fa9a6c, target branch master) failed with status FAILURE.

LGTM


object: fix Change.Files() method behavior (fix #317)

If 'from' or 'to' are tree entries with non supported modes (directory, submodule or symbolic link), Files() method will return nil.
Added a test checking this using modules fixture.

Please, merge https://github.com/src-d/go-git-fixtures/pull/4 first.


cant change nzShowSizeChanger postfix

What problem does this feature solve?
in our project ng-zorro 8.5.2 we don't need postfix in nzShowSizeChanger, like 5/page 10/page etc/ . Need to make custom nzShowSizeChanger postfix or dont need at all any postfix
What does the proposed API look like?
[nzShowSizeChangerPostfix]="null || ''anypostfix""

The solution for ng-zorro-antd is to open the onPageSizeChange function in the pagination component, so users can call the method manually . #3861


Provisioning with a Service Principal.

Please provide us with the following information:

I provisioned with a service principal because my environment does not allow browser authentication. I changed main.bicep because of some errors, is there a problem with this change? Search form the app seems to work. Thanks in advance.
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Created the service principal.
az ad sp create-for-rbac --name DemoServicePrincipalOwner \
  --role Owner \
  --scopes /subscriptions/<mysubscription_id>

login
azd auth login --client-id $APP_ID --tenant-id $TENANT_ID --client-secret $PASSWORD

provision
azd provision

  (✓) Done: Resource group: xxxxx
  (✓) Done: Storage account: xxxxx
  (✓) Done: Search service: xxxxx
  (✓) Done: App Service plan: xxxxx
  (✓) Done: Azure OpenAI: xxxxx
  (✓) Done: Form recognizer: xxxxx
  (✓) Done: App Service: xxxxx

ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:

Deployment Error Details:
UnmatchedPrincipalType: The PrincipalId 'xxxxx' has type 'ServicePrincipal' , which is different from specified PrinciaplType 'User'.

Changed main.bicep as follows:
module storageRoleUser 'core/security/role.bicep' = {
  scope: storageResourceGroup
  name: 'storage-role-user'
  params: {
    principalId: principalId
    roleDefinitionId: 'xxxxx'
    // principalType: 'User'
    principalType: 'ServicePrincipal'
  }
}

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Ubuntu 20.04

azd version?

run azd version and copy paste here.
azd version 1.4.5

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

@pamelafox - Prob good idea to add a param to main.bicep that allows people to specify principalId type

Yep, seems like a good idea, AZD_USER_TYPE or some such? I assume we can't detect it programmatically from the principalId.

AZURE_PRINCIPAL_TYPE

@pamelafox @jongio Is this limited to this repo or is there a broader AZD issue that needs to be addressed?

I think this particular issue can be resolved within this repo, though I haven't given it a go myself to be 100% certain.

Any solution for the issue? I run azd up in github workflow meet the same issue. Any solution instead of change the main.bicep?


setup project

Codecov Report

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

@@            Coverage Diff             @@
##             develop       #1   +/-   ##
==========================================
  Coverage           ?   80.00%
==========================================
  Files              ?        4
  Lines              ?       10
  Branches           ?        0
==========================================
  Hits               ?        8
  Misses             ?        2
  Partials           ?        0

Continue to review full report at Codecov.

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


Examples urls are not working

It seems the application handling the examples is not working.

Can't login into the admin
Many of the urls through a Django 404 error

Thanks for reporting, fixed.
Also fixed rtfd, was building docs from the wrong branch ^^


Dependencies and swagger page content are updated

Coverage remained the same at 75.627% when pulling aa9cff31f7e63f113aaa89186e63c82e6857c861 on rajaram5:develop into fa1e99dc632826450d501ef98c0882448e303a1d on DTL-FAIRData:develop.


Make a central module that handles accounts-related notifications

For login, logout, signup and forget password

Commit 6839b65.

Created a module that contains notification messages
Made functions that support custom notification messages


Run user's switch command after fork setup

fixes warning that pops up no matter what telling user fork management is set up incorrectly
prints the full command name no matter what: emu device battery, etc. in self.print_commands
runs the user's fork switch command after setup
adds a newline only when flags are present

bump install.sh version and changelog


change version files over to 5.3.1

This PR will update all the version files.  Another PR will create the new doc folder for 5.3.1.

@tst-rwildes should this PR create the files under docs/geedocs for 5.3.1?

@tst-rwildes should this PR create the files under docs/geedocs for 5.3.1?

@tst-blaird I wanted to do a separate PR for that as the huge number of new files it adds makes seeing these changes hard in a review.

@tst-rwildes should this PR create the files under docs/geedocs for 5.3.1?

@tst-blaird I wanted to do a separate PR for that as the huge number of new files it adds makes seeing these changes hard in a review.

Ok, that makes sense.  Changes look good and I couldn't find anything else that needs a version update.  Approving.


allow options to be placed in custom groups

Allow options to be placed in groups under headings other than the default Options: heading, like so:
var yargs = require('yargs')(['--help'])
  .help('help')
  .group('batman', 'Heroes:')
  .describe('batman', "world's greatest detective")
  .argv

Options:
      --help  Show help                                                    [boolean]

Heroes:
  --batman  world's greatest detective

Some Notes
This is a first pass at tackling #274, which proposes a solution that should help address several aggregate issues: #152, #260, #261
I was originally trying out @nexdrew's suggestion in #274 of tacking parameters in the order group, options as I started writing tests, this felt too weird to me, as it deviated from other options -- it actually made me think we should clean up any other options that deviate in<EMAIL_ADDRESS>specifically .version().

Reviewers: @ammeep, @nexdrew

Looks like the same option can possibly end up in multiple groups, like so:
var argv = require('../yargs')
  .group('batman', 'Heroes:')
  .group('batman', 'Villains:')
  .help('help').wrap(null)
  .argv

Options:
  --help  Show help  [boolean]

Heroes:
  --batman

Villains:
  --batman

Is this intentional? I mean, some might think it a bug while others might think it a feature. :smile_cat:

Also, it looks like custom groups are displayed in the order of declaration (which is good), but there doesn't seem to be a way to change where the default 'Options:' group is displayed (it's always displayed before custom groups).
Could we either (a) allow some explicit way to define the desired order of groups, or (2) just display the default group last instead of first?

For the (b) option above - displaying default group last instead of first - see commit dc350f2 against the same branch on my fork.

Looks like the same option can possibly end up in multiple groups, like so:

@nexdrew this had crossed my mind, and what I came to was that it's a reasonable feature -- I can imagine a world where someone is using multiple headers to group arguments, and an argument might reasonably fall into two groups -- what do you think? I don't feel super strongly.
Other than this, I think I've addressed your other concerns so far -- how are things working for you?

I'm ok with leaving the multiple groups functionality as it is.
Only a couple minor tweaks left that I'd like to make, I'll go ahead and add another commit to this branch. After that, feel free to review and merge. :+1:

I'm done. I vote :shipit:. Nice work!

@ammeep, @Cellule, @timmckenzie, @megawac, this pull introduces grouping functionality to yargs.
Mind giving it a spin and letting me know if it would solve the problems you brought up in #152, #274, and #260?

:+1: Awesome!


如何实现消息在生产环境和灰度环境的隔离

How to achieve message isolation in production and grayscale environments

Different command will have their totally own different topology, so it is hard to give a answer to you since you only provide so little input.
While you can try this:

use two totolly different environments with different rocketmq broker cluster, when you need to send to gray env, register the grays' name server, when you needs prod env, register the prov's.
use the some rocketmq broker clusters, while give a env flag for every topics like: prod_xxxx, gray_xxx, and your client uses the topic accordingly.

Different command will have their totally own different topology, so it is hard to give a answer to you since you only provide so little input.
While you can try this:

use two totolly different environments with different rocketmq broker cluster, when you need to send to gray env, register the grays' name server, when you needs prod env, register the prov's.
use the some rocketmq broker clusters, while give a env flag for every topics like: prod_xxxx, gray_xxx, and your client uses the topic accordingly.


The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #251   +/-   ##
=======================================
  Coverage   70.67%   70.67%
=======================================
  Files          41       41
  Lines        7383     7384    +1
=======================================
+ Hits         5218     5219    +1
  Misses       1657     1657
  Partials      508      508

Impacted Files
Coverage Δ

base/csv.go
100.00% <100.00%> (ø)

master/rest.go
56.02% <100.00%> (ø)

Continue to review full report at Codecov.

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


feat: module isolation

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[x] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch, not the main branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[x] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
new features

add custom tree shake transformer for js-sdsl
add test build for isolated module

module isolation
"module isolation" is a solution that allows you to build only the type you want separately.
To implement this, I created a tree shake transformer and you can find it in the "tsTreeshaker.ts" file.
status

Build Pipeline not yet completed. This PR can be closed according to your preference, and the build pipeline also needs to be done as you want, so we need to talk first.

Currently, I succeeded in build only the single container type separately, and you can check it with "npx gulp isolate".

A monorepo deployment is required to complete this build pipeline. I don't think this is something I can do, so please check it.

I think the package should be published independently on npm under the following name: js-sdsl/stack, js-sdsl/queue, js-sdsl/priority-queue, js-sdsl/vector, js-sdsl/link-list, js-sdsl/deque, js-sdsl/ordered-set, js-sdsl/ordered-map, js-sdsl/hash-set, js-sdsl/hash-map

The problem here is that each container has a dependency on each other. Publishing multiple containers separately increases the number of duplicate codes between each package. So I think we need to decide the section that divides independently.

Coverage remained the same at 100.0% when pulling 9b6fe6f657f188588a6bc1adaf0860ebd6e52307 on noname0310:feat/module-isolation into 2209d5d2505796c810325cfbc6cb1396abd772d4 on js-sdsl:dev.

The problem here is that each container has a dependency on each other. Publishing multiple containers separately increases the number of duplicate codes between each package. So I think we need to decide the section that divides independently.

What's the problem?
I think it is reasonable to have duplicate code between multiple packages, if you want to use multiple containers you can just install 'js-sdsl'.
Maybe we can learn how Lodash or other package does it.

The problem here is that each container has a dependency on each other. Publishing multiple containers separately increases the number of duplicate codes between each package. So I think we need to decide the section that divides independently.

What's the problem?
I think it is reasonable to have duplicate code between multiple packages, if you want to use multiple containers you can just install 'js-sdsl'.
Maybe we can learn how Lodash or other package does it.

If library A uses js-sdsl/ordered-map and library B uses js-sdsl/ordered-set, code duplication cannot be avoided for projects using those two libraries

Is there anything wrong with this?

If library A uses js-sdsl/ordered-map and library B uses js-sdsl/ordered-set, code duplication cannot be avoided for projects using those two libraries

Is there anything wrong with this?

There is a problem with code duplication
I think the best way is to divide each container into monorepo and connect each other with peer dependencies.
And in the js-sdsl package, you can import all the containers to peer-dependencies and export them

in a nutshell It would be convenient for users to divide into files and publish them to npm.
However, if this happens, it will be quite difficult to maintain.
First of all, there are two ways I think.

You can publish each containers through ts tree shaker (easy to maintain, has code duplication ploblem)
or you can just divide project into files and publish each of them to npm

Could we provide a plugin to transform require('js-sdsl/xxx') to require('js-sdsl/dist/xxx')?

Could we provide a plugin to transform require('js-sdsl/xxx') to require('js-sdsl/dist/xxx')?

yes it can, but there will be many users who do not use Transformer because it is cumbersome to set up.

Could we provide a plugin to transform require('js-sdsl/xxx') to require('js-sdsl/dist/xxx')?

yes it can, but there will be many users who do not use Transformer because it is cumbersome to set up.

How about this one: https://www.npmjs.com/package/babel-plugin-import.
Our gzip size is only 9KB, is unpacking really necessary?
For users who really need this, I believe that configuration is not a problem.
This library relies heavily on OOP design principles so divide project into files is not easy to implement.

Could we provide a plugin to transform require('js-sdsl/xxx') to require('js-sdsl/dist/xxx')?

yes it can, but there will be many users who do not use Transformer because it is cumbersome to set up.

How about this one: https://www.npmjs.com/package/babel-plugin-import.
Our gzip size is only 9KB, is unpacking really necessary?
For users who really need this, I believe that configuration is not a problem.
This library relies heavily on OOP design principles so divide project into files is not easy to implement.

Which build environment are you assuming? I didn't understand

Maybe you can show the packing size for module isolation.
If it's small enough, I don't think you need to worry about code duplication.
Second, we can provide a plugin for users who just want to install 'js-sdsl' but not 'js-sdsl/xxx' to do transform.

The new build pipeline I just created is tree shaking for cjs and esm builds. But this is not what you want at the time, but tree shaking for umd build, right?
And do I need to additionally support Transformers who change the import route neatly?

OK, I just didn't make it clear.
First, for the user want to use single library, we just need to publish independently and user can run yarn install js-sdsl/xxx to install it.
Second, for the user want to use whole library, just run yarn install js-sdsl.
And then, Situation that need to be discussed is that when user want to use mutiple but not whole library, we give some choices as follow:

For es module, can just use tree-shaking. (easy case)
Install js-sdsl and use babel-plugin-import(or other plugin) to transform path from import { xxx } from 'js-sdsl' to import xxx from 'js-sdsl/dist/cjs/xxx' or import xxx from 'js-sdsl/dist/esm/xxx'.
Install js-sdsl/a and js-sdsl/b and so on.

By the last way, we need to analyze the size of the packet.
For example:
I run yarn build isolate and delete .d.ts. You can see the size of deque's folder size:

Just 34KB.
I think this size is acceptable for most users and this size can even be reduced.
If the user cannot accept code duplication. They can choose the other two ways.
What do you think about it? @noname0310

I understand. Then we can use the build pipeline on this PR.
If you can give up the readability of the source file, I can apply more compression. Please check if I can do this part, too

If you can give up the readability of the source file, I can apply more compression. Please check if I can do this part, too

I think users can do this part themselves if they want. So it's unnecessary.

So I'm going to complete an isolate build pipeline for all the containers Please let me know if there are any changes after that

So I'm going to complete an isolate build pipeline for all the containers Please let me know if there are any changes after that

There won't be any big changes in the near future.

I have completed all the builds for all the containers
it can be run with npx gulp isolate Check it out

I finished refactoring now, and have confirmed that all the tasks are functioning normally

it works well. please check it.

Thanks!
This is going to be a big change again, so I'll check carefully, it means code reviews will be slow.

Thanks!
This is going to be a big change again, so I'll check carefully, it means code review will be slow.

I agree.

I think we should talk about how to do the publish and version management about isolate.
Do you have any idea?

I think we need a cli to publish all packages, it's relatively simple.
But how can we update the version?
All the package have their own version.

I think we should talk about how to do the publish and version management about isolate.
Do you have any idea?

I'm going to write an automation script for publishing
In the case of the package version, automation seems impossible.
All I can think of is just allowing the package version to be managed in the isolatebuild.json file.

I can write script that:
If the current version is higher than the version of the existing package uploaded to npm then publish it
However, in order to implement and test this, the package must be uploaded to npm first.
can you upload an empty file and make a package on npm?

@ZLY201 I can write script that: If the current version is higher than the version of the existing package uploaded to npm then publish it
However, in order to implement and test this, the package must be uploaded to npm first. can you upload an empty file and make a package on npm?

Maybe mange package version with isolatebuild.json?

Don't worry, I think we still have a lot things should discuss.

@ZLY201
I created an automatic publishing script. You can run it with this command:
npx ts-node tools/publishIsolate.ts
This script is not working properly yet. For this script to work, you must first manually upload the package to npm at least once.

@ZLY201 I created an automatic publishing script. You can run it with this command: npx ts-node tools/publishIsolate.ts
This script is not working properly yet. For this script to work, you must first manually upload the package to npm at least once.

Thanks! I'll check it later.

Could not find a declaration file for module 'delete-empty'. '/Users/yaozilong.msy/code/myProject/js-sdsl/node_modules/delete-empty/index.js' implicitly has an 'any' type.

Please install @types/delete-empty.

I looked at all the code and they all look fine, but I have a question, could you tell me what is the difference between adding tsTreeshaker and without tsTreeshaker?

I looked at all the code and they all look fine, but I have a question, could you tell me what is the difference between adding tsTreeshaker and without tsTreeshaker?

Isolate build is not possible without tsTreeshaker. tsTreeshaker allows you to create a dependency graph on a file-by-file basis and then detect and remove unused files through bfs.

I looked at all the code and they all look fine, but I have a question, could you tell me what is the difference between adding tsTreeshaker and without tsTreeshaker?

Isolate build is not possible without tsTreeshaker. tsTreeshaker allows you to create a dependency graph on a file-by-file basis and then detect and remove unused files through bfs.

Why not run command like tsc src/xxxContainer/xxx.ts with rollup?

I looked at all the code and they all look fine, but I have a question, could you tell me what is the difference between adding tsTreeshaker and without tsTreeshaker?

Isolate build is not possible without tsTreeshaker. tsTreeshaker allows you to create a dependency graph on a file-by-file basis and then detect and remove unused files through bfs.

Why not run command like tsc src/xxxContainer/xxx.ts with rollup?

rollup merges sources into single files
In general, we don't do bundling in esm or cjs builds

Why your pre-commit didn't take effect?

Why your pre-commit didn't take effect?

Actually, the pre-commit didn't work on Windows, so I've been running the lint before commit

Why your pre-commit didn't take effect?

Actually, the pre-commit didn't work on Windows, so I've been running the lint before commit
There is no problem because all the commits I am doing now will be squashed

So I set the default bash of vscode on my windows computer to git bash.
I mention it only as an aside.

Nice work!

Tree shaking doesn't take effect in dev branch. Please help to check. @noname0310

Tree shaking doesn't take effect in dev branch. Please help to check. @noname0310

I don't know what's wrong with the picture you captured

Sorry, I got it wrong. :


Set Rendering Mode to Compatability

This will allow users to open the test project even when the computer they're using does not run Vulkan.

Hey @mechPenSketch, thanks a lot for this PR. I'm sort of puzzled though, because when you install this through the asset library it should not really change any project settings. Could you tell me a bit more how you opened the test project for this setting to be a problem?

By default, the renderer setting is set to Forward+ and not Compatibility. This is probably why you don't find it obvious; there has to be a change in the settings.
Before changing the renderer, when I tried to open the project, I get the following message:

This happens to my computer because its GPU can't run Vulkan. I've found a way to edit project.godot to set the renderer to Compatibility, however.

I see, so this is mainly an issue if you checkout the project via GitHub instead of using the asset library. Thank you for bringing this up and providing a fix for it!


MatchesJsonPathPattern .equals method ignores pattern expression

Version 2.24.0
The .equals/hashcode methods for MatchesJsonPathPattern are inherited from StringValuePattern, which simply checks that 'expectedValue' is the same. This ignores the value of 'valuePattern' in PathPattern, which can result in a Pattern that matches in a completely different Json body.
I don't know if this has internal consequences for how Wiremock stores mappings, but it causes me problems because I'm storing the StubMappings in order to verify them later, and I'm expecting to be able to put them in datastructures that distinguish them based on .equals and this isn't working :-(

Hmmm...yeah, that sounds like it could be improved.
Please could you supply a specific example of where this is causing you an issue i.e. a pair of stub mappings that ought to be distinct but aren't?

Sure. I'd hope this would pass:
`
RequestPattern request1 = post("/myendpoint")
.withRequestBody(matchingJsonPath("$.LinkageDetails.AccountId", equalTo("1000")))
.build().getRequest();
RequestPattern request2 = post("/myendpoint")
.withRequestBody(matchingJsonPath("$.LinkageDetails.AccountId", equalTo("1001")))
.build().getRequest();
assertFalse(request1.equals(request2));
`

To be clearer: I'm storing the RequestPatterns of the mappings I add in order to be able to verify them later. I don't know if it breaks internally because obviously Wiremock has a unique id on each mapping, but it would certainly be useful for me if these objects had a content-faithful .equals method!

Hey, thanks for fixing - I only just saw this!


ACM-12079: Additional content and conditional added to import cluster default data

Regarding: ACM-12079
Before:

After:

/lgtm

/cherrypick release-2.11


[error message feedback] provide feedback for DocsetDeletedInDHS

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
Problem:
What's wrong with the error message? For example,

Is error message clear and actionable?
Is there a documentation to provide more information?
If there is a documentation, is it relavent and helpful?
Is line number correct?
etc.

Log code info
(This is auto filled, no need to modify)

Severity
Type
Code
Category
File
Message
Source
Line
Time

Warning
User
DocsetDeletedInDHS

Docset connected-environment in repository 0958ce8d-dab2-a371-12d2-9b53956be31b is deleted in DHS. Please reprovision that to publish or delete the corresponding docset configuration in .openpublishing.publish.config.json file
LoadPublishConfig

12/17/2018 22:27:38

Link to report
(This is auto filled, no need to modify)
report url

@mikekinsman This is the warning from the OPS build system after removing the docset.

Some issues here: It's not clear what the action to address this is.  What is the DHS ? This occurred during the process of deleting a docset.  It doesn't appear that there is a documented process for this.  @mikekinsman did the first part, which was to de-publish the docset.  Then, builds failed in the repo for other docsets.  We then removed the entries from the .openpublishing.publish.json file and removed the folder for the docset and checked that into the master branch.  That unblocked builds, but still we get this warning.  I am now trying to merge these changes into the live branch.

@ghogen thanks for getting this logged and tracked.  I think @herohua or @Khairunj  or @cillroy might know who would know what's going on behind the scenes with OPS and DHS when we delete a docset.    Also I believe DHS is "Document Hosting Service" which is a system that is downstream from OPS turning your Markdown into HTML, but I could be wrong.

@mikekinsman I was thinking Homeland Security myself. :)

@ghogen, hah :)  FYI @Khairunj escalated to Ying and a few others in china over email.  We'll see what they come back with.


logrotate requires a syslog user

L7 of /etc/logrotate.conf configures syslog to be the user to rotate logs. There is no syslog user so this is failing.
I'm willing to open a PR to fix this if we can decide the best way forward. Changing the user to root works, but is probably not ideal.

cc @zhouhaibing089

The /etc/logrotate.conf is produced by base image ubuntu:16.04:
$ docker run -it ubuntu:16.04 bash
$ apt-get update && apt-get install logrotate
$ cat /etc/logrotate.conf
# see "man logrotate" for details
# rotate log files weekly
weekly

# use the syslog group by default, since this is the owning group
# of /var/log/syslog.
su root syslog

# keep 4 weeks worth of backlogs
rotate 4

# create new (empty) log files after rotating old ones
create

# uncomment this if you want your log files compressed
#compress

# packages drop log rotation information into this directory
include /etc/logrotate.d

# no packages own wtmp, or btmp -- we'll rotate them here
/var/log/wtmp {
    missingok
    monthly
    create 0664 root utmp
    rotate 1
}

/var/log/btmp {
    missingok
    monthly
    create 0660 root utmp
    rotate 1
}

# system-specific logs may be configured here

Few more:
root@bd704052944d:/# apt-get install syslog-ng-core
root@bd704052944d:/# id syslog
id: 'syslog': no such user

While it is fine on ubuntu:14.04, refer this commit for base image change: https://github.com/phusion/baseimage-docker/commit/e436d1c4af16a5e9590ae4e48e5105f1db787e7f
$ docker run -it ubuntu:14.04 bash
root@aa543e8da7e3:/# id syslog
uid=101(syslog) gid=104(syslog) groups=104(syslog),4(adm)

As far as I know, ubuntu:16.04 already migrated to use systemd, so I guess that's the reason why no syslog user/group any more..

systemd won't work for sure because the whole init stack is replaced. just like upstart were replaced in the previous version.
syslog group is present on a vanilla 16.04 system though. Not sure why it wasn't created in phusion/base_image

In the meantime i'm using the following in my Dockerfile
RUN sed -i 's/^su root syslog/su root adm/' /etc/logrotate.conf

I'm trying to understand this bug and fix it.
Two questions:

But even in the unfixed form, it seems to work fine. If I run
logrotate -d /etc/logrotate.d/syslog-ng it does the rotations for me (can test with --force). The new files get root adm by default.

I don't understand how does logrotate work at all. It should be a service, which is run by runit, yet in baseimage it is not a service. Why would it run?

I don't understand how does logrotate work at all. It should be a service, which is run by runit, yet in baseimage it is not a service. Why would it run?

It's being executed by cron, which is present in the baseimage as a runit service.

@neris probably it's via /etc/crontab -> run-parts /etc/cron.daily, so I see it.
Now the actual problem, can you tell me how can I reproduce it? As I said even with root syslog it seems to work for me, although I haven't tried it via run-parts.

OK, I was able to reproduce it via run-parts -v /etc/cron.daily/ and I can confirm that
sed -i 's/^su root syslog/su root adm/' /etc/logrotate.conf

Does indeed fix it.

I started making an updated fork of this project, containing Ubuntu 16.04 fixes, including this one. Have a look here:
https://github.com/hyperknot/baseimage16

Created an Ubuntu bug, should be also fixed upstream:
https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1644996

Fixed by https://github.com/phusion/baseimage-docker/commit/fdda2d42bfc3eb62e6a3930e8e0ecdca8c06ed55


⚠ ClamAV has degraded performance

In e03f632, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 72 ms

Resolved: ClamAV performance has improved in 0293955.


Issues accessing the postgres database

Creating this issue to extend this issue.
I've updated the cvat_db image definition to include exposing the ports:
    container_name: cvat_db
    image: postgres:10-alpine
    networks:
      default:
        aliases:
          - db
    restart: always
    environment:
      POSTGRES_USER: root
      POSTGRES_DB: cvat
    volumes:
      - cvat_db:/var/lib/postgresql/data
    ports:
      - "5432:5432"

However when connecting to the database there are no tables defined and nothing is present.
I know that the database is filled with content as there are tasks, users, and annotations in the ui, but I seem to have no ability to access the underlying database objects.
I'm not attempting to get to the tasks/annotations via this method, I'm interested in seeing user information/login times and their ip addresses when they connected and would like to interrogate the admin tables, I am assuming that PostgreSQL is the database behind that.
I've rebuilt and forced recreate of the docker-compose app but nothing is visible.
I've been able to connect my sql client (DBeaver) to the database (and have had to use root as the username which makes me believe that I am connecting to the data) but I cannot see anything there.

@Kieran-Bacon Hi, did you solve the issue? I think it's not a CVAT issue, I'll close it, but don't hesitate to reopen the issue if you still have questions(or ask on gitter https://gitter.im/opencv-cvat).

Hello @azhavoro , I installed postgree on my local pc, and also configured port in docker.yml file, but how do i connect to it now.

What is the default password for this postgres user (root), 'postgres' is not working for me.


Fix existing: file renaming (and more things that spin out of settings file path parsing)

Towards #2529, fixes existing behavior for renaming files and writes 3 electron playwright tests to confirm the behavioar:

Renaming a file should navigate to the new route (it is not possible currently to rename a file in the file tree without being on the route for it)
Renaming a folder which you are not in should not navigate, but rename the folder only
Renaming a folder which is an ancestor of the current file should navigate to the new path

As a part of this, I talked with @lf94 and figured out how to fit the spirit of his fixes for the settings-related types in wasm.ts while returning the business logic to how it worked before the electron migration began. We pass around a not-yet-made-frontend-friendly Configuration type object of the settings between the desktop- and WASM-side functions, and only at the last minute do we convert to a settings payload. I don't fully understand this system or how to make it less convoluted yet, but this returns it to how it worked before.
As a part of this, I was able to revert one of the changes https://github.com/KittyCAD/modeling-app/pull/3564, which helpfully patched up some fallback behavior that was not present before this PR but should no longer be necessary. @iterion  please let me know if you see Windows behavior break as a part of this removal, but I expect this will actually let you rename files on Windows when combined with your fixes there.
Also removes the re-re-re-reintroduced double execution caused by this sneaky little line in the fileLoader it feels like we've reintroduced many times. And gets the "Building scene..." behavior back somehow. It really gets things humming I think.

https://github.com/KittyCAD/modeling-app/pull/3584/files#diff-253723347ac27280947c36832c2e919be97e8e463bfce8a4fda7aa78ad13985aL573-L579
This is probably the most important change in the PR; almost everything else spins out of this @Irev-Dev.
The initial electron migration changes actually changed the business logic of these functions to have a fully-resolved settings object made by each of them, so that the types could be more truthful as the comment mentions. But that had material impact on business logic around resolving settings and paths and whatnot. So instead I made the types no longer lie by using a utility type (DeepPartial), but kept the business logic as it was before.

i want "building scene" to die in a fire tho :)

Also one thing just to mention I worry these playwright tests just test the file pane shows/doesnt show certain files and doesnt verify like actual disk shit, i think if we added xstate tests for file manager that did test disk shit i'd feel a lot better


Extremely strange bug

Hi, first of all let me express my gratitude for the existence of this library, together with the blaze-html one. I've used them for some time already, with no problems.
Until today.
I get a very strange bug, using functions that I have already used before, and i cannot understand why this happens.
I'm trying to draw a sad face with the library, and this works:
sadFace :: Opacity -> Svg
sadFace opa = stdSvg opa $ g $ do
    -- frame
    faceBorder
    -- leftEye
    -- rightEye
    -- eyeBrows
    -- mouth
  where
    -------------------------
    faceCenterX = d/2
    faceCenterY = d/2
    faceRadius  = 0.47 * d
    faceBorderW = 0.06 * d
    faceColor   = "#fff"
    faceBorderC = "#000"
    faceBorder = circle
      ! A.cx     .: faceCenterX
      ! A.cy     .: faceCenterY
      ! A.r      .: faceRadius
      ! A.fill      faceColor
      ! A.stroke    faceBorderC
      ! A.strokeWidth .: faceBorderW

So, for example, when i call renderSvg from the Text.Blaze.Svg.Renderer.Pretty i get
renderSvg $ sadFace $ fromString "1.0"
"<svg opacity=\"1.0\" width=\"500.0px\" height=\"500.0px\" viewBox=\"0 0 500.0px 500.0px\" preserveAspectRatio=\"xMinYMin meet\">\n    <g>\n        <circle cx=\"250.0px\" cy=\"250.0px\" r=\"235.0px\" fill=\"#fff\" stroke=\"#000\" stroke-width=\"30.0px\" />\n    </g>\n</svg>\n"

But as soon as i extend the code for the left eye, like this:
sadFace :: Opacity -> Svg
sadFace opa = stdSvg opa $ g $ do
    -- frame
    faceBorder
    leftEye
    -- rightEye
    -- eyeBrows
    -- mouth
  where
    -------------------------
    faceCenterX = d/2
    faceCenterY = d/2
    faceRadius  = 0.47 * d
    faceBorderW = 0.06 * d
    faceColor   = "#fff"
    faceBorderC = "#000"
    faceBorder = circle
      ! A.cx     .: faceCenterX
      ! A.cy     .: faceCenterY
      ! A.r      .: faceRadius
      ! A.fill      faceColor
      ! A.stroke    faceBorderC
      ! A.strokeWidth .: faceBorderW
    -------------------------
    (a1,a2) = (0.22 * d , 0.45 * d)
    (b1,b2) = (0.28 * d , b2      )
    (c1,c2) = (0.42 * d , b2      )
    (d1,d2) = (0.48 * d , b2      )
    r1 = (c1 - b1) / 2
    r2 = (d1 - a1) / 2
    leftEye = path ! A.d leftEyePath
    leftEyePath = mkPath $ do
      m a1 a2
      l b1 b2
      -- aa r1 r1 0 True True c1 c2
      -- l d1 d2
      -- aa r2 r2 0 True True a1 a2
      z

the terminal hooks up:
Pretty Data.String> renderSvg $ sadFace $ fromString "1.0"
"<svg opacity=\"1.0\" width=\"500.0px\" height=\"500.0px\" viewBox=\"0 0 500.0px 500.0px\" preserveAspectRatio=\"xMinYMin meet\">\n    <g>\n        <circle cx=\"250.0px\" cy=\"250.0px\" r=\"235.0px\" fill=\"#fff\" stroke=\"#000\" stroke-width=\"30.0px\" />\n        <path d=\"M 110.0,225.0 L 140.0,^CInterrupted.

It does work correctly with the following lines:
    leftEyePath = mkPath $ do
      m a1 a2
      -- l b1 b2
      -- aa r1 r1 0 True True c1 c2
      -- l d1 d2
      aa r2 r2 0 True True a1 a2
      z

Or if i comment all the lines of the left eye path except the first and the last (the m and the z ones)

Some functions i use, in case it's relevant:

infixl 8 !
a ! b = a S.! b

infixl 9 .:
(.:) :: (S.AttributeValue -> S.Attribute ) -> Float -> S.Attribute
f .: x = f $ toVal x

--------------------------------------------------------------------------------

toVal :: Float -> S.AttributeValue
toVal x = S.toValue x <> "px"

d :: Float
d = 500

dim :: S.AttributeValue
dim = toVal d

--------------------------------------------------------------------------------

type Opacity = S.AttributeValue

stdSvg :: Opacity -> S.Svg -> S.Svg
stdSvg opa = S.svg
  ! A.opacity opa   -- Ej: "0.8"
  ! A.width dim
  ! A.height dim
  !  A.preserveaspectratio "xMinYMin meet"

In case you haven't found it already, the problem is this line:
    (b1,b2) = (0.28 * d , b2      )

You effectively define b2 as b2: a circular definition which never produces a value for b2.
When I try to run this code, I get <<loop>>, which tells me a feature called blackholing encountered and caught an expression that cannot produce a value. I wonder if you got the same message, or why you didn't (if not).

Thanks, i completely missed that out.
Also i was not getting any error, just a frozen program


[wip] Fix the mutex inside FileWatcher to make it reentrant + Fix unit test.

Made FileWatcher mutex less restrictive, so you can now have a FileWatch inside a FileWatch without the internal mutex waiting for itself to unlock.

Need the modern cmake.

Need the modern cmake.

Modern CMake has arrived ;)

This is [wip] - what needs to be done to finish it?

This is [wip] - what needs to be done to finish it?

Can't remember, I've reread it and it looks fine. Maybe check that the test passes on your computer.

The tests pass on my arch desktop. I don't feel like I'm in a position to review this though


Jenkins token auth

Changes to handle Cloudbees Jenkins Ops Center username/token based auth.
Added more build collector item clean up method: Delete build collector items for jenkins instances that are moved/no longer configured.

these changes didnt break any unit tests?


Deep freeze only strings, arrays and hashes

Freezing a class prevents it from being modified at all, which can
happen in unit tests with mocha or rspec-expections.
Calling a function with String as an argument will freeze the entire
class and prevent allow_any_instance_of(String)... type expectations
from adding their hooks to the class.
e.g. stdlib:
https://github.com/puppetlabs/puppetlabs-stdlib/blob/00c881d/spec/functions/is_a_spec.rb#L18
https://github.com/puppetlabs/puppetlabs-stdlib/blob/00c881d/spec/functions/pw_hash_spec.rb#L57
This whitelists strings, arrays and hashes as safe classes to freeze
when testing functions, others are left thawed to prevent side effects.
Deep freezing is used on arrays/hashes to match Puppet's behaviour of
freezing facts.

Alternative to #446 with a whitelisted set of classes instead of blacklisting Class specifically. This is closer to Puppet's implementation at https://github.com/puppetlabs/puppet/blob/master/lib/puppet/parser/scope.rb#L775, per the discussion on #442.

Coverage increased (+0.04%) to 92.025% when pulling 06d593fe6234dd83001bfffe6a9e3d6239acb556 on domcleal:no-freeze-classes-whitelist into b381c0ee8831ce7c0f849074527a5017eef83ce3 on rodjek:master.

Coverage increased (+0.04%) to 92.021% when pulling 351371b7f19ac97f4ed85cf2641890d489216da0 on domcleal:no-freeze-classes-whitelist into b381c0ee8831ce7c0f849074527a5017eef83ce3 on rodjek:master.


babel-preset-react-app with babel-preset-env

I see that creat-react-app includes the babel-preset-react-app plugin for babel. Can I use this plugin with babel-preset-env or is that not necessary? I am not really sure what babel-preset-react-app includes.

https://github.com/facebook/create-react-app/blob/v1.1.1/packages/babel-preset-react-app/index.js
It uses babel-preset-env.

It's unnecessary as we already include it 😄. Take a peek at the source to see what it includes as advised above!

Is there a way to configure babel-preset-env when using it via the babel-preset-react-app package?

@miraage doesn't babel-preset-env use browserslist so you could add the key to your package.json to configure?
"browserslist": ["> 1%", "IE 10"]


fix(deps): require uritemplate 3.0.1

Fixes #1624 🦕

I've reverted the change to testing/constraints-3.10.txt.


fix // error in css/lato-webfont.css

css/lato-webfont.css has // in all routes and creates an error if you use that files.

Hi,
Thanks for catching that. However - css files are autogenerated and I do plan on releasing new version using newest lato version AND additional lato package :) I'll look how css gets generated for fonts (all fonts packages we have, have same mechanisms) and i'll fix it instead.
Do You think that way is better solution for now? I estimate that new fonts (lato being first) will be released within 24-48 hours.

Hi, I think we can wait for your new release. Right now I've fixed using scss and setting $lato-font-path
I'll close this for now. Thanks


⚠ Samsung has degraded performance

In 6844148, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2115 ms

Resolved: Samsung performance has improved in 66951d9.


Disable /seasonshop in some worlds

Describe the bug
My players have access to some worlds that don't have seasons, it would be nice to be able to disable the command in some worlds or completely disable the plugin in some worlds
How to reproduce
^^
Screenshots / Videos
No response
Server Log
No response


Recovery RDB

When I have an RDB active it does not show in the report which is perfect. If I dismount the RDB then it does show up in the report.  Is there a change I can make to just excluded the RDB's from the report regardless of the status there in?

Thanks for raising this issue. It looks like a few of the Get-MailboxDatabase calls in the script don't have the filtering to exclude recovery databases.
Where {$_.Recovery -ne $true}

Do a find on that cmdlet and add the filter yourself for now, or add the recovery database name to ignorelist.txt to ignore it.
I'll fix the bug in the near future.

Fixed in development

Fixed in release https://github.com/cunninghamp/Test-ExchangeServerHealth.ps1/releases/tag/V1.16


[model server integration] model server not connected

Describe the bug
A clear and concise description of what the bug is.
Model server config map does not match the source code endpoint parsing and not connected.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
The AbsComponentModelWeight must be initiated by loading weight from model server. If the model is not available, weight might get by initURL.
It should be logged out the weight source. For example,
I1213 12:10:30.408944       1 lr.go:157] LR Model (AbsComponentModelWeight): getWeightFromServer: map[core:{{17.49994468688965 map[cpu_architecture:map[Alder Lake:{0.5408945679664612} Broadwell:{17.9639892578125} Cascade Lake:{-0.49166440963745117} Coffee Lake:{0.5166589617729187} Haswell:{-0.5789095163345337} Ivy Bridge:{-0.024028241634368896} Sandy Bridge:{0.5239214301109314} Sky Lake:{0.4193417429924011}]] map[cpu_cycles:{6.85713664e+09 7.560771917192364e+18 -0.11352460086345673} cpu_instr:{3.374244864e+09 8.408530291701842e+17 -0.414739191532135} cpu_time:{192019.5 5.2761312e+08 -0.06457684189081192}]}} dram:{{17.49994468688965 map[cpu_architecture:map[Alder Lake:{-0.11559933423995972} Broadwell:{16.972564697265625} Cascade Lake:{0.5505847334861755} Coffee Lake:{-0.4564790725708008} Haswell:{-0.13912856578826904} Ivy Bridge:{-0.018331050872802734} Sandy Bridge:{-0.6695247888565063} Sky Lake:{0.29698115587234497}]] map[cache_miss:{9.329199e+06 2.2145245642752e+13 -0.4680119752883911} container_memory_working_set_bytes:{253952 1.93474854912e+11 0.6805805563926697}]}}]
I1213 12:25:18.767655       1 lr.go:157] LR Model (DynComponentModelWeight): getWeightFromServer: <nil>
I1213 12:25:18.777512       1 lr.go:162] LR Model (DynComponentModelWeight): loadWeightFromURL(https://raw.githubusercontent.com/sustainable-computing-io/kepler-model-server/main/tests/test_models/DynComponentModelWeight/CgroupOnly/ScikitMixed/ScikitMixed.json): map[dram:{{5318.157697416588 map[] map[bytes_read:{0 0 0} bytes_writes:{7.841098405047592e+16 1.0766045667937836e+36 0} cgroupfs_cpu_usage_us:{1.0056068008622782e+07 1.40009411083803e+14 1446.1905640274801} cgroupfs_memory_usage_bytes:{1.944592404177567e+18 1.5694324114250333e+37<PHONE_NUMBER>36714} cgroupfs_system_cpu_usage_us:{354378.9946563031 1.3693308434958022e+11 2808.988723422464} cgroupfs_user_cpu_usage_us:{1.0056068008622782e+07 1.40009411083803e+14 0}]}} pkg:{{5326.461712554309 map[] map[bytes_read:{0 0 0} bytes_writes:{7.841098405047592e+16 1.0766045667937836e+36 0} cgroupfs_cpu_usage_us:{1.0056068008622782e+07 1.40009411083803e+14 0} cgroupfs_memory_usage_bytes:{1.944592404177567e+18 1.5694324114250333e+37<PHONE_NUMBER>7247224} cgroupfs_system_cpu_usage_us:{354378.9946563031 1.3693308434958022e+11 2814.0186059477487} cgroupfs_user_cpu_usage_us:{1.0056068008622782e+07 1.40009411083803e+14 1452.6093109776657}]}}]

Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

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.
Signed-off-by: Sunyanan Choochotkaew<EMAIL_ADDRESS>

should be fixed by https://github.com/sustainable-computing-io/kepler/pull/464


'links' property is not optional in RedirectFlowCreateRequest

According to the API reference the links property is optional, and is only needed when an account has multiple creditors. The REST API appears to work fine when this parameter is omitted.
In the RedirectFlowCreateRequest interface below, this property is not marked as optional.
https://github.com/gocardless/gocardless-nodejs/blob/c6cdd4a069bd08f1bf5cb44b0726a6db8c7a002f/src/services/redirectFlowService.ts#L20
It looks like the code here might be generated / imported from elsewhere, so I'm assuming I shouldn't open a pull request?

Hi @JimAllanson,
This should now be fixed in the latest version (1.4.1).


Use third party crash analytics

https://www.captechconsulting.com/blogs/a-comparison-of-android-crash-reporting-tools mentioned Firebase, Crashlytics, Apteligent, Bugsnag

@justindg  do you have practical experience with any 3rd party crash analytics tool?

I've had a nice time with Firebase Crashlytics! Easy to setup too.

@justindg just do it then. thanks

@justindg how long does it take to setup? so i can follow up the progress

@miang719 done. PR can be found here https://github.com/AlphaWallet/alpha-wallet-android/pull/361
I would need a list of Google accounts so I could add new members/owners for dashboard access. Thanks!

Thanks a lot. I'll hold off for a day or two until I figure out our main domain name for google accounts.

@bootingman @zhangzhongnan928
Tell a friend in China to download this:
https://github.com/AlphaWallet/alpha-wallet-android/releases/tag/1.0.11
Manipulate the basic functions (e.g. restore from a backup key and check its balance, send an ether to or back).
If it crashes, let us know. If it does not crash, force a crash with the following:
Settings > Help & FAQ > Click anywhere on the blank space below the FAQs (it will mysteriously crash)

@colourful-land does it need to be launched one more time so the app can report the crash to the server?

@colourful-land @hboon I'm sure, several crash happened in Zhejiang province, China

I didn't see any crash reports in firebase, so I believe the crash report might have been sent to  Fabric Crashlytics. Please have a look @justindg if there are new crash reports of today and note down their IP addresses. If it has worked as expected we still can release it today.
† https://console.firebase.google.com/project/alpha-wallet-android-186eb/overview

Fits the profile. Problem solved. (I'll ask for login credential separately by email.)


nextProps aren't handled by no-unused-props

I have the following (simplified) piece of code:
  componentWillReceiveProps(nextProps) {
    if (!nextProps.error) {
      console.log('oh noez');
    }
  }

This triggers the following ESLint error:
  89:27  error  'error' is missing in props validation  react/prop-types

However, if I do add error to propTypes, another error is triggered:
  33:10  error  'error' PropType is defined but prop is never used  react/no-unused-prop-types

I think the two rules should cooperate.
I'm using the following relevant packages:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

+1

It's not really about "cooperation", but certainly both rules should be able to detect used props in nextProps identically.


Implement strongholds

I'll do this manually when ready. Also, there need to be "'s around the name of the portal room :)


Allow specifying project in tsconfig.json, or have current directory be default

When I'm working on a given project with tools, I'd rather not have to specify command line arguments for the tool. It makes my work quicker, as well as making it easier for other developers to do the same work. So, I put as many typedoc configuration items as possible into the tsconfig.json in the project's root directory.
Problem: tsconfig requires that you specify the project to be analyzed on the command line. Yes, it isn't a big deal to type typedoc ., but given that typedoc happily looks for a tsconfig.json in the current directory, it would be great for it to either allow specifying the project in the tsconfig.json file, or just assume that if no directory is specified then the current directory is to be analyzed.

Hello @dtgriscom. This should already be available via an (undocumented) typedocOptions object in your tsconfig.json. There is also an option to have a separate project configuration file, though this needs some work. See the discussion in #604 for more information.
I'll leave this open until the documentation issue is resolved.

You can use the option --tsconfig for a specific tsconfig file:
typedoc --out docs --tsconfig tsconfig.doc.json

tsconfig.doc.json

{
  "extends": "./tsconfig.json",

  "exclude": [
    "src/**/*.test.ts",
  ]
}


chore: Bump Sipi version to 3.8.7

Pull Request Checklist
Task Description/Number

Part of DEV-2988
PR Type

[x] build/chore: maintenance tasks (no production code change)
[ ] docs: documentation changes (no production code change)
[ ] feat: represents new features
[ ] fix: represents bug fixes
[ ] perf: performance improvements
[ ] refactor: represents production code refactoring
[ ] test: adding or refactoring tests (no production code change)

Basic requirements for bug fixes and features

[ ] Tests for the changes have been added
[ ] Docs have been added / updated

Does this PR introduce a breaking change?

[ ] Yes

Does this PR change client-test-data?

[ ] Yes

@BalduinLandolt thanks! :-)


stake button takes you to /stake

Start staking translation is missing.

@CryptoAssassin1 Will do in separate PR


Ensure precondition run before extractor

I'm implementing matcher for Option monad and noticed that extractor called before precondition
    SomeBranch = Qo.create_branch(
      name: 'some',
      precondition: ->(v) { v.is_a?(Fear::Some) },
      extractor: :get,
    )

    NoneBranch = Qo.create_branch(
      name: 'none',
      precondition: ->(v) { v.is_a?(Fear::None) },
    )

    OptionPatternMatch = Qo.create_pattern_match(branches: [
      SomeBranch,
      NoneBranch,
    ])

but getting error when matching agains None because it call #get method on None and ignores my precondition.
      None().match do |m|
        m.some { |x| x * 2 }
        m.none { puts 'errr' }
      end #=> raise  Fear::NoSuchElementError

Good catch, made some minor modifications, but looks good other than that.

Will look at releasing it a bit later tonight


sys/log/full/selftest/align1_imghash unit test fails to build

[ccollins@ccollins:~/repos/mynewt-core]$ newt test sys/log/full/selftest/align1_imghash
Testing package sys/log/full/selftest/align1_imghash
Could not resolve package dependency: @apache-mynewt-mcumgr/cmd/img_mgmt; depender: mgmt/imgmgr

My mistake.  I remember why this happens now - this unit test requires the mcumgr repo.


Uniswap NFT not shown on NFT detail page

It shows on the collection page but is not shown on the detail page.
https://user-images.githubusercontent.com/735708/178928846-5726f586-8aee-45ef-ae3b-7abb85180338.mp4

This happens on Oppo with ColorOS, when I upgrade it to ColorOS 12, it works.


can't pickle turbodbc_intern.Options objects

turbodbc_intern.Options is not pickable, it would be cool if all the turbodbc objects are pickable.
which the makes it possible to use with multiprocessing module.
error message:
Traceback (most recent call last):
File "C:\Python36_64\lib\multiprocessing\queues.py", l
obj = _ForkingPickler.dumps(obj)
File "C:\Python36_64\lib\multiprocessing\reduction.py"
cls(buf, protocol).dump(obj)
TypeError: can't pickle turbodbc_intern.Options objects

The options object would only be the first object to pickle. I also wonder what pickling would mean for an open connection/cursor object, as these have inherent state that is basically impossible to pickle (database state). I do not know you concrete use case, but you could pickle the dictionary that would be passed to the make_options() and continue from there. You should not share a Connection or Cursor object among threads/processes anyways.

you were right, turns out I was trying to pickle the object which is holding an active connection instance.
Thanks for your help!


Add support for pushState

This seems to break the docs...
I would just use GitBook after the fact?

I think this operation is going to be a game-changer.


[spark] Support nested col pruning

Purpose
to #4209, Support nested col pruning,  e.g.
CREATE TABLE students (
    name STRING,
    age INT,
    course STRUCT<course_name: STRING, grade: DOUBLE>
) USING paimon;

SELECT course.grade FROM students;

will only obtain course.grade from colume-storage-format (parquet, orc)
Tests

API and Format

Documentation

Are there some configuration to disable nested projection? I am concern about bugs in nested projection, at least, we should have option to disable it.

yes, spark has a conf ti disable it
  val NESTED_SCHEMA_PRUNING_ENABLED =
    buildConf("spark.sql.optimizer.nestedSchemaPruning.enabled")
      .internal()
      .doc("Prune nested fields from a logical relation's output which are unnecessary in " +
        "satisfying a query. This optimization allows columnar file format readers to avoid " +
        "reading unnecessary nested column data. Currently Parquet and ORC are the " +
        "data sources that implement this optimization.")
      .version("2.4.1")
      .booleanConf
      .createWithDefault(true)


Steps

I don't know which one to choose. 1. I need to install sedna on the cloud and the edge respectively, prepare a big model on the cloud, prepare a little model on the edge, and create services separately. 2. Install sedna in the cloud, prepare images(big and little) in the cloud, and create services separately

In JointInferenceService, localcontroller should be ready in all nodes after once sedna installtion.
then:
follow example run your service.
Recommended Practices:

Install sedna;
Prepare image with big model in CloudNode, prepare image with little model in other nodes.
Start jobs.

By the way, you can experience the post-installation actions here.

After the step of "Mock Video Stream for Inference in Edge Side", there are four pictures in /joint_inference/output/output/, how should i do to Check Inference Result?

In JointInferenceService example, here  defines the inference behavior that occurs every 10 frames, then the inference result will saved in outputdir.
In this function, you can find out the results ( little_model_inference_result, big_model_inference_result ) will be saved to which folder.
In this example, output storing the final result (rules:  result = big_model_result if big_model else little_model) of all example , hard_example_cloud_inference_output storing the big_model_result of hard example ,  hard_example_edge_inference_output storing the little_model_result of hard example .
We simulate a scenario where edge device resources are limited, a liitle model with low precision is deployed for inference. As some example is difficult to predict (we called it hard example) , the big model on another node is invoked for inference.

Yes, I understand the idea of this project, what I want to consult is when I execute "ffmpeg -re -i /data/video/video.mp4 -vcodec libx264 -f rtsp rtsp://localhost/video",that is to say the last step in the document,the result is the picture above, what should I do to get the verification result, what command should be executed, can Get the final picture result in the document .

My folder "hard_example_cloud_inference_output" and "hard_example_edge_inference_output
" are  empty , is there something wrong?

Yes, I understand the idea of this project, what I want to consult is when I execute "ffmpeg -re -i /data/video/video.mp4 -vcodec libx264 -f rtsp rtsp://localhost/video",that is to say the last step in the document,the result is the picture above, what should I do to get the verification result, what command should be executed, can Get the final picture result in the document .

ffmpeg process the video content and transmits each frame to the program for inference, this raw data will not be saved, what you seen in your outputdir is the final results. Just download them for Helmet Detection Results.
"hard_example_cloud_inference_output" and "hard_example_edge_inference_output" only save the inference result of hard examples.

there is no output in /joint_inference/output directory ,
Status:
Active:  1
Conditions:
Last Heartbeat Time:   2021-11-09T09:25:07Z
Last Transition Time:  2021-11-09T09:25:07Z
Message:               services "helmet-detection-inference-example-cloud" already exists
Status:                True
Type:                  Failed
Failed:                  1
Start Time:              2021-11-09T09:25:07Z
Events:
root@edgenode1:~# kubectl get pod
NAME                                              READY   STATUS    RESTARTS   AGE
helmet-detection-inference-example-cloud-8v26p    1/1     Running   0          7m5s
And there is no helmet-detection-inference-example-edge existing, do you know how can solve this problem?

PLTA @llhuii @JimmyYang20

there is no output in /joint_inference/output directory , Status: Active: 1 Conditions: Last Heartbeat Time: 2021-11-09T09:25:07Z Last Transition Time: 2021-11-09T09:25:07Z Message: services "helmet-detection-inference-example-cloud" already exists Status: True Type: Failed Failed: 1 Start Time: 2021-11-09T09:25:07Z Events:
root@edgenode1:~# kubectl get pod NAME READY STATUS RESTARTS AGE helmet-detection-inference-example-cloud-8v26p 1/1 Running 0 7m5s
And there is no helmet-detection-inference-example-edge existing, do you know how can solve this problem?

I also get this problem ,did you solve it?

@JimmyYang20

@PHLens can you give more info, e.g. kubectl get nodes -o wide; kubectl get ji -o yaml;

@JimmyYang20 sorry about the late replay. Here are the info:
kubectl get nodes
NAME           STATUS   ROLES                  AGE   VERSION
master-node1   Ready    control-plane,master   52d   v1.21.5
nano           Ready    agent,edge             98m   v1.19.3-kubeedge-v1.8.1
kubectl get ji
NAME                                 AGE
helmet-detection-inference-example   2m31s
kubectl get ji -o yaml
apiVersion: v1
items:

apiVersion: sedna.io/v1alpha1
kind: JointInferenceService
metadata:
creationTimestamp: "2021-12-13T07:14:11Z"
generation: 1
name: helmet-detection-inference-example
namespace: default
resourceVersion: "5140963"
uid: 847c5d65-03a3-4305-a274-366e793e6409
spec:
cloudWorker:
model:
name: helmet-detection-inference-big-model
template:
spec:
containers:
- env:
- name: input_shape
value: 544,544
image: kubeedge/sedna-example-joint-inference-helmet-detection-big:v0.3.0
imagePullPolicy: IfNotPresent
name: big-model
resources:
requests:
memory: 2Gi
nodeName: master-node1
edgeWorker:
hardExampleMining:
name: IBT
parameters:
- key: threshold_img
value: "0.9"
- key: threshold_box
value: "0.9"
model:
name: helmet-detection-inference-little-model
template:
spec:
containers:
- env:
- name: input_shape
value: 416,736
- name: video_url
value: rtsp://localhost/video
- name: all_examples_inference_output
value: /data/output
- name: hard_example_cloud_inference_output
value: /data/hard_example_cloud_inference_output
- name: hard_example_edge_inference_output
value: /data/hard_example_edge_inference_output
image: kubeedge/sedna-example-joint-inference-helmet-detection-little:v0.3.0
imagePullPolicy: IfNotPresent
name: little-model
resources:
limits:
memory: 2Gi
requests:
cpu: 100m
memory: 64M
volumeMounts:
- mountPath: /data/
name: outputdir
nodeName: nano
volumes:
- hostPath:
path: /joint_inference/output
type: Directory
name: outputdir
status:
active: 1
conditions:

lastHeartbeatTime: "2021-12-13T07:14:11Z"
lastTransitionTime: "2021-12-13T07:14:11Z"
status: "True"
type: Running
lastHeartbeatTime: "2021-12-13T07:14:11Z"
lastTransitionTime: "2021-12-13T07:14:11Z"
message: the worker of service failed
reason: workerFailed
status: "True"
type: Failed
failed: 1
startTime: "2021-12-13T07:14:11Z"
kind: List
metadata:
resourceVersion: ""
selfLink: ""

there is no output in /joint_inference/output directory , Status: Active: 1 Conditions: Last Heartbeat Time: 2021-11-09T09:25:07Z Last Transition Time: 2021-11-09T09:25:07Z Message: services "helmet-detection-inference-example-cloud" already exists Status: True Type: Failed Failed: 1 Start Time: 2021-11-09T09:25:07Z Events:
root@edgenode1:~# kubectl get pod NAME READY STATUS RESTARTS AGE helmet-detection-inference-example-cloud-8v26p 1/1 Running 0 7m5s
And there is no helmet-detection-inference-example-edge existing, do you know how can solve this problem?

I also get this problem ,did you solve it?

yes,the service deployment file is not updated. Try to modify the version number and change 3.0 to 4.0 ,
image: kubeedge/sedna-example-joint-inference-helmet-detection-little:v0.3.0->image: kubeedge/sedna-example-joint-inference-helmet-detection-little:v0.4.0,there are two things that need to be modified

Yes, I understand the idea of this project, what I want to consult is when I execute "ffmpeg -re -i /data/video/video.mp4 -vcodec libx264 -f rtsp rtsp://localhost/video",that is to say the last step in the document,the result is the picture above, what should I do to get the verification result, what command should be executed, can Get the final picture result in the document .

ffmpeg process the video content and transmits each frame to the program for inference, this raw data will not be saved, what you seen in your outputdir is the final results. Just download them for Helmet Detection Results.
"hard_example_cloud_inference_output" and "hard_example_edge_inference_output" only save the inference result of hard examples.

The version number in the service deployment file has not been updated.(image: kubeedge/sedna-example-joint-inference-helmet-detection-big:v0.3.0) Some people will ignore this problem. You can give a hint in the installation file.

there is no output in /joint_inference/output directory , Status: Active: 1 Conditions: Last Heartbeat Time: 2021-11-09T09:25:07Z Last Transition Time: 2021-11-09T09:25:07Z Message: services "helmet-detection-inference-example-cloud" already exists Status: True Type: Failed Failed: 1 Start Time: 2021-11-09T09:25:07Z Events:
root@edgenode1:~# kubectl get pod NAME READY STATUS RESTARTS AGE helmet-detection-inference-example-cloud-8v26p 1/1 Running 0 7m5s
And there is no helmet-detection-inference-example-edge existing, do you know how can solve this problem?

I also get this problem ,did you solve it?

yes,the service deployment file is not updated. Try to modify the version number and change 3.0 to 4.0 , image: kubeedge/sedna-example-joint-inference-helmet-detection-little:v0.3.0->image: kubeedge/sedna-example-joint-inference-helmet-detection-little:v0.4.0,there are two things that need to be modified

ok thanks, i'll try it

I would like to ask a question. In the project, the cloud edge joint reasoning means that for the same request, the cloud edge executes the reasoning at the same time, and there is no cooperation, is it true?

No, there is a HEM algorithm, edge use the algorithm to determine whether or not to send the image data to cloud. If the image is a hard example ,then the edge will send it to cloud and then cloud will do the inference ,if not the edge do the inference alone.

在“Mock Video Stream for Inference in Edge Side”步骤之后，/joint_inference/output/output/中有四张图片，我应该如何检查推理结果？
when I execute "ffmpeg -re -i /data/video/video.mp4 -vcodec libx264 -f rtsp rtsp://localhost/video",that is to say the last step in the document, the ouputdir " /joint_inference/output" is empty? why

when I execute "ffmpeg -re -i /data/video/video.mp4 -vcodec libx264 -f rtsp rtsp://localhost/video",that is to say the last step in the document, the ouputdir " /joint_inference/output" is empty? why

/joint_inference/output 目录中没有输出， 状态： 活动：1 条件： 上次心跳时间：2021-11-09T09:25:07Z 上次转换时间：2021-11-09T09:25:07Z 消息：服务“头盔- detection-inference-example-cloud" 已经存在 状态：True 类型：失败 失败：1 开始时间：2021-11-09T09:25:07Z 事件：
root@edgenode1:~# kubectl get pod NAME READY STATUS RESTARTS AGEhelmet -detection-inference-example-cloud-8v26p 1/1 Running 0 7m5s
并且不存在头盔检测推理示例边缘，您知道如何解决这个问题吗？
Me too. No output in directory /joint_inference/output, Have you solved it


fix: applying necessary RBAC perms for workflow http templates to the…

… proper service account

These were originally applied to the wrong service account.


RasterBand::read_block is unsound

https://github.com/georust/gdal/blob/d279c9f4cd5f81469d206a3de296afaa72bd533a/src/raster/rasterband.rs#L534
We don't validate that T matches the band data type, so there's nothing preventing the user from using a smaller type.
I've used something like:
#[derive(Debug)]
pub enum TypedBlock {
    U16(Array2<u16>),
    I16(Array2<i16>),
    F32(Array2<f32>),
    // ...
}

pub trait RasterBandExt {
    fn read_typed_block(&self, x: usize, y: usize) -> gdal::errors::Result<TypedBlock>;
}

impl<'d> RasterBandExt for RasterBand<'d> {
    fn read_typed_block(&self, x: usize, y: usize) -> gdal::errors::Result<TypedBlock> {
        match self.band_type() {
            GdalDataType::UInt16 => {
                let buf = self.read_block::<u16>((x, y))?;
                Ok(TypedBlock::U16(buf))
            }
            GdalDataType::Int16 => {
                let buf = self.read_block::<i16>((x, y))?;
                Ok(TypedBlock::I16(buf))
            }
            GdalDataType::Float32 => {
                let buf = self.read_block::<f32>((x, y))?;
                Ok(TypedBlock::F32(buf))
            }
            // ...
        }
    }
}

before, but I don't think it's the best possible abstraction here.

yes we should check the type here. It is not the same as the normal read raster method where gdal will cast the type.


Custom matchers are not added to the local expect

Describe the bug
When a custom matcher is added via expect.extend, it becomes available on the global expect but not the expect in the test  context:
import { describe, expect, it } from 'vitest';

expect.extend({
  foo() {
    return {
      pass: true,
      message: () => `foo`,
    };
  },
});

it('global `expect`', () => {
  expect.foo(); // passes
});

it('local `expect`', ({ expect }) => {
  expect.foo(); // fails
});

Is this a bug or is it working as expected?
PS: I can work-around this by calling expect.extend inside a beforeEach.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-vcvflq?file=test%2Fbasic.test.ts or code snippet above.
System Info
Vitest: v0.34.6

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.

I feel like it should be added even to local expects, but I am not sure why it already doesn't do this.

Expanding on OP's example, it seems that non-working case is only when it is used as "asymmetric matcher".
describe('custom matcher inherited from global to local', () => {
  expect.extend({
    toFooTest() {
      return {
        pass: true,
        message: () => `foo`,
      }
    },
  })

  it('basic', ({ expect: localExpect }) => {
    // as assertion
    expect(expect('test')).toHaveProperty('toFooTest')
    expect(expect.soft("test")).toHaveProperty('toFooTest')
    expect(localExpect('test')).toHaveProperty('toFooTest')
    expect(localExpect.soft('test')).toHaveProperty('toFooTest')

    // as asymmetric matcher
    expect(expect).toHaveProperty('toFooTest')
    expect(localExpect.not).toHaveProperty('toFooTest')

    // TODO: not working
    expect(localExpect).toHaveProperty('toFooTest')
  })
})

Still an early investigation, but the code below might be related.
Custom asymmetric matcher is defined via Object.defineProperty but somehow this might not be properly inherited by local context's "expect".
https://github.com/vitest-dev/vitest/blob/42b4101e759649b38c35262e04a04d9b88e01da0/packages/expect/src/jest-extend.ts#L111-L116


docs: Create cid.tf

:tada: This PR is included in version 1.0.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix(cli): add support for GIT_PARAMS on windows. Closes #103

Description
The commit adds a new special parser for the edit flag for Windows,
so that $GIT_PARAMS can be read from the command-line
Motivation and Context

commitlint on Windows doesn't work when $GIT_PARAMS are
specified in the package.json file.

#103
Usage examples

// commitlint.config.js
module.exports = {
  extends: ["@commitlint/config-conventional"]
};

// package.json
{
  ...
  "scripts": {
    "commitmsg": "commitlint -e $GIT_PARAMS"
  }
}

How Has This Been Tested?

All the existing cli tests pass untouched.
Types of changes

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

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I took the liberty to add two new test cases (that were missing in the first place) and added a comment to the implementation explaining why this is needed. Thanks for your work!


Open In... -> System (View|Editor) should try the other choice if the first one fails

If "Open in..." -> "System Viewer" fails, we should automatically try "System Editor" before beeping at the user.  Same with "Open in..." -> "System Editor".

Closing as a duplicate of #12.


Improve the next AIATSIS dataset

30 Apr - Need to follow up again as we are running out of FY
16-Apr Follow up with Anthony again.
Following on from the meeting will be suggestions to AIATSIS re AusLang (they need to adopt PIDS) - Thesaurus
Metadata schema for Yumi Sabe could be helpful to begin an IDN - AIATSIS task for discussion.
Could also consider having AIATSIS being the sponsor for the IDC metadata profile.
20-Feb Waiting on feedback from Anthony
Feedback on the PlaceNames gazzetteer still pending - potentially ask them what they would like to do next?
Other databases:
https://aiatsis.gov.au/research/guides-and-resources/native-title-resources/native-title-law-database
https://aiatsis.gov.au/third-national-indigenous-languages-survey-online/language-status-map-and-graph-data
https://collection.aiatsis.gov.au/austlang/about and then on data.gov.au https://data.gov.au/data/dataset/austlang-dataset-001
LL 08/01/24
Heard Back from Anthony just before Christmas but no meeting scheduled yet. Hopefully hear from him again this week.

follow up email sent on May 7th. seeking direction on where we can help.

Response from Carloyn indicating that they are flat out at AITSIS until June. thus unikely to be able to initiate partnership work until then.


FaloopIntegration Not working

Logged in as usual but plugin is not working (No changes on my end), reported not working from myself and another user. Doesn't show connected upon login anymore.

Created a pullrequest for this issue since the api changed #640


[TCE-1048] Unknown issue

Codacy Static Code Analysis throws an unknown issue. This issues is repeatable, I have met it many times and asked TS to resolve.
Another time: https://github.com/vitalijr2/mock-jdk-platform-logging/pull/10

action is failed
on Codacy side zero info what is happened

Looks like this issue is resolved: Codacy Static Code Analysis is green

As far as I see the issue has resolved


Split aiken parser tests

At the moment the test for the parser is just way too big and makes changes way too brittle. We should take each definition in the big parser test and use them for a bunch of smaller tests.

I'd like to handle this


Single selection display

With a single selection list, the selected item is also displayed above (or below) the select. This uses up two lines of space. For single selects it would be nice, if it looks the same as a regular select and the selected item is being displayed within the search box.

Hi pbauerochse I would like to know if there's a way to do this.
I'm using your control for single select only and the button is not necessary in my case.

Hi geneGK,
right now this is not possible but I'm planning to integrate this soon.


Cannot copy from /ipfs/QmHash

Running 0.39 daemon.
➜ ipfs files cp /ipfs/QmUsa6dHjGF6bsakEe5WVr8H4grs4HraCaMvGCHH3xt4K6 /gif
hash algorithm must be specified

➜ ipfs files cp /ipfs/QmUsa6dHjGF6bsakEe5WVr8H4grs4HraCaMvGCHH3xt4K6 /gif --hash-alg=sha2-256
Invalid request query input

Is this still a problem?  I can't replicate with the v0.40.0 daemon.


[BUG]: Missing unit tests in EAPIs

There are a number of unit tests that are missing from the EAPIs, and currently, the EAPIs does not seem to have full support for codecov.

Going to close this for as I would like to have a great discussion on the EAPIs


async test failing in v5.0.0

Hi, this test worked fine in v4.x.x:
    test('Order - ani status', t => {
        const orderInfo = getBaseOrderInfo();
        orderInfo.properties.aniSatatusIndicator = ' ';
        orderInfo.properties.type = '05';
        sut.transformOrder(orderInfo).then(result => {
            t.equal(result.order.aniStatusInd, 'E');
        });
        orderInfo.properties.type = Constants.returnOrderTypeInd;
        sut.transformOrder(orderInfo).then(result => {
            t.equal(result.order.aniStatusInd, 'A');
        });
        orderInfo.properties.type = Constants.exchangeOrderTypeInd;
        sut.transformOrder(orderInfo).then(result => {
            t.equal(result.order.aniStatusInd, 'A');
        });
        orderInfo.properties.type = Constants.repairOrderTypeInd;
        sut.transformOrder(orderInfo).then(result => {
            t.equal(result.order.aniStatusInd, 'A');
        });
        t.end();
    });

now is failing with v5.0.0:
 operator: fail
    at: sut.transformOrder.then.result (/Users/crmar/GitHub_Storage/direct-order-transformer/tests/order-transformer-test.js:171:15)
    stack: |-
      Error: .end() already called: should be strictly equal
          at Test.assert [as _assert] (/Users/crmar/GitHub_Storage/direct-order-transformer/node_modules/tape/lib/test.js:260:54)
          at Test.bound [as _assert] (/Users/crmar/GitHub_Storage/direct-order-transformer/node_modules/tape/lib/test.js:84:32)
          at Test.fail (/Users/crmar/GitHub_Storage/direct-order-transformer/node_modules/tape/lib/test.js:354:10)
          at Test.bound [as fail] (/Users/crmar/GitHub_Storage/direct-order-transformer/node_modules/tape/lib/test.js:84:32)
          at Test.assert [as _assert] (/Users/crmar/GitHub_Storage/direct-order-transformer/node_modules/tape/lib/test.js:238:14)
          at Test.bound [as _assert] (/Users/crmar/GitHub_Storage/direct-order-transformer/node_modules/tape/lib/test.js:84:32)
          at Test.strictEqual (/Users/crmar/GitHub_Storage/direct-order-transformer/node_modules/tape/lib/test.js:424:10)
          at Test.bound [as equal] (/Users/crmar/GitHub_Storage/direct-order-transformer/node_modules/tape/lib/test.js:84:32)
          at sut.transformOrder.then.result (/Users/crmar/GitHub_Storage/direct-order-transformer/tests/order-transformer-test.js:171:15)
          at process._tickCallback (internal/process/next_tick.js:68:7)

any recommendations about what needs to be refactored on my code ?  thanks

Yep! You always had an issue, unfortunately :-/
Asynchronous tests need t.plan. Your test should start with t.plan(4), and shouldn't contain t.end() at all.
An alternative is to remove both, to make your test function an async function, and to await every promise (rather than using .then).

adding t.plan(x) and removing t.end() is fixing the problem, thanks.


Regular Polygon handler missing in latest version

Actually i wan to draw the circle with move event of regular polygon handler, but i'm unable to implement the same in latest version of open layers

Drawing in OpenLayers 3+ works differently. You do not need such a handler. You can draw a circle directly using the ol/interaction/Draw interaction with type: 'Circle'. See https://openlayers.org/en/v5.0.0-beta.13/examples/draw-features.html. If you want to draw a regular polygon that approximates a circle instead, configure the interaction with geometryFunction:  createRegularPolygon(32) (where 32 is the number of vertices for the circle-like shape).
Example:
import Draw, {createRegularPolygon} from 'ol/interaction/Draw';

new Draw({
  source: source,
  type: 'Circle',
  geometryFunction: createRegularPolygon(32)
});

In this case, configure the Draw interaction also with freehand: true.

I there any trigger available for complete drawing?

There is 'drawend'. See http://openlayers.org/en/beta/apidoc/module-ol_interaction_Draw-Draw.html.


TAJO-2108: Refactor Schema to be immutable.

+1 The patch looks straightforward.
Thanks for your effort!


feat: add usage step in README.md

Add some simple commands that can be useful for a quick set-up.

Thanks @palexster 🚀


Upgrade appwrite to 1.0

What does this PR do?
Tasks achieved:

[x] Appwrite version upgraded to 1.0
[x] Gradle version upgraded to 7.3.0 from 4.2.1
[x] Added instructions to setup project dashboard on appwrite console in README.
[x] Introduced QuestionModel to better handle questions.
[x] Saved all the appwrite ids in a separate file to ease the setup process.

Test Plan
After setting up my appwrite project, and after adding a bunch of questions in the database, I tested the app on an emulator, and it worked without any errors.
Related PRs and Issues
Closes #4263
Have you read the Contributing Guidelines on issues?
Yes.

4 questions:

2 questions:

Complete:

@abnegate, this seems to work for me. Would you please also review it when you get a chance?

@stnguyen90 Thanks for taking time to review it!

@abnegate Thanks for reviewing!  Everything's working fine. PTAL!

THANK YOU! All changes merged 🥳
Please reach out to me on our Discord server if you would like to claim your Appwrite swags! As a way of saying thank you, we would also love to invite you to join the Appwrite organization on GitHub. Please share your GitHub username with us on Discord.
You can accept the invite by visiting https://github.com/orgs/appwrite/invitation. By joining our team, you will officially be an Appwrite maintainer on GitHub.
You can change your membership visibility settings, so your new Appwrite team membership badge will show up on your personal GitHub profile.
Please feel free to look for more PRs you might be interested in helping with on our long list of Hacktoberfest friendly issues and help make Appwrite better :)


[v0.2] Handle nest import in nest backend

Currently nest is imported in the backend even if just a model was initialized. This should be avoided, by limiting this import to just when NEST is actually needed.

Thanks for pointing that out. As you saw, this is due to the way the init.py files are constructed and also leads to some other weird problems when networkunit is imported within IPython or imported in sequence with other packages also depending on Nest. Thus, the init.py files should be reworked in general.

@rgutzen Fixed this in a real nice way!


'dnx . kestrel' does not work.

Hey guys, so I've been trying frantically for the last couple nights to get up and running with DNX/DNVM, etc. I'm not having too much luck. I git cloned the repo here onto my desktop, changed into its directory, ran 'dnu restore' and then followed up with the launch command, but it always fails.
I would really appreciate any help you can offer. I can give any further clarification you may need.
Daniels-MacBook-Pro:home danieldafoe$ dnx . kestrel
System.InvalidOperationException: Unable to resolve project 'home' from /Users/danieldafoe/Desktop/home
  at Microsoft.Framework.Runtime.ApplicationHostContext..ctor (IServiceProvider serviceProvider, System.String projectDirectory, System.String packagesDirectory, System.String configuration, System.Runtime.Versioning.FrameworkName targetFramework, ICache cache, ICacheContextAccessor cacheContextAccessor, INamedCacheDependencyProvider namedCacheDependencyProvider, IAssemblyLoadContextFactory loadContextFactory, Boolean skipLockFileValidation) [0x00000] in <filename unknown>:0
  at Microsoft.Framework.Runtime.DefaultHost.Initialize (Microsoft.Framework.Runtime.DefaultHostOptions options, IServiceProvider hostServices) [0x00000] in <filename unknown>:0
  at Microsoft.Framework.Runtime.DefaultHost..ctor (Microsoft.Framework.Runtime.DefaultHostOptions options, IServiceProvider hostServices) [0x00000] in <filename unknown>:0
  at Microsoft.Framework.ApplicationHost.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at Microsoft.Framework.Runtime.Common.EntryPointExecutor.Execute (System.Reflection.Assembly assembly, System.String[] args, IServiceProvider serviceProvider) [0x00000] in <filename unknown>:0
  at dnx.host.Bootstrapper.RunAsync (System.Collections.Generic.List`1 args, IRuntimeEnvironment env) [0x00000] in <filename unknown>:0

I'm dumb.

Same error, what did you do to solve it?

Just for the record. Most probably OP wasn't in the folder where project.json resides. It'd be nice if people would document their solutions...


Create company name detector

A detector to detect company names would be useful.

This can be partially achieved by setting the Spacy NER detector to recognise ORG atm..

Yeah you can currently use scrubadub_spacy.detectors.SpacyEntityDetector, but I think we should investigate adding a little more finesse to it. Perhaps we can do something like the scrubadub_spacy.detectors.SpacyNameDetector that also looks for context, using words like company, ltd, limited, etc. I'm just leaving this comment as a reminder for the future.


I didn't finish but here's something else

I've noticed a trend of games posted that read "I didn't finish, so here's something else"

https://ldjam.com/events/ludum-dare/38/walking-bear-demo
uhh, where did that link go?

I'm not entirely sure how to deal with these. Hopefully in the future these users just mark their game as unfinished.

I think before you didn't make your game-post until uploading and because this time you were encouraged to make them before you knew if you would finish, people felt confused about what to do then. So
a) this disappears if the initial version is always marked as unfinished unless people upload the game.
b) perhaps have I give up button on the draft game submission page to make in unfinished +
c) perhaps revert back to only make post when submitting game?
In any case I think it is important that the game doesn't show up on /user/games if unfinished because I guess people don't want them there.


generate mesos master and slave config file under /etc

Short description:
some config can not be able to configured by overriding the default/main.yml
automatic generate the config file under /etc/mesos-master /etc/mesos-slave to config the mesos instance

ping @sjkyspa

@ernestas-poskus
This is supported. Take a aook at script as following(copied from /usr/bin/mesos-init-wrapper)
 for f in "$etc_slave"/* # attributes ip resources isolation &al.
 do
 if [[ -f $f ]]
   then
     local name="$(basename "$f")"
     if [[ $name == '?'* ]]         # Recognize flags (options without values)
     then args+=( --"${name#'?'}" )
     else args+=( --"$name"="$(cat "$f")" )
     fi
   fi
 done

Closing in favor of https://github.com/AnsibleShipyard/ansible-mesos/pull/56


Add Nong Song: earfquake

Song Name
earfquake
Artist Name
tyler the Creator
Source
Youtube
Youtube Link
https://youtu.be/HmAsUQEFYGI?si=Oxwie_h9UlQaLj0z
Direct File Link
No response
Song ID
192501
Start Offset [ms]
No response
Extra
No response

accept
On Sat, Nov 9, 2024, 8:18 AM auto-nong[bot] @.***>
wrote:

Thanks for contributing!
Someone will soon review your request.
Here is the JSON result for the reviewer:
{
"name": "earfquake",
"artist": "tyler the Creator",
"source": "youtube",
"startOffset": 0,
"yt-id": "HmAsUQEFYGI",
"songs": [
192501
]
}
To accept the request, a reviewer needs to write "accept".
—
Reply to this email directly, view it on GitHub
https://github.com/FlafyDev/auto-nong-indexes/issues/6148#issuecomment-2465930501,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMYLY65WMOIJOSQKEGHUA73Z7VIE5AVCNFSM6AAAAABROQKFT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVHEZTANJQGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

ok
On Sat, Nov 23, 2024, 10:35 AM github-actions[bot] @.***>
wrote:

This submission is stale because it has been open for 14 days with no
activity. If it is still relevant, please leave a comment and we will
reopen it.
—
Reply to this email directly, view it on GitHub
https://github.com/FlafyDev/auto-nong-indexes/issues/6148#issuecomment-2495232586,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMYLY6Y3AF2OT3674DNUM2D2B7SXVAVCNFSM6AAAAABROQKFT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGIZTENJYGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Question: How to build/run docker image on OSX

I tried to run the docker image (base-en) on OSX both from a local build as well from a pulled image.
I tried to build with --build-arg TARGETPLATFORM="linux/arm64 and without.
But I end up with:
docker run --gpus all -it -v ".:/app" ghcr.io/jim60105/whisperx:base-en     -- --output_format srt audio.m4a
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].

and if I omit the GPU flag
docker run -it -v ".:/app" ghcr.io/jim60105/whisperx:base-en     -- --output_format srt audio.m4a
Traceback (most recent call last):
  File "/venv/bin/whisperx", line 5, in <module>
    from whisperx.transcribe import cli
  File "/venv/lib/python3.10/site-packages/whisperx/__init__.py", line 1, in <module>
    from .transcribe import load_model
  File "/venv/lib/python3.10/site-packages/whisperx/transcribe.py", line 9, in <module>
    from .alignment import align, load_align_model
  File "/venv/lib/python3.10/site-packages/whisperx/alignment.py", line 11, in <module>
    import torchaudio
  File "/venv/lib/python3.10/site-packages/torchaudio/__init__.py", line 1, in <module>
    from . import (  # noqa: F401
  File "/venv/lib/python3.10/site-packages/torchaudio/_extension/__init__.py", line 45, in <module>
    _load_lib("libtorchaudio")
  File "/venv/lib/python3.10/site-packages/torchaudio/_extension/utils.py", line 64, in _load_lib
    torch.ops.load_library(path)
  File "/venv/lib/python3.10/site-packages/torch/_ops.py", line 852, in load_library
    ctypes.CDLL(path)
  File "/usr/local/lib/python3.10/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libgomp.so.1: cannot open shared object file: No such file or directory

I managed to build and run whisperx locally but I'd prefer to use docker containers instead of garbling up my system with conda and python

Thank you for your PR.
For your issue about could not select device driver "" with capabilities: [[gpu]], please try again after completing this guide:
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html


After connecting to personal WiFi an AP is still present

Hi,
thanks for this cool project! Everything is working fine up to now, but:
After the esp connects to my WiFi, still an AP is present! It changes the name from "Vindriktning-XXX" to "ESP-XXX".
How can I suppress this AP?
Br,
Michael

This should not happen, the Config seems to not load correctly. You could add some serial log entries into the sketch and print the settings over the serial monitor.

I implemented following work around:
Wifi.mode(WIFI_STA);


Bug in Readme > Installation section

Now it uses document.documentElement.clientHeigh, however it doesn't change on show/hide status bar. In the original article they use window.innerHeight, next code works for me:
var customViewportCorrectionVariable = 'vh';
function setViewportProperty(doc) {
var prevClientHeight;
var customVar = '--' + ( customViewportCorrectionVariable || 'vh' );
function handleResize() {
    var clientHeight = window.innerHeight;
    if (clientHeight === prevClientHeight) return;
    requestAnimationFrame(function updateViewportHeight(){
        doc.style.setProperty(customVar, (clientHeight * 0.01) + 'px');
        prevClientHeight = clientHeight;
    });
}
handleResize();
    return handleResize;
}
window.addEventListener('resize', setViewportProperty(document.documentElement));

Can we have some more discussion on this?

@Faisal-Manzer sure, what do you want to discuss?
I see there were the reasons why you decided to change approach https://github.com/Faisal-Manzer/postcss-viewport-height-correction/issues/3
However, I didn't notice any zoom issues on my project.
Maybe Apple fixed something? Could you recheck zoom problem?


Can't get application up.

I have been trying to start this App with npm start command.
But I keep getting  below error
Error: Can't find stylesheet to import.
╷
6 │ @import "C:\Users\mgonawal\startbootstrap-sb-admin\src\scss\styles.scss"
│         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵

Did you find a way around this error? I am experiencing the same issue.

Unfortunately didn't find any workaround and then stopped looking for it.

Looks like the problem is actual for Windows users. I've fixed the issue by replacing @import "${stylesPath}" to @import "../src/scss/styles.scss" in the https://github.com/BlackrockDigital/startbootstrap-sb-admin/blob/master/scripts/render-scss.js.