text:
PWD fails to start with client.IsErrImageNotFound

A couple months back I setup PWD successfully on a RHEL 7.X system.  This week I attempted to setup PWD again on a newly installed RHEL 7.4 system and it is failing with the following messages:
pwd2          | # github.com/play-with-docker/play-with-docker/docker
pwd2          | docker/docker.go:278:6: undefined: client.IsErrImageNotFound
pwd2          | docker/docker.go:349:83: cannot use types.ExecConfig literal (type types.ExecConfig) as type types.ExecStartCheck in argument to d.c.ContainerExecAttach
pwd1          | # github.com/play-with-docker/play-with-docker/docker
pwd1          | docker/docker.go:278:6: undefined: client.IsErrImageNotFound
pwd1          | docker/docker.go:349:83: cannot use types.ExecConfig literal (type types.ExecConfig) as type types.ExecStartCheck in argument to d.c.ContainerExecAttach
pwd2 exited with code 2
pwd1 exited with code 2
Here are all the versions of products installed and the steps I used to reproduce:
cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.4 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.4"
PRETTY_NAME=Storage
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.4:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.4
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.4"
docker --version
Docker version 17.09.0-ce, build afdb6d4
docker-compose --version
docker-compose version 1.14.0, build c7bdf9e
go version
go version go1.8.3 linux/amd64
modprobe xt_ipvs
docker pull franela/dind
docker swarm init
git clone https://github.com/play-with-docker/play-with-docker.git
Cloning into 'play-with-docker'...
remote: Counting objects: 1957, done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 1957 (delta 57), reused 70 (delta 46), pack-reused 1857
Receiving objects: 100% (1957/1957), 976.72 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1227/1227), done.
cd play-with-docker
[play-with-docker]# go get -v -d -t ./...
github.com/gorilla/handlers (download)
created GOPATH=/root/.go; see 'go help gopath'
github.com/gorilla/mux (download)
github.com/miekg/dns (download)
github.com/play-with-docker/play-with-docker (download)
github.com/docker/docker (download)
github.com/googollee/go-socket.io (download)
github.com/googollee/go-engine.io (download)
github.com/gorilla/websocket (download)
github.com/inconshreveable/go-vhost (download)
github.com/docker/distribution (download)
github.com/docker/go-connections (download)
github.com/pkg/errors (download)
github.com/docker/go-units (download)
github.com/prometheus/client_golang (download)
github.com/beorn7/perks (download)
github.com/golang/protobuf (download)
github.com/prometheus/client_model (download)
github.com/prometheus/common (download)
github.com/matttproud/golang_protobuf_extensions (download)
github.com/prometheus/procfs (download)
github.com/twinj/uuid (download)
Fetching https://golang.org/x/text/encoding?go-get=1
Parsing meta tags from https://golang.org/x/text/encoding?go-get=1 (status code 200)
get "golang.org/x/text/encoding": found meta tag main.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/encoding?go-get=1
get "golang.org/x/text/encoding": verifying non-authoritative meta tag
Fetching https://golang.org/x/text?go-get=1
Parsing meta tags from https://golang.org/x/text?go-get=1 (status code 200)
golang.org/x/text (download)
github.com/gorilla/securecookie (download)
github.com/shirou/gopsutil (download)
Fetching https://golang.org/x/crypto/ssh?go-get=1
Parsing meta tags from https://golang.org/x/crypto/ssh?go-get=1 (status code 200)
get "golang.org/x/crypto/ssh": found meta tag main.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/ssh?go-get=1
get "golang.org/x/crypto/ssh": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
golang.org/x/crypto (download)
github.com/urfave/negroni (download)
github.com/stretchr/testify (download)
[play-with-docker]# docker-compose up
...
pwd2          | # github.com/play-with-docker/play-with-docker/docker
pwd2          | docker/docker.go:278:6: undefined: client.IsErrImageNotFound
pwd2          | docker/docker.go:349:83: cannot use types.ExecConfig literal (type types.ExecConfig) as type types.ExecStartCheck in argument to d.c.ContainerExecAttach
pwd1          | # github.com/play-with-docker/play-with-docker/docker
pwd1          | docker/docker.go:278:6: undefined: client.IsErrImageNotFound
pwd1          | docker/docker.go:349:83: cannot use types.ExecConfig literal (type types.ExecConfig) as type types.ExecStartCheck in argument to d.c.ContainerExecAttach
pwd2 exited with code 2
pwd1 exited with code 2
docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
golang              latest              99e596fc807e        41 hours ago        733MB
haproxy             latest              4bb854517f75        47 hours ago        136MB
prom/prometheus     latest              03f045a7680f        5 days ago          75.4MB
grafana/grafana     latest              1d2e2705fd26        2 weeks ago         303MB
franela/dind        latest              cf7825f158f8        3 months ago        479MB
Any suggestions?

This is beacuse docker/docker changed and we're not vendoring dependecies. We're working in a different branch fixing all this dependency issues.

Thanks Marcos.  Is there a PWD branch I can clone from that resolves these dependency issues, or will you post an update here when the branch is published?

@daveolker not ATM. I'll close this issue when we merge our branch into master after making sure everything works as expected

Got the same error with Ubuntu 16.04.
pwd2          | # github.com/play-with-docker/play-with-docker/docker
pwd2          | docker/docker.go:278:6: undefined: client.IsErrImageNotFound
pwd2          | docker/docker.go:349:83: cannot use types.ExecConfig literal (type types.ExecConfig) as type types.ExecStartCheck in argument to d.c.ContainerExecAttach
pwd1          | # github.com/play-with-docker/play-with-docker/docker
pwd1          | docker/docker.go:278:6: undefined: client.IsErrImageNotFound
pwd1          | docker/docker.go:349:83: cannot use types.ExecConfig literal (type types.ExecConfig) as type types.ExecStartCheck in argument to d.c.ContainerExecAttach
pwd2 exited with code 2
pwd1 exited with code 2
Waiting for the new branch

Is there any further update, or a time line when the new branch will be made available?

Yes, next branch will be available next week.

Excellent news will keep an eye out for it.

I'm facing the same problem on my project.
I'm not sure how this got resolved here, can anyone help me?
Thanks.
I'm getting:
cannot use options (type types.ExecConfig) as type types.ExecStartCheck in argument to cli.ContainerExecAttach.

authors: daveolker leseb marcosnils moyni77 pushou


text:
Restore an optimized version of pc.string.format

Restores pc.string.format to API (for now). But I've taken the opportunity to optimize it and condense the code so it's not quite as odious as before. Implementation is now:
    format: function (s) {
        for (var i = 1; i < arguments.length; i++) {
            s = s.replace('{' + (i - 1) + '}', arguments[i]);
        }
        return s;
    },

This is approximately twice as fast as the previous RegExp-based implementation and the code is obviously smaller.
I've also removed the closure in the string.js module which is no longer required under Rollup.
I confirm I have signed the Contributor License Agreement.

Use of arguments is known for preventing functions to be optimised by V8 in Chrome. This is one of the reasons why we do arg1, arg2, arg3 ... as arguments in event emitters.

Interesting. But I can't make assumptions about the maximum number of args here unfortunately. This new implementation is 2x faster, which is something. But it's still literally 600 times slower than just doing a string concat.
I just made a jsperf to investigate:
https://jsperf.com/pc-string-format

Looks like not using the arguments array would give another 20% boost. But yeah, I think I can live with the hit to have a compact, generalized function.

source: gharchive/pull-request

authors: Maksims willeastcott

repo: playcanvas/engine

license: MIT

license_type: permissive

license_source: github-api


text:
scala-guice 7.0.0 (was 6.0.0)

About this PR
📦 Updates net.codingwell:scala-guice from 6.0.0 to 7.0.0 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "net.codingwell", artifactId = "scala-guice" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "net.codingwell", artifactId = "scala-guice" }
}]

labels: test-library-update, early-semver-major, semver-spec-major, version-scheme:pvp, commit-count:1

Not yet.

Play not ready for Guice 7.0

authors: mkurz ndeverge scala-steward

repo: playframework/play-silhouette


text:
Why Uglify?

Hey,
Why the dependency on UglifyJS? It's a build-minification tool. Wouldn't a plain eval be sufficient as you already do after piping everything through Uglify? Especially given that the default is to not compress the code. It would definitely be faster without involving Uglify, which I've got a feeling is to blame for the 300ms+ time spent compiling a single schema. ;-)
If people wish to compress the code as they see fit, dependency injection (a.k.a pass a function in) would be a decent solution.

@moll , uglify was put to be able to create readable code for debugging purposes and also to remove any dead code that was generated. I will be removing it in a future release and leave it for the user to decide how he wants to compress or minify the generated validator.

Great. Currently I think Themis has to be the slowest validator library evar because of that. Hundres of milliseconds per Themis.validator call because of that. Awful awful. :)

Moving it to be an optionalDependency might be a good...
I see it as useful when compiling schemas upfront.. as one would be willing to pay for the cost...
But if loading dynamically (even in a server) 300ms per schema is a lot of overhead (slow server startup isn't nice..).

Is this project maintained anymore? The uglify dependency has a critical security error according to npm audit. Could we get it removed or updated?

source: gharchive/issue

authors: atrniv johnrb2 jonasfj moll

repo: playlyfe/themis

license: mit

license_source: bigquery


text:
🛑 biodiversityPMC Query is down

In e52c127, biodiversityPMC Query (https://denver.hesge.ch/transform/api/transform?text_query=What species can be vector of eggs of Dermatobia hominis ?&transf=true&norm=true&unselect=&terms_status=) was down:

HTTP code: 0
Response time: 0 ms

Resolved: biodiversityPMC Query is back up in c67a3b5 after 5 minutes.

repo: plazi/monitoring


text:
Unicode instructions update

Regarding #211, I created simple script to generate unicode instructions.
I reorganize the structure of code so that it is useable to update PLFA.
The script is one parameter how to generate instructions. It changes how many times we show instructions in chapter to chapter. Ex. \bN is used Naturals.lagda, Induction.lagda, Relation.lagda and etc.
We do not have to show the instruction in every chapter and I think 2 or 3 times is reasonable.
I created two branches to compare them, let me know your opinion:

unicode-2times
unicode-3times

My personal preference is 3 for Part 1 and 1 or 2 for Part 2, because we have many things to memorize in Part 1 and the instructions helped me a lot, on the other hand when we continue to read Part 2, I think it's better for readers to check agda-input.el by themselves. Let me know your opinion for the parameter. I'll send a pull request for the script based on your opinion.
(Note: My script only checks unicode characters that appeared in a file, I do not care whether the character is used in the exercises or not.)
I would also like to know where I put files. Now I have 3 files:

perl script to generate unicode instructions using following files;
text file that contains all the lagda file to be examined in chapter order;
text file that contains unicode instructions for each character.

My guesses are that 1 will be plfa.github.io/bin and 2 and 3 will be in plfa.github.io/src/plfa.

@wadler What do you think about this? I think @ywata makes a great suggestion to repeat the new unicode characters several times in Part 1 of the book, and automating this would be useful when we expand the book, and to guarantee consistency.

@ywata I am impressed! Nice idea. Thank you.
Yes, I like the proposal to repeat characters three times in Part I and twice in Part II.
Am I right that this has the disadvantage that when you are editing the source file you no longer see the Unicode instructions in the source you are editing? This is a minor drawback, but on balance I think we could live with it.
I leave it to @wenkokke  to confirm that everything is in order related to all the other software used to generate PLFA.

@wadler I don't think this is right, we've not integrated it with the Makefile. However, you raise a good point. Should we integrate it with the makefile, so that the unicode listings are automatically updated when we change the paper? I think the main reason there were bugs in there to begin with is because we've changed the source/text of the chapters without constantly maintaining them, so I'd be in favor of this. The downside is that we'd add perl as a dependency to the build process.

I created a branch based on this issue.
https://github.com/ywata/plfa.github.io/tree/pr-06
I also created a repository of unicode instruction generator in
https://github.com/ywata/plfa_tool/unicode_instruction

authors: wadler wenkokke ywata


text:
DownloadStation.Task V2

Hi,
I did change DownloadStation.Task to V2 because V1 is broken (error with spaces in filename) for my usage and the webui of Synology use V2.
I use it for the last 7 weeks without issues.
This version have breaking change, so as you want want, you can keep this change from V1 to V2 or keep both V1 and V2 (I can do the work).
For me I consider V1 deprecated.

The project have high vulnerabilities.
In my case I had to update Visual Studio to see them inside the app.
Could you take care of them ?

I've fixed all the vulnerabilities on the project (#25). Let me know if you find any other issues.

I've fixed all the vulnerabilities on the project (#25). Let me know if you find any other issues.

Thank you

Where did you find the specifications for the V2 API? The existing PDF doesn't have this information and it would be nice to add it to the docs folder in the repository.

authors: YvesPa plneto


text:
Webworker to periodically prefetch JS chunks

This might be a "nice to have", but we're getting errors that chunk failed to load once we do new deployments. See https://github.com/plone/volto/issues/2041. I'm not sure how big of a problem is for anonymous users, though we have chunks that are not loaded in the initial request, but are essential to the website experience.
The idea is to have PWA web worker that periodically fetches (and this needs to be exposed from the SSR server) chunks.json so that it can prefetch those resources and cache them in the browser.

We might need offline-plugin which can cache output assets using a service worker.

Looks good! Give it a try!

repo: plone/volto


text:
On renaming on edit, the lock tries to release it on the old object and fails

Describe the bug
The lock is not released, since it tries to release the old object which has already been moved.
To Reproduce
Steps to reproduce the behavior:

Create a page
Save
edit it, rename the page by editing the id field
save

The lock is not released, since it tries to release the old object which has already been moved.
Expected behavior
The lock is released before the object is renamed (the PATCH happens)

I think we should consider adding a way in the REST API to unlock the item in the same PATCH that saves the edit. Otherwise it's too hard to avoid the race condition.

authors: davisagli sneridagh


text:
Clean up yarn.test warnings

When running yarn.test several warnings are thrown.
I want to reduce them to the bare minimum

PR: https://github.com/plone/volto/pull/3775


text:
The ListingBody component should be exported unconnected

It's hard to insert custom behavior between the withQuerystringResults and the ListingBody anonymous function component, because of the way the code is structured.
My proposal is to declare the ListingBody (and export it) separately from the withQuerystringResults call, and export default the withQuerystringResults(ListingBodyComponent)

I have opened a PR on this issue

#4342

@ajmalwali7  @prithvi009 I think it's good for you to talk. You are working on the same issue:
#4344
#4343

@ajmalwali7  & @prithvi009 please let me know if anyone of you are working on this issue . I am planing to work on this .


text:
redraft-related code should be (re)moved from the volto-slate package

https://github.com/plone/volto/blob/82294999cd9d7d5291a79456f709f4c1d7d113a9/packages/volto-slate/src/blocks/Text/index.js#L142-L157

Can you please elaborate ?
Is it just the above code?
Am I missing something about redraft?

@StevenSteel7 we're trying to phase out draftjs + redraft from Volto.
The history is like this:
Volto's Text block used to be implemented with redraft. We had a side project, called volto-slate, which reimplemented the Text block using slatejs instead of redraftjs. That was a separate addon. In that addon we had that bit of compatibility code that I've highlighted in this ticket. When we've incorporated the addon into Volto we omitted to move that code to Volto directly. This is just about code organisation, redraft-related code should not sit in the volto-slate subpackage. Instead, draftjs code should be kept as much as possible centralized, so that we can then move it to another addon, as draftjs fell out of favour (we prefer the slatejs based text editor).

@tiberiuichim Thank you for replying, got it now.


text:
volto-slate clearFormatting should be pluggable

I propose that it calls editor.clearFormatting() (which can be extended by plugins).
The reasons is that some plugins may use mark-like formatting rather then wrapping content in elements.

can you please explaine it bit more

@lord2anil On our project we had to write this custom clearFormatting function:
https://github.com/eea/volto-eea-website-theme/blob/526b5e8b22a5d7201b1badfc21dd06dfc4668bdf/src/slate.js#L61-L92
And replace the Clear Formatting button with our own: https://github.com/eea/volto-eea-website-theme/blob/master/src/slate.js#L113
The problem we're trying to fix is that the default clearFormatting only removes the node elements. Some formatting may be stored as marks, for example, or may be implemented at the whole parent node level. So the clearFormatting should allow some form of pluggability and configuration, so that other volto-slate plugins can insert their own custom "clear formatting" code, rather then completely overriding the button and functionality.


text:
a11y - site setup - Addon-ons - cms ui

Describe the bug

This page contains a series of accordions that are not reachable via keyboard or screen reader.

after some tests it was discovered that using a screen reader and navigating using ctrl + alt (option) + arrows, it is possible to get to the accordion items

To Reproduce
Steps to reproduce the behavior:

Go to "site setup" -> "Addon-ons"
Navigate with the keyboard

Expected behavior

All the accordions items need to have tabindex or be naturally found by keyboard navigation.
The default accordion behavior (open/close) must work
The accordion content must be reachable by the keyboard
All items need to have a proper label to identify which will be properly identified
All items must receive visual focus

Screenshots
If applicable, add screenshots to help explain your problem.

Software (please complete the following information):

Volto Version 17.0.0-alpha.19
Plone Version 6.0.4

Work is mostly done, see #6345 for detailed changelog.
TODO: missing translations due to code splitting/changes/additions to intl messages


text:
SKE: Adding a trend to scatterplots

If I'm fitting an SVM for instance, I should be able to add lines, or even a trend line into a scatterplot.

Another example

I'm not following this one. A scatterplot of what? (what's in the X and Y axis?)

It'd probably be your data, so pengiuns is X, Y is their species:
"Locally estimated scatterplot smoothing, or LOESS, is a nonparametric method for smoothing a series of data in which no assumptions are made about the underlying structure of the data. LOESS uses local regression to fit a smooth curve through a scatterplot of data."

LOESS is a non parametric method for fitting data. And scatter plot is just referring to the input data, it's not that LOESS is a plot itself.
We can do a vanilla scatter plot but that's one line in matplotlib, there isn't much benefit to adding it. Unless we add extra things like coloring outliers or something else.

Yeah I guess it's an overkill.

authors: edublancas idomic

repo: ploomber/sklearn-evaluation


text:
Hangs at startup if first table needs apostrophes to be addressed

FalconSQL (Linux v.2.4.0) creates a first query in the query panel at startup, such as SELECT * FROM first-table LIMIT 1000.
The issue is related to this first table name: if it needs apostrophes to be addressed in common SQL queries (such as in ` aa-first-table `) the program stops working and it is not possible to select any other table nor change the query.
To try, create a table aa-first-table and connect.
A possible workaround is to create a first table that doesn't need apostrophes to be addresses (such as a).

Thank you for the report (and the workaround!).
We have a number of bugs caused by a poor handling of request errors in UI. I've opened issue #469 to keep track of them.

At least in this case the solution should be easy: to avoid the creation of the first "demo" query that's executed automatically at start. What is it its use, anyway?

Closing in favour of #264

authors: Nemecsek n-riesco

repo: plotly/falcon-sql-client


text:
Cross-schema Oracle patch

Ability to query across schemas with the Oracle connector

@bkief Thank you for your contribution!

This PR should've been merged into master (I've just fixed that).

authors: bkief n-riesco

repo: plotly/falcon


text:
Alterações no design da fases

Requisito
Classificação

[X]  Requisito Funcional (RF).
[ ]  Requisito Não Funcional (RNF).

Descrição
Alterações iniciais nas telas das fases que tem mesmo design

Fase 1 telas 1-4
Fase 2 telas 1-2
Fase 3 telas 1-5
Fase 4 telas 1-4

Close feature/#188

repo: pluggedcomputing/pixel


text:
🛑 KCG is down

In 1de5fac, KCG (https://kunstrijclubgroningen.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KCG is back up in 0fbe5ad after 9 minutes.


text:
🛑 KCG is down

In 243c6c7, KCG (https://kunstrijclubgroningen.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KCG is back up in 74bd4b6 after 15 minutes.


text:
What should I do if I already have a Deno app?

I'm from ASP.NET Core and am learning Deno, oak and looking at the newer breed of JS frameworks.
I've struggled immensely with Svelte because I can't understand how it fits into my mental model of a web app. I don't understand how my existing Deno app serves the Svelte content that, I think, Vite produces.
I'd expect there to be Svelte middleware, or maybe I render some outer HTML via Eta and put some Svelte JS entrypoint in that. I don't know.
I'm also not used to coding via a dev HTTP server that isn't the actual web server (and so doesn't have my middleware in effect).
I was told to research Svelte Adapters and here I am. This adapter appears to emit the whole Deno app? Is that right (I'm a noob)? So I can't integrate Svelte with an existing Deno app serving some other pages and static files?
Thanks for any advice :)

Hello @lukepuplett! Thanks for your question, I'll try to answer clearly.

This adapter appears to emit the whole Deno app? Is that right (I'm a noob)?

Yes, it is primarily designed to generate a bundle that serves as the entrypoint for your app. It is definitely not as extensible as it can (and should) be. However, it does expose the Oak handler as defined in https://github.com/pluvial/svelte-adapter-deno/blob/main/src/handler.js so you can use that instead in your application to add svelte-adapter-deno's SSR and static file serving. This is relatively untested, but it should behave similarly to the equivalent Node middleware as describe here: https://github.com/sveltejs/kit/tree/master/packages/adapter-node#custom-server
If you do not need SSR and only want to serve static files using Deno, I'd recommend using SvelteKit's adapter-static to generate all the .html, .js, .css, etc. files you need, and using something like the serveDirectory() logic here: https://github.com/pluvial/svelte-adapter-deno/blob/main/src/handler.js#L12
If you are relatively comfortable with JS, you should be able to read this adapter's src/ code for inspiration, it's really very short.
There are few other aspects in which this adapter could be made more extensible, so if you do go down this route, I'd expect more feedback on how I could make it better 😄

Thank you, João! That's clear and very useful, and good to know it uses Oak. I'll close this issue.

authors: jpaquim lukepuplett

repo: pluvial/svelte-adapter-deno


text:
Add my physique (iOS and macOS)

https://testflight.apple.com/join/BScDI9fh - AI powered fitness coach
https://www.reddit.com/r/TestFlight/comments/14h2kd7/recruiting_get_your_own_personal_trainer_powered/?utm_source=share&utm_medium=ios_app&utm_name=ioscss&utm_content=2&utm_term=1

done

authors: auroralia pluwen

repo: pluwen/awesome-testflight-link


text:
Upgrade form AMD44 to ARR64

docker tag gethue/hbase:latest pmagmarques/hbase
docker buildx build --platform linux/arm64 -t pmagmarques/hbase --push .

docker-compose up -d

repo: pmagmarques/BDDA


text:
Add support for contact force events

Documentation
Use Case
When two objects collide, I want to play a sound at the volume appropriate for the collision. eg. softer collisions should be quieter.
Solution
I was expecting to be able to do this from the onCollisionEnter event but it looks like rapier separates colission events and contact force events. With that in mind, would the solution be to add the onContactForce prop to colliders and rigid body's and apply it in the same way other events are within Physics?
I'm happy to add this in, just thought I'd check on the apprach first.

The Rapier world's event queue exposes a drainContactForceEvents which I guessPhysics would need to make use of to generate and process these.
The Rapier documentation states:

Event occurring when the sum of the magnitudes of the contact forces between two colliders exceed a threshold.

This sounds like this threshold should be user-configurable somewhere, but it's not clear to me where this happens?

Ah, it says so right in the piece of documentation that you've linked:

Collider.setContactForceEventThreshold

Cool! I think this would be a great feature to have.

repo: pmndrs/react-three-rapier


text:
Ability to change z-index or z position to control stacking order

Hi!
Is it possible to change the layering order of different objects while using react three fiber? I change the z position of the object but once the useCircle hook takes into effect, the object gets snapped to z-0 again.
I tried arranging objects by changing the line order in jsx but it's not editable and not reliable - sometimes it produces artifacts.
Is there anything in use-p2 or p2.js like z-index in CSS where I can manually set the position on z-axis?
Thank you!

You can pass the body ref to a group, then change the relative position of the mesh in that group
e.g.
function Box() {
  const [ref] = useBox(() => ({ mass: 0, position: [0, -2] }))
  return (
    <group ref={ref}>
      <mesh position-z={1}>
        <boxGeometry />
      </mesh>
    </group>
  )
}


text:
Parameterize image in makefile

It's currently hard-coded to quay.io/osb-starter-pack/servicebroker

Closing as was solved in https://github.com/pmorie/osb-starter-pack/pull/34 and https://github.com/pmorie/osb-starter-pack/pull/38

authors: LiliC pmorie

repo: pmorie/osb-starter-pack


text:
Non-master default branches

Github is in the process of switching to using main as the default for a default branch. This breaks with semtag as there are some occurrences of hard-coding master in the code.
The default branch can be retrieved programmatically using git symbolic-ref refs/remotes/origin/HEAD | sed "s@^refs/remotes/origin/@@".

Duplicates https://github.com/pnikosis/semtag/issues/17

repo: pnikosis/semtag


text:
Fixes 'spo site apppermission remove' output

A few months ago, we accidentally introduced an output for spo site apppermission remove.

Merged manually. Thank you!

authors: milanholemans waldekmastykarz


text:
New command: Create Microsoft Graph schema extension

Create MS Graph schema extension using POST https://graph.microsoft.com/v1.0/schemaExtensions.

command graph schemaextension add --id <id> --description|-d <description> --owner|-o [owner] --targetTypes|-t <types> --properties|-p <properties>
types: comma-separated list of target types
properties: JSON string with the properties

Note: requires #10
More information: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/schemaextension_post_schemaextensions

Hey @ypcode, are you still working on this?

Hi Waldek, I am still on it, it was a bit delayed but will PR in the upcoming days :)

Awesome! Looking forward to it!

authors: waldekmastykarz ypcode


text:
[BUG] get-pnpsitescriptfromweb throws an error if you don't use one of the -include parameters

Reporting an Issue or Missing Feature
The get-pnpsitescriptfromweb command threw an error unless I included -IncludeAll, -IncludeBranding etc. According to the documentation, these parameters are optional
Expected behavior
If I use the -Lists parameter without any -Include* parameter, the command should output the JSON for the specified lists
Actual behavior
**PowerShell 5.1: **
Get-PnPSiteScriptFromWeb : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
+ get-pnpsitescriptfromweb -url https://mytenant.sharepoint.com/sites/te ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-PnPSiteScriptFromWeb], ParameterBindingException
    + FullyQualifiedErrorId : AmbiguousParameterSet,PnP.PowerShell.Commands.GetSiteScriptFromWeb

PowerShell 7.1:
Get-PnPSiteScriptFromWeb: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
Steps to reproduce behavior
get-pnpsitescriptfromweb -url https://mytenant.sharepoint.com/sites/test -Lists "MyLibrary"
What is the version of the Cmdlet module you are running?
1.6
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

The following command ran successfully:
get-pnpsitescriptfromweb -url https://mytenant.sharepoint.com/sites/test -Lists "MyLibrary" -IncludeAll
Also, I'm confused by the parameter -IncludeAll. I expected this to include lists and libraries. I'd suggest updating the documentation to indicate that -IncludeAll does not include lists, or changing the behaviour of the command.

@spg-iwilson - Indeed, I can reproduce the problem in the latest 1.7.43. We'll work on that.

@spg-iwilson issue has been fixed in the above referenced PR. Once this PR is merged, the following day you can get the latest prerelease to test this out. Assuming this will fix the issue you are describing, I will proceed with closing this issue. If it turns out not to be fixed, feel free to reopen.

authors: KoenZomers spg-iwilson veronicageek

repo: pnp/powershell


text:
Remove the Teamify link on Group sites

Just an example showing how to remove the Create Team link on Group sites

Hi @kasperbolarsen - very cool sample, think folks would love that one - thank you, this will be live shortly 🎉😁

authors: kasperbolarsen pkbullock

repo: pnp/script-samples


text:
FolderExplorer: "new folder" issues

Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: [2.1.0]
Description

New folder name is unnecessarily encoded. If you enter 'A B' as a folder name, you get 'A%20B'. Space is a valid character for a folder name, according to the documentation:
https://support.microsoft.com/en-us/office/invalid-file-names-and-file-types-in-onedrive-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa

there is no check for invalid symbols. If you create a new folder in SharePoint UI you have an error message like this:

There is no way to cancel creation of the folder once you started it (no cancel button and escape does not work)

There is no error shown in case folder is not created (just a log entry in console). If error happens, the control gets "stuck" in the "saving" mode here, "loading" is never reset: https://github.com/pnp/sp-dev-fx-controls-react/blob/dda0256dab865a47c56a971763bf44f18689a5dc/src/controls/folderExplorer/NewFolder/NewFolder.tsx#L95

Expected

You get 'A B'.
There is validation error like in the SharePoint implementation.
Cancel key should cancel editing, or there should be a cancel button, or both.
In case of error, the field should stop "saving", and should show something like "something went wrong" to indicate that folder creation fails.

Possible solutions

There is "blunt" encoding here (should be smarter than this; it's not all "invalid URI characters" that are prohibited). More precisely, encodeURIComponent(name) seems to be a bad idea. If (2) is fixed then this encoding can be probably be just removed (in case something is wrong, the API call will throw an exception):
https://github.com/pnp/sp-dev-fx-controls-react/blob/dda0256dab865a47c56a971763bf44f18689a5dc/src/services/FolderExplorerService.ts#L104

Here a validation (errorMessage) property is probably needed, that will check proper characters. Since spfx controls don't care about 2013, the latest invalid character set can be taken, see here. And translation of that to all supported languages:
https://github.com/pnp/sp-dev-fx-controls-react/blob/84d2b5189df7c03d8caf5b84bced4bf2746b4942/src/controls/folderExplorer/NewFolder/NewFolder.tsx#L44-L49

Not quite sure how to deal with this one.. Maybe using a focus (lock) somehow? Now the thing is the focus can can close the whole dialog/sidebar where the control is located, instead of just cancelling folder creation.

I think at least the state "loading" should be reset here on exception. Ideally, there should an error message (localized) like "failed to add folder" or something that is set as errorMessage for the <TextField>

Hi @nbelyh,
I've fixed 1, 2, and 4. Please, check beta version.
For the 3 - I don't see a value of doing that as the folder is created almost instantly. Even in OOB UI when you press ESC - the dialog is closed, but the folder is still being created.
I would consider adding some events like folderCreating with ability to cancel, but not Cancel button or ESC handle.

This is awesome! 😄  The third item can be thought of later, it's not critical at all, can be left as is I guess! The space character was the only critical issue here for me.

Seems to work great 👍

authors: AJIXuMuK nbelyh

repo: pnp/sp-dev-fx-controls-react


text:
Pre-image / component mapping?

Hi,
Can you please make it explicit how to obtain a pre-image from a mapped vector?
Additionally, can you explain how the components v_j of the vectors in V are related to the sequence components s_i in the sequence space S?
Best wishes

When you say "pre-image", I assume you meant the k-mer string. The short answer is to use the similar_by_vector function: https://radimrehurek.com/gensim/models/word2vec.html#gensim.models.word2vec.Word2Vec.similar_by_vector . You can call that by using mk_model.model(k_len_of_interest).similar_by_vector(your_vector).
Let me know whether that is what you are looking for. I will add more details in the README for that.

Yes, that is what I meant.  Thank you! I hadn't seen the gensim page, this will be very helpful.
Additionally, I noticed that the pre-trained data set was missing some k-mers I wanted to vectorize.  Is this just a function of the size of the training data?  Ideally I would like to train on my target genome and it have every possible k-mer in the dna2vec keys.

Also, I come back to the component mappings.  Is there some s_i -> {v_j,...v_k} correspondence such that weighted minkowski distances(for example) could be used in downstream analysis? or does each component of the original sequence s_1,...s_k contribute to every other component of the vectorized sequence v_1,...v_100?

The pre-trained data set should cover all k-mers for 3 <= k <= 8. What do you get when you try to run the following?
>>> [len(mk_model.model(k).vocab) for k in range(3,9)]
[64, 256, 1024, 4096, 16384, 65536]
>>> [4**k for k in range(3,9)]
[64, 256, 1024, 4096, 16384, 65536]

This is odd - my result is the same as yours yet when I ran my code yesterday I received a key error the 4-tuple 'CTAA'.
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-118-955472f6af60> in <module>()
----> 1 np.array(list(vectors))

/home/jay/dna2vec/dna2vec/multi_k_model.py in vector(self, vocab)
     32
     33     def vector(self, vocab):
---> 34         return self.data[len(vocab)].model[vocab]
     35
     36     def unitvec(self, vec):

/home/jay/.local/lib/python3.5/site-packages/gensim/models/word2vec.py in __getitem__(self, words)
   1504             return self.syn0[self.vocab[words].index]
   1505
-> 1506         return vstack([self.syn0[self.vocab[word].index] for word in words])
   1507
   1508     def __contains__(self, word):

/home/jay/.local/lib/python3.5/site-packages/gensim/models/word2vec.py in <listcomp>(.0)
   1504             return self.syn0[self.vocab[words].index]
   1505
-> 1506         return vstack([self.syn0[self.vocab[word].index] for word in words])
   1507
   1508     def __contains__(self, word):

KeyError: 'CTAA'

Today when I tried mk_model.vector('CTAA') I did get a vector. strange

Seemed to be related to something I'm missing about generator comprehensions.
vectors = list(map(dna_2_vec.vector, (ele for ele in (lst for lst in map(lambda x: list(chunkstring(x,4)), targets)))))  where I'm essentially breaking up a list of longer sequences into 4-mers, then yielding each of those sets, and then each element of the set to the model.vector(x).
Doing something like this works:
vectors =map(lambda x: list(chunkstring(x,4)), targets)
output = []
for lst in vectors:
    sublst = np.array([])
    for ele in lst:
        sublst = np.append(sublst, dna_2_vec.vector(ele))
    sublst = np.reshape(np.array(sublst),(500,))
    output.append(sublst)
output_vectors = np.array(output)

Feel free to mark this issue resolved.

authors: pnpnpn stanleyjs


text:
Could I change the system fields (id)

I am building a blog, and I use pocketbase the problem comes when I want to get one post, I need the URL parameter to be a slug instead of the id, now I can't get the post using getOne since it requires the id. Can the id be changed to the slug instead?

No, the id once set can't be changed.
You can create instead a custom unique text field slug and use the getFirstListItem() to query it, eg. something like:
const record = await pb.collection('example').getFirstListItem(`slug="${slug}"`);

Now it works, thanks a lot

authors: Ahmed-Abdella ganigeorgiev

repo: pocketbase/pocketbase


text:
failed when I upgrade to v0.23.1

platform: render.com
os: linux
data path:/var/data
When I sync fork on my fork repo, redeployed on render.com, there is error:

==> Deploying...
==> No open ports detected, continuing to scan...
==> Docs on specifying a port: https://render.com/docs/web-services#port-binding
==> Running './base serve --http="0.0.0.0:10000" --dir /var/data'
2024/11/25 22:28:13 Failed to apply migration 1717233556_v0.23_migrate.go: migrated collection "portfolio_cum_returns_month" validation failure: fields: (1: (name: cannot be blank.).).
==> Exited with status 1
==> Common ways to troubleshoot your deploy: https://docs.render.com/troubleshooting-deploys
==> Running './base serve --http="0.0.0.0:10000" --dir /var/data'
2024/11/25 22:28:16 Failed to apply migration 1717233556_v0.23_migrate.go: migrated collection "portfolio_cum_returns_month" validation failure: fields: (1: (name: cannot be blank.).).
How can I do?

The migration error indicates that you have an existing collection (portfolio_cum_returns_month) with invalid fields definition (it seems that you have previously inserted a field without a name, which was possible if you had custom migrations because in v0.22.x Dao operations didn't perform validations, which is no longer the case with v0.23). Or in other words, check your existing collection definitions and make sure that they comply with the validators.
If you need further help, please open a Q&A discussions as the threaded format is more suitable for this type of posts, and export your original collections configuration as json (Dashboard > Settings > Export collections).


text:
SVGLayer becomes pixelated when zoomed

Steps to reproduce the issue

Use the following snippet as viewDidLoad in IcelandicViewController
Run the demo and choose "Icelandic"
Zoom in

override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = .white

        let svgURL = Bundle.main.url(forResource: "iceland", withExtension: "svg")!
        let svgLayer = SVGLayer(contentsOf: svgURL)
        icelandicView.layer.addSublayer(svgLayer)

        svgLayer.bounds = CGRect(x: 0, y: 0, width: svgLayer.preferredFrameSize().width, height: svgLayer.preferredFrameSize().height)
        icelandicView.frame = svgLayer.bounds

        let scrollview = UIScrollView(frame: view.bounds)
        scrollview.maximumZoomScale = 50.0
        scrollview.minimumZoomScale = 0.5

        scrollview.contentSize = svgLayer.bounds.size

        scrollview.delegate = self

        scrollview.addSubview(icelandicView)

        view.addSubview(scrollview)
    }

One great advantage of vector images is, that they can be zoomed without blurring/pixelating. However PocketSVG/SVGLayer does not yield this benefit, because rasterization is enabled.
The origin of this goes back to the implementation of SVGImageView in 2014, unfortunately without explanation why rasterization was enabled.
Do you guys remember? If so, could you maybe a comment about it in the readme? Otherwise I suggest leaving shouldRasterize on its default value NO.
With rasterization:

Without rasterization:

I made it on by default for performance reasons. It's easy to disable if needed.

authors: fjolnir sebastianludwig

repo: pocketsvg/PocketSVG


text:
Feature/issue 198

Github Issue: #198
Description
Implement queries for CMR and Hydrocron.
Define a Lambda function to track granule ingestion into Hydrocron and populate the program with the appropriate queries. See #71 for context of larger program.
Overview of work done

Create track_ingest.py with a Track class to keep track of granules ingested into Hydrocron.
Query CMR for granules in a determined temporal range by revision_date query parameter.
Query Hydrocron for granules located in CMR.
Create placeholder definitions for other operations.
Define unit tests to test functionality.

Overview of verification done
Created three new unit tests

Test query to CMR (uses vcrpy to capture CMR API response)
Test query to Hydrocron
Test specific Hydrocron query by granuleUR index

New and existing unit tests pass.
Overview of integration done
Deployed to SIT environment and ran tested the track ingest lambda on the following event:
{
  "collection_shortname": "SWOT_L2_HR_RiverSP_reach_2.0",
  "collection_start_date": "20221216",
  "hydrocron_table": "hydrocron-swot-reach-table"
}

Logged results:
2024-07-19T19:30:40.616Z [INFO] 2024-07-19T19:30:40.616Z  Event: {'collection_shortname': 'SWOT_L2_HR_RiverSP_reach_2.0', 'collection_start_date': '20221216', 'hydrocron_table': 'hydrocron-swot-reach-table'}
2024-07-19T19:30:40.619Z [INFO] 2024-07-19T19:30:40.618Z  Search URL: https://cmr.earthdata.nasa.gov/search/granules.umm_json
2024-07-19T19:30:40.619Z [INFO] 2024-07-19T19:30:40.619Z  Search Parameters: {'short_name': 'SWOT_L2_HR_RiverSP_reach_2.0', 'revision_date': '2022-12-16T00:00:00Z,2024-07-19T19:30:40Z', 'page_size': 2000}
2024-07-19T19:30:46.259Z [INFO] 2024-07-19T19:30:46.259Z  Searching for more results...2000 out of 11651
2024-07-19T19:30:50.904Z [INFO] 2024-07-19T19:30:50.904Z  Searching for more results...4000 out of 11651
2024-07-19T19:30:56.184Z [INFO] 2024-07-19T19:30:56.184Z  Searching for more results...6000 out of 11651
2024-07-19T19:31:01.241Z [INFO] 2024-07-19T19:31:01.241Z  Searching for more results...8000 out of 11651
2024-07-19T19:31:05.758Z [INFO] 2024-07-19T19:31:05.758Z  Searching for more results...10000 out of 11651
2024-07-19T19:31:09.541Z [INFO] 2024-07-19T19:31:09.540Z  Searching for more results...11651 out of 11651
2024-07-19T19:31:09.761Z [INFO] 2024-07-19T19:31:09.761Z  Located 11651 granules in CMR.
2024-07-19T19:31:09.862Z [INFO] 2024-07-19T19:31:09.862Z  Found credentials in environment variables.
2024-07-19T19:35:27.259Z [INFO] 2024-07-19T19:35:27.259Z  Located 546 granules in Hydrocron.
2024-07-19T19:35:27.259Z [INFO] 2024-07-19T19:35:27.259Z  Elapsed: 0:04:46.643316

PR checklist:

[X] Linted
[X] Updated unit tests
[X] Updated changelog
[X] Integration testing

See Pull Request Review Checklist for pointers on reviewing this pull request

Implemented cmr_python query to replace CMR API query.
Ran test on entire reach collection in SIT:

11,981 granules found in CMR.
546 granules found in Hydrocron.
Execution time: 00:04:51.669945

Ran test on entire node collection in SIT:

11,982 granules found in CMR.
566 grnaules found in Hydrocron.
Execution time: 00:03:42.835959

I think this PR can be merged and closed after we figure out the latency between observation and archival time.

repo: podaac/hydrocron


text:
The version downloadable from pip is missing python 3 support

Please update pip

Hey. Last time I checked, the PIP version was hopeless behind and had some extra bugs and less functionality. It is better to follow the recommended installation instructions and use  $ pip install -e git+https://github.com/podio/podio-py.git#egg=podio-py

Indeed, there's no reason not to updated the version on Pypi.

authors: Flimm camiloforero chripede

repo: podio/podio-py


text:
[Bug] Impossible to use a strong password suggestion from Google Chrome

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
No response
Describe the Bug
Users can't use a recommended strong password from Google Chrome.
The message from the site is: "Password should include at least 1 uppercase, 1 digit and 1 special character"
To Reproduce
Steps to reproduce the behavior:

Go to http://www.podkrepi.bg/
Click on the PersonIcon
Select Signup from the dropdown
Add some correct data in name, surname, and email fields
After you click to add data in the password field, select the option Suggest strong password...
Press on Use a strong password

You can try with: 6c6jrrLj8FgL9Qd and jD74pkkiCGs2AKx
Both are 15 symbols including uppercase, digit.

Expected Behavior
Succesfully use 15 symbols suggested by Google Chrome.
Option signing is possible without errors.
Which browser are you using? (if relevant)
Chrome 110.0.5481.177

I don't think this is a bug. The google generated password doesn't contain any special characters(! @ # $ % ^ etc...), thus this is the expected behavior.

You're right. I will close it because of missing at least one special character.

repo: podkrepi-bg/frontend


text:
Update Overture.podspec

When setting up Overture via Cocoapods, I am seeing the following error:
[!] Unable to determine Swift version for the following pods:

- `Overture` does not specify a Swift version and none of the targets (`MyTarget`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

This PR sets the Swift version on the podspec.

Thanks!

authors: RuiAAPeres stephencelis

repo: pointfreeco/swift-overture


text:
Minor bug in Double parsing

First off, thanks for sharing this fantastic library (and all of your other work)! I ran across a small problem while working on an SVG parser. It's not at all uncommon to see leading 0's dropped in SVG path coordinates as a means of saving a few bytes.
As currently implemented the Double parser fails unless a leading digit is provided; i.e., "0.123" works, but ".123" fails to parse. The type initializer, Double(".123"), does produce the correct value, as does Double("-.123"), so fixing the parser shouldn't be difficult.
The Double parser currently looks for a leading "+" or "-", then the integer portion of the number. It fails if the integer portion is missing. Instead, it should require either the integer portion or a decimal point and fraction before failing.
Also, note that for SVG, you need to be able to parse "1.2.3" as a pair of numbers, 1.2 and 0.3. The fix for this may actually be a bit subtle.

@gerfarfel Thanks for taking the time to file this!
The behavior you describe is actually the original behavior from early on in this library's development, but we changed it to match the behavior of the Swift language's parser instead (which does not support .123).
So for better or worse, this is currently intended behavior and not a bug. You make a good point about the initializer behavior, though, so perhaps we should go back to the old style. We'll discuss soon!

Interesting. I understand the logic of matching the language parser's behavior, but there are certainly real-world scenarios where the less strict behavior is desirable – SVG being an obvious example. It would be great if the policy could be specified as an option. Thanks again for looking into this.

I guess you could add your own overload that provides an option regarding whether or not the pre-decimal digits are required?

authors: gerfarfel randomeizer stephencelis

repo: pointfreeco/swift-parsing


text:
Adding sum, min and max horizontal

Three weeks ago I had this done, and I just forgot to submit it. Adding on to any/all horizontal, essentially just different functions same idea. Dataframe/series function

thanks @Icequeen3333

repo: pola-rs/nodejs-polars


text:
I could not found my reword page

I am a maintainer of type-fest, and I resolved 2 issues that funding in polar, total about $120,
But now I could not found my reword page.
Need some help, thanks~

Hey @Emiyaaaaa - this is a known bug for accounts that haven’t connected with GitHub yet. I’ll fix it first thing Monday morning.
I believe however that you can access the page by going directly to https://polar.sh/rewards - or simply just connect your GitHub repositories by clicking the link in the bottom left corner.

authors: Emiyaaaaa emilwidlund

repo: polarsource/polar


text:
Visual reports: Reviewer Mode

The idea is to have a switch button (probably javascript with bootstrap) to enable the reviewer mode. When in this mode, every reportlet shows a little widget to give a qualitative rating to the performance of fMRIPrep and maybe a text-box for comments.
In the end, these ratings can be downloaded (as a yaml [newlines] or a JSON file). Optionally, we could also push these to the Web-API.
The objective here is to avoid having an excel table open on a side when reviewing a dataset (bookkeeping errors, friction, etc.). Having anonymous reviews sent back to the Web-API will give us another picture of how good or bad fMRIPrep is behaving (these backtraces will include, for instance, the full version string)
I would like very much to hear your opinions @poldracklab/fmriprep-docusprint-leaders.
/cc @rwblair for your wisdom with bootstrap and past experience with MRIQC. Also because this idea will be implemented in niworkflows - for any prep tool.
Sideways overlaps #1524 and #1831
EDIT: it'd be nice to use cookies for when the user forgets to hit the "finish" button or wants to pause rating, close and reopen.

Looking at the report  generating code my initial thought is to put the javascript for the review boxes in niworkflows, and then have its inclusion in sub-reports/reportlets be defined in the fmriprep.yml configuration. @oesteban does this make sense or should I be looking else where?

Agreed.
Base infrastructure
I think we need some little modifications to https://github.com/poldracklab/niworkflows/blob/ce82d7684ccde8b9c4046e9374b7266d0cbe2043/niworkflows/reports/report.tpl in order for adding the toggle button and some javascript to change the rating widgets from invisible to visible. In this template, we would also aggregate the "Download" button and the "Share" (post to web-api) button.
Finally, the cookie machinery would be nice to have - is also to be implemented in the template.
For the actual rating widgets
Then, I think just adding the html for the widgets here and possibly some other places - should be enough.

authors: oesteban rwblair

repo: poldracklab/fmriprep


text:
FIX: Refine implementation of plotting confounds correlations

This PR cleans up the code a little bit, and fixes poldracklab/fmriprep#1620

This seems to be working out: https://3812-53608443-gh.circle-artifacts.com/0/tmp/ds210/derivatives/fmriprep/sub-02.html

repo: poldracklab/niworkflows


text:
Prefer static to runtime types

In addition, closes https://github.com/polkadot-js/util/issues/55

Changes Unknown when pulling 8f8747c768950fa27f08378f14f324c2db4d1e9d on jg-runtime-types into ** on master**.

authors: coveralls jacogr

repo: polkadot-js/util


text:
Fixed code examples for pollinations.py rewrite

image_model = pollinations.image(
    model = pollinations.${(model || "flux").replace(/-/g, "_")},
    seed = ${seed},
    width = ${width},
    height = ${height},
)

image_model.generate(
    prompt="${shorten(prompt)}",
    save=True
)

@pollinations-ai sorry i totally missed this PR. is it still relevant?

authors: pollinations-ai voodoohop

repo: pollinations/pollinations


text:
Impossible to uninstall

I can't uninstall the program. There isn't an option and the methods I tried aren't working.
The version is the 3.4.1 compiled on ubuntu.
I can not remove the packagese that remains after the uninstallation of the program

Have you tried following the wiki?

If you have manually compiled and installed polybar, go into the build folder where you originally ran make install. There you can run sudo make uninstall to remove all installed files from your system.

I can not remove the packagese that remains after the uninstallation of the program

If you manually installed polybar dependencies, you will also need to manually uninstall them
As for uninstalling polybar, read what @jallbrit wrote.

repo: polybar/polybar


text:
Is it a good idea to support more than one set of candidates in a workspace?

First of all, context review:

A Workspace is a a dir containing a .timeless/ dir.  It has a set of Catalogs (with release manifests which map "ModuleName:Version:Item" tuples to WareID for many Modules).
Many Modules (denoted by a module.tl) file can exist in one Workspace.
Every time you evaluate a Module, it produces a "candidate" release.
Candidate releases are how we propagate WareIDs between Modules.  We don't publish them; "candidate" is a temporary name, and can be referred to only in this local Workspace.
We can accumulate candidate releases by evaluating several modules... and then choose to give them permanent names and publish them all at once.  (This is our solution for being able to test upstream/downstream dependencies at all once, and release matching sets that are known to work.)

So, the question: Should we support more than one set of candidates per workspace?
Concretely, that would mean:

if you run stellar emerge example.org/foomodule for a module, it'll produce a candidate release stored in the path $WORKSPACE/.timeless/candidates/default/example.org/foomodule/*.
if you run stellar emerge --saga=try-dancing example.org/foomodule, it'll produce a candidate release stored in the path $WORKSPACE/.timeless/candidates/try-dancing/example.org/foomodule/*.
all the (yet-to-be-written) stellar catalog release commands would similarly accept a --saga flag.

If we don't support this, everything would be the same; it would just skip a layer of directories.
This is mostly a question of UX.  If we add this flag, will people actually find it useful?  Is it possible to emulate the same behavior by just doing a fork of the Workspace -- and given that the answer is yes, is it going to be a better ergonomic experience overall if we simply tell people to do that, instead of building a special feature for this potentially rare user story?

It's kind of a potentially weird feature because in addition to the fact you can satisfy the same needs via forking the workspace, there's another partial satisfaction as well: your experience even blowing away the candidates dir completely and regenerating it while switching back and forth the content of some modules will be pretty chill, because almost everything inside each major step of evaluation will memoize; only the module graph traversal itself would be recomputed, and those are pretty fast and trivial to re-run.

Another reason I'm nervous to support multiple candidates sets is that the idea of supporting multiple catalogs turned out to be super unwise, and we just stripped it back out in the workspace rework (#4).  But I'm not sure if these are going to turn out similar or not.  Since there's by design no ability to publish or polinate around candidate releases, that shifts the complexity budget around pretty significantly.

On the gripping hand: there's a strong "Porque no?" argument to be made in favor of implementing this, since I already implemented a SagaName concept during the first pass on the candidates system and threaded it all the way through.  It's just the flag that's missing from the main methods at this point.
And it seems like the amount of complexity that support for multiple candidate sets would add for a user who isn't interested in them should be near zero: they just always experience the saga="default" path and everything just works.
So unless we can come up with reasons that this is an anti-feature, I'll probably default to doing it.

repo: polydawn/stellar


text:
Update GraphQL Cycle Detection, Use TypeInfo

The GraphQL cycle detection code should be re-written to use the TypeInfo data structure instead. This way it can be easily ported into new client languages, and no longer relies on the GraphQL AST.

Also see #509

Relatedly, @Niraj-Kamdar has pointed out that allowing GraphQL cycles can make additional data structures possible, such as linked lists, trees, and graphs.

This has been fixed in this PR @Niraj-Kamdar https://github.com/polywrap/monorepo/pull/685

authors: dOrgJelli krisbitney

repo: polywrap/monorepo


text:
Update to InterPro 90.0, released 4th August 2022

This will also fix this message caused by changes in gene structures:
TM domain coord is outside of protein sequence, 513..532 for MDSGLKSDSHEVERSNFQLNKPEKSLKRYALLSFYV...

(This sequence is from gpi17 / SPAC1F12.09)
I'm downloading v90 now and I'll start processing when it's done.

i dont know if it will fix the message because the InterPro is pre-computed on the protein sequences in Uniprot. This wont be fixed until we resubmit the genome, and UniProt update their protein sequences.
Next task!

Hopefully we will be able to resubmit regularly. Quite a lot of domain coordinates will currently  be slightly off! I'm surprised terre are not more warnings?

Sorry, I should have been more clear.  The TM domains are calculated using TMHMM at the same time and by the same program that processes the InterPro XML file.  It made sense to handle both tasks together.  So we should be able fix the message while updating InterPro.

Got it!

I'm downloading v90 now and I'll start processing when it's done.

The processing has finished and the new InterPro and TMHMM data will be in the next build.
The InterPro processing for japonicus is still running.

authors: ValWood kimrutherford

repo: pombase/pombase-chado


text:
Show the feature type on the gene pages

Currently it always says gene or pseudogene.  We should say "tRNA gene" or "snoRNA gene" etc.

Fixed by 70bcf7d093a4

repo: pombase/website


text:
Debug setting does nothing

When I toggle ON this Debug option setting:

only this empty layout appears in main screen:

No code is associated with this view
Settings description tells that it should enable DebugDrawer. But build.gradle has dependency which removes DebugDrawer from release build.
https://github.com/ponewheel/android-ponewheel/blob/02d22fcb916fe00049a611f53f9c7f22e85ebb9b/app/build.gradle#L74

Can you describe how this setting should behave? Maybe I could fix it.

This can be removed, but what it was - and the idea behind it - is to show detailed information we should be showing to users, connection states, errors connecting the board, other things that can help diagnosis shit that can go wrong.
To do this right, we need a way for us/devs to get a dashboard into the usage logs, and a way for users to send error logs that we can tie to bugs and issues. Short of putting firebase and having logs show up there, are there tools/best practices for this for open source projects? If not, we can add firebase, I'll just need to see how to give access to it in the Google Play console for devs.

to follow up with this, we need an automated way to get releases on Google Play. Passes test, tag with beta, gets on Google Play. We look at the logs, people loving the beta, we push to production release.

This can be removed
What do you think if full DebugDrawer would be included in release build and this setting toggle could turn  on DebugDrawer in release build? (same behavior as written in setting description)?

About continuous delivery pipeline I will answer in dedicated issue :)

authors: audkar kwatkins

repo: ponewheel/android-ponewheel


text:
lack of avx2 for pony  installation

MacOS Sierra 10.12 does not supply avx2. The pony installation does not detect this, thus causing illegal Instruction errors when running compiled Pony programs. The solution is to call the compiler through
ponyc --features=-avx2   ...

Same issue (and solution) for me on Dell XPS 13 9350 running Ubuntu 16.10.
I pulled the latest Ponyc (2017-02-12) and built it both with and without SystemTap support. Compiling e.g., the n-body example program was fine but running the compiled program yields illegal hardware instruction (core dumped).
Adding the --features-avx2 flag to the compilation solves the problem, just as for Sophia.

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 78
Model name:            Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz
Stepping:              3
CPU MHz:               399.877
CPU max MHz:           3200,0000
CPU min MHz:           400,0000
BogoMIPS:              4416.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              4096K
NUMA node0 CPU(s):     0-3
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp

This seems to be LLVM incorrectly thinking all Skylake cpus support AVX512 when only some do. See https://github.com/ponylang/ponyc/issues/1176#issuecomment-242925905 for more discussion.
Can you please try again with a newer LLVM (3.9.1)?

Hopefully this will fix the issue: https://github.com/ponylang/ponyc/pull/1580
@sophiaIC, @TobiasWrigstad - could you try building from that PR's branch (or if it's already been merged by the time you see this, from latest master)?

See also #1661.

@sophiaIC @TobiasWrigstad can you test with the latest release and see if the issue has been fixed?

Tried to run the n-body example. Both the commit reported by @TobiasWrigstad, e3b2f6a and latest master work for me on Sierra.
Using llvm 3.8.1 in both cases.

I'm going to assume this is fixed and can be reopened if that turns of not to be the case. In terms of the LLVM bug, not much we can do about that.
@plietar thank you for checking.

authors: SeanTAllen TobiasWrigstad davidgiven dipinhora jemc plietar sophiaIC

repo: ponylang/ponyc


text:
Revert "Make version come from VERSION file, not git tags (#1221)"

This reverts commit a9e8a0ef8ad3297380d91a2cfa97fcbced413491.

Does this revert all the changes or just the commit hash bit?
I don't think we should revert it all. Getting the version from VERSION should stay

Yeah all the release stuff you removed, that should stay removed.
It should always do tag := $(shell cat VERSION) whether git is available or not.
And you can get the commit (assuming git is installed) from git rev-parse --short HEAD

@SeanTAllen If it gets tag from $(shell cat VERSION), then it won't have the build number. That was the crux of the problem. There's nothing else to revert from that commit that'll restore the original behavior.

...oh, I misread your last sentence. I'll update with that.

I'm going to close this PR and you can open a new one with those smaller changes.
Thanks for doing this @Perelandric.

@SeanTAllen That's fine, as long as all the other removed stuff was OK. I saw that I had removed these lines too, and was a little concerned that that was a mistake.
I'll send another PR and you can let me know if I should drop those back in as well.

@Perelandric those should be removed. its old release system residue.

authors: Perelandric SeanTAllen


text:
Fix memory freeing in ponyint_pool_realloc

Previously, the index-based pool free function was always called, which was wrong for oversized pool allocations.

Does this need the changelog label?

I think it should have a FIXED label

It depends. The function is currently used in 2 places in the compiler: to resize the lexer buffer for individual tokens and to reallocate a tuple-related data structure in the code generator. Hitting the assertion failure on those cases would require a very big token or a deeply nested tuple, respectively (at least 2^20 characters/tuple levels), and both cases are unlikely in real-world programs.
I'd say that if the changelog should be exhaustive, this should have a changelog entry. If the changelog should only contain elements that can be realistically encountered by users, this shouldn't have a changelog entry.

authors: Praetonus SeanTAllen jemc


text:
[Feature] Floating animation

Description
it will levitate the image
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)

Congratulations, @Damini2004! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

Hey @Damini2004 I guess we already have some animations.
You can work on the Admin Dashboard if you want. Check discussions :)

repo: pooranjoyb/popShop


text:
مشکل رادیو بات دیسکورد

بعد کانفیگ و ران، بات پست سر هم کانکت و دیسکانکت میشه.

بعد کانفیگ و ران، بات پست سر هم کانکت و دیسکانکت میشه.

قبلن درست مار میکرد و اینکه فکر کنم مشکل از این web socket هستش


text:
希望height属性支持calc设置，如height="calc(100% - 25px)"

希望height属性支持calc设置，如height="calc(100% - 25px)"

支持

repo: popo-fishes/umy-ui


text:
Support Consul response code: 429

Consul returns a 429 response code when: Some healthchecks are passing, at
least one is warning (see https://www.consul.io/api-docs/agent/service).
This PR updates the callback handler to support response code 429.

#22 will drop support v3.5,please fetch and merge new commit drop support v3.5

please merge as soon as convenient. If you do any kind of cluster monitoring with this package, the 429 response is a very common case.

authors: kkzo markblackman poppyred


text:
Concordance of SNPchip with WGS calls

SNPchip VCF has SNP calls from GRCh37 and contains 1,034 samples and 483,482 variants. Example sample names are:

1) 1_1
2) 2_2
...

155) 163_163
156) 164_165 # <- right value starts being +1
157) 165_166
...
1029) 1084_1085
1030) 1096_845_2 <- dups start (845_846 exists)
1031) 1100_914_2
1032) 1102_932_2
1033) 1103_926_2
1034) 1104_920_2

WGS GVCFs are per-sample and contain >24 million variants rows each. Example sample names are:

TOB1524, TOB1532, TOB1533, ...

[ ] Get sample name mapping between platforms
[ ] Use Crossmap to liftover SNPchip VCF from GRCh37 to GRCh38
[ ] Filter out non-variant sites from GVCFs
[ ] Explore Hail Concordance, Picard GenotypeConcordance, custom solution

Use Crossmap to liftover SNPchip VCF from GRCh37 to GRCh38

Would there be an advantage of reprocessing the raw data with GRCh38 instead of lifting over?

Thought of that too. I guess we'll get a small percentage of variants that can't be lifted over (will try in a bit).
For reprocessing, we would need to figure out how/where to run GenomeStudio - I think it only runs on Windows (maybe we could grab a GCP Windows machine??).

Sort and convert GRCh37 to hg19

INPUT_VCF="onek1k_pre_imputation_genotypes.vcf.bgz"
OUTPUT_VCF="sorted_test.vcf.gz"

cat \
  <(bcftools view -h $INPUT_VCF | sed 's/contig=<ID=/contig=<ID=chr/') \
  <(bcftools view -H $INPUT_VCF | sort -k1n,1 -k2n,2 | awk '{{ print "chr" $0 }}' ) \
  | bgzip > $OUTPUT_VCF

Liftover hg19 to hg38

$ CrossMap.py vcf hg19ToHg38.over.chain.gz sorted_test.vcf.gz Homo_sapiens_assembly38.fasta sorted_test_hg38.vcf.gz
@ 2021-04-12 19:17:50: Read the chain file:  hg19ToHg38.over.chain.gz
@ 2021-04-12 19:17:51: Filter out variants [reference_allele == alternative_allele] ...
@ 2021-04-12 19:17:51: Updating contig field ...
@ 2021-04-12 19:17:51: Lifting over ...
@ 2021-04-12 19:18:20: Total entries: 483482
@ 2021-04-12 19:18:20: Failed to map: 910

For filtering non-variant sites from single-sample GVCFs, we can use gvcftools (an oldie from Chris Saunders from Illumina, but still works at least via quay biocontainers):
$ bcftools view -H TOB1524.g.vcf.gz | wc -l
 25,072,270

$ docker container run -v $(pwd):/data/ -it quay.io/biocontainers/gvcftools:0.17.0--he941832_3
$$ gzip -dc TOB1524.g.vcf.gz | extract_variants | gzip -c > TOB1524_extract_variants.vcf.gz

$ bcftools view -H TOB1524_extract_variants.vcf.gz | wc -l
 5,078,667

Some concordance stats from three of the samples in the test bucket - I intentionally mixed up two samples to see what it looks like:

Note that I'm only looking at chr, pos, and genotype for matches. The mismatches are mostly due to e.g. 0/2 vs 0/1, 1/0 vs. 0/1 etc.

authors: lgruen pdiakumis

repo: populationgenomics/tob-wgs


text:
🛑 MCN Encomiendas is down

In 89e8d1e, MCN Encomiendas (https://mcnencomiendas.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MCN Encomiendas is back up in dff2112.

repo: porrale/status


text:
Push compose file/stacks to GIT

Describe the solution you'd like
I would like to see a solution to push your docker file/stack settings  to GIT.
It would be nice to have an option to add your repo in portainer and automaticly push on change of the file or deployment of the file.
Sorry for the short description, but can't make more out of it.

3 years later and I am also looking for the same thing (as it seems are many others judging by goggle search).
Has there been any progress on this?  Would seems like even if Portainer folks didn't implement it one could construct a script to "brute-force" them from the Portainer local storage...  I'd rather NOT reinvent the wheel here if anyone had done this. Even if it's just a once off (copy all to GitHub)...  Because at that point one could use the support in Portainer to actually deploy the GitHub stack, and GitHub would then be the source of truth for deployment.
Thoughts?

repo: portainer/portainer

license: Zlib


text:
Kubectl Shell loading failed

when clicked Kubectl Shell , the kubectl shell popup window show message : LOADING TERMINAL... , but disappeared after a while, open chrome develop console to check network request:

@wowtrxqn
I was not able to reproduce the issue.  Please see attachment.  Note:  My K8s environment is using NodePort 30778 and not Load Balancing 9001.
Can you expand the two "WebSocket connection to..." errors at the end, for review?

Thanks!

@wowtrxqn
I was not able to reproduce the issue. Please see attachment. Note: My K8s environment is using NodePort 30778 and not Load Balancing 9001.
Can you expand the two "WebSocket connection to..." errors at the end, for review?

Thanks!

i solved , thanks

Only because I had this happen and sorted it too:

I used Helm to launch Portainer and my setup involves an NGinx Ingress controller.
NGinx won't handle websockets (wss://) so when i clicked f12 in my browser, I saw all the vomits "webSocket connection to 'wss://portainer.freshbrewed.science/api/websocket/kubernetes-shell?token=eyJasdfasdfasdfasdfasdfasdfasdfasdfasdasdfD00A&endpointId=1' failed: "

There is a way though, if the kubectl shell is a break-glass need.   I exposed the NodePort from the K8s service externally.  This did mean accepting two things: self signed certs and OAuth would not work (because of my OAuth redirect) - but i was then able to login as a break-glass admin user and fire a shell.
If your k8s can expose a service directly (eg you use a cloud provider), you might not have this issue (kubectl expose...).

I have the same situation in TrueNAS scale, with Portainer running as an app inside k3s... not sure also how to fix this, the shell popup shows and closes immediately with the same error.
I actually have a valid SSH cert through cert-manager, just on port 9443, but still get this error.
I suspect traefik for this... any idea?

authors: idjohnson razvanphp tamarahenson wowtrxqn


text:
Connect to docker behind a name based virtual host proxy

This involves copying and modifying go's httputil.NewSingleHostReverseProxy, which is documented to (perhaps surprisingly) leave the Host header untouched. Instead, we set the Host header to the target host for the connection for the benefit of name based virtual host proxies that make use of this.
See golang/go#7618 and golang/go#10342

Thanks for the PR @eisnerd !
Do you have any concrete example of what this is trying to solve ? I'm not sure I understand the goal of this update.

One case in point is cloudhero.io. I can connect to that with the usual docker client in tlsverify mode. However, I could not connect to it with portainer. All requests, whether for info, container, images, etc., failed with no log message. I couldn't even connect from within a container hosted on the same cloudhero.io cluster, because they do not allow mapping docker.sock and the tcp method has this problem.
The lack of logs from portainer left me with a lot of avenues to investigate, like certificate paths, formats, permissions, dns, version mismatches, etc. Then, fiddling with stunnel, nc and tcpflow to investigate, I captured this:
GET /info HTTP/1.1\r
Host: localhost:8000\r
User-Agent: Mozilla/5.0 (X11; Linux x86_64) ...
Accept: application/json, text/plain, */*\r
Accept-Encoding: gzip, deflate, sdch\r
Accept-Language: en-GB,en;q=0.8,en-US;q=0.6\r
Cache-Control: max-age=0\r
Cookie: ...
Dnt: 1\r
Referer: http://localhost:8000/\r
X-Forwarded-For: ::1\r
\r
< 2016/12/08 05:40:10.762794  length=707 from=0 to=706
HTTP/1.1 404 Not Found\r
Server: nginx\r
Date: Thu, 08 Dec 2016 05:40:10 GMT\r
Content-Type: text/html\r
Content-Length: 564\r
Connection: close\r
\r
\r
<title>404 Not Found</title>\r
\r

404 Not Found
\r

nginx\r
\r
\r
\r
\r
\r
\r
\r
\r

They use nginx as a name based virtual host proxy in front of docker. I don't know whether other services like carina are doing this at the moment, but it doesn't seem like a completely off the wall thing to do.
With this patch, portainer connects fine with tcp, tlsverify and the certs mounted, exactly as I had been configuring it.
This is the first time I've tried portainer, by the way, and despite this slightly shaky start for me it seems fab. I will be recommending it to anyone who doesn't roll there eyes when I say docker.

Thanks for your detailed explanation. I've just created an account on cloudhero to reproduce this issue and do a few other checks too.

I think this is the issue i had, but didn't have time to investigate it.
We use nginx proxy in front of all our containers. It runs on port 80, then
other containers receive traffic through it.
All our containers are running well with different domain names except
portainer. We just have to remove the nginx proxy just to allow portainer
to run
On Dec 8, 2016 5:52 PM, "Anthony Lapenna" notifications@github.com wrote:

Thanks for your detailed explanation. I've just created an account on
cloudhero to reproduce this issue and do a few other checks too.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/portainer/portainer/pull/379#issuecomment-265880074,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGsC4z7qPm-7ETYhfxafPDDFIn8l0txPks5rGIo7gaJpZM4LIPzc
.

Interesting. I pushed an image to
https://hub.docker.com/r/eisnerd/portainer/ in case it makes it easier for
you to check.
On 8 Dec 2016 11:55 pm, "lavvy" notifications@github.com wrote:
I think this is the issue i had, but didn't have time to investigate it.
We use nginx proxy in front of all our containers. It runs on port 80, then
other containers receive traffic through it.
All our containers are running well with different domain names except
portainer. We just have to remove the nginx proxy just to allow portainer
to run
On Dec 8, 2016 5:52 PM, "Anthony Lapenna" notifications@github.com wrote:

Thanks for your detailed explanation. I've just created an account on
cloudhero to reproduce this issue and do a few other checks too.
—
You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub
https://github.com/portainer/portainer/pull/379#issuecomment-265880074,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGsC4z7qPm-
7ETYhfxafPDDFIn8l0txPks5rGIo7gaJpZM4LIPzc>

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/portainer/portainer/pull/379#issuecomment-265892171,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAa68FsnFfjBQYG0SWM6nnGzryrvUQO4ks5rGJj2gaJpZM4LIPzc
.

@lavvy could you give a try at @eisnerd solution using eisnerd/portainer with a Nignx proxy in front of Docker?

I have tried it but, it didn't work for me.
I used this container as the proxy https://github.com/jwilder/nginx-proxy
On Dec 13, 2016 3:28 PM, "Anthony Lapenna" notifications@github.com wrote:

@lavvy https://github.com/lavvy could you give a try at @eisnerd
https://github.com/eisnerd solution using eisnerd/portainer with a
Nignx proxy in front of Docker?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/portainer/portainer/pull/379#issuecomment-266852426,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGsC48817vgIdqi_iYDm4RPPgVG7iFjPks5rHv_2gaJpZM4LIPzc
.

@eisnerd is your Docker image up to date?

Yes. It should be d7402e11f66a. It works for me against cloudhero. I'll try setting up my own proxy to test with.

Ok.  Well i used the portainer demo image.
On Dec 14, 2016 9:09 PM, "David Eisner" notifications@github.com wrote:

Yes. It should be d7402e11f66a. It works for me against cloudhero. I'll
try setting up my own proxy to test with.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/portainer/portainer/pull/379#issuecomment-267216561,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGsC478gbzJS2lnpJNG1IKUUeQv-YVF-ks5rIKFhgaJpZM4LIPzc
.

@lavvy no, please use eisnerd/portainer

@eisnerd #392 introduced a massive overhaul to the API. Could you rebase your changes?
You'll need to alter this file: https://github.com/portainer/portainer/blob/develop/api/http/docker_handler.go

Hi,
Docker Swarm version 1.13.0-rc3
I am running it as a service:
docker service create     --name portainer     --network consul     --constraint 'node.role == manager'     --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock     portainer/portainer:latest     --swarm
I have it behind a nginx reverse proxy:
server {
listen 80;
server_name portainer.XXXXXXXXXXXXX.net;
    location / {
        proxy_pass http://portainer:9000/;
    }
}

Both  eisnerd/portainer and portainer/portainer  produce 500s:
info	GET	500	xhr	angular.js:2	181 B	201 ms
json?all=1	GET	500	xhr	angular.js:2	181 B	150 ms
json?all=0	GET	500	xhr	angular.js:2	181 B	196 ms
volumes	GET	500	xhr	angular.js:2	181 B	141 ms
networks	GET	500	xhr	angular.js:2	181 B	206 ms
docker logs does show:
2016/12/18 08:59:22 Starting portainer on :9000
2016/12/18 09:02:29 persistent connection closed
2016/12/18 09:02:29 persistent connection closed
2016/12/18 09:02:29 persistent connection closed
2016/12/18 09:02:29 persistent connection closed
2016/12/18 09:02:29 persistent connection closed
2016/12/18 09:02:30 persistent connection closed

Hi @esnellman
@eisnerd solution should when when your Docker engine is running behind a reverse proxy not when portainer is.
Could you try a configuration similar to this one?
https://portainer.readthedocs.io/en/stable/faq.html#how-can-i-configure-my-reverse-proxy-to-serve-portainer
Also, you can join us on our slack portainer.io/slack/ or https://gitter.im/portainer/Lobby for some support.

This PR should also fix the issue raised in #400
@eisnerd could you rebase the PR? We'll integrate the changes in 1.11.0. Thanks !

My attempts to build and test this have failed this time. I'm getting Error: $injector:modulerr Module Error from angularjs, so I can't be sure the new patch works for me yet.

@eisnerd thanks for the rebase, I'll have a look !

Is it possible to run it locally ? When I do:
remoteip=123.123.123.12

docker run -d -p 9000:9000 \
	--name portainer-local \
	eisnerd/portainer \
	-H tcp://$remoteip:80

A white page is up, but there nothing on it, and no errors.
Cheers!

There may be javascript errors in your console despite nothing showing on the page. That's what I had. I don't know what went wrong. The first one I built worked fine.
After grunt release, I think you should be able to run the binary in dist/ without packaging it in a docker image. The build still uses docker, however, and you really don't get much log output either way, so there's little difference.
Maybe I built with the wrong node version this time?

@eisnerd tried to built it locally and it works fine. Thanks for the PR !

authors: deviantony eisnerd esnellman lavvy pascalandy


text:
Automation for testcase :Delete manual backup and schedule backup of user with non-shared RBAC from admin.

…#1531) (#1513)

What this PR does / why we need it:
Which issue(s) this PR fixes (optional)
Closes #
Special notes for your reviewer:

Closing as this is addressed by Krishna

repo: portworx/torpedo


text:
Don't error on malformed date input

This fixes #1138.
This returns None for each malformed date component. If it's a date range, then it returns a length-2 tuple where either or both components could be None. I thought this behavior seemed reasonable, but I'm open to other ideas. Another possibility is to simply not change and invalidate input.x() until there's a valid value, but I think that fix would be a bit more involved.
Update: I've thought about this a bit more, and I think the behavior in this PR is what we should go with -- the UI component can have an empty value, and I think it makes sense to reflect that in the server-side input value (as opposed to not changing the input value until there's a valid value in the UI).

LGTM

repo: posit-dev/py-shiny


text:
Change express' navset_tab() -> navset() and navset_card_tab() -> navset_card() with type = "underline" default

Closes #867
Note
This does make a breaking change of swapping out:

shiny.express.layout.navset_tab() for shiny.express.layout.navset()
shiny.express.layout.navset_card_tab() for shiny.express.layout.navset_card()

It also makes type = "underline" the default, but tabs can still be achieved via with navset(type = "tab")

Just curious: why do we want to get rid of navset_tab and navset_card_tab?

The underline variants are a much better match design wise for the shiny preset stuff (i.e., the new bootstrap.css/shiny.css defaults) we've been doing

@wch here's a PR to reflect the change in the your gh-pages doc https://github.com/wch/shiny_express_doc/pull/2

Hang on, I don't think we should just go and make a different API for express and classic shiny here. We need to discuss these changes.

authors: cpsievert wch


text:
Add some new methods and examples

1. Add pending method
2. Add getInbox method
3. Add seenInbox method
4. Add getUserTags method
5. Add getInbox Example
6. Add getUserTags Example

@ErfanBahramali  thank you for contribution

authors: ErfanBahramali raiym

repo: postaddictme/instagram-php-scraper


text:
Feature Request: Multiple Email Recipients

I may have missed something, but this would be a great feature to add to an already fantastic module.

Have you tried a comma separated list. I looked at the dependancies and that says you can do it.

I tested it. comma separated works. However, it does suggest in the UI that there is an error in configuration... but it'll save it anyway.

@typkrft :
Feature was added in version 0.0.7. Please see documentation for further details:
https://github.com/potrudeau/homebridge-messenger/#email
It's published and available now.

@typkrft :
Feature was added in version 0.0.7. Please see documentation for further details:
https://github.com/potrudeau/homebridge-messenger/#email
It's published and available now.

authors: potrudeau siobhanellis typkrft

repo: potrudeau/homebridge-messenger


text:
Refactors

Needed for cleaner Social WiFi customizations.

+2. Jak się przetestuje można mergować.

authors: riklaunim tomwys

repo: pozytywnie/django-facebook-auth


text:
Update golang/master build

This is an automated PR via build-bot

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ltccci
To complete the pull request process, please assign  after the PR has been reviewed.
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
Update kubernetes/master/golang/master build

This is an automated PR via build-bot

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ltccci
To complete the pull request process, please assign  after the PR has been reviewed.
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
Add command to clean up non-preserved scores

Note that cancellation doesn't work because dapper. Will probably want to consider migrating to something that does work.
I'm not aiming for efficiency here because it doesn't need to be that efficient. Currently running on production to test (is cleaning around 500 scores per second).
Addresses part of https://github.com/ppy/osu-queue-score-statistics/issues/141 (deleting of scores which are already in a non-preserved state). Remaining piece is to downgrade preserved scores to non-preserved when they can be.

As expected, streaming the results fails with usual shit. Not sure if ProxySQL or something else:
Unhandled exception. System.IO.EndOfStreamException: Expected to read 692 payload bytes but only received 477.

repo: ppy/osu-queue-score-statistics


text:
issue with Huawei mobile phone

Describe the bug
It's actually not possible to use the plugin filepond on a Huawei P20 Pro and on this mobile phone only. I get an error every time I try to upload a file on this mobile phone but it's working fine on any other Android or iOS phone. We are actually working with the version 4.11.0 but we can reproduce the bug on the last version of the plugin.
Logs
Here is a sample of the error message : https://usersnappublic.s3.amazonaws.com/2020-09-15/15-12/403c5441-cb8a-4eae-82ab-69689930a37c.png
Information about your project:

Your browser and the version: Android 10 - Chrome 85.0.4183.120 / 85.0.4183.127
Your operating system: Huawei P20 Pro CLT-L29
FilePond version : 4.11.0

Additional context
OS of the mobile phone is in french

Can you reproduce the issue on https://pqina.nl/filepond

Yeah I confirm you that I can reproduce the issue on the URL you give me.

Tried to test this on BrowserStack but I can't find the device.

Any errors in the developer console?

Closed because inactive.

authors: rikschennink yguerdat

repo: pqina/filepond


text:
PR Triage stopped picking up new PRs and reviews

Is your feature request related to a problem? Please describe.
I don't think we changed anything on our organization but PR Triage no longer labels things correctly at all:

New PRs are not labelled unreviewed, that consistently never happens
PRs are not relabelled when PRs are approved or changes requested, also never happens

Note: even if we apply the unreviewed label ourselves (no idea if this would matter)

PRs ARE relabelled correctly when merges happen... this seems to still work fine, any existing labels are removed and the PR: Merged label is added

Describe the solution you'd like
I would like PR Triage to work correctly as it did a couple of weeks ago 🙃
Describe alternatives you've considered
We've attempted reinstalling the app numerous times, my best guess is that something changes about the way hooks work, and now PR Triage is only picking up the merge hook? I am curious if anyone else is experiencing this or it's something unique about our organization.

We're having the same issue too.

I've had the issue recently too. Pulled down the the repo and set up a dev app for some debugging. It appears that Probot got updated again, changing the API so the app can't get the list of reviews anymore. I'll try to put together a PR shortly to fix it.

If I'm reading the code correctly, Draft PRs should also get the correct label, it's just the labels that depend on looking at the actual reviews (the useful part) that are erroring.

Experiencing this as well

@stevelacey @maestromac @allout58 @twomedia
I am sorry not to fix this issue very quickly but @allout58 created a pull request for it.
I am gonna think of the way to prevent the issue again.

I think TypeScript could help, in that it would complain if things like this changed underneath the code. I'm more familiar with using TS completely, but I believe there is a way to get it to just run type checks on JS code

@allout58 I am thinking to migrate it with TypeScript. Let's discuss here #228

authors: allout58 maestromac sotayamashita stevelacey twomedia

repo: pr-triage/app


text:
Document Debian Based Distros

Document how to set up  Debian based distros like Debian 8 Jessie or Ubuntu 14.04 Trusty.
There is support for it:
https://github.com/pr1ntf/iohyve/blob/dev/iohyve#L260

Merged #15


text:
fix: #1 ajustes no menu, layout e exclusão de formulários.

O menu para as telas menores ficou seguindo a mesma ideia do mural, abaixo tem um exemplo de visualização com os itens do menu, mas mantendo a foto do usuário quando logado à direita.

Já o problema com os formulários salvos sem conteúdo, a sugestão foi criar um botão de exclusão além de definir um título automático para o formulário no momento da criação para ter um controle visual melhor. Tendo em vista que foi uma solução mais simples para não exigir tanta alteração no formulário, que está salvando tudo automaticamente à cada alteração nos inputs.
Já na página de criação/edição do formulário, acabei alterando alguns tamanhos para ter mais responsividade, exemplo:

Oi @alissonpeloso então, agora com esse commit o tratamento das exclusões ficou da seguinte forma:
-Ao criar um formulário e não preencher nada, ele será excluído ao acessar a página de listagem.
-Ao preencher somente a pergunta, o título do formulário é preenchido automaticamente seguindo o padrão 'Formulário ID'.
-Existe ainda a opção de clicar em cancelar na tela de edição, ou remover na tela de listagem, ambos com confirmação.
-A exclusão do formulário está tratando remoção de respostas já enviadas.

@alissonpeloso, acabei fazendo outro commit pra incluir no mesmo PR o código pra issue 3, que era só aquela mensagem de retorno que debatemos na última reunião, mas tem mais arquivos inclusos no commit pois pra rodar o projeto ele atualizou esses arquivos do livewire, agora precisei comitar eles pra não precisar refazer o processo, está ok fazer isso?

@alissonpeloso, acabei fazendo outro commit pra incluir no mesmo PR o código pra issue 3, que era só aquela mensagem de retorno que debatemos na última reunião, mas tem mais arquivos inclusos no commit pois pra rodar o projeto ele atualizou esses arquivos do livewire, agora precisei comitar eles pra não precisar refazer o processo, está ok fazer isso?

Acredito que sim, pois não havia dado o merge ainda

authors: alissonpeloso zorteaadriano

repo: practice-uffs/forms


text:
Sequência de posts sobre o CapCut

Essa issue tem como objetivo a criação de posts (reels, cards) sobre o app CapCut.

Criei as pastas dessa issue no Google Drive:
Pasta da issue
🔽 Entrada
🔼 [Saída] (https://drive.google.com/drive/folders/1ILaPAgHKEsLTM22_VtayshwDNSxlqyx6?usp=share_link)

Oi gurias! Escrevi os roteiros inicias sobre o CapCut. Peço que revisem e vejam o que acham. Escrevi sobre o básico, para depois começarmos a fazer vídeos mais específicos.
Fiquem a vontade para alterarem o documento, acrescentar coisas etc.

Eu achei os conteúdos muito legais, Amanda. Será que não seria melhor colocar o último reels como segundo? Pois ele fala sobre tamanhos e camadas, acho que seria bom falar das camadas antes de falar de colocar texto e áudio. E assim também já pegaria a onda de: primeiro falar das funcionalidades básicas e depois ir dando dicas, tipo colocar áudio, texto, legenda, alterar fundo, fazer transição, algo assim

Fiz as alterações sugeridas. @brendaellen consegue revisar?

Revisei quatro dos cinco roteiros, e criei duas legendas.  Fiquei em dúvida se o último roteiro está finalizado ou em andamento.

@MariaLuizaReviliau @robisonjose @brendaellen aqui estão os roteiros daqueles reels para serem narrados que tinha falado na reunião. Coloquei o nome de cada um como comentário.

Qual é o prazo para envio da narração?

Acredito que pode ser até o fim da semana, tu consegue?

Beleza, consigo sim!

Narração feita e postada na pasta de entrada.

coloquei o primeiro reels na pasta de entrada

coloquei os cards na pasta de saída

gostei do reels! parabens!
acho que no começo poderia ter outro conteúdo e aparecer o aplicativo apenas quando é falado "logo que abrimos o aplicativo..."

Inseri a narração do reels na pasta de entrada.Tem algum conteúdo nessa issue para revisar?

Inseri a narração do reels na pasta de entrada.
Tem algum conteúdo nesta issue para revisar?

Oie, acho que não. Se tu quiser dá pra fazer a legenda dos outros reels.

Coloquei o primeiro reels na pasta de saída e já comecei a editar os outros.

vídeo 1 foi postado!

Os 3 reels estão na pasta de entrada, tinha esquecido de registrar aqui.

authors: Saene99 amandasegattob brendaellen julia-zanini robisonjose

repo: practice-uffs/programa


text:
Marksman LSP

There's an LSP server for Markdown called Marksman offering some additional Markdown features. There's no other server for Markdown defined in the default configuration. Is it worthy enough to add? :smile:

Done, thanks for letting me know about this language server. Is nice to finally have a table of content for quick navigation :D

repo: pragtical/lsp


text:
Pokemon App

Describe the project you want to add with tech stack
To  Add a Pokemon App made using ReactJs and using PokeAPI.
Expected behavior
Will give information of pokemon which the user want to see.

@MohitGupta121 @pranjay-poddar @TusharKesarwani
Please Assign it to me.

repo: pranjay-poddar/Dev-Geeks