toolbar blinks on boilerplate switch

Hm, yeah, it is because the BIN is run and I do not want you to click anything else while waiting for a response. Thing is that it is crazy fast... hehe... maybe I should just prevent clicks, not indicate it with lowering the opacity. What you think?

I think that is the best way to go for now.
If you do want to communicate that the user is not allowed to click, I would apply a full screen overlay with a "Loading your boilerplate" or something, maybe somebody has a very flaky connection and might take a bit longer to load that's why I would go for the overlay solution.

Yeah, I agree. Its actually really problematic when things go too fast :) Let me insert a delay of a second there to allow the overlay to fade in and out naturally. And when things takes longer it will just fade out later...

Just disabling the styles causing the blink for now, loading boilerplates is just a few kb. Just takes more time creating the overlay, and there is so much to do ;-) Can look into it later if it becomes an issue


Create Player Framework

There needs to be a framework implemented for the player so we can start fleshing out these ideas. This will just consist of a shell to put more code into

[x] Inventory

[x] #2
[x] Sync
[x] #26

[x] #22

[x] Sync

[ ] Stats

[ ] Sync

[x] Interaction

[x] Sync

[x] Movement

[x] Sync

[x] Camera

[x] Sync

Stats will have to implemented on a case-by-case basis


All builds now have a monotonically increasing build number (v2)

Replacement for #737 based on all feedback.

Thanks so much for this! Just a couple minor changes:

can we add a test for the database change?
should GetBuildNumber return the count + 1

Lastly, I would like to propose a minor change to how we inject the build number. It would be great if the build number were also injected into the yaml similar to private variables.
So in this code we could do something like this:
https://github.com/drone/drone/blob/master/server/worker/docker/docker.go#L94
	params, err := r.Repo.ParamMap()
	if err != nil {
		...
	}
+	params["DRONE_BUILD_NUMBER"], err := datastore.GetBuildNumber(c, r.Commit)
+	if err != nil {
+		log.Printf("Unable to fetch build number, Err: %s", err.Error())
+	}
	script, err := script.ParseBuild(script.Inject(r.Commit.Config, params))

This means we wouldn't require the changes made to repo.go and build.go

As a side note (in a separate PR) I may start using this method to inject all of the standard Drone environment variables (like DRONE_COMMIT, etc)

note: I edited my prior comment

Working on first unit test now. As for the 0 commits case, shouldn't this be an error as it means that no commit was added to the db?

shouldn't this be an error as it means that no commit was added to the db?

Yes, sorry, ignore me :)

I looked at this PR again, and I don't see any issues with the implementation. Maybe this is a nit, but I still think that a monotonically incrementing $BUILD_NUM would be a highly desired feature.  Perhaps this should be named $COMMIT_NUM?
I know that "other $THING does $OTHERTHING" is not always a relevant argument, but I do think it says something that most other CI platforms implement $BUILD_NUM of some form.  It would be nice to support that case, and to avoid confusion, I think it would be ideal to use similar in syntax.

@bradrydzewski  Cleanup completed, with db test.
@craigtracey I am not sure what you are asking for. This number is exposed as CI_BUILD_NUMBER and DRONE_BUILD_NUMBER, are you simply asking for another name with the same value?

The CI_* prefixes were added for a more seamless integration with coveralls.
I think we can definitely add other environment variables names to promote compatibility across platforms. I would probably want to model these after Jenkins (where it makes sense):
https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-below
Let's address this as a separate pull request

@epipho indeed that was what I was asking for.  I had forgotten that $CI_BUILD_NUM was already a thing. But it seems to be a misnomer. This is really the number of commits from a point in time.
Agree that it could come by way of another PR.  Was trying to avoid the "syntax has changed" dance should a true build number ever get implemented.

@epipho  thanks so much for seeing this through!

Yes, thanks @epipho!


fvtt 11 initial support

added id property to module
removed maximum restriction for module

It may be better to create V11 branch in your repo and test the module from this branch rather then to put it directory to master

Hi @pkonshik - thank you very much, and sorry that I never responded to this, I overlooked it.
I guess it is no longer needed now as the same changes were applied and released.
Best regards


Existing projects

Hi @paulbrodersen,
I'm sure you've seen these, but I wanted to collect similar projects in one place that could be potentially useful (mostly matlab):

SHARP-Track
histology
AMaSiNE (now published here)

Also Geometry Processing of Conventionally Produced Mouse Brain Slice Images

Forgot about wholebrain.

I have also been looking at this article: https://pubmed.ncbi.nlm.nih.gov/30096343/

Linking this topic on the image.sc forum where more tools are compared.


Adding text inside bar graph

Not really much to say about this beyond the title.
Is it possible to add text to the bar graph?
I would like to do this so it's centered vertically, and does NOT alter the core code, as I'd like to be able to make updates as they come.

This is currently not possible. Consolidating with other similar issues in #78


chore(Dockerfile): update nginx to 1.12.0 stable

See http://nginx.org/en/CHANGES-1.12

Codecov Report

Merging #337 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #337   +/-   ##
=======================================
  Coverage   56.47%   56.47%
=======================================
  Files           6        6
  Lines         425      425
=======================================
  Hits          240      240
  Misses        159      159
  Partials       26       26

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 c89005f...21aa475. Read the comment docs.


scrutinizer

Coverage remained the same at 100.0% when pulling cd5a88cbaceffbefa0ce9190c95d3acd7886c092 on scrutinizer into aad0bfd91dcd35f92d0b50e2d3946687edd02563 on master.

Coverage remained the same at 100.0% when pulling 321270cb1862e468c89d2a94460135d81a910e6c on scrutinizer into aad0bfd91dcd35f92d0b50e2d3946687edd02563 on master.


fix(build): don't override base-href if not directly specified

Closes #4340

LGTM. This was changed a bit ago for some reason.


Nuget package

How do you feel about putting this on Nuget? Would you be willing to accept a PR that includes:

Updating the project file format to 2017 style?
Changing the project target to netstandard2.0?
Creating an appveyor account for this in order to introduce CI and to build the nuget package?

I'd be happy to contribute to this as I think .NET is in need of a decent signal processing library.

Yes, I've been thinking about Nuget integration from the very day I started working on this lib. Until recently there was no visible interest in this repo by .NET folks, so I was just coding in "relaxed mode". And maybe I'm too perfectionist, but right now I wouldn't want NWaves to be put on Nuget. Although most algorithms are coded properly and give valid results, some parts are not well tested and some interfaces, perhaps, need to be redesigned.
Anyway, thanks for your feedback and your interest. I hope in the nearest future I'll cleanup the code, write some docs and finally create a humble first version of this lib on Nuget. Let's see how it will go. If the developers get eventually interested in this lib, your PR will be of help.

Ok, that's completely understandable. Let's see how it evolves, and I'd be happy to contribute in any way I can.

Please update the readme to add https://www.nuget.org/packages/NWaves/.

Hey I'm trying to open this project in VS2017 and having issues with the XML namespace and MSBuild 2003 etc. Does this have something to do with the project file format 2017 that you mention above?

@Tesenka Looking at the content of the last NuGet version, I see .NET Framework 4.7.2. It seems you're using v4.6.2. Either upgrade to 4.7.2, or check an older NuGet version.

@Tesenka Looking at the content of the last NuGet version, I see .NET Framework 4.7.2. It seems you're using v4.6.2. Either upgrade to 4.7.2, or check an older NuGet version.

Similarly if I try to install targeting 4.7.2 I get the exact same error, but swap 4.62 for 4.7.2

@Tesenka , have you solved your problem? Every version of .NET Framework starting from 4.6.1 should work OK, since this lib is under .NET Standard 2.0. I created the project referencing ver.4.6.1 in VS2019, and everything worked fine. Sorry, I can't test it right now in VS2017.

@Tesenka , have you solved your problem? Every version of .NET Framework starting from 4.6.1 should work OK, since this lib is under .NET Standard 2.0. I created the project referencing ver.4.6.1 in VS2019, and everything worked fine. Sorry, I can't test it right now in VS2017.

I assume the issue is related to using Visual Studio 2015 (which I'm running on this PC)


Re-work tasks_per_node

We are using tasks_per_node to describe two different things: 1) the number of loops the launcher executes and 2) the number of processes we plan to run on the node. This has caused a lot of problems (see #669 for example). We should make tasks_per_node only do one thing and change its name to clearly reflect what it is doing. This should be made easier once #942 is implemented.

crossref #3616


[code] details about collison check

in bounding box generator class, function 'check_for_collison'. Can you explain why do this for n_boxes==2, and how do it (intuitive explanation for s and t params)?

Hi @Feynman1999 , I added this code but didn't use it in this project. The idea is here that if you have more than one object, the positions you want to sample should not overlap (that's also where the s and t params come into play, as you need the position and scale for each object to be able to determine whether or not they overlap).


Many to Many relationship with attribute

We have a Restaurant resource that can belongs to many countries (i.e. a branch in every country) and a country can have many branches. So, the tables are built as follows:
restaurants:
id
name

countries:
id
name

restaurant_country:
id
country_id
restaurant_id
branch_name

In the Restaurants resource we mention that Restaurants has Many Countries through the pivot table restaurant_country, and in the Countries resource we mention that Countries has Many Restaurants through the pivot table restaurant_country:
In Countries Adapter:
protected function restaurants() {
     return $this->hasMany();
}

In Restaurants Adapter:
protected function countries() {
     return $this->hasMany();
}

In all the documentations, it only shows the below example of how to update a Relationship:
{
  "data": [
    {
      "type": "tags",
      "id": "1"
    },
    {
      "type": "tags",
      "id": "6"
    }
  ]
}

However, with each relationship object, we need to send the branch_name. How do we include that in the post request to /api/v1/restaurants/{restaurant_id}/relationships/countries ?

Hi!
According to the spec, relationships only contain resource identifiers - these do not therefore have attributes.
For this scenario, you will need to create an intermediary resource e.g. restaurant-countries, i.e. each resource representing the pivot model. Then you'll be able to create a new one, e.g.:
{
  "data": {
    "type": "restaurant-countries",
    "attributes": {
      "branch-name": "My Branch",
    },
    "relationships": {
      "restaurant": {
        "data": {
          "type": "restaurant",
          "id": "123",
        },
      },
      "country": {
        "data": {
          "type": "country",
          "id": "456",
        },
      },
    },
  },
}

Hello @lindyhopchris
Thank you so much! It's clear now.


.NET Core Preview - links and install instructions missing for Windows ARM64 binaries

Links and install instructions missing for Windows ARM64 binaries
Issue:
1)L inks to the Windows ARM64 binaries in the preview release notes are not available for::
SDK,  .NET runtime and ASP.NET runtime and installers
2) Install instructions are only available for Linux not for Windows.
Affected files:
The files:
/release-notes/5.0/preview/5.0.0-preview.x.md
Missing links to Windows ARM64 binaries.
The files:
release-notes/5.0/preview/5.0.0-preview.x-install-instructions.md
Missing install instructions for Windows binaries
Expectation:
The links and possibly install instruction can be found in the release notes - very similar to other targets

@rbhanda this seems the same issue as #5110


Workflow for OSM json schema extraction

Enhancement Description
A brief description of the enhancement.
To generate the workflow of getting the manifest from the OSM using the kubeopenapi-jsonschema to read and generate json schemas from those manifests and then also generating workload definitions from those schemas
A sample workflow is here

Related issue: https://github.com/meshery/meshery/issues/3496


[$500] IOU -"Please enter a correct merchant" message in flash after entering Merchant value

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.24-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Login to staging.new.expensify.com as Employee of workspace
Go to Workspace chat
Click on "+" > Request money
Enter amount & click Request button
Verify that "Please add a correct merchant" error message appear
Add a value in Merchant field & click Save

Expected Result:
Error message should not appear on Final confirmation page
Actual Result:
"Please enter a correct merchant" error message can be seen in flash on Final confirmation page after entering Merchant value
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/dc76b28e-cc6a-47ad-b9cf-c762956c8900
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f39187234ec2cef5
Upwork Job ID:<PHONE_NUMBER>314524672
Last Price Increase: 2024-01-10

Proposal
Please re-state the problem that we are trying to solve in this issue.

IOU -"Please enter a correct merchant" message in flash after entering Merchant value

What is the root cause of that problem?

Clicking on save button will do the below:

   const updateMerchant = (value) => {
        IOU.setMoneyRequestMerchant_temporaryForRefactor(transactionID, value.moneyRequestMerchant);
        navigateBack();
    };

So, when the         IOU.setMoneyRequestMerchant_temporaryForRefactor(transactionID, value.moneyRequestMerchant); is not successful,  navigateBack(); is called that lead to the bug

What changes do you think we should make in order to solve the problem?
-Need to make sure the Onyx is updated successfully before navigateBack().

We can do it by create the promise

What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

.

To ensure I understand the bug right, this is the flash we're talking about, right?

@mallenexpensify I think so, too

Sorry y'all, I'm going to close this one, we're hyper-focusing on bugs that affect our near-term roadmap and this tiny one doesn't fit well with those projects.  Comment/reopen if needed/wanted.


[rocm] Fix segfault with -O0-compiled kernels

kernels_[blitType] yields a null function pointer in KernelBlitManager::initHeap due to KernelBlitManager::createProgram not initializing all the kernels because of broken layout invariants.
KernBlitManager::NumBlitKernels has two possible return values: BlitTotal, and BlitLinearTotal which are sentinels. These sentinels are used in KernelBlitManager::createProgram to initialize the kernels_ array. It correctly initializes [0, NumBlitKernels()), but InitHeap is > NumBlitKernels, so the InitHeap kernel is not loaded.
Thus, when images are disabled, and a kernel has an hidden_heap_v1 entry, the InitHeap blitkernel is not loaded, and kernelBlitManager::initHeap subsequently gets a null pointer. The kernel always has such hidden_heap_v1 descriptor entry at -O0, but I believe it's possible (unconfirmed) for this situation to occur in other circumstances.
The fix is simply to ensure the InitHeap enumeration has a numeric value less than BlitLinearTotal.
n.b. This bug does not exist on the 5.7 release, but it looks like that's by chance.

Wrong repo.
New patch: https://github.com/ROCm-Developer-Tools/clr/pull/13


Command ExtractDataToFlatFile failure

I running into this error: The system cannot find the file specified.
HFMCmd.exe ExtractDataToFlatFile UserName:test Password:password ClusterName:hfmcluster AppName:appname d:\hfmcmd\data.txt False False False False True True None | d:\hfmcmdnew\data.log [POV]
Does the file mentioned need to exist? I tried creating an empty file for both data and log file and the error persist.

Its now accepting the file name but this error comes back now: AccessViolationException: Attempted to read or write protected memory.


#7 select

[ ] fix listbox tests
[ ] add select tests
[ ] clickOutside closes the select
[ ] with kbd nav, selecting an option does not close the select


Add GRB surrogate model

For now, fiesta supports inference with KN surrogate models and has a saved model of Bu2022Ye and further support of other models is planned (see #3). However, we also need a surrogate model for GRB analyses. One idea is to build a surrogate model for afterglowpy.

Completed by commit 7f9ec6a112681167cc3dd5d66fd02acf8c12fa22


[Frontend] Accept the frontend arg -library-level=

Add proper support for -library-level=. As seen in #64724, it used to be accepted but ignored silently.

@swift-ci Please smoke test


How to get the coordinate of a boundary line.

Dear all,
I can draw the map of Australia continent, but I want to get the coordinate (lon_X, Lat_Y) of the Australia continental boundary line. Does anyone know how to realize it?
Many thanks.
Tao

This isn't really possible to do with basemap. Particularly the problem is
that the path data for the various boundaries are not indexable by any
categories. All of the lines and polygons that basemap provides are just
flat lists of those features, with no way to map back to information like
the country name, continent, etc.
Now, it might be possible to do it with the GSHHS dataset, which basemap
uses as a basis for its maps: https://www.soest.hawaii.edu/pwessel/gshhg/
On Tue, Aug 6, 2019 at 12:01 AM Tao<EMAIL_ADDRESS>wrote:

Dear all,
I can draw the map of Australia continent, but I want to get the
coordinate (lon_X, Lat_Y) of the Australia continental boundary line. Does
anyone know how to realize it?
Many thanks.
Tao
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/matplotlib/basemap/issues/472?email_source=notifications&email_token=AACHF6GTRSHAV2HMDHYD2XLQDDZS5A5CNFSM4IJSIFNKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDQ3BGQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACHF6DZMP2K4LWZIQFTGZ3QDDZS5ANCNFSM4IJSIFNA
.


Added the search bar

Fixes #23

Added a search bar to the website.

sure

@bilalakhter - i want the styling of the search bar, something like this:
https://www.w3schools.com/howto/howto_css_searchbar.asp

Thanks for your contribution @bilalakhter!!


Update cross-tenant-mailbox-migration.md

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@JoeDavies-MSFT Please merge this PR. Thanks


Add kevinbnaughton to member list

Hello!
I am adding myself, kevinbnaughton, to the kubeflow member list. This will be for my upcoming work on kubeflow pipelines, including creating google-cloud components.
Thanks!

/lgtm
/approved
Welcome Kevin to the community!

/approve


Wrong ssh url when using with IP and port

Gitea version (or commit ref):  552d8d3 built with: bindata, sqlite
Git version: 2.11.0
Operating system:
Database (use [x]):

[ ] PostgreSQL
[ X] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[X ] Not relevant

Log gist:

Description
I use Gitea on my local network. it Ip is : <IP_ADDRESS> and the ssh port : 30022.
On the web interface the ssh url to clone repo is :
git@<IP_ADDRESS>:30022:linux-embedded/gyrostab.git which is not correct.
because of the double :.
The correct url is : ssh://git@<IP_ADDRESS>:30022/linux-embedded/gyrostab.git.
My app.ini file is :
[server]
SSH_DOMAIN       = <IP_ADDRESS>:30022
HTTP_PORT        = 3000
ROOT_URL         = http://192.268.2.4:30080/
DISABLE_SSH      = false
SSH_PORT         = 22
DOMAIN           = localhost

I run it inside a docker container.

SSH_DOMAIN is used for domain, not to have port included. You might want to look into USE_COMPAT_SSH_URI option to help you out. More config options here: https://docs.gitea.io/en-us/config-cheat-sheet/


The calculated properties 'task' is called twice

// MARK: - upload
enum FileUpload {
    case images([UIImage])
}

extension FileUpload: TargetType {

    var method: Moya.Method { return .post }

    var task: Moya.Task {

        switch self {
        case .images(let images):
            let arr = /*Time-consuming operation*/
            return .uploadMultipart(arr)
        }
    }
}

// First call
public final class func defaultEndpointMapping(for target: Target) -> Endpoint<Target> {
        return Endpoint(
            url: URL(target: target).absoluteString,
            sampleResponseClosure: { .networkResponse(200, target.sampleData) },
            method: target.method,
            task: target.task, /*First call */
            httpHeaderFields: target.headers
        )
    }

// Second call
private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint<Target>, stubBehavior: Moya.StubBehavior) -> Cancellable {
        switch stubBehavior {
        case .never:
            switch target.task { /*Second call*/
            case .requestPlain, .requestData, .requestParameters, .requestCompositeData, .requestCompositeParameters:
                return self.sendRequest(target, request: request, callbackQueue: callbackQueue, progress: progress, completion: completion)
            case .uploadFile(let file):
                return self.sendUploadFile(target, request: request, callbackQueue: callbackQueue, file: file, progress: progress, completion: completion)
            case .uploadMultipart(let multipartBody), .uploadCompositeMultipart(let multipartBody, _):
                guard !multipartBody.isEmpty && target.method.supportsMultipart else {
                    fatalError("\(target) is not a multipart upload target.")
                }
                return self.sendUploadMultipart(target, request: request, callbackQueue: callbackQueue, multipartBody: multipartBody, progress: progress, completion: completion)
            case .downloadDestination(let destination), .downloadParameters(_, _, let destination):
                return self.sendDownloadRequest(target, request: request, callbackQueue: callbackQueue, destination: destination, progress: progress, completion: completion)
            }
        default:
            return self.stubRequest(target, request: request, callbackQueue: callbackQueue, completion: completion, endpoint: endpoint, stubBehavior: stubBehavior)
        }
    }

？

enum ActivityListEndpoint: TargetType {

    case getList(userId: String, version: String, page: String, searchKey: String, location: String)

    var task: Moya.Task {

        switch self {
        case .getList(userId: let userId, version: let version, page: let page, searchKey: let searchKey, location: let location):
            return createParameters(contents: "XXXX", userId, version, page, searchKey, location)
        }
    }
}

struct ActivityListEndpoint2: TargetType {

    enum EndopointType {
        case getList
    }

    var parameters: Moya.Task = Moya.Task.requestPlain

    init(endopointType: EndopointType, userId: String, version: String, page: String, searchKey: String, location: String) {

        parameters = createParameters(contents: "XXXXX", userId, version, page, searchKey, location)
    }

    var task: Moya.Task { return parameters }
}

This is looking to me like a wontfix. I don't see an issue in task being called multiple times for one target. If there is a time consuming operation you have a couple of options

cache the value so the operation is only performed once, and the second value comes at O(1) from the cache
dispatch onto another thread before you request to prevent the UI from hanging
perform the time consuming operation outside of the task computed property and pass in the computed value to your endpoint

Oh I see


cmd/go: suppress warning messages about symlinks

I'm converting a large source tree which used vendoring in GOPATH world into a Go module. An issue I've encountered is that go mod tidy and go mod why print some warnings about symlinks.
These look like:
$ go mod tidy
warning: ignoring symlink /path/to/some/symlink/dir
...

Where a warning line is printed for every symlinked directory in the repo.
These warnings make these 'go mod' commands unpleasant to use (you have to scroll through all the junk to see the relevant bits, if any, at the bottom).
None of the Go code is in symlinked directories. The symlinks are for other projects in other languages. For example, one use of symlinks is as a cheap way to share certain JS/CSS assets between multiple sub-projects.
Would it be possible to simply delete these warnings? Alternatively, could we remove the warning if the symlinked directory doesn't contain any Go code?
I tested this behavior in both Go 1.13.4 and tip (bf3ee57d27f7542808f8a153c7b547efaba355b0).
/cc @bcmills @jayconrod for cmd/go, and @rsc who originally wrote these warning messages as far as I can tell.

It looks like this warning was introduced in CL 46425, long before modules. It's emitted any time a pattern is expanded (all or anything with ...) and a symlink to a directory is encountered. go mod tidy is doing that internally.
I don't think these warnings should be deleted entirely, but making them less spammy would be good. Not sure how to do that though. Checking for .go files in a symlinked directory is probably not enough, since the directory itself may not have any .go files, but it may have subdirectories that do. I think Kubernetes' vendor/k8s.io directory works like that (with symbolic links to staging). Traversing subdirectories after a symbolic link could get us into a loop though.

@jayconrod yeah, I've run into this in the past when doing things like go list ./....
However, I think the spam is more of a problem with modules:

go list is used a lot less in the day-to-day workflow in the GOPATH world than go mod commands are used in the modules world.
With go list ./... or similar, it's more understandable that you're asking the Go tool to please go discover all the packages. With go mod tidy it's less clear.

What about suppressing the warnings for go mod subcommands only? (And keeping them for go list?)

Suppressing these warnings for go mod subcommands seems reasonable to me. @bcmills WDYT?

If they're not appropriate for go mod, they're probably not appropriate for go list either. (And the converse: if they're useful for go list, then they're probably also useful for go mod.)
Given that folks can already explicitly prune out subdirectories using go.mod files, I'm curious about the directory structure that leads to this sort of situation. Are the non-Go symlinks in sibling directories to the Go source files, or in subdirectories of Go package directories?
As an alternative, would it make sense to do the go.mod pruning check before we do the symlink-pruning check?

If they're not appropriate for go mod, they're probably not appropriate for go list either. (And the converse: if they're useful for go list, then they're probably also useful for go mod.)

I explained above why I think it's reasonable to treat these differently, but if we have to treat them the same, then I'd err on the side of no spam.

Given that folks can already explicitly prune out subdirectories using go.mod files, I'm curious about the directory structure that leads to this sort of situation.

We have a large monorepo with projects in several languages. Before it was all a single GOPATH with vendored source. I'm converting it to be a single module instead.
Adding empty go.mod files to a bunch of project directories just to suppress this warning is probably a nonstarter.

Are the non-Go symlinks in sibling directories to the Go source files, or in subdirectories of Go package directories?

Currently, only sibling (or "cousin" or "cousin Nth removed") directories.
I didn't mind ignoring these warnings (or 2>/dev/null) when running go list in the GOPATH world. It just doesn't seem reasonable that I have to continue doing so with commands like go mod tidy, which is part of my normal workflow.

Just to add a small point, we have a situation where a Go directory is linked with a symlink. (I know .. I know ..). So removing these warning would certainly help.

Currently, only sibling (or "cousin" or "cousin Nth removed") directories.

So, could you move the go.mod file to the root of the Go source tree, instead of the repo root? (Or does it need access to testdata in sibling directories?)

So, could you move the go.mod file to the root of the Go source tree, instead of the repo root?

There is no single Go source tree. Everything's mixed. What I meant was only that no Go package directory or any descendent thereof contains symlinks.
|-go-project-1
|-go-project-2
|-non-go-project-1
| `-symlink
`-sub
  |-go-project-3
  |-non-go-project-2
  | `-symlink
  `-symlink

As workaround you can create an empty go.mod file in each directory you want to ignore.
touch no-go-project-1/go.mod
touch sub/no-go-project-2/go.mod

But this is not a perfect workaround because you ignore sub/symlink with this method.
See go wiki modules https://github.com/golang/go/wiki/Modules#can-an-additional-gomod-exclude-unnecessary-content-do-modules-have-the-equivalent-of-a-gitignore-file

@sebd71 as I wrote above:

Adding empty go.mod files to a bunch of project directories just to suppress this warning is probably a nonstarter.

It's simply not reasonable for us to add lots of go.mod files to non-Go projects, especially in an ongoing way (adding and deleting them as we add and delete symlinks).

I'm agree with you and that's why I said that it's not a perfect workaround.
I'm also facing the same problem.
A good solution would be to add in root go.mod  "exclude mydir/*" statement, but unfortunately it seems not supported for now.

@bcmills @jayconrod would you accept a PR for this once the tree opens? We still haven't migrated our code to modules and this tooling wart is definitely a sticking point.

Discussed with @matloob, @bcmills offline. It seems like the best thing to do here is only print this warning when there's an explicit argument that has a ..., and the go command does not follow a symbolic link to a directory when expanding that pattern. The warning should not be printed for all, nor should it be printed for go mod tidy.
@cespare Does that work for you?
I'd be happy to review a CL for this. We can review any time, but it won't be merged until the tree opens for 1.16.

@cespare Does that work for you?

Absolutely. Thanks!


Move Bootstrap to a separate package

⚠  This is in parallel to #11839. Don't merge both PRs, only pick one. ⚠
This moves Bootstrap (and some core components) to a separate package.
Refs: #6351, #8237
Stays in core atom/atom/static:

[x] Octicons
[x] Normalize
[x] Scaffolding
[x] Cursors
[x] Panels
[x] Panes
[x] Syntax
[x] text-editor-light
[x] workspace-view

Moved + merged into the atom/ui package:

[x] Tooltips
[x] Buttons + Button Groups
[x] Lists
[x] Code
[x] Nav
[x] Scaffolding
[x] Utilities
[x] Alerts
[x] Tables
[x] Forms
[x] Type
[x] Normalize
[x] Clean up some un-used styles. Like IE hacks etc.

Removed:

🔥  grid
🔥  input-groups
🔥  labels
🔥  thumbnails
🔥  close

Motivation
Currently we load Bootstrap and then try to override it in core. Moving some of it into its own package allows more control and adjustments can be made directly. Also, making changes in a separate package feels less intimidating and can easier be rolled back in package.json.
Concerns
What happens if you disable the UI package?

Because the main layout styles are still in core and themes override a lot of the components, it doesn't look too broken. Just a few things seem off or un-styled. For the tree-view or nav in the settings, we could remove the list styles in those packages to make a bit more robust. Being able to disable the UI package might inspire the community to create their own version or add additional components.
Some styles got removed, so there is a chance that something might look unstyled or off. Packages bundled with Atom should be fine, but it's hard to predict if community packages rely on any of the removed styles. Maybe in the Beta phase we can catch some regressions.
@atom/design @atom/core

@simurai Why is this being used as an apm package? Wouldn't it make a lot more sense for this to be an npm package that we simply add a dependency to? That avoids a LOT of problems, in particular the package being disabled like you've discovered.

@simurai Let me know if you need any assistance btw. After tomorrow I should have a some spare time on my hands again, so I can pitch in wherever it is needed 🎉

@thomasjo Ohh.. you're right. npm sounds like the much better option. We should look into that.


UPC-A code is not reading properly

The plugin not reading UPC-A code as the last digit is missing from the scanned result.

The above image the barcode value is<PHONE_NUMBER>06. But the plugin reading it as<PHONE_NUMBER>0. The last digit 6 is missing.
In the device scan setting, the Send Check digit is already checked. But still having same issue

Fixed by adding "DEC_UPCA_CHECK_DIGIT_TRANSMIT": true in the properties

Hi sorry for the late answer, exactly by setting the property you get the expected behavior, whatever extra conf you need to do should be done by specifying properties, here a similar issue with EAN: https://github.com/luis901101/honeywell_scanner/issues/1


[SPARK-15782] [YARN] Set spark.jars system property in client mode

What changes were proposed in this pull request?
When --packages is specified with spark-shell the classes from those packages cannot be found, which I think is due to some of the changes in SPARK-12343. In particular SPARK-12343 removes a line that sets the spark.jars system property in client mode, which is used by the repl main class to set the classpath.
How was this patch tested?
Tested manually.
This system property is used by the repl to populate its classpath. If
this is not set properly the classes for external packages cannot be
found.
@tgravescs @vanzin as you may be familiar with this part of the code.

Can one of the admins verify this patch?

@vanzin updated to address your comments.

thanks @vanzin, addressed your comments.

ok to test

Test build #60513 has started for PR 13527 at commit 3a026b3.

LGTM pending tests. The 2.10 shell code could be cleaned up, but that would be better done as part of removing ADD_JARS.

Test build #60514 has started for PR 13527 at commit d69e33f.

Test build #60513 has finished for PR 13527 at commit 3a026b3.

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

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

Merged build finished. Test PASSed.

Test build #60514 has finished for PR 13527 at commit d69e33f.

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

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

Merged build finished. Test PASSed.

@nezihyigitbasi I went through the change again and I think the code should be a little more careful about only looking at the YARN settings if actually running on YARN.
You could also make that easier by having a method in Utils to return the list of user jars given a SparkConf object. Then you could just call that method from the three different places, instead of the current code which looks very similar in its 3 versions.

Test build #60577 has started for PR 13527 at commit bb3659d.

@vanzin makes sense, updated.

Test build #60579 has started for PR 13527 at commit ba58657.

LGTM bar one tiny nit. Also, the title should probably say "yarn" instead of "core" since this only really affects YARN mode.

@vanzin updated, thanks a lot for reviewing this one.

Test build #60587 has started for PR 13527 at commit c4be22b.

Test build #60577 has finished for PR 13527 at commit bb3659d.

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

Merged build finished. Test FAILed.

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

retest this please

Test build #60579 has finished for PR 13527 at commit ba58657.

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

Merged build finished. Test FAILed.

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

Test build #60589 has started for PR 13527 at commit c4be22b.

Test build #60587 has finished for PR 13527 at commit c4be22b.

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

Merged build finished. Test PASSed.

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

Test build #60589 has finished for PR 13527 at commit c4be22b.

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

Merged build finished. Test FAILed.

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

Failures are unrelated (and one run passed). Merging to master / 2.0.

This broke 2.10. Can somebody do a quick fix?

Let me take a look.


Fix inclusion of CSS

This hopefully fixes the bug described in https://github.com/spatialaudio/nbsphinx/issues/1#issuecomment-209125641.
I'm not sure if it's allowed to add new fields to the document and I don't know if True is a meaningful value for an attribute of document ...

I'll test this out today!

I just had a closer look, and boolean values are actually used in the document (e.g. linenos="False"). The values apparently are somehow stored with type information, there is a difference between "True" and True. Therefore, I think my use of True is fine.
As for adding arbitrary attributes, I still don't know if that's officially allowed, but since it works fine, and collisions are avoided by prefixing nbsphinx_, I think that's fine, too.


Recorder not working with MS SQL Database

Home Assistant release with the issue:

Last working Home Assistant release (if known):
0.103.0b0
Operating environment (Hass.io/Docker/Windows/etc.):
Ubuntu 18.04 LTS / Docker /DB Server: Windows Server 2019 + MS SQL 2017

Integration:
Recorder

Description of problem:
After updating to 0.103.0 recorder is not working with database running on MS SQL
ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: No module named 'pymssql' (retrying in 3 seconds)
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
configuration.yaml
recorder:
   db_url:  mssql+pymssql://user:password@SERVER_IP/DB_NAME?charset=utf8

Traceback (if applicable):

Additional information:

If you have the db_url from the docs,
mysql+pymysql://user:password@SERVER_IP/DB_NAME?charset=utf8

can you please try it with only mysql?
mysql://user:password@SERVER_IP/DB_NAME?charset=utf8

This is most likely related to "Moving imports of Python packages" from the release notes.
@Bouni, @briglx, @djpremier, @exxamalte, @javicalle, @Michsior14, @Misiu, @mnigbur, @Quentame, @springstan, @thaohtp, @tulindo, If one of you can guide me trough the code or show me a similar PR, I can produce a PR for the fix.

While I cannot eliminate the possibility that moving the imports could have caused an issue with MS SQL Server in particular, I don't think that declaring a dependency on the MS SQL Server python library is the correct solution.
Have you had a look at the documentation? This lists manual steps for several databases including MS SQL Server.
https://www.home-assistant.io/integrations/recorder/#ms-sql-server
Maybe there is a smarter way to dynamically load the correct dependency for a particular database engine?

So my pr was closed because pymssql is deprecated.
We are supposed to use osbc, does anyone know how to migrate from mssql to osbc?

Doco has just been updated.

I have the same error, but reading the new documentation I'm not able to make it working.
How I can configure dsnname in Hassio?
How can I install dependencies in Hassio?

I have this issue as well.
On HassOS.
Changing config to use pyodbc does not work, and generates the following error message in logs:
Error during connection setup: (pyodbc.InterfaceError) ('IM002', '[IM002] [unixODBC][Driver Manager]Data source name not found and no default driver specified (0) (SQLDriverConnect)')
(Background on this error at: http://sqlalche.me/e/rvf5) (retrying in 3 seconds)

Same issue here. Worked fine in 102.2.

I think there is a problem with the docs, the odbc string connection should specify the ms sql driver but the sample docs don't mention this.
could someone double check the docs?

After doing a bit of research, I have tried what I believe is the right format connection string with a hostname rather than a DSN name as per SQLAlchemy docs.
db_url: mssql+pyodbc://user:pass@<IP_ADDRESS>\SQLEXPRESS/Hass?driver=SQL+Server+Native+Client+10.0
Still no joy:  I'm sure I've just done something dumb here
2019-12-14 19:15:57 ERROR (MainThread) [homeassistant.components.hassio] Invalid config for [recorder]: [--db_url] is an invalid option for [recorder]. Check: recorder->recorder->--db_url. (See /config/configuration.yaml, line 99). Please check the docs at https://home-assistant.io/integrations/recorder/
Any help would greatly be appreciated.

Not sure if this will help you, but there's a PR to fix this in hassio-homeassistant.
https://github.com/home-assistant/hassio-homeassistant/pull/76/files

Thx.
I'm going to switch to MariaDB in the interim. Will monitor

You can use https://hub.docker.com/repository/docker/sqldiablo/home-assistant-pymssql as a temporary fix until my changes make it into the next build of the stock container. You'll need to change your db URL to look like this:
'mssql+pyodbc://my-username:my-password@my-sql-server/my-db?charset=utf8;DRIVER={FreeTDS};Port=1433;'

@sqldiablo Any ETA of when is this going to be released? Do we need to wait until next year?

I'm not sure, as I'm not involved in the release process. @pvizeli, can you help answer this?

Scratch that. 103.1 just released 30 minutes ago, and that container includes this fix. This issue should be resolved now if you pull the latest tag from https://hub.docker.com/r/homeassistant/home-assistant/

Ok, this is weird. When I pulled latest, I got 103.0 of Home Assistant, but the container does include the fix for this issue. So, you won't get 103.1 just yet, but you will get 103.0 with the FreeTDS driver.

@sqldiablo How do I pull the container in hassos/hassio?

You'll need to wait until they release the 103.1 container so that hassio will see the update, then you can just update like you normally would, and it'll pull down the new container for you.

I reinstalled 103.0 about 20 minutes ago and it works now for me on HassOS. Then immediately after installing 103.0 again, I was offered 103.1

Updating to hassos 3.7 now....

Yep, the 103.1 containers are our there now. I must have just jumped the gun a little.

Is the format still mssql+pyodbc://user:pass@/HOME_ASSISTANT ?

Scroll up in the comments. I posted what the new format is.

I see, we should probably update the docs.

My update to 0.103.1 failed:
19-12-19 00:16:09 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home Assistant startup!
19-12-19 00:16:09 CRITICAL (MainThread) [hassio.homeassistant] HomeAssistant update fails -> rollback!
19-12-19 00:16:09 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.103.0
19-12-19 00:16:09 INFO (SyncWorker_18) [hassio.docker.interface] Update image homeassistant/raspberrypi4-homeassistant:0.103.1 to homeassistant/raspberrypi4-homeassistant:0.103.0

I'm having issues with 103.1 not starting as well. I've reverted back to 103.0.

Here is the issue

Seems to be fix in 0.103.2
Add or change the following lines to configuration.yaml
recorder:
db_url: mssql+pyodbc://my-username:my-password@my-sql-server/my-db?charset=utf8;DRIVER={FreeTDS};Port=1433;


initial state shows user's location weather data

Changes made

Initial app state shows weather data for the user's location
If location services are denied, default location (Nashik) is used

Issues solved
#57

Great job, @Tobshub . Really nice implementation. 🚀
But, this branch has conflicts that must be resolved. It will be great if you fix that and make another PR. ✔

Got it @Sanket1308, new PR coming up


Deviantart Module Doesn't DL Full Content

If you try to save the full image or any other downloadable content (like a .swf) that's hosted on deviantart,
Grabber only downloads the thumbnail for the post; even if I'm logged in to deviantart in Grabber.
Ideally it would be far more desirable to have the ability to download the "Free Download" content if you're signed in on Grabber, so that one can scrape higher resolution content and more :D I'm trying to collect a lot of .swf's for example, and this would remedy that

Indeed, I never really checked out other things than images on DA so I never noticed this button. Just pushed a fix 👍

Good catch, just pushed a fix for that as well 👍
This case was handled but seems like there was a small bug in there 😅

Hey i'm sorry to reopen this tread but i still have the same problem in 7.12.2


Drop support for EOL Python 2.6

Resolves #69.
Python 2.6 is EOL and no longer receiving security updates (or any updates) from the core Python team.

Version
Release date
Supported until

2.6
2008-10-01
2013-10-29

Source: https://en.wikipedia.org/wiki/CPython#Version_history
It's also little used. Here's the pip installs for validation from PyPI for December 2018:

category
percent
downloads

3.7
50.96%
106

3.6
21.63%
45

2.7
12.50%
26

null
12.02%
25

3.5
2.88%
6

Total

208

Source: pypistats python_minor --last-month validation

Fantastic.  I was literally looking in to this yesterday morning, but it looks like you have done a much more thorough job.
As you've spotted the if sys.version_info < (2, 7): bit in validation/tests/__init__.py would you mind replacing from __future__ import absolute_import and from . import unittest in the other test modules with import unittest.
I re-exported to avoid having lint hints everywhere.  I think this PR is the right place to remove the cludge.
Other than that, I think this has everything.  Thank you very much.

Updated!

Merged.  Thank you


Disable sortable with __slot and/or __component?

By using the sortField property to pass the field name to either the slot or component, the field is effectively made sortable and there is no easy way to get rid of this.
In my case this is far from what I would like as my custom visualisations are definitely not sortable.
Can this be modified? I see a couple possible, fairly easy, solutions:
Backwards compatible:

modify isSortable() to allow a sortable property in the field:

if (typeof field.sortable !== 'undefined') {
  return field.sortable;
}
return !(typeof field.sortField === 'undefined');

allow isSortable() override

Not backwards compatible:

Pass the entire field object instead of just the name so that whatever custom properties can be used

@Blizzke In version 2.0 of Vuetable, the field object is passed to both slot and component instead of just the sortField. The reason I'm not yet back-port this feature is because of the backward compatibility issue. So, this is going to be a breaking change in v2.0.

Good to know thank you. Is 2.0 very far off in your estimates?
If it's months out it might be better if I fork and update my own version.
If it's relatively close I'll just wait.

It's hard to tell because of the documentation. Everything in the next branch is almost ready for beta release, but the documentation hasn't progress as fast as I wish. So, I would recommend you making a fork so that it wouldn't interrupt your work.


stacked bars bug for negative value

Expected Behaviour
negative value bar shows below 0 line
Actual Behaviour
negative value bar shows same as positive value bar - above 0 line

Unable to replicate the bug, can you provide more info

To replicate, just try to show two stacked bar datasets with one having negative values.
Here is an example that shows the issue on version 1.6.1:
<!DOCTYPE html>

    <meta charset="UTF-8">
    <title>Title</title>

I can confirm. This is an issue. Hope it will be fixed soon.


Decide on project name (Enable or Socialbond)

Twitter poll posted at:
https://twitter.com/onggunhao/status/1132978090420916224

Twitter (with 11 votes) says Enable. I do think it's a bit of a toss up, especially if the idea of bonds (i.e. tradeable bonds etc) catches on. Closing issue for now


Ios app can not playing videos from file system, only from Gridfs

Hi,
video playing is only from Gridfs possible. Android is no problem and it works
Server: 3.13,2
iOS App: 4.16
Rocketchat runs as snap
Can someone me help please?

Solved with 3.14


g_tcp_connect: getaddrinfo() failed: Servname not supported for ai_socktype

Distro: Debian 9
Xrdp version: 0.9.1-9+deb9u3
Whenever I login with "saving credentials" on Windoze mstsc, there's a black screen without Xfce, but the usual login page access works. xrdp.log spews out this:
[20190530-10:14:34] [DEBUG] Closed socket 18 (AF_INET6 :: port 0)
[20190530-10:14:34] [ERROR] g_tcp_connect: getaddrinfo() failed: Servname not supported for ai_socktype
[20190530-10:14:34] [ERROR] g_tcp_connect: getaddrinfo() failed: Servname not supported for ai_socktype
[20190530-10:14:35] [ERROR] g_tcp_connect: getaddrinfo() failed: Servname not supported for ai_socktype
[20190530-10:14:36] [ERROR] g_tcp_connect: getaddrinfo() failed: Servname not supported for ai_socktype
[20190530-10:14:36] [ERROR] g_tcp_connect: getaddrinfo() failed: Servname not supported for ai_socktype
[20190530-10:14:37] [ERROR] g_tcp_connect: getaddrinfo() failed: Servname not supported for ai_socktype
[20190530-10:14:37] [DEBUG] xrdp_wm_log_msg: connection problem, giving up
[20190530-10:14:37] [DEBUG] Closed socket 18 (AF_INET6 :: port 0)
[20190530-10:14:37] [DEBUG] xrdp_wm_log_msg: some problem
[20190530-10:14:37] [ERROR] xrdp_wm_log_msg: Error connecting to: <IP_ADDRESS>
[20190530-10:14:37] [DEBUG] xrdp_mm_module_cleanup
[20190530-10:14:37] [DEBUG] return value from xrdp_mm_connect 1

The server is behind NAT, but I've passed through both TCP and UDP ports 3389.
To clarify - logging without username and/or password specified, and using the built-in login page works for me, but not afterr saving combined credentials.

This is the complete connection log:
[20190530-13:55:43] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3389)
[20190530-13:55:43] [DEBUG] Closed socket 11 (AF_INET <IP_ADDRESS>:3389)
[20190530-13:55:43] [WARN ] X.509 certificate should use absolute path, using default instead: /etc/xrdp/cert.pem
[20190530-13:55:43] [WARN ] X.509 key file should use absolute path, using default instead: /etc/xrdp/key.pem
[20190530-13:55:43] [DEBUG] Security layer: requested 3, selected 1
[20190530-13:55:43] [DEBUG] xrdp_00003a69_wm_login_mode_event_00000001
[20190530-13:55:43] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20190530-13:55:43] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20190530-13:55:58] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip <IP_ADDRESS> port 3350
[20190530-13:55:58] [ERROR] g_tcp_socket: Address family not supported by protocol
[20190530-13:55:58] [INFO ] IPv6 not supported, falling back to IPv4
[20190530-13:55:58] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:55:59] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:55:59] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:00] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:01] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:01] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:02] [DEBUG] Closed socket 18 (AF_INET <IP_ADDRESS>:0)
[20190530-13:56:02] [ERROR] g_tcp_socket: Address family not supported by protocol
[20190530-13:56:02] [INFO ] IPv6 not supported, falling back to IPv4
[20190530-13:56:02] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:03] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:03] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:04] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:05] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:05] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:06] [DEBUG] Closed socket 18 (AF_INET <IP_ADDRESS>:0)
[20190530-13:56:06] [ERROR] g_tcp_socket: Address family not supported by protocol
[20190530-13:56:06] [INFO ] IPv6 not supported, falling back to IPv4
[20190530-13:56:06] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:07] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:07] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:08] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:09] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:09] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:10] [DEBUG] Closed socket 18 (AF_INET <IP_ADDRESS>:0)
[20190530-13:56:10] [ERROR] g_tcp_socket: Address family not supported by protocol
[20190530-13:56:10] [INFO ] IPv6 not supported, falling back to IPv4
[20190530-13:56:10] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:11] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:56:15] [ERROR] xrdp_wm_log_msg: Error connecting to sesman: <IP_ADDRESS> port: 3350
[20190530-13:56:15] [DEBUG] Closed socket 18 (AF_INET <IP_ADDRESS>:0)
[20190530-13:56:15] [DEBUG] return value from xrdp_mm_connect 1
[20190530-13:56:32] [DEBUG] Closed socket 11 (AF_INET <IP_ADDRESS>:3389)
[20190530-13:56:32] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3389)
[20190530-13:56:32] [DEBUG] xrdp_mm_module_cleanup
[20190530-13:56:32] [ERROR] Listening socket is in wrong state, terminating listener
[20190530-13:56:34] [INFO ] starting xrdp with pid 15181
[20190530-13:56:34] [ERROR] g_tcp_socket: Address family not supported by protocol
[20190530-13:56:34] [INFO ] IPv6 not supported, falling back to IPv4
[20190530-13:56:34] [INFO ] listening to port 3389 on <IP_ADDRESS>
[20190530-13:56:59] [INFO ] A connection received from: [MyWANIP] port 57460
[20190530-13:56:59] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3389)
[20190530-13:56:59] [DEBUG] Closed socket 11 (AF_INET <IP_ADDRESS>:3389)
[20190530-13:56:59] [WARN ] X.509 certificate should use absolute path, using default instead: /etc/xrdp/cert.pem
[20190530-13:56:59] [WARN ] X.509 key file should use absolute path, using default instead: /etc/xrdp/key.pem
[20190530-13:56:59] [DEBUG] Security layer: requested 3, selected 1
[20190530-13:57:01] [DEBUG] xrdp_00003bc0_wm_login_mode_event_00000001
[20190530-13:57:01] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20190530-13:57:01] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20190530-13:57:19] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip <IP_ADDRESS> port 3350
[20190530-13:57:19] [ERROR] g_tcp_socket: Address family not supported by protocol
[20190530-13:57:19] [INFO ] IPv6 not supported, falling back to IPv4
[20190530-13:57:19] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:19] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:20] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:20] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:21] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:22] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:23] [DEBUG] Closed socket 18 (AF_INET <IP_ADDRESS>:0)
[20190530-13:57:23] [ERROR] g_tcp_socket: Address family not supported by protocol
[20190530-13:57:23] [INFO ] IPv6 not supported, falling back to IPv4
[20190530-13:57:23] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:23] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:24] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:25] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:25] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:26] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:27] [DEBUG] Closed socket 18 (AF_INET <IP_ADDRESS>:0)
[20190530-13:57:27] [ERROR] g_tcp_socket: Address family not supported by protocol
[20190530-13:57:27] [INFO ] IPv6 not supported, falling back to IPv4
[20190530-13:57:27] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:27] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:28] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:29] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:29] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:30] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:31] [DEBUG] Closed socket 18 (AF_INET <IP_ADDRESS>:0)
[20190530-13:57:31] [ERROR] g_tcp_socket: Address family not supported by protocol
[20190530-13:57:31] [INFO ] IPv6 not supported, falling back to IPv4
[20190530-13:57:31] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:31] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:32] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:33] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:33] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:34] [ERROR] g_tcp_connect: getaddrinfo() failed: Name or service not known
[20190530-13:57:35] [ERROR] xrdp_wm_log_msg: Error connecting to sesman: <IP_ADDRESS> port: 3350
[20190530-13:57:35] [DEBUG] Closed socket 18 (AF_INET <IP_ADDRESS>:0)
[20190530-13:57:35] [DEBUG] return value from xrdp_mm_connect 1
[20190530-13:57:56] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3389)
[20190530-13:57:56] [DEBUG] xrdp_mm_module_cleanup
[20190530-13:57:56] [ERROR] Listening socket is in wrong state, terminating listener```
xrdp.ini:
```[Globals]
; xrdp.ini file version number
ini_version=1

; fork a new process for each incoming connection
fork=true
; tcp port to listen
port=3389
; regulate if the listening socket use socket option tcp_nodelay
; no buffering will be performed in the TCP stack
tcp_nodelay=true
; regulate if the listening socket use socket option keepalive
; if the network connection disappear without close messages the connection will be closed
tcp_keepalive=true
#tcp_send_buffer_bytes=32768
#tcp_recv_buffer_bytes=32768

; security layer can be 'tls', 'rdp' or 'negotiate'
; for client compatible layer
security_layer=negotiate
; minimum security level allowed for client
; can be 'none', 'low', 'medium', 'high', 'fips'
crypt_level=high
; X.509 certificate and private key
; openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
certificate=cert.pem
key_file=key.pem
; specify whether SSLv3 should be disabled
disableSSLv3=true
; set TLS cipher suites
tls_ciphers=HIGH

; Section name to use for automatic login if the client sends username
; and password. If empty, the domain name sent by the client is used.
; If empty and no domain name is given, the first suitable section in
; this file will be used.
;autorun=
autorun=Xorg

allow_channels=true
allow_multimon=true
bitmap_cache=true
bitmap_compression=true
bulk_compression=true
#hidelogwindow=true
max_bpp=32
new_cursors=true
; fastpath - can be 'input', 'output', 'both', 'none'
use_fastpath=both
; when true, userid/password *must* be passed on cmd line
#require_credentials=true
; You can set the PAM error text in a gateway setup (MAX 256 chars)
pamerrortxt=Wrong password!
;
; colors used by windows in RGB format
;
blue=009cb5
grey=dedede
#black=000000
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#green=00ff00
#background=626c72

;
; configure login screen
;

; Login Screen Window Title
ls_title=ls_title

; top level window background color in RGB format
ls_top_window_bg_color=009cb5

; width and height of login screen
ls_width=350
ls_height=430

; login screen background color in RGB format
ls_bg_color=dedede

; optional background image filename (bmp format).
#ls_background_image=

; logo
; full path to bmp-file or file in shared folder
ls_logo_filename=
ls_logo_x_pos=55
ls_logo_y_pos=50

; for positioning labels such as username, password etc
ls_label_x_pos=30
ls_label_width=60

; for positioning text and combo boxes next to above labels
ls_input_x_pos=110
ls_input_width=210

; y pos for first label and combo box
ls_input_y_pos=220

; OK button
ls_btn_ok_x_pos=142
ls_btn_ok_y_pos=370
ls_btn_ok_width=85
ls_btn_ok_height=30

; Cancel button
ls_btn_cancel_x_pos=237
ls_btn_cancel_y_pos=370
ls_btn_cancel_width=85
ls_btn_cancel_height=30

[Logging]
LogFile=xrdp.log
LogLevel=DEBUG
EnableSyslog=true
SyslogLevel=DEBUG
; LogLevel and SysLogLevel could by any of: core, error, warning, info or debug

[Channels]
; Channel names not listed here will be blocked by XRDP.
; You can block any channel by setting its value to false.
; IMPORTANT! All channels are not supported in all use
; cases even if you set all values to true.
; You can override these settings on each session type
; These settings are only used if allow_channels=true
rdpdr=true
rdpsnd=true
drdynvc=true
cliprdr=true
rail=true
xrdpvr=true
tcutils=true

; for debugging xrdp, in section xrdp1, change port=-1 to this:
#port=/var/run/xrdp/sockdir/xrdp_display_10

; for debugging xrdp, add following line to section xrdp1
#chansrvport=/var/run/xrdp/sockdir/xrdp_chansrv_socket_7210

;
; Session types
;

[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=<IP_ADDRESS>
;;port=-1
port=ask-1
code=20

#[Xvnc]
#name=Xvnc
#lib=libvnc.so
#username=ask
#password=ask
#ip=<IP_ADDRESS>
#port=-1
##xserverbpp=24
##delay_ms=2000

;[console]
;name=console
;lib=libvnc.so
;ip=<IP_ADDRESS>
;port=5900
;username=na
;password=ask
;#delay_ms=2000

;[vnc-any]
;name=vnc-any
;lib=libvnc.so
;ip=ask
;port=ask5900
;username=na
;password=ask
;#pamusername=asksame
;#pampassword=asksame
;#pamsessionmng=<IP_ADDRESS>
;#delay_ms=2000

;[sesman-any]
;name=sesman-any
;lib=libvnc.so
;ip=ask
;port=-1
;username=ask
;password=ask
;#delay_ms=2000

;[rdp-any]
;name=rdp-any
;lib=librdp.so
;ip=ask
;port=ask3389

;[neutrinordp-any]
;name=neutrinordp-any
;lib=libxrdpneutrinordp.so
;ip=ask
;port=ask3389
;username=ask
;password=ask

; You can override the common channel settings for each session type
#channel.rdpdr=true
#channel.rdpsnd=true
#channel.drdynvc=true
#channel.cliprdr=true
#channel.rail=true
#channel.xrdpvr=true

sesman.ini:
[Globals]
ListenAddress=<IP_ADDRESS>
ListenPort=3350
EnableUserWindowManager=true
UserWindowManager=startwm.sh
DefaultWindowManager=startwm.sh

[Security]
AllowRootLogin=true
MaxLoginRetry=4
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins
; When AlwaysGroupCheck=false access will be permitted
; if the group TerminalServerUsers is not defined.
AlwaysGroupCheck=false

[Sessions]
;; X11DisplayOffset - x11 display number offset
; Type: integer
; Default: 10
X11DisplayOffset=10

;; MaxSessions - maximum number of connections to an xrdp server
; Type: integer
; Default: 0
MaxSessions=50

;; KillDisconnected - kill disconnected sessions
; Type: boolean
; Default: false
; if 1, true, or yes, kill session after 60 seconds
KillDisconnected=yes

;; IdleTimeLimit - when to disconnect idle sessions
; Type: integer
; Default: 0
; if not zero, the seconds without mouse or keyboard input before disconnect
; not complete yet
IdleTimeLimit=0

;; DisconnectedTimeLimit - when to kill idle sessions
; Type: integer
; Default: 0
; if not zero, the seconds before a disconnected session is killed
; min 60 seconds
DisconnectedTimeLimit=0

;; Policy - session allocation policy
; Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ]
; Default: Xrdp:<User,BitPerPixel> and Xvnc:<User,BitPerPixel,DisplaySize>
; "UBD" session per <User,BitPerPixel,DisplaySize>
; "UBI" session per <User,BitPerPixel,IPAddr>
; "UBC" session per <User,BitPerPixel,Connection>
; "UBDI" session per <User,BitPerPixel,DisplaySize,IPAddr>
; "UBDC" session per <User,BitPerPixel,DisplaySize,Connection>
Policy=Default

[Logging]
LogFile=xrdp-sesman.log
LogLevel=DEBUG
EnableSyslog=1
SyslogLevel=DEBUG

[Xorg]
param=Xorg
param=-config
param=xrdp/xorg.conf
param=-noreset
param=-nolisten
param=tcp

[Xvnc]
param=Xvnc
param=-bs
param=-nolisten
param=tcp
param=-localhost
param=-dpi
param=96

[Chansrv]
; drive redirection, defaults to xrdp_client if not set
FuseMountName=diski

[SessionVariables]
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa

That version is very old. Try the latest version. There're lots of fixes since 0.9.1.
If you want to stay on the version, report it to the Debian team.

I tried to recompile it, shit's broken:
In file included from xrdpvr.c:29:0:
xrdpvr_internal.h:45:2: warning: #warning unsupported distro [-Wcpp]
 #warning unsupported distro
  ^~~~~~~
xrdpvr.c: In function ‘xrdpvr_deinit_player’:
xrdpvr.c:141:9: warning: implicit declaration of function ‘av_close_input_file’ [-Wimplicit-function-declaration]
         av_close_input_file(g_psi.p_format_ctx);
         ^~~~~~~~~~~~~~~~~~~
xrdpvr.c:155:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     cptr = s->p;
          ^
xrdpvr.c:158:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     s->p = cptr;
          ^
xrdpvr.c:114:13: warning: variable ‘rv’ set but not used [-Wunused-but-set-variable]
     int     rv;
             ^~
xrdpvr.c: In function ‘xrdpvr_play_media’:
xrdpvr.c:191:9: warning: implicit declaration of function ‘av_open_input_file’ [-Wimplicit-function-declaration]
     if (av_open_input_file(&g_psi.p_format_ctx, filename, NULL, 0, NULL))
         ^~~~~~~~~~~~~~~~~~
xrdpvr.c:199:9: warning: implicit declaration of function ‘av_find_stream_info’ [-Wimplicit-function-declaration]
     if (av_find_stream_info(g_psi.p_format_ctx) < 0)
         ^~~~~~~~~~~~~~~~~~~
xrdpvr.c:218:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if (g_psi.p_format_ctx->streams[i]->codec->codec_type ==
         ^~
In file included from xrdpvr_internal.h:30:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
xrdpvr.c:219:54: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
                                                      CODEC_TYPE_VIDEO &&
                                                      ^~~~~~~~~~~~~~~~
xrdpvr.c:219:54: note: each undeclared identifier is reported only once for each function it appears in
xrdpvr.c:220:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             g_psi.p_format_ctx->streams[i]->codec->codec_id ==
             ^~~~~
In file included from xrdpvr_internal.h:30:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
xrdpvr.c:221:54: error: ‘CODEC_ID_H264’ undeclared (first use in this function)
                                                      CODEC_ID_H264 &&
                                                      ^~~~~~~~~~~~~
xrdpvr.c:227:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if (g_psi.p_format_ctx->streams[i]->codec->codec_type ==
         ^~
In file included from xrdpvr_internal.h:30:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
xrdpvr.c:228:54: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
                                                      CODEC_TYPE_AUDIO &&
                                                      ^~~~~~~~~~~~~~~~
xrdpvr.c:229:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             g_psi.p_format_ctx->streams[i]->codec->codec_id ==
             ^~~~~
In file included from xrdpvr_internal.h:30:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
xrdpvr.c:230:54: error: ‘CODEC_ID_AAC’ undeclared (first use in this function)
                                                      CODEC_ID_AAC &&
                                                      ^~~~~~~~~~~~
xrdpvr.c:250:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
     g_psi.p_audio_codec_ctx = g_psi.p_format_ctx->streams[g_audio_index]->codec;
     ^~~~~
In file included from xrdpvr_internal.h:30:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
xrdpvr.c:251:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
     g_psi.p_video_codec_ctx = g_psi.p_format_ctx->streams[g_video_index]->codec;
     ^~~~~
In file included from xrdpvr_internal.h:30:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
xrdpvr.c:274:9: warning: implicit declaration of function ‘avcodec_open’ [-Wimplicit-function-declaration]
     if (avcodec_open(g_psi.p_audio_codec_ctx, g_psi.p_audio_codec) < 0)
         ^~~~~~~~~~~~
xrdpvr.c:281:13: warning: pointer targets in passing argument 1 of ‘hexdump’ differ in signedness [-Wpointer-sign]
     hexdump(g_psi.p_audio_codec_ctx->extradata,
             ^~~~~
xrdpvr.c:39:1: note: expected ‘char *’ but argument is of type ‘uint8_t * {aka unsigned char *}’
 hexdump(char *p, int len)
 ^~~~~~~
xrdpvr.c:283:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int64_t {aka long int}’ [-Wformat=]
     printf("%d %d %d %d\n", g_psi.p_audio_codec_ctx->sample_rate,
                 ^
xrdpvr.c:297:5: warning: ‘av_bitstream_filter_init’ is deprecated [-Wdeprecated-declarations]
     g_psi.bsfc = av_bitstream_filter_init("h264_mp4toannexb");
     ^~~~~
In file included from xrdpvr_internal.h:29:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5847:27: note: declared here
 AVBitStreamFilterContext *av_bitstream_filter_init(const char *name);
                           ^~~~~~~~~~~~~~~~~~~~~~~~
xrdpvr.c:310:33: warning: pointer targets in passing argument 4 of ‘xrdpvr_set_audio_format’ differ in signedness [-Wpointer-sign]
                                 g_psi.p_audio_codec_ctx->extradata,
                                 ^~~~~
In file included from xrdpvr.c:28:0:
xrdpvr.h:40:6: note: expected ‘char *’ but argument is of type ‘uint8_t * {aka unsigned char *}’
 int  xrdpvr_set_audio_format(void *channel, uint32_t stream_id, int format,
      ^~~~~~~~~~~~~~~~~~~~~~~
xrdpvr.c: In function ‘xrdpvr_get_frame’:
xrdpvr.c:379:13: warning: ‘av_bitstream_filter_filter’ is deprecated [-Wdeprecated-declarations]
             error = av_bitstream_filter_filter(bsfc, g_psi.p_video_codec_ctx, 0,
             ^~~~~
In file included from xrdpvr_internal.h:29:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5879:5: note: declared here
 int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
xrdpvr.c:382:64: error: ‘PKT_FLAG_KEY’ undeclared (first use in this function)
                                                av_pkt->flags & PKT_FLAG_KEY);
                                                                ^~~~~~~~~~~~
xrdpvr.c:385:17: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
                 av_free_packet(av_pkt);
                 ^~~~~~~~~~~~~~
In file included from xrdpvr_internal.h:29:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4483:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
xrdpvr.c:386:24: error: ‘AVPacket {aka struct AVPacket}’ has no member named ‘destruct’
                 new_pkt.destruct = av_destruct_packet;
                        ^
xrdpvr.c:386:36: error: ‘av_destruct_packet’ undeclared (first use in this function)
                 new_pkt.destruct = av_destruct_packet;
                                    ^~~~~~~~~~~~~~~~~~
xrdpvr.c: In function ‘send_audio_pkt’:
xrdpvr.c:429:5: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
     av_free_packet(av_pkt);
     ^~~~~~~~~~~~~~
In file included from xrdpvr_internal.h:29:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4483:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
xrdpvr.c: In function ‘send_video_pkt’:
xrdpvr.c:440:5: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
     av_free_packet(av_pkt);
     ^~~~~~~~~~~~~~
In file included from xrdpvr_internal.h:29:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4483:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
xrdpvr.c: In function ‘xrdpvr_play_frame’:
xrdpvr.c:486:9: warning: implicit declaration of function ‘usleep’ [-Wimplicit-function-declaration]
         usleep(delay_in_us);
         ^~~~~~
xrdpvr.c:495:13: warning: ‘av_bitstream_filter_filter’ is deprecated [-Wdeprecated-declarations]
             error = av_bitstream_filter_filter(bsfc, g_psi.p_video_codec_ctx, 0,
             ^~~~~
In file included from xrdpvr_internal.h:29:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5879:5: note: declared here
 int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
xrdpvr.c:498:63: error: ‘PKT_FLAG_KEY’ undeclared (first use in this function)
                                                av_pkt.flags & PKT_FLAG_KEY);
                                                               ^~~~~~~~~~~~
xrdpvr.c:501:17: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
                 av_free_packet(&av_pkt);
                 ^~~~~~~~~~~~~~
In file included from xrdpvr_internal.h:29:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4483:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
xrdpvr.c:502:24: error: ‘AVPacket {aka struct AVPacket}’ has no member named ‘destruct’
                 new_pkt.destruct = av_destruct_packet;
                        ^
xrdpvr.c:502:36: error: ‘av_destruct_packet’ undeclared (first use in this function)
                 new_pkt.destruct = av_destruct_packet;
                                    ^~~~~~~~~~~~~~~~~~
xrdpvr.c:535:5: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
     av_free_packet(&av_pkt);
     ^~~~~~~~~~~~~~
In file included from xrdpvr_internal.h:29:0,
                 from xrdpvr.c:29:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4483:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
xrdpvr.c: In function ‘xrdpvr_set_geometry’:
xrdpvr.c:600:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     cptr = s->p;
          ^
xrdpvr.c:603:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     s->p = cptr;
          ^
xrdpvr.c: In function ‘xrdpvr_set_video_format’:
xrdpvr.c:639:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     cptr = s->p;
          ^
xrdpvr.c:642:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     s->p = cptr;
          ^
xrdpvr.c: In function ‘xrdpvr_set_audio_format’:
xrdpvr.c:688:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     cptr = s->p;
          ^
xrdpvr.c:691:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     s->p = cptr;
          ^
xrdpvr.c: In function ‘xrdpvr_send_video_data’:
xrdpvr.c:729:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     cptr = s->p;
          ^
xrdpvr.c:732:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     s->p = cptr;
          ^
xrdpvr.c: In function ‘xrdpvr_send_audio_data’:
xrdpvr.c:775:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     cptr = s->p;
          ^
xrdpvr.c:778:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     s->p = cptr;
          ^
xrdpvr.c: In function ‘xrdpvr_create_metadata_file’:
xrdpvr.c:817:9: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
         close(fd);
         ^~~~~
xrdpvr.c:827:15: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration]
     if ((rv = read(fd, s->p, 1048576)) <= 0)
               ^~~~
xrdpvr.c:837:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     cptr = s->p;
          ^
xrdpvr.c:842:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     s->p = cptr;
          ^
xrdpvr.c: In function ‘xrdpvr_read_from_client’:
xrdpvr.c:877:14: warning: implicit declaration of function ‘WTSVirtualChannelRead’ [-Wimplicit-function-declaration]
         ok = WTSVirtualChannelRead(channel, timeout, s->p, bytes_read,
              ^~~~~~~~~~~~~~~~~~~~~
xrdpvr.c: In function ‘xrdpvr_write_to_client’:
xrdpvr.c:915:14: warning: implicit declaration of function ‘WTSVirtualChannelWrite’ [-Wimplicit-function-declaration]
         rv = WTSVirtualChannelWrite(channel, &s->data[index], bytes_to_send,
              ^~~~~~~~~~~~~~~~~~~~~~
xrdpvr.c: In function ‘xrdpvr_set_volume’:
xrdpvr.c:959:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     cptr = s->p;
          ^
xrdpvr.c:962:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     s->p = cptr;
          ^
xrdpvr.c: In function ‘xrdpvr_send_init’:
xrdpvr.c:986:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     cptr = s->p;
          ^
xrdpvr.c:989:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     s->p = cptr;
          ^
xrdpvr.c: In function ‘xrdpvr_init_player’:
xrdpvr.c:99:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
xrdpvr.c: In function ‘send_audio_pkt’:
xrdpvr.c:431:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
xrdpvr.c: In function ‘send_video_pkt’:
xrdpvr.c:442:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

@ivdok xrdpvr is not well-maintained. Turn it off at this time. xrdpvr is not related to the original issue.

Confirmed, no feedback from reporter as of 19 Aug 2024


error when compiling for iOS

I followed the steps to install AppWithWearable and compile for mac M-series
flutter run fails with:
Launching lib/main.dart on Diego’s iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project:
Running pod install...                                           1,108ms
Running Xcode build...
Xcode build done.                                           19.3s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): lib/env/env.dart:3:6: Error: Error when reading 'lib/env/env.g.dart': No such file or directory

I see this was a problem in the app without wearable addressed here:
https://github.com/BasedHardware/Friend/blob/main/apps/AppStandalone/README.md
However that one is for the standalone app. What it suggest wouldn't work since API secrets come from the app itself according to the [guide] (https://docs.basedhardware.com/get_started/Setup/)

Alright some progress. Guide needs to be updated, missing one step:
dart run build_runner build

that generates lib/env/env.g.dart. However the Pinecone key is giving issues.
[INFO] Generating build script completed, took 159ms
[INFO] Reading cached asset graph completed, took 65ms
[INFO] Checking for updates since last build completed, took 773ms
[SEVERE] envied_generator:envied on lib/env/env.dart:

Environment variable not found for field `pineconeApiKey`.
package:friend_private/env/env.dart:21:17
   ╷
21 │   static String pineconeApiKey = _Env.pineconeApiKey;
   │                 ^^^^^^^^^^^^^^
   ╵
[INFO] Running build completed, took 343ms
[INFO] Caching finalized dependency graph completed, took 53ms

Same for the Pinecone index URL and the index namespace. I can comment all three out in lib/env/env.dart and then env.g.dart generates successfully. But App compilation then would fail with
Running Xcode build...
Xcode build done.                                           10.4s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): lib/backend/api_requests/api_calls.dart:264:20: Error: Member not found: 'pineconeIndexUrl'.

The app read me has been updated and should be correct now.

You need to update your .env file to contain all the keys in .env.template

I think we should also either update the installation guide in the website or somehow point to the Readme being the source of truth


Quickstart test

So far so good. I will advance testing models and other complicated calculation in order to see how Azure Machine Learning behaves

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 72c6907a-8658-f29b-cce9-6af0a359f26b
Version Independent ID: e41c8c19-d858-9a84-4b89-1b65bdd960a8
Content: Quickstart: Use the Python SDK to create a machine learning service workspace - Azure Machine Learning
Content Source: articles/machine-learning/service/quickstart-create-workspace-with-python.md
Service: machine-learning
GitHub Login: @hning86
Microsoft Alias: haining

@Renton2017 Glad to see your kudos! We will be better! ^^

@sdgilley @cjgronlund


Chapter 2 - AttrubiteError

Good afternoon!
I have some problems with chapter 2 - transformation.
I defined DataFrameSelector (like OldDataFrameSelector in your Jupyter notebook). But after using FeatureUnion and calling for housing_prepared, it returns AttributeError "'DataFrameSelector' object has no attribute 'fit'". Will attach my code below. Thank u!
from sklearn.base import BaseEstimator, TransformerMixin

class DataFrameSelector(BaseEstimator, TransformerMixin):
    def __init__(self, attribute_names):
        self.attribute_names = attribute_names
    def fit(self,X,y=None):
        return self
    def transform(self,X,y = None):
        return X[self.attribute_names].values

num_attribs = list(housing_num)
cat_attribs = ["ocean_proximity"]
num_pipeline = Pipeline([('selector',DataFrameSelector(num_attribs)),
                         ('imputer',Imputer(strategy = "median")),
                         ('attribs_adder',FunctionTransformer(add_extra_features, validate=False)),
                         ('std_scaler',StandardScaler()),])

old_cat_pipeline = Pipeline([
        ('selector', DataFrameSelector(cat_attribs)),
        ('cat_encoder', OneHotEncoder(sparse=False)),
    ])

from sklearn.pipeline import FeatureUnion

old_full_pipeline = FeatureUnion(transformer_list=[
        ("num_pipeline", num_pipeline),
        ("cat_pipeline", old_cat_pipeline),
    ])

housing_prepared = old_full_pipeline.fit_transform(housing)
housing_prepared

Hi @sofaflyyoufools ,
Thanks for your question. Your code looks fine to me. Could you please restart the notebook, and start over, and if an exception occurs, please copy/paste the full stacktrace here?


Make GlobalToolbar setting be the default experience for all profiles

Need to update the Notebook theme images

Closing because we want to focus on profiles from getting started to make it super easy for anyone to choose to have the global toolbar


feat: add axelar token to currencies.ts

📝 Description
Add the Axelar token to currencies.ts file, as part of the Axelar ledger app submission for Ledger Live
❓ Context

Impacted projects: @ledgerhq/cryptoassets, live-desktop
Linked resource(s):

✅ Checklist
Not sure if test coverage is required

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo
🚀 Expectations to reach

Hi @Windforcer  thanks for your contribution.
Can you please add a changeset? See CONTRIBUTING.md for more information.
Thank you.

Understood, I know the Axelar Ledger app submission is still under review. Please let me know once the Nano app review is completed and this PR can be considered. Thanks for you help

@haammar-ledger Can we re-open this PR? I believe we still want this merged eventually - just at a later time once the Ledger app review is completed. Thanks

Hi @Windforcer,
Thank you for your contribution and for this PR once the ledger app review is completed we'll reopen it.
Best regards.


Need resume support for really nasty proxies (or a way to extend cache manually)

In my environment, the proxy is really nasty, it interrupts the download at some undefined point to check it for viruses. npm_lazy needs a way to either resume a download (which works with this proxy) or provide a way to add a tarball to the cache manually (i.e. download first and then add).

closing to clean up the issues list a bit


Code Fences not being displayed properly

Dear Developers,
Unfortunately the code fences are not working properly with the actual version. They are  being displayed, however, new lines are not recognized. Everything is being displayed into one single line, could you please have a look at it ?
Kind Regards,
Cristian

I also experience the same issue. More specifically I try to display a JSON code block and it is displayed in one line.

Same for me!

+1!

In css/theme_extra.css add the important property to line 75:
pre code {
 white-space: pre !important; /* line 75 */
 word-wrap: normal;
 display: block;
 padding: 12px;
 font-size: 12px;
}


Remove ibm prefixes from variables or selectors

Since part of the goals of this project are to be brand-agnostic, we should try and tie the naming here to the system instead of referring to a specific company.

We've had an issue open for a while on the angular repo - https://github.com/IBM/carbon-components-angular/issues/51
I guess the biggest question is - to what? For selectors I'd propose just c (c-dropdown, c-icon-add32).
When we originally went with ibm I know there was some talk of re-branding carbon ... As I understand it we're doubling down on the carbon brand instead, so it makes sense to unify the naming.

@cal-smith good question! We'll find out soon, hopefully 😄 can sync up on Slack if you want to talk about it more!


[LLM] Add Aquila2 model

PR types

New features
PR changes

Models
Description

Add Aquila2 model including configs, modeling and tokenizer.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.ldwang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Lint 问题需要安装pre-commit 后格式化代码，参考步骤如下：
# 安装
pip install pre-commit

# 在项目文件夹下注册pre-commit，每次commit提交时都会格式化代码
pre-commit install

# 单独处理之前的代码文件
pre-commit run --file XXXX.py

Lint 问题需要安装pre-commit 后格式化代码，参考步骤如下：
# 安装
pip install pre-commit

# 在项目文件夹下注册pre-commit，每次commit提交时都会格式化代码
pre-commit install

# 单独处理之前的代码文件
pre-commit run --file XXXX.py

done, updated PR


Propose a change or new feature documentation

What is the context of this PR?
Added guidance documentation to a new 'Contribute' top level section of the DS, with new pages for documenting the process when proposing a new feature and a change to a feature.
How to review
Check all the documentation and links in the new "Contribute" section.

 How to propose a new feature

 How to propose a change