Move particle system computation over to GPU

Akin to #376 , the particle system state is updated on the CPU, where instead we would prefer for these computations to be performed instead on the GPU.
As described in this blog post, aside from custom shader support #78, we would additionally need MonoGame OpenGL instancing support. There is a PR for this, so hopefully it's coming soon.

blog post is unavailable, try this snapshot from web archive.
https://web.archive.org/web/20181231054727/http://www.ramroumi.com/graphics/monogame/2016/04/11/fast-particles.html


feat: all imported layers can be deleted now

title says it all

Thank you for the detailed review @annarieger and @LukasLohoff!


Change URL for notifications to Alarmo Card

Checklist

[x ] I checked for similar existing requests (both open and closed) before posting.
[x ] My request is generic, other users may benefit from it too.

Proposal
Allow the notification URL field to be editable.
Additional info
N/A

I have no idea what you are requesting.
Can you please clarify?
Note that alarmo-card is a separate project with a separate github, so you might be posting in the wrong place.

Sorry, I was not clear!  When alarmo is triggered, it is configured to send a push notification to my phone.  When I press on that notification in iOS it loads the default dashboard of home assistant.  It is preferable to have it load directly to a specified URL that links to a dashboard that shows my alarmo status/cameras so I can figure out what is going on.


Greek translation

Waiting for the CLA to be signed before I can merge this PR. Thanks!

Apologies, I signed the CLA a few days ago but I forgot to email you about it.


v0.7.0_14: No values are shown for chart resolution

SEVERITY: Major
MODULE: Bubble Chart
PLATFORM:

Windows 7 / Chrome 45.0
MAC / Safari 8.0
iPad Air 2 iOS(8.3) / Safari 8.0

RELEASE: v0.7.0
STEPS TO REPRODUCE:

Navigate URL: http://static.gapminderdev.org/vizabi/release/v0.7.0/preview/bubblechart.html
Bubble chart page will be loaded
Click on the full screen button under RESPONSIVENESS
Click the Options button
Select “Region” , “Geo code”, “Geo name” or “Constant” option from first dropdown box under X-axis
Note that min and max values are not shoeing. They are showing as “NaN”

ACTUAL RESULTS:
No values are shown for chart resolution
EXPECTED RESULTS:
Values should be available for chart resolution
SCREENSHOT:

Fixed by disallowing selection of properties on bubble chart axes


Explain default behavior of AssetServer in the asset_loading example

It's unclear where the default AssetServer gets its assets from, so I thought it would be beneficial to explain it in the dedicated asset loading example. This is proven to be an issue for people using bevy by #810, and explaining it in the dedicated asset loading example may be beneficial. This would be complimented by #821, as the error would make it clear where bevy was looking for the asset.
I don't know if it would be beneficial to modify any other examples. I figure that if someone has issues with asset loading they'd probably check the example to see if it has any insight.

Very good call. I removed one of the two examples as I think they were redundant / a little to noisy. Thanks!


git clone in deploy:update_code failing

hi,
it fails for both git and https url. What am I supposed to put into set('repository', ) for it to work?
fatal: could not read Username for '
https://github.com/': No such device or
address
thx

Please, use discussions as this is not a Deployer issue.


util: fix and tests for base64url

ping @dmcgowan
Signed-off-by: Vincent Batts<EMAIL_ADDRESS>

Not super efficient but understandable, LGTM


Upgrade \sqrt zoom and width

This PR does two things:

It evades a Safari bug which improperly zooms nested SVGs. The fix applies to \sqrt and to single-ended stretchy arrows. These SVGs are now single level. Their tails are sliced off using CSS overflow: hidden. Double-ended stretchy arrows and horizontal braces are not fixed. Fixes part of #883.

It adds a min-width to \sqrt so that a \sqrt{} with an empty argument will still render an SVG whose width matches the font glyph width. Fixes #888.

I've updated the test page.

I've added a commit which fixes. #889.

I assumed that DisplayStyle and Smash screenshots hadn't actually changed b/c the screenshots were different for Chrome only.  I should've looked at travis-ci output before making the P.  @ronkok I'll send you another PR later this evening with these screenshots.

@ronkok thanks for the PR.


subctl "clusterid" flag rename

--clusterid <what-so-ever> flag is required when joining a new member of Submariner.
However, clusterid is not directly related to the kubernetes cluster itself, or the kubeconfig of this cluster.  It's a unique id, chosen by the user (not auto-generated), that is required by the submariner tunnel creation.
So, instead of calling this flag “--clusterid”, can we rename it to it “--tunnel-id”?

It's not a good idea.
Because a single cluster can have several tunnels. And we couldn't have the same tunnel-id for each tunnel to a cluster.
ClusterID is fine, because it's supposed to be an ID for the cluster.
We thought of automatically assigning an ID to the cluster, but then that's confusing when you try to debug. Because instead of looking for a human name you gave you find yourself looking for  like names.

@manosnoam shall we close this issue?


Media: Transcoded asset hang and never complete

Bug Description
Found as part of testing https://github.com/google/web-stories-wp/pull/10001.
Transcoded videos, sometimes hang and never complete. The save button does is disable as well.
Possibly related to https://github.com/google/web-stories-wp/pull/9999
Expected Behaviour

Steps to Reproduce

Create story.
Drag 5 images into canvas.
Drag 5 videos into canvas.

See video
Screenshots
https://user-images.githubusercontent.com/237508/150521275-dd2e9b09-eb9f-484a-a36f-2dc921525586.mov
Additional Context

Plugin Version: 17.0.0-alpha
WordPress Version: 5.8/5.9RC3
Operating System: Mac OS
Browser: Chrome / Safari

Can you confirm that it really, really hangs and never completes? Not even after 5 minutes?
I am asking because media transcoding happens in sequence now, one after the other. So it takes a bit longer. And you stopped the video after just 40s

I continue to be unable to reproduce this in any browser; transcoding/uploading is never stalling or anything for me. Not even in a development build. I tested in the docker container, in LocalWP, and on stories-new without issues.
B.Matt mentioned on Slack that video upload was rather slow for him but definitely eventually finishes. To remedy that, we could try to transcode more than 1 item in parallel if the hardware allows for that (using navigator.hardwareConcurrency).


Salt should be removed from 2FA is_personal

The salt should be removed as it is visible instead a random number should be added to the authy_me model as salt.

For commit: 06347bb9172defd22d84e94b88e2a04feeae2183

This can be user
from django.utils.crypto import get_random_string
unique_id = get_random_string(length=32)

See more at https://stackoverflow.com/questions/25943850/django-package-to-generate-random-alphanumeric-string.

a812ec00aae648b9a258cb6e9d7d60922c0285d1


fix ctr image export not found error

Signed-off-by: Jie Zhang<EMAIL_ADDRESS>fix #2590
may be need some test case

Thanks, but I think we should also support ctr images export --all-platforms

And please sign the commit with your full name

@AkihiroSuda ok, thank you, if use --all-platforms options, and a specific layer not exist, we will download this layer, but Do you think  is it necessary to show the download progress like ctr image pull?

no need to download, it should just fail when blob is not locally available

@estesp i have rebase my code ,but travis ci out put
The command "GOOS=linux script/setup/install-dev-tools" exited with 0.
18.87s$ script/validate/vendor
2018/09/11 09:30:55 Collecting initial packages
2018/09/11 09:30:55 Download dependencies
2018/09/11 09:31:14 unrecognized import path "gopkg.in/inf.v0" (parse https://gopkg.in/inf.v0?go-get=1: no go-import meta tags)
The command "script/validate/vendor" exited with 1.
0.11s$ go build -i .
archive/tar.go:34:2: cannot find package "github.com/containerd/continuity/fs" in any of:
	/home/travis/.gimme/versions/go1.10.4.linux.amd64/src/github.com/containerd/continuity/fs (from $GOROOT)

Codecov Report

Merging #2622 into master will decrease coverage by 0.1%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #2622      +/-   ##
==========================================
- Coverage   44.05%   43.94%   -0.11%
==========================================
  Files          94       94
  Lines       10238    10263      +25
==========================================
  Hits         4510     4510
- Misses       5008     5033      +25
  Partials      720      720

Flag
Coverage Δ

#linux
47.66% <0%> (-0.09%)
:arrow_down:

#windows
40.61% <0%> (-0.12%)
:arrow_down:

Impacted Files
Coverage Δ

images/oci/exporter.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Sorry we just merged the import re-write and there is a conflict/requires rebase again

ping ^^ @kadisi

ping ^^ @kadisi

@fuweid PTAL?

@dmcgowan want to take a final look at this? I think all feedback is handled


Add command to add comments to PRs.

Add a simple comment sub-command which allows adding a top-level
(non-review) comment to a PR.
Based on extensive market research, it appears that there is are potential future customers of opp who rely on triggering CI and related workflows by adding top-level comments to a PRs.
In order to fulfill the mission of making it possible to never touch the PR UI in Github, this PR makes it possible to add (non-review) comments on PRs directly from the command line.

Interesting. Would you want this on PR creation ? or also sometimes after creation. Wondering if we can automate it somehow (e.g. read the commit messages and if it contains something write a comment or something)

For my own cases I definitely wouldn't want it to read something from the commit message (the commit message is separate from what I want to do in the PR tracking itself), but I can definitely see cases where being able to add a comment right at PR creation time could also be useful. I definitely do still want to have the comment functionality separate from that as well though.
Maybe we could add a --comment parameter to opp pr and opp up so that you could do things like
opp pr --comment '/trigger_my_worklflow'

or
opp up --comment '/trigger_my_workflow'

WDYT?


crypto/tls: TLS 1.3 client fails to connect to some servers

What version of Go are you using (go version)?
go version go1.15.2 darwin/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN="/Users/adhoc/bin"
GOCACHE="/Users/adhoc/Library/Caches/go-build"
GOENV="/Users/adhoc/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/adhoc/src/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/adhoc/src/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.15.2/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.15.2/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/adhoc/src/spl/almanack/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/p7/jc4qc9n94r3f6ylg0ssh1rq00000gs/T/go-build149709333=/tmp/go-build -gno-record-gcc-switches -fno-common"

But it also happens on an AWS Lambda.
What did you do?
Attempted to get a URL from a certain server with net/http.
Here is an example URL: https://www.inquirer.com/resizer/LUs6Sqe2nxqwxVEe0NHgiLSh6i0=/arc-anglerfish-arc2-prod-pmn/public/GG5L3ZCM5JCOTDVPYIURDF3HHE.jpg
What did you expect to see?
The URL should load an image.
Interestingly, Slack fails to preview this URL, so I think that means they're using Go internally. The image should load in your browser.
What did you see instead?
The server sends an error message to net/http, but not to browsers, curl, or fasthttp.
It's unclear if Go is doing something weird and the server doesn't like it or vice versa. The server appears to be an Akamai CDN. (It's controlled by a friendly third party. I can ask for more details on Monday.)
Here's a reproducer:
package main

import (
	"fmt"
	"io/ioutil"
	"log"
	"net/http"

	"github.com/valyala/fasthttp"
)

func main() {
	const exampleURL = "https://www.inquirer.com/resizer/LUs6Sqe2nxqwxVEe0NHgiLSh6i0=/arc-anglerfish-arc2-prod-pmn/public/GG5L3ZCM5JCOTDVPYIURDF3HHE.jpg"

	// Fails with net/http
	rsp, err := http.Get(exampleURL)
	check(err)
	blob, err := ioutil.ReadAll(rsp.Body)
	check(err)
	rsp.Body.Close()
	printBlob(blob)

	// Succeeds with fasthttp
	_, blob, err = fasthttp.Get(nil, exampleURL)
	check(err)
	printBlob(blob)
}

func check(err error) {
	if err != nil {
		log.Fatal(err)
	}
}

func printBlob(blob []byte) {
	allASCII := true
	for _, c := range blob {
		if c > 127 {
			allASCII = false
			break
		}
	}
	if allASCII {
		fmt.Printf("got: %q\n", blob)
	} else {
		fmt.Printf("got: %0x", blob[:80])
	}
}

Output:
got: "<!DOCTYPE html>
Invalid Site
   "
got: ffd8ffe000104a46494600010100000100010000ffe20c584943435f50524f46494c4500010100000c484c696e6f021000006d6e74725247422058595a2007ce00020009000600310000616373704d53

In other words, fasthttp gets the JPEG. Curl does as well.

Minor update: This reproduces with www.inquirer.com, so it's not route specific.

Double update: Setting tls.Config{ MaxVersion: tls.VersionTLS12 } fixes the issue, so something is going wrong in TLS1.3 negotiation!

/cc @FiloSottile

Curl appears to connect properly with TLS1.3 enabled by OpenSSL.

* Connected to www.inquirer.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile<EMAIL_ADDRESS>  CApath<EMAIL_ADDRESS>} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [29 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [4135 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; CN=www.inquirer.com
*  start date: May 15 18:56:42 2019 GMT
*  expire date: May 15 18:56:42 2021 GMT
*  subjectAltName: host "www.inquirer.com" matched cert's "www.inquirer.com"
*  issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x7f849e00a200)
} [5 bytes data]
> GET / HTTP/2
> Host: www.inquirer.com
> user-agent: curl/7.72.0
> accept: */*
>
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [249 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [249 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
< HTTP/2 200
< content-type: text/html;charset=UTF-8
< server: openresty
< x-akamai-transformed: 9 - 0 pmb=mRUM,2
< cache-control: private, max-age=60
< expires: Mon, 12 Oct 2020 15:45:50 GMT
< date: Mon, 12 Oct 2020 15:44:50 GMT
< set-cookie: arc-country=US; expires=Mon, 12-Oct-2020 15:59:50 GMT; path=/
< set-cookie: arc-zipcode=21201-21203+21205-21206+21209-21218+21223-21224+21229-21231+21233+21235+21239-21241+21250-21252+21263-21264+21270+21273+21275+21278-21282+21284-21285+21287-21290+21297-21298; expires=Mon, 12-Oct-2020 15:59:50 GMT; path=/
< server-timing: cdn-cache; desc=HIT
< server-timing: edge; dur=1
< content-security-policy: upgrade-insecure-requests
< arc-zipcode: 21201-21203+21205-21206+21209-21218+21223-21224+21229-21231+21233+21235+21239-21241+21250-21252+21263-21264+21270+21273+21275+21278-21282+21284-21285+21287-21290+21297-21298
< arc-country: US
<
{ [2248 bytes data]

(rest omitted)

Is it possible this is related to #40521?

@FiloSottile I was hoping this would be resolved by go 1.15.4, but it looks like no such luck:
$ go1.15.4 run /Users/adhoc/Desktop/reproducer.go
https://www.inquirer.com/resizer/LUs6Sqe2nxqwxVEe0NHgiLSh6i0=/arc-anglerfish-arc2-prod-pmn/public/GG5L3ZCM5JCOTDVPYIURDF3HHE.jpg
got: "<!DOCTYPE html>
Invalid Site
   "

cc @ianlancetaylor - possible release blocker?

This has been broken in prod for the last month, so I don't think it's a release issue per se?

Could still be faulty on Akamai's side, but it's strange that it works in Curl with TLSL1.3 turned on.

Howdy @carlmjohnson, you mentioned that this issue has been around for a while per https://github.com/golang/go/issues/41910#issuecomment-723219505. We’ve been swamped for Go1.16 development cycles, yet we are almost getting Go1.16 out the door. I shall move this to Go1.17, and when it gets looked at, we shall backport it.

Yeah, it started Oct 10, presumably because of a change on Akamai’s side. I’m planning to upgrade to 1.16 right away so I’m fine with a fix coming mid-cycle in 1.16 or whenever.

See also #43250 re TLS 1.3.

This no longer reproduces with Go 1.15 or 1.16. I assume that whatever was going wrong has been fixed on the inquirer.com side, presumably by Akamai.


RFE: add --url option to download a package from a specific URL

Avg response time

Request for Enhancement (RFE)
With the advent of the Sourcery Institute fork of GCC, it would be nice to be able to redirect the installer to grab a package from a different URL than the usual one.  I'll work on adding a --url (or --URL?) option to facilitate something like the following, which would install the freshly minted release of a branch that provides experimental, partial support for Fortran 2015 teams:
./install.sh --package gcc --url https://github.com/sourceryinstitute/gcc/archive/teams.tar.gz

This will become increasingly useful if more gfortran/OpenCoarrays contributors are willing to push their compiler edits to a branch of the aforementioned fork rather than distributing patches, which can sometimes be tricky and time-consuming to apply.

And just when I think we're making progress on the issue backlog... 😄
I'm being silly, obviously. This is a good idea, and will certainly come in handy.

@zbeekman No worries.  I just submitted a pull request that fixes this issue.  I wanted to have a GCC build running in the background while I finish a proposal. ;)


added 'to_topic' method to SDF, futher minor cleanup and test fixture…

… additions
Will probably clean up/consolidate a few fixtures as well since there's some overlap from our separate efforts.

Looks good to me 👍


Client components have issues with state and context in production

Link to reproduction
No response
Payload Version
3.0.0-beta.39
Node Version
18.20.2
Next.js Version
15.0.0-rc.0
Describe the Bug
Custom admin client components seem to have a using Payload hooks. In the case of useRowLabel, an empty object is passed. In the case of useField setValue fails to set the value. React hooks like useEffect seem to work as intended.
What's interesting is this problem only seems to happen when pushed to Vercel. It works fine locally.
Reproduction Steps
npx create-payload-app@beta

Create a custom row label component
'use client'

import React from 'react'
import { useRowLabel } from '@payloadcms/ui/forms/RowLabel/Context'
import type { RowLabelComponent } from 'payload/types'

export const ArrayRowLabel: RowLabelComponent = () => {
  const { data } = useRowLabel<{
    label: string
    row: { label: string }
  }>()
  const { label, row } = data
  const rowLabel = label || row?.label

  return <div>{rowLabel ?? 'Untitled'}</div>
}

Create a global with an array and add the row label
import { GlobalConfig } from 'payload/types';
import { ArrayRowLabel } from '@/components/array-row-label';

export const MyGlobal: GlobalConfig = {
  slug: 'my-global',
  access: {
    read: () => true,
  },
  fields: [
    {
      name: 'items',
      type: 'array',
      required: true,
      admin: {
        components: {
          RowLabel: ArrayRowLabel,
        },
      },
      fields: [
        {
          type: 'row',
          fields: [
            {
              name: 'label',
              type: 'text',
              required: true,
            },
            {
              name: 'url',
              type: 'text',
            },
          ],
        },
      ],
    },
  ],
};

Run locally and things should work as expected. Push it to Vercel and rows will all appear as "Untitled" because useRowLabel is returning an empty object. It seems none of the Payload admin hooks are returning or setting data.
Adapters and Plugins
No response

Hey @samtietjen can you share your full package.json?

Hey @samtietjen can you share your full package.json?

Sure, here you go:
{
  "name": "payload-3-beta",
  "version": "1.0.0",
  "description": "A blank template to get started with Payload 3.0",
  "license": "MIT",
  "type": "module",
  "scripts": {
    "build": "cross-env NODE_OPTIONS=--no-deprecation next build",
    "dev": "cross-env NODE_OPTIONS=--no-deprecation next dev",
    "devsafe": "rm -rf .next && cross-env NODE_OPTIONS=--no-deprecation next dev",
    "generate:types": "payload generate:types",
    "lint": "cross-env NODE_OPTIONS=--no-deprecation next lint",
    "payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
    "start": "cross-env NODE_OPTIONS=--no-deprecation next start"
  },
  "dependencies": {
    "@lexical/list": "^0.15.0",
    "@lexical/rich-text": "^0.15.0",
    "@payloadcms/db-mongodb": "beta",
    "@payloadcms/next": "beta",
    "@payloadcms/plugin-cloud": "beta",
    "@payloadcms/richtext-lexical": "beta",
    "@payloadcms/storage-vercel-blob": "beta",
    "@payloadcms/ui": "beta",
    "@radix-ui/react-accordion": "^1.1.2",
    "@radix-ui/react-slot": "^1.0.2",
    "@radix-ui/react-tabs": "^1.0.4",
    "class-variance-authority": "^0.7.0",
    "clsx": "^2.1.1",
    "cross-env": "^7.0.3",
    "escape-html": "^1.0.3",
    "framer-motion": "^11.1.7",
    "graphql": "^16.8.1",
    "lexical": "^0.15.0",
    "lucide-react": "^0.381.0",
    "next": "15.0.0-rc.0",
    "payload": "beta",
    "react": "^19.0.0-rc-f994737d14-20240522",
    "react-dom": "^19.0.0-rc-f994737d14-20240522",
    "sharp": "0.32.6",
    "tailwind-merge": "^2.3.0",
    "tailwindcss-animate": "^1.0.7"
  },
  "devDependencies": {
    "@types/escape-html": "^1.0.4",
    "@types/node": "^20.12.12",
    "@types/react": <EMAIL_ADDRESS>    "@types/react-dom": <EMAIL_ADDRESS>    "autoprefixer": "^10.4.19",
    "dotenv": "^16.4.5",
    "eslint": "^8",
    "eslint-config-next": "^14.2.3",
    "postcss": "^8.4.38",
    "tailwindcss": "^3.4.3",
    "typescript": "^5.4.5"
  },
  "engines": {
    "node": "^18.20.2 || >=20.6.0"
  },
  "pnpm": {
    "overrides": {
      "@types/react": <EMAIL_ADDRESS>      "@types/react-dom": <EMAIL_ADDRESS>    }
  },
  "overrides": {
    "@types/react": <EMAIL_ADDRESS>    "@types/react-dom": <EMAIL_ADDRESS>  },
  "packageManager"<EMAIL_ADDRESS>}

This is resolved on my end. Switching from yarn to pnpm on Vercel did the trick. Not sure why yarn has been causing so many Payload issues for me lately.


HDFS-16277 improve decision in AvailableSpaceBlockPlacementPolicy

Hi
In product environment,we may meet two or more datanode usage  reaches nealy 100%,for exampe 99.99%,98%,97%.
if we configure AvailableSpaceBlockPlacementPolicy , we also have the chance to choose the 99.99%(assume it is the highest usage),for we treat the two choosen datanode as the same usage if their storage usage are different within 5%.
but this is not what we want, so i suggest we can improve the decision.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 38s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
markdownlint
0m  1s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
31m 25s

trunk passed

+1 :green_heart:
compile
1m 20s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 16s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  1s

trunk passed

+1 :green_heart:
mvnsite
1m 22s

trunk passed

+1 :green_heart:
javadoc
0m 58s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 28s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 12s

trunk passed

+1 :green_heart:
shadedclient
21m 22s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 10s

the patch passed

+1 :green_heart:
compile
1m 12s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 12s

the patch passed

+1 :green_heart:
compile
1m  5s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m  5s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 51s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 9 new + 229 unchanged - 0 fixed = 238 total (was 229)

+1 :green_heart:
mvnsite
1m 12s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 46s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 19s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  8s

the patch passed

+1 :green_heart:
shadedclient
20m 51s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
226m 50s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 47s

The patch does not generate ASF License warnings.

320m 59s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3559

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml markdownlint

uname
Linux b9896daf0a1c 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 0ed2dd8ca759253b2660284696ae140ed1aa94f1

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/2/testReport/

Max. process+thread count
3340 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
15m 39s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
markdownlint
0m  0s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
35m  9s

trunk passed

+1 :green_heart:
compile
1m 26s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  1s

trunk passed

+1 :green_heart:
mvnsite
1m 45s

trunk passed

+1 :green_heart:
javadoc
1m 20s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 29s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
4m  6s

trunk passed

+1 :green_heart:
shadedclient
25m 43s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 24s

the patch passed

+1 :green_heart:
compile
1m 24s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 24s

the patch passed

+1 :green_heart:
compile
1m 12s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m 12s

the patch passed

-1 :x:
blanks
0m  0s
/blanks-eol.txt
The patch has 2 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

-0 :warning:
checkstyle
0m 51s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 47 new + 230 unchanged - 1 fixed = 277 total (was 231)

+1 :green_heart:
mvnsite
1m 18s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 49s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 17s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 26s

the patch passed

+1 :green_heart:
shadedclient
25m  7s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
362m  5s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 47s

The patch does not generate ASF License warnings.

485m 44s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3559

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml markdownlint

uname
Linux fb8930207713 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 06:54:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6ec0b22306fb2a8bcdf5d75ca086243c38c2261f

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/3/testReport/

Max. process+thread count
1875 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Jenkins have reported some checkstyle warnings https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/8/artifact/out/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
They seems to be for line length, Can you check once, I guess the ones reported from test can be fixed. Couple of them are because the variable name is big, I think we can ignore them, as there is no good way to get rid of them.
Apart from that. Changes LGTM

Thanks @ayushtkn ,checkstyle has been fixed.except for the long variable name ones.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 57s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
markdownlint
0m  1s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

-1 :x:
mvninstall
1m 27s
/branch-mvninstall-root.txt
root in trunk failed.

-1 :x:
compile
0m 22s
/branch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in trunk failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
compile
0m 23s
/branch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in trunk failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-0 :warning:
checkstyle
0m 21s
/buildtool-branch-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
The patch fails to run checkstyle in hadoop-hdfs

-1 :x:
mvnsite
0m 23s
/branch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in trunk failed.

-1 :x:
javadoc
0m 23s
/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in trunk failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javadoc
0m 23s
/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in trunk failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
spotbugs
0m 22s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in trunk failed.

+1 :green_heart:
shadedclient
2m 39s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

-1 :x:
mvninstall
0m 23s
/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

-1 :x:
compile
0m 22s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javac
0m 22s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
compile
0m 23s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
javac
0m 23s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 21s
/buildtool-patch-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
The patch fails to run checkstyle in hadoop-hdfs

-1 :x:
mvnsite
0m 23s
/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

-1 :x:
javadoc
0m 23s
/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javadoc
0m 23s
/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
spotbugs
0m 22s
/patch-spotbugs-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
shadedclient
3m 15s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
0m 23s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+0 :ok:
asflicense
0m 22s

ASF License check generated no output?

14m 20s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/9/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3559

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml markdownlint

uname
Linux ef46f778e2f7 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / b9bcef2f3d180d488c61e7652bbd2faf6fc0f6a3

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/9/testReport/

Max. process+thread count
52 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/9/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 54s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
markdownlint
0m  0s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

-1 :x:
mvninstall
0m 22s
/branch-mvninstall-root.txt
root in trunk failed.

-1 :x:
compile
0m 22s
/branch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in trunk failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
compile
0m 23s
/branch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in trunk failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-0 :warning:
checkstyle
0m 20s
/buildtool-branch-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
The patch fails to run checkstyle in hadoop-hdfs

-1 :x:
mvnsite
0m 22s
/branch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in trunk failed.

-1 :x:
javadoc
0m 22s
/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in trunk failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javadoc
0m 22s
/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in trunk failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
spotbugs
0m 22s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in trunk failed.

+1 :green_heart:
shadedclient
2m 36s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

-1 :x:
mvninstall
0m 22s
/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

-1 :x:
compile
0m 22s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javac
0m 22s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
compile
0m 22s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
javac
0m 22s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 21s
/buildtool-patch-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
The patch fails to run checkstyle in hadoop-hdfs

-1 :x:
mvnsite
0m 23s
/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

-1 :x:
javadoc
0m 22s
/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javadoc
0m 23s
/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
spotbugs
0m 23s
/patch-spotbugs-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
shadedclient
3m 15s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
0m 23s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+0 :ok:
asflicense
0m 23s

ASF License check generated no output?

13m  2s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/10/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3559

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml markdownlint

uname
Linux c07531c28fb1 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 77ab40d95cf6a4479d03032e097ae7cdf6c48573

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/10/testReport/

Max. process+thread count
45 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/10/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 40s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
markdownlint
0m  0s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

-1 :x:
mvninstall
0m 25s
/branch-mvninstall-root.txt
root in trunk failed.

-1 :x:
compile
0m 25s
/branch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in trunk failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
compile
0m 25s
/branch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in trunk failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-0 :warning:
checkstyle
0m 22s
/buildtool-branch-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
The patch fails to run checkstyle in hadoop-hdfs

-1 :x:
mvnsite
0m 24s
/branch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in trunk failed.

-1 :x:
javadoc
0m 24s
/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in trunk failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javadoc
0m 24s
/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in trunk failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
spotbugs
0m 24s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in trunk failed.

+1 :green_heart:
shadedclient
2m 49s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

-1 :x:
mvninstall
0m 24s
/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

-1 :x:
compile
0m 25s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javac
0m 25s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
compile
0m 24s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
javac
0m 24s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 22s
/buildtool-patch-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
The patch fails to run checkstyle in hadoop-hdfs

-1 :x:
mvnsite
0m 25s
/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

-1 :x:
javadoc
0m 24s
/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javadoc
0m 25s
/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
spotbugs
0m 25s
/patch-spotbugs-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
shadedclient
3m 31s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
0m 25s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+0 :ok:
asflicense
0m 25s

ASF License check generated no output?

13m 35s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/11/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3559

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml markdownlint

uname
Linux 55af6cc3527a 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / e47e0cf0816674862e51396b8e2a2dd211c7b0ed

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/11/testReport/

Max. process+thread count
11 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/11/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 49s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
markdownlint
0m  0s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

-1 :x:
mvninstall
0m 25s
/branch-mvninstall-root.txt
root in trunk failed.

-1 :x:
compile
0m 25s
/branch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in trunk failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
compile
0m 25s
/branch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in trunk failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-0 :warning:
checkstyle
0m 23s
/buildtool-branch-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
The patch fails to run checkstyle in hadoop-hdfs

-1 :x:
mvnsite
0m 24s
/branch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in trunk failed.

-1 :x:
javadoc
0m 25s
/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in trunk failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javadoc
0m 25s
/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in trunk failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
spotbugs
0m 24s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in trunk failed.

+1 :green_heart:
shadedclient
2m 52s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

-1 :x:
mvninstall
0m 25s
/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

-1 :x:
compile
0m 25s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javac
0m 25s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
compile
0m 25s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
javac
0m 25s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 22s
/buildtool-patch-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
The patch fails to run checkstyle in hadoop-hdfs

-1 :x:
mvnsite
0m 24s
/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

-1 :x:
javadoc
0m 25s
/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javadoc
0m 24s
/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
spotbugs
0m 25s
/patch-spotbugs-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
shadedclient
3m 29s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
0m 24s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+0 :ok:
asflicense
0m 25s

ASF License check generated no output?

13m 51s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/12/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3559

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml markdownlint

uname
Linux 86c189f4e603 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 7d5be4e32e772a732e222d058552b79f42bfafbe

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/12/testReport/

Max. process+thread count
45 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/12/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@GuoPhilipse I have retriggred the build here:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/13/console
More or less looks like an Infra issue
If it works, cool, if not I will try to figure that out. It is on me. :-)

@GuoPhilipse I have retriggred the build here: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3559/13/console More or less looks like an Infra issue If it works, cool, if not I will try to figure that out. It is on me. :-)

Cool,it shows +1 overall, but still have failed check in report ,not sure if it is normal ? @ayushtkn

Thanx @GuoPhilipse for the contribution, Have merged the PR.
Yeps, the build is ok.

Thanks again @ayushtkn @prasad-acit for your kindly review. :)


Support for Menu Item Access Keys in Windows

In Windows there is a standard basic feature of menu items called Access Keys whereby the underlined letter of a menu item label indicates to the user which key can be pressed in combination withAlt to activate that item.
Will Electron support this?

In the image above, the letter O is the access key for the Open menu item.
This is pretty easy to implement if you are using native Win32 menus because an ampersand in the label string [1] is used to indicate which letter should be underlined (So a label string of &File would result in the F in File being underlined. In other systems that map to or emulate Win32 menus, an underscore is commonly used. (So _File instead of &File...))
[1] - MSDN - Menu Access Keys
[2] - MSDN - Keyboard Access to Menus

Menu hints are already supported in Electron, use & in the label

@paulcbetts I know this is old, but.. if you want to show an '&' in the label then - how do you do that? eg. like the native 'Edit' > 'Emoji & Symbols' menu item


Site Search Support

Description of the new feature / enhancement
We all know that browsers have supported set "site search" for a long time.
And wox also supports the function of specifying search engine
Hope powertoys run can support site search
Scenario when this would be used?
Just piece together the specific search address to achieve site search
Supporting information
No response

we currently do not support that and have no current plans to.  we default to default browser and default search engine.


Drop legacy catalog for tests

Signed-off-by: David Cassany<EMAIL_ADDRESS>

Requires https://github.com/rancher-sandbox/ele-testhelpers/pull/25


Repository does not exist

Hi, I am trying to install the script by Cloning the repository first:
git clone https://github.com/tillo13/kumori-story-generator.git
I got this message :
"Cloning into 'kumori-story-generator'...
info: please complete authentication in your browser...
remote: Repository not found.
fatal: repository 'https://github.com/tillo13/kumori-story-generator.git/' not found"
I found the repository does not exist : https://github.com/tillo13/kumori-story-generator
Help appreciated

Ah, good catch, and oddly timely.  I was going to rewrite this today actually, and add in the ability to use Flux as the image generator, or allow it to run by adding pre-created images into it, so it works out well!
This was a v2 rebuild of the original one I built over here that also should work: https://github.com/tillo13/kumori_cli_engine
But this new one had a few updates to add in screen zoom/voiceover creations.  To fix your exact issue, swap in this exact git repo name that we're in currently: https://github.com/tillo13/ai_storyboard_video_generator.git
I'll update the readme also --let me know if I can help get you up and running!  The results of the what it makes are over here if you want to take a look/get ideas: https://www.youtube.com/@kumoriai/shorts

Thanks for providing me with end results. It looks pretty nice I like it. However, It's not exactly what I am seeking right now. Thank you for your response.


Create Morpheus save file Cadence view.

Create cadence view for the morpheus save file that shows up in the library viewer.

@curtisma
Support yml save file in cadence with ability to open Morpheus via library viewer using Cadence's HTML template. Which uses the HTML filetype as a cellview that opens firefox when clicked.

Done via custom data.reg and Morpheus.il
https://github.com/cascode-labs/morpheus/blob/c0b5667f66e6bd4211d7d3355fe6a85dc169e5ea/skill/morpheus.il#L48
Potentially need to append or use an include if there is an existing data.reg.
https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000003runfEAA&pageName=ArticleContent


fix golang package install in Dockerfile

Thanks for the PR. We can see it build the images in travis already. Also, I've tested it locally and see no issues.


Yarn Start Script

Change the script from yarn dev to yarn start.
Remove a console.log when the tree can't find the current item to highlight/scroll to.

@holloway I changed the script that starts up the dev environment. Just wanted do make you aware since you've been working on it!


Uploaded event fired before progress=100 event

Is there a reason why the "uploaded" event is fired before the "progress" event (with 100% progress) is fired?
The following code:
uploadInstance.on("start", () => {
    console.log('starting upload');
});

uploadInstance.on("progress", (progress, fileObj) => {
    console.log("progress", progress);
});

uploadInstance.on("uploaded", (error, fileObj) => {
    console.log("uploaded");
});

results in the console log below:
starting upload
progress 5
progress 37
progress 63
uploaded
progress 100

The same counts for "end" event.
starting upload
progress 5
progress 47
progress 89
uploaded
end
progress 100

@raedle have you managed to solve it?

Closed due to silence at issue owner end.
Feel free to reopen it in case if the issue still persists on your end.

I was out-of-office. Yep, the issue still exists

@raedle thank you for update on this one.
Feel free to close it in case if the issue is solved on your end.

@dr-dimitru Your fix works. Thank you. I'm closing the issue


Dynamic stories

What’s the best approach for programmatically generated stories?
For example, something like this
stories.forEach(story => {
 exports[story.name] = {
   // story values here
 }
})

I can’t seem to get a solution with module.exports, export default, export const, exports etc.
Note: This pattern is supported by storiesOf.

@rpander93 We don't really support that in CSF3. I normally use controls for this problem if my component depends on a couple of different dimensions. So that you can easily switch within the controls to any dimension you need.

right, i guess that's also a way to solve it. thanks!


How can I create a new Language traineddata?

When I add new *.traineddata file in tessdata and run project,I got this error:
read_params_file: parameter not found: allow_blob_division
I try to deal with this problem:
combine_tessdata -e *.traineddata *.config
but I got this error in command:
zsh: command not found: combine_tessdata
I had been cd to training folder which had a combine_tessdata.cpp file
Please Help~

It seems that you *.traineddat is broken.
Anyway, we are not responsible for the Upstream Tesseract.
We are writting an iOS wrapper here only.
So for any question related to the Tesseract core, pls, refer the Upstream repo.


Allow option to change zoom level and placement

I am having a hard time placing the map generated by this in a page. Although I can change the size of the object with the width and height methods, the map remains at the same Zoom level and position, which is including a lot of white space on the left and cutting off parts of the world.

@jalperin thanks for reaching out. You can control the map translation and zoom using the projection itself (set by the projection() method).
This is the code for the default projection:
https://github.com/vasturiano/cartogram-chart/blob/master/src/cartogram.js#L18
As documented, it defaults to:

geoMercator (centered on prime meridian, slightly tilted towards the northern hemisphere)

If you wish to change the zoom/scale for example, you can just do:
myChart.projection().scale(6)

You can also use the above method to use a different projection other than geoMercator.

small correction to the above, I think. This is what it needs to look like:
.projection(d3.geoEquirectangular().scale(200))

@jalperin that's only if you need to change the projection. If you just want to change the scale then the previous code should suffice.

I was getting the following error:
(index):173 Uncaught TypeError: Cartogram(...).topoJson(...).projection(...).scale(...).topoObjectName is not a function
    at update ((index):173)
    at <anonymous>:1:1


Bug/fix destroy logic

Fixing bug where stop can throw if the context is already disconnected/closed

👍


Update electrum-ltc to <IP_ADDRESS>

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] If the sha256 changed but the version didn’t,
provide public confirmation by the developer: {{link}}

Thank you for the contribution. It was merged directly as 25a45bd8fde2c4110e64d49ab0583c7c76f6c93f. Your contribution is still credited to you.


Photo load external database

I use load image from local and from query from external database, the responses from the database from the internet are asyncrone and I can not get the picture immediately be assigned to MWPhoto ... is possible you can later assign to the image es. photo [anIndex].image = [UIImage imageWithContentsOfFile:localFilePath]; and then at PhotoBrowser.reloadData ??
thanks

@maritotws
you can add the MWPhoto when you get the replies from your server and then load the gallery or call the reloadData of the MWPhotoBrowser

Hi mythodeia,ok reloadData for MWPhotoBrowser but if i am in the grid (reload data o refresh grid) ?

i think the reload data covers the grid as well.

mmm no i see the image counter increases but does not update the grid

does this help you?
https://github.com/mwaterfall/MWPhotoBrowser/pull/328

ohhh Yes !! thank you !


Only automerge PR if generated code updated

@andrii-balitskyi I'm going to merge this so we don't get any extra auto-merged PRs. The yml is taken directly from https://github.com/seamapi/javascript-http


I don’t understand some parts of StateMonad

in fib section:
fn pure(v: A) -> Self // pure: (v) -> State<InState, v>
fn flatMap<F> // F: Fn(A) -> State<InState, B>

fn fib(n: u64) -> State<'static, (u64, u64), u64> {
        match n {
            0 => State::flatMap(
                get(),
                |x: (u64, u64)| { State::pure(x.0) }    /// <--- here, 难道不应该是 |x: u64| { State::pure(x) } 么？
            ),
            _ => State::flatMap(
                modify(|x: (u64, u64)| { (x.1, x.0 + x.1) }),  /// 这里就很明显，说明 value 是 u64, state 是 (u64, u64)
                move |_| fib(n - 1)
         )
    }
}

and later part:
assert_eq!(fib(7).eval((0, 1)), 13);   /// 这里修改为 eval((2, 3)), 它会执行 2...7 的fib么

// 这里修改为 eval((2, 3)), 它会执行 2...7 的fib么

I guess no. At least fib(7) means it will include fib(6), fib(5), ... fib(0).
But it may give 9th fib number?

Sorry for my extremely late reply!
            0 => State::flatMap(
                get(),
                |x: (u64, u64)| { State::pure(x.0) }    /// <--- here, 难道不应该是 |x: u64| { State::pure(x) } 么？
            ),

Let's look at the implementation of get.
pub fn get<'a, S: Clone>() -> State<'a, S, S> {
    State { run_state: Box::new(|state: S| (state.clone(), state)) }
}

The idea of get is to copy the state to the output field, so we may work on it or just return it (or say, pure it, if you like).  As the state is of type (int, int), the output field is of the same type now. So, when we flatMap on it, we are coping with a (int, int) input.
assert_eq!(fib(7).eval((0, 1)), 13);   /// 这里修改为 eval((2, 3)), 它会执行 2...7 的fib么

The fib sequence starts with 0, 1. If you change the initial state to 2, 3, you have a sequence like 2, 3, 5, 8, 13, 21, 34, 55, ... . So you get the 8th num in this sequence, which is 55, although you may say that it's the 11th fib number as well.

Note: the fib seq here starts from 0 and 1, and fib(n) means the (n+1)-th fib number because we index from 0.


U.S. Virgin Islands does not appear in drop down

I've implemented this component, passed several country codes to it and it the flag is added to the drop down ("us", "gb", "pr", "de", "mx", "ca", "ao" all work perfectly).  When I pass "vi" for US Virgin Islands, nothing is added to the drop down.

Sorry, wrong repo


Black screen

Please paste the output of the following command here: sudo edit-chroot -all

name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: xfce,extension
host: version 9000.10.0 (Official Build) dev-channel kip
kernel: Linux localhost 3.10.18 #1 SMP Mon Nov 28 21:55:59 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.
Please describe your issue:
When i go into chroot i get a black screen
If known, describe the steps to reproduce the issue:

I'm having the same issue where the screen blacks out immediately after running the sudo enter-chroot startxfce command.
Please paste the output of the following command here: sudo edit-chroot -all

name: precise
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/precise...
crouton: version 1-20161129162558~master:5f2f11f9
release: precise
architecture: amd64
xmethod: xorg
targets: xfce
host: version 9000.10.0 (Official Build) dev-channel parrot
kernel: Linux localhost 3.8.11 #1 SMP Mon Nov 28 22:00:25 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/precise...
Please describe your issue:
When i go into chroot i get a black screen
If known, describe the steps to reproduce the issue:
sudo startxfce4 immediately blacks out the screen.  If I then wait for a time it seems that booting up the chroot fails and it returns to the chronos shell and you can see the output below.  (sorry about the big log dump, I'm not sure what info in there might be pertinent.)
Entering /mnt/stateful_partition/crouton/chroots/precise...
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-75-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Mon Nov 28 22:00:25 PST 2016 x86_64
Kernel command line: cros_secure  console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-1 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="2 vboot none ro 1,0 2579200 bootcache PARTUUID=b1f9b33e-6651-4c48-a561-9998857a9233/PARTNROFF=1 2579200 f036231c4b22c766c9b8aa3b91ad4e65fbb3cf0f 512 20000 100000, vroot none ro 1,0 2539520 verity payload=254:0 hashtree=254:0 hashstart=2539520 alg=sha1 root_hexdigest=c38a68ff3c7f607a2a3702c1e957da15160d70af salt=045402b1c948afbcefd7e78ae054b4653c0ac134487c0ccee8968b42f8125034" noinitrd vt.global_cursor_default=0 kern_guid=b1f9b33e-6651-4c48-a561-9998857a9233 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 12 February 2015  03:37:52PM
xorg-server 2:1.15.1-0ubuntu2~precise5 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sat Dec  3 08:50:48 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
setversion 1.4 failed: Permission denied
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
setversion 1.4 failed: Permission denied
crouton: version 1-20161129162558~master:5f2f11f9
release: precise
architecture: amd64
xmethod: xorg
targets: xfce
host: version 9000.10.0 (Official Build) dev-channel parrot
kernel: Linux localhost 3.8.11 #1 SMP Mon Nov 28 22:00:25 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
/etc/xdg/xfce4/xinitrc: 1: /etc/xdg/xfce4/xinitrc: ssh-agent: not found
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.

(xfce4-session:4143): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(xfsettingsd:4150): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(xfwm4:4148): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
xfdesktop[4157]: starting up

(xfdesktop:4157): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
xfce4-settings-helper: Another instance is already running. Leaving...

(xfce4-panel:4156): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(wrapper:4185): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(polkit-gnome-authentication-agent-1:4173): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed

(polkit-gnome-authentication-agent-1:4173): polkit-gnome-1-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
running 'ssh-agent -s -k'
/etc/xdg/xfce4/xinitrc: 1: eval: ssh-agent: not found
Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down xscreensaver: 08:51:32: SIGHUP received: restarting...
Hangup
xscreensaver: 08:51:32: running as bird/bird (1000/1000)

xscreensaver: 08:51:33: Can't open display: :1
xscreensaver: 08:51:33: running as bird/bird (1000/1000)

xscreensaver: 08:51:33: Errors at startup are usually authorization problems.
              But you're not logging in as root (good!) so something
              else must be wrong.  Did you read the manual and the FAQ?

              http://www.jwz.org/xscreensaver/faq.html
              http://www.jwz.org/xscreensaver/man.html

(EE) Server terminated successfully (0). Closing log file.

Unmounting /mnt/stateful_partition/crouton/chroots/precise...

I'm having the same issue.

If I'm having the same issue... after rebooting one of my old chroots continued to work fine, while my newly-updated chroot failed to start X properly. Before rebooting, both chroots were fine.
It sounds like this was triggered by a recent Chrome OS change?

Update: OK, I tried this again, and I don't think that a Chrome OS change came with my update.
That's because I was able to get X working by closing my laptop to put it to sleep, then trying again. For my laptop, something is getting changed during the wake-up or the sleep that suddenly "enables" X to start working for me.
 But after a sleep + wake-up, X starts working without problems.
@Benzillaist: Maybe you can try this out to see if my problem is the same as yours?

I'm having the same issue with precise.  It had been working fine for weeks but after I did a "restart to update" on the chrome power button, the X server quit starting when doing sudo startxfce4.  I'm assuming that something changed in the latest update to the chrome-os but I haven't figured out what yet.  Please post if you have any ideas on what to try.

@dcecile,

That's because I was able to get X working by closing my laptop to put it to sleep, then trying again. For my laptop, something is getting changed during the wake-up or the sleep that suddenly "enables" X to start working for me.

That's an interesting find.
I hope others will try it and report back with their results.
-DennisL

Same problem happened to me... Powered down and saw the chromebook "I'm going to update" icon in the corner.  Now it's on and when I start my trusty lxde chroot, I just get a blank/black screen.
I did try closing the lid and opening it again as mentioned earlier, and that didn't seem to help.  Any information or updates about this would be greatly appreciated.  I"m not sure it matters, but here's my log of edit-chroot all:
name: trustylxde
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trustylxde...
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: keyboard,lxde,audio
host: version 9000.29.0 (Official Build) beta-channel wolf
kernel: Linux localhost 3.8.11 #1 SMP Wed Dec 14 21:56:31 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/trustylxde...

Closing and opening the lid for me didn't work but I decided to try xiwi.  Doing an upgrade (something like sudo sh crouton -u -r trusty -t xiwi) and installing the xiwi extension to chrome worked to get things running again.  Of course I'm using the xiwi target now, not xorg but I don't see a big difference in what I'm doing.

Posting that edit-chroot dump reminded me I was on beta channel (from back when crouton worked on beta but not stable)... I did a backup, then hopped back to stable channel and restored and I'm back working again!  Let's hope that this glitch in the beta channel doesn't make it to stable.

Just throwing this out there in hopes that it might be of help.
Some withe the same or similar issue have resolved it using this method: https://github.com/dnschneid/crouton/issues/2917#issuecomment-267411158
Hope this helps,
-DennisL

Just to let people know - I've started having this problem, and the method above (2917 comment) solved this issue for me.  Acer chromebook, using startxkde.

while tracking down another issue (corrupted glyphs when using intel drivers, whether from ubuntu or 01.org), I tried editing /etc/crouton/xorg-intel-sna.conf to:
Section "Device"
   Identifier "Intel Graphics SNA+TearFree"
   Driver     "intel"
   Option     "AccelMethod" "uxa"
   # Option     "TearFree"    "true"
EndSection

basically changing the driver to the older uxa accelerator. corrupted font glyphs disappeared, but as an added bonus, xfce now loads via -X xorg!

Actually, one advantage of uxa over modesetting is, steam, glxgears, etc, will still run.

Hey guys just as a note, I was also having this issue on trusty xfce. Other apps were also misbehaving on my chromebook so I switched it back to "stable" channel ver 55.0.2883.103. I was on v56, development channel before. I reinstalled my chroot and now it works as before, no problems. There seems to be an issue with that chrome OS version.

Hello! For everyone with/without the IO error you can:

Log out
do ctrl+shift+alt+r Twice, and you will be prompted to revert back to the previous version.
wait...
wait...
so much more waiting that the old narrator quit and they had to hire a new one.

I hope this helps,
Ben

I can confirm I got this problem on v56.0.2924.53 from the beta channel as well.

@aou

Actually, one advantage of uxa over modesetting is, steam, glxgears, etc, will still run.

Could you clarify what you mean by being able to run those applications? I am using modesetting driver in Trusty and I am able to run glxgears.

@pmarkkula
at least on my machine (dell chromebook 13), back when i tried it last, setting the driver and accelmethod to modesetting did not enable hardware acceleration.
are you using both driver and accel method set to modesetting?

This is what I am using at the moment:
Section "Device"
   Identifier "Modesetting"
   Driver     "modesetting"
   Option     "AccelMethod" "glamor"
   Option     "PageFlip"    "true"
EndSection

I am also using Xenial graphics stack. That might make a difference.

how to edit /etc/crouton/xorg-intel-sna.conf?

(trusty)thomas@localhost:~$ /usr/share/X11/xorg.conf.d -su: /usr/share/X11/xorg.conf.d: Is a directory
that is the stage that I got to. How can I edit the file to `Section "Device"
Identifier "Intel Graphics SNA+TearFree"
Driver     "intel"
Option     "AccelMethod" "uxa"
Option     "TearFree"    "true"
EndSection
`

Bissecting on samus.

Chrome OS 8997.0.0 is good
Chrome OS 8998.0.0 is bad (bad means: master branch black screen, and nointeldrv branch crashes the kernel)

There is nothing of interest in Chrome OS-land (https://crosland.corp.google.com/log/8997.0.0..8998.0.0: google-only link).
Chromium, as usual, has tons of commits: https://chromium.googlesource.com/chromium/src/+log/56.0.2920.0..56.0.2923.0?pretty=fuller&n=10000
There are some drm/GPU stuff in there.
I'll try to bisect Chromium tomorrow.

Probably linked with this issue: https://bugs.chromium.org/p/chromium/issues/detail?id=655770, and related patch https://chromium.googlesource.com/chromium/src.git/+/547665586e0d17adc9d8ecf03b41c9448fe7719c .
Workaround here: https://github.com/dnschneid/crouton/pull/3081

Keeping this open for a real fix

Will we have such issue every time Chrome OS updates?

Not sure if this helps at all, but I noticed this was a problem when I switched to the Beta channel in December. I moved back to the Stable channel then, but now that that build has moved to stable there's no way to avoid it. I'll continue trying some different target mixes and post again if I find one that seems to work.

The workaround #3081 - how do us common "users" use this workaround?

Just updating the crouton in question worked for me. As in:
sudo sh ~/Downloads/crouton -u -n chrootname

@dmnorth can confirm updating chroot resolved the issue. I'm running XFCE on trusty.

I can confirm that update of chroot works for trusty but it does not work for xenial.

@casnacaj : Can you please provide the output of croutonversion?

Can confirm that update of trusty works now (three days ago it still did not work)! (trusty+i3/xfce/lxde) Thanks!

@drinkcat If you think you can work around this i would suggest looking at #2926. I have had this issue on other linux systems as well (I fixed a MATE desktop installation with a similar set of paramters). I am not sure of the extent (or if I have truly found the source) but I changed this on recommendation listed in Arch's xf86-video-intel wiki. On some of the Arch Forums libcg thinks that this driver is undersupported.
I havent had a chance to try your fix, if it doesn't work I'll try to give you as much info as possible.

@drinkcat
crouton: version 1-20170216202114~master:2f7cfb5e release: xenial architecture: amd64 xmethod: xorg targets: chrome,x11,extension,keyboard host: version 9000.82.0 (Official Build) stable-channel reks  kernel: Linux localhost 3.18.0-13527-gc2f2230 #1 SMP PREEMPT Wed Feb 1 15:06:00 PST 2017 x86_64 x86_64 x86_64 GNU/Linux freon: yes

However I updated today and it works now ;-). Thank you very much guys!

@rtpavlovsk21 did you try updating your chroot? I think the work around should work in most (all?) cases, but please let us know if it doesn't.
xf86-video-modesetting has other issues that lead to a kernel crash, ever since that Chromium commit, that cause the blank screen issue with xf86-video-intel driver. But, yes, we probably want to look at that too.

@drinkcat Your fix does work. I'm not really an expert on any of this, so the modesetting workarounds were sufficient for the several weeks that this problem was happening.
If there is a claim about a race condition I don't know how I would verify, deny or test to make sure that the issue is put to bed... but the condition seems to be dependent on the driver in my case because I was able to use crouton for several months w/ acceleration per @pmarkkula 's comments.
Thanks for your efforts!
Entering /mnt/stateful_partition/crouton/chroots/xenial...
Creating crouton group with GID 1001...
Exiting... run in root env
Creating unassociated wayland group...
Exiting... run in root env
Exiting... run in root env
Exiting... run in root env
/home/pavlovsr
sudo: no tty present and no askpass program specified

chgrp: invalid group: ‘crouton’
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-45-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Mon Feb 6 22:19:56 PST 2017 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=27f60fb5-ddc8-ed49-83b2-6ae3e7d36fdb/PARTNROFF=1 hashtree=PARTUUID=27f60fb5-ddc8-ed49-83b2-6ae3e7d36fdb/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=720374f5371c71cd5b9e08ac172ebed1045f7a5f salt=48417ae7a1449bf43026d73aee64b4860a079b54bd5e37d7da9f081b41bb13e6" noinitrd vt.global_cursor_default=0 kern_guid=27f60fb5-ddc8-ed49-83b2-6ae3e7d36fdb add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 02 November 2016  10:06:10PM
xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Feb 17 19:59:01 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Error getting authority: Error initializing authority: Could not connect: No such file or directory
crouton: version 1-20170216202114~master:2f7cfb5e
release: xenial
architecture: amd64
xmethod: xorg
targets: lxde
host: version 9202.18.0 (Official Build) dev-channel peppy
kernel: Linux localhost 3.8.11 #1 SMP Mon Feb 6 22:19:56 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
chgrp: invalid group: ‘crouton’
xrandr: Output eDP1 is not disconnected but has no modes
xrandr: Output DP1 is not disconnected but has no modes
xrandr: Output HDMI1 is not disconnected but has no modes
Kicking xrandr again
xrandr: Output eDP1 is not disconnected but has no modes
xrandr: Output DP1 is not disconnected but has no modes
xrandr: Output HDMI1 is not disconnected but has no modes
Kicking xrandr again
Agent pid 7938
** Message: main.vala:99: Session is LXDE
** Message: main.vala:100: DE is LXDE
** Message: main.vala:131: log directory: /home/pavlovsr/.cache/lxsession/LXDE
** Message: main.vala:132: log path: /home/pavlovsr/.cache/lxsession/LXDE/run.log
(II) AIGLX: Suspending AIGLX clients for VT switch

@drinkcat out of curiosity, does the xrandr poke workaround avoid the modesetting crash as well, or does it happen before we can tickle the display back to life?

The crash happens quite quickly so I doubt the xrandr poke would work. Didn't try, though.

I notice it's trying to configure eDP1 but after the update the display name (in xrandr) has changed to eDP-0 so maybe you should change your script to try that display instead.

This edit to /etc/crouton/xorg-intel-sna.conf stabled my -r trusty -t lxde,xorg,xiwi,keyboard so xorg is actually usable now:

Ironically, of course, the file name is no longer appropriate. :) Does anyone know where X11 references the /etc/crouton directory? Thanks for the hack!!!


M131 addeds react typing causing problems

Since M131 the react types are added to the package. for my projects this causing all kind of compile exceptions. Tried to remove my react types but seems that gives lot of other problems. Can you remove this type again as it was before?

I have the same problem and spend almost a week on trying to solve that issue but failed. Now I just read in #108 that this SDK has been superseeded by https://github.com/Microsoft/azure-devops-extension-sdk. This one comes without @types dependencies. :)
Though haven't tried the news SDK, yet.

How do we resolve this?  I've wasted weeks of my life trying to get this sdk working with modern versions of react and typescript. I've added a separate issue to re-open #108.  I get nauseous when I work with this sdk.

Maybe the easiest intermediate solution is to fork this project and change the package.json to solve this issue. Maybe they even accept a solving pull request.
I would giver it a try but currently not working on a project where I need this SDK. The new SDK also shows slow progress, so this SDK probably has to be used for quite a time.

Unfortunately my organization won't allow me to PR, and I don't want to maintain my own version of this thing.  Maybe I'll just stop using it.

hello, have tried to put this in your tsconfig.json?
"exclude": [     "node_modules"       ]
this way when you compile, the folder "node_modules" is ignored

Yes, I have that, thanks, but that doesn't remove the type dependencies.

@smardine
Also tried this approach but didn't solve the problem. :(

@pabrams
Maintaining your own version dosen't seem to be a big issue - the last release of this library was two years ago. It would even doubt then that a PR would be accepted, merged and a new release pushed to npm. :/

@Michaelvsk I guess you have a point.  First, I'm trying to figure out whether azure-devops-extension-sdk is supposed to support my TFS 2017 Update3

I really want to know what the problem is. Maybe I should have been a garbage man instead of a coder.  https://stackoverflow.com/questions/55543668/module-has-not-been-loaded-yet-use-require


animationEnabled is invalid

Version

react-native-router-flux v4.0.0-beta.21
react-native v0.48.3

Expected behaviour
page redirect without animation
Actual behaviour
animate as right-to-left sweep
Steps to reproduce
<Scene key="root" hideNavBar={true} animationEnabled={false}>
    <Scene key="login" component={LoginPage} hideNavBar={true} duration={0} animationEnabled={false} />
    <Scene key="login_form" component={LoginFormPage} hideNavBar={true} duration={0} animationEnabled={false} />
</Scene>

You are correct that this property doesn't exist anymore in V4. I will label this as an enhancement to add this feature back. Feel free to make a PR if you have time!

I would like to see no animation on tab change working.
I received a red box error on Android after adding:
animationEnabled={false)

Using:
		"react": "^16.0.0",
		"react-native": "^0.50.3",
		"react-native-router-flux": "^4.0.0-beta.24",


Update Readme

Move patching of Teensyduino further up to avoid confusion when static linking error will occur as a result of following the steps outlined.

Fair enough, merging. Thanks


Error setting up Windows 64b environment (error: failed retrieving file)

pacman -S tar upx bc wget
fails saying following:
error: failed retrieving file 'ucl-1.03-1-x86_64.pkg.tar.xz' from repo.msys2.org : Maximum file size exceeded
error: failed retrieving file 'ucl-1.03-1-x86_64.pkg.tar.xz' from downloads.sourceforge.net : Maximum file size exceeded
error: failed retrieving file 'ucl-1.03-1-x86_64.pkg.tar.xz' from www2.futureware.at : Maximum file size exceeded
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.

Workaround:
Download the package manually from repo.msys2.org, and do
pacman -U "where your package is"

How do I find out the URL of these packages?
pacman doesn't prints URLs, only the server's DNS name.

http://repo.msys2.org/msys/x86_64/ucl-1.03-1-x86_64.pkg.tar.xz

I figured out the above in parallel and it works a treat

Unfortunately, this seems to be a known bug in MSYS2:

https://github.com/Alexpux/MSYS2-pacman/issues/49
https://github.com/Alexpux/MSYS2-packages/issues/924
https://github.com/Alexpux/MSYS2-packages/issues/942
https://github.com/Alexpux/MSYS2-packages/issues/1025

As others have already suggested, the workaround is to download and install the offending package(s) manually.

We have added a mention of this issue into our wiki, including the abovementioned workaround. I am closing this issue as RetDec is not at fault here. Thanks to everyone who suggested the workaround!

Just Curious, I looked at the other replys, and I tried to find examples of installing packages manually but couldn't find any. Any help?


Improved retry

This PR:

fixes errors in the original attempt in #105 (thank you for pointing these out @TheLortex)
extracts the retry code into its own module
applies the retry logic in Compile.build as well so that compile steps can also retry on transient failures

Now that the retry logic is extracted I am trying again to write tests for it. I am able to mock / create suitable inputs for all of Misc.Retry.retry_loop parameters except for build_job.
Does anyone know how to create things of type Cluster_api.Raw.Client.Job.t Capnp_rpc_lwt.Capability.t without going through this process?
The fact that retry_loop runs a job seems to mean that we can't run it up in a test without recreating a lot of machinery. I was hoping for something along the lines of https://github.com/ocurrent/ocurrent/blob/master/test/test_job.ml

with_error_check will be used to extend extract_hashes before passing it to Misc.fold_logs.

I don't understand this - could you please elaborate on what you mean by extend here? In particular, I don't see how with_error_check is meant to fit into the way you would use retry_loop.
Also, I am presuming that the "running of the job" is now encapsulated in fn in your suggestion?
Finally, I think I prefer moving the backoff out of the function signature. I think that is intrinsic to the retry and not something the caller should be concerned with.

I don't understand this - could you please elaborate on what you mean by extend here? In particular, I don't see how with_error_check is meant to fit into the way you would use retry_loop.

Here is the roughly the code I imagined using these two functions:
Basically we wrap all the build job / + error detection logic in fn  and keep retry_loop independent of the notion of ocluster jobs.
...
[initial setup]
...
let fn () =
    let* result = Current_ocluster.Connection.run_job ~job build_job in
    let result = match result with Error _ -> Error () | Ok _ -> Ok ([], [])
    Misc.fold_logs build_job (Misc.with_error_check extract_hashes) result
in
Misc.retry_loop ~number_of_attemps:2 ~fn

Also, I am presuming that the "running of the job" is now encapsulated in fn in your suggestion?

Yes indeed.

Finally, I think I prefer moving the backoff out of the function signature. I think that is intrinsic to the retry and not something the caller should be concerned with.

I have added it as an optional argument so that it's easier to test the retry_loop function without having to wait 30 seconds for the backoff. In normal code it won't be used but for tests a value of zero could be provided to make them fast.

I have added it as an optional argument so that it's easier to test the retry_loop function without having to wait 30 seconds for the backoff. In normal code it won't be used but for tests a value of zero could be provided to make them fast.

Ah yep that makes a lot of sense.

@TheLortex @tmcgilchrist I have made some changes to the approach based on testing in staging. Please see the most recent commit and my comments.


Please add support for AoT compiler - Please add .metadata.json file in next release

The Angular team suggest that library vendors should also ship .metadata.json files. These files are produced automatically by ngc.
Your might find below comments useful:
https://github.com/angular/angular/issues/11262#issuecomment-244449696
https://github.com/angular/angular/issues/11262#issuecomment-244472000
https://github.com/angular/angular/issues/11262#issuecomment-244489405
Complete conversation (https://github.com/angular/angular/issues/11262)

+1

@cstefanache Any ETA for ngc compatibily? Thank you!

tring to do a deployment tomorrow with both ngc and js files

=)

Not sure if is a good idea to treeshake a library. Wouldn't be better the compiler to be executed at application level rather than library level?

Yes! I am using a lib "ng2-dragula" and there is executed at application level, not library level.

Tested ok with --aot and worked fine. closing issue


Issue installing TriplyDB due to @triply/utils missing from NPM repositories

Hi @RossCurry and @LaurensRietveld , since this morning we cannot install TriplyDB anymore (it was still working yesterday, the 10 march 2022)
This is the error we get when running yarn
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred<EMAIL_ADDRESS>Request failed \"404 Not Found\"".

We also tried to install with different NPM registry (yarnpkg, npmjs...) and versions of @triply/utils, but we always get the same error
It's quite problematic as it prevents to use many packages and frameworks (RATT, LDWizard, etc)
Any idea what it is due to? And how it could be fixed? Maybe there was a change in the permissions for @triply/utils?
Thanks a lot!

Apologies, could you try again? It seems that dependency was accidentally set to private. It's now public again

Thanks a lot @LaurensRietveld ! It's now working again


Android upload video from library - no durationLimit even with allowsEditing set to true

Library version : 0.28.0
react-native version : 0.59.3
Hi everyone,
I have an issue only with video uploaded from library, and only on Android devices (all of them).
Here are my options for the mediaPicker :
const optionsUploadAndroidCamera = {
mediaType: 'video',
noData: true,
allowsEditing: true,
videoQuality: 'high',
storageOptions: {
skipBackup: true,
},
durationLimit: 20
};
and here is the way I pass them to it :
ImagePicker.launchImageLibrary(optionsUploadAndroidLibrary)
The problem is the following :
Even with option allowsEditing set to true, I can upload video larger than 20seconds, and I can't edit them.
Does somebody have a clue about this issue ?
Thanks a lot for your help.

did you find any solution on this?

any solution on this ?

any solution?


Problems running tutorial on raspberry pi

Thanks for IoT Hub tutorial as well as mattjhayes/ Issue #11406
But i still have a problem running the sample.
First errror:
ImportError: libboost_python-py27.so.1.62.0: cannot open shared object file: No such file or directory
Linked it:
ln -s libboost_python-py27.so.1.67.0 libboost_python-py27.so.1.62.0
Next error:
ImportError: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found
Workaround:
sudo apt install libcurl3 python-pip
not working: libcurl4 (7.64.-0-4) is installed
I am a newbie.
Would be nice, if someone could help me!

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

ID: d9565ceb-e636-e815-f7cf-ff9523fabc2f
Version Independent ID: 7c6b3210-d878-0347-27af-199c2c00daa9
Content: Send telemetry to Azure IoT Hub quickstart (Python)
Content Source: articles/iot-hub/quickstart-send-telemetry-python.md
Service: iot-hub
GitHub Login: @wesmc7777
Microsoft Alias: wesmc

@wennemer Thanks for the question! We are investigating and will update you shortly.

Problem solved!
Recompiling and manual copying to destination folder